/* ========== COLOR VARIABLES ========== */
:root {
    --primary-orange: #f99820;
    --white: #ffffff;
    --dark-orange: #e08510;
    --dark-navy: #09264a;
    --light-gray: #f8f9ff;
    --gray-text: #666;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--dark-navy);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HERO SECTION WITH BACKGROUND - FULL SCREEN ========== */
.contact-hero-section {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    min-height: 550px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
}

/* Background Image - Full Screen */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/contact_us.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    animation: zoomIn 20s ease-out infinite;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 37, 70, 0.121), rgba(9, 38, 74, 0.334));
    z-index: 2;
}

.contact-hero-section .container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Content */
.hero-content {
    text-align: center;
    color: var(--white);
    margin-bottom: 40px;
}

.hero-tag {
    display: inline-block;
    background: rgba(249, 152, 32, 0.2);
    color: var(--primary-orange);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 15px;
    color: var(--white);
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-info-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(249, 152, 32, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon {
    background: var(--primary-orange);
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-orange);
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon i {
    color: var(--white);
}

.contact-info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark-navy);
}

.contact-info-card p {
    color: var(--gray-text);
    line-height: 1.5;
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.contact-info-card p strong {
    color: var(--dark-navy);
}

/* ========== RESPONSIVE - FULL SCREEN FIT ========== */

/* Large Desktop */
@media (min-width: 1400px) {
    .contact-hero-section {
        height: 100vh;
        max-height: 100vh;
    }
    
    .contact-info-card {
        padding: 35px 25px;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
    }
    
    .contact-icon i {
        font-size: 1.8rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .contact-hero-section {
        height: 100vh;
        max-height: 100vh;
    }
    
    .contact-info-grid {
        gap: 25px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .contact-hero-section {
        height: auto;
        min-height: 100vh;
        padding: 60px 0;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .hero-content {
        margin-bottom: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .contact-hero-section {
        height: auto;
        min-height: 100vh;
        padding: 50px 0;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info-card {
        max-width: 350px;
        margin: 0 auto;
        width: 100%;
        padding: 25px 20px;
    }
    
    .hero-content {
        margin-bottom: 25px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .contact-hero-section {
        height: auto;
        min-height: 100vh;
        padding: 40px 0;
    }
    
    .contact-info-card {
        padding: 20px 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
    
    .contact-info-card h3 {
        font-size: 1rem;
    }
    
    .contact-info-card p {
        font-size: 0.8rem;
    }
}

/* iPhone X/11/12/14 Pro Max */
@media (min-width: 390px) and (max-width: 430px) and (min-height: 800px) {
    .contact-hero-section {
        height: auto;
        min-height: 100vh;
        padding: 50px 0;
    }
}

/* Samsung Galaxy / Android Large */
@media (min-width: 360px) and (max-width: 414px) and (min-height: 700px) {
    .contact-hero-section {
        height: auto;
        min-height: 100vh;
        padding: 45px 0;
    }
}

/* iPad Pro */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .contact-hero-section {
        height: 100vh;
        max-height: 100vh;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-hero-section {
        height: auto;
        min-height: 100vh;
        padding: 30px 0;
    }
    
    .hero-content {
        margin-bottom: 20px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .contact-info-grid {
        gap: 15px;
    }
    
    .contact-info-card {
        padding: 15px 12px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 10px;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
    
    .contact-info-card h3 {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .contact-info-card p {
        font-size: 0.75rem;
    }
}

/* ========== CONTACT FORM SECTION ========== */
.contact-form-section {
    margin-top: -30px;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(249, 152, 32, 0.1);
    color: var(--primary-orange);
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    color: var(--dark-navy);
}

.section-header p {
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    width: 100%;
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
    color: var(--dark-navy);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(249, 152, 32, 0.1);
}

.submit-btn {
    width: 100%;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 152, 32, 0.3);
}

/* ========== MAP SECTION ========== */
.map-section {
    padding: 80px 0;
    margin-top: -60px;
    background: var(--white);
}

.map-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-map {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 450px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

.map-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary-orange);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.map-badge i {
    color: var(--dark-navy);
}

.map-badge span {
    color: var(--dark-navy);
    font-weight: 600;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    padding: 80px 0;
    margin-top: -50px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow);
    cursor: pointer;
}

.faq-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.05rem;
    color: var(--dark-navy);
    font-weight: 600;
    pointer-events: none;
}

.faq-question i {
    color: var(--primary-orange);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    pointer-events: none;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    border-bottom: 1px solid rgba(249, 152, 32, 0.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 20px 25px;
}

.faq-answer p {
    color: var(--gray-text);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-hero-section {
        padding: 60px 0 40px;
        min-height: auto;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info-card {
        padding: 25px 20px;
        max-width: 350px;
        margin: 0 auto;
        width: 100%;
    }
    
    .hero-content {
        margin-bottom: 30px;
    }
    
    .contact-form-section {
        padding: 50px 0;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .map-section {
        padding: 50px 0;
    }
    
    .contact-map {
        height: 350px;
    }
    
    .faq-section {
        padding: 50px 0;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-icon {
        width: 55px;
        height: 55px;
    }
    
    .contact-icon i {
        font-size: 1.4rem;
    }
    
    .contact-info-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-info-card p {
        font-size: 0.85rem;
    }
    
    .contact-map {
        height: 280px;
    }
    
    .map-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
        bottom: 15px;
        left: 15px;
    }
    
    .faq-question h3 {
        font-size: 0.85rem;
    }
    
    .faq-answer p {
        font-size: 0.8rem;
    }
}