/* =========================================================
   CONTACT PAGE STYLES - OPTIMIZED FOR YOUR JS
========================================================= */

/* Logo Styles - Fixed for sticky header */
.logo-image {
    max-height: 150px;
    width: auto;
    transition: all 0.3s ease;
}

.header.sticky .logo-image {
    max-height: 100px;
}

.footer-logo-image {
    max-height: 150px;
    width: auto;
    margin-bottom: 20px;
}

/* =========================================================
   SIMPLE HERO SECTION (Works with your JS smooth scroll)
========================================================= */
.simple-hero {
    position: relative;
    padding: 110px 0 90px;
    overflow: hidden;
    color: #fff;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('image\ -\ 2026-01-04T072020.069.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Premium gradient effects */
.simple-hero::before,
.simple-hero::after {
    content: "";
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 107, 214, 0.15), transparent 60%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.simple-hero::after {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.12), transparent 60%);
    transform: translate(25%, -10%);
}

/* Hero content container */
.simple-hero .container {
    position: relative;
    z-index: 2;
}

.simple-hero-content {
    max-width: 760px;
    text-align: left;
}

/* Hero tag */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.85rem;
    letter-spacing: 1.8px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

/* Hero heading with gradient */
.simple-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #ffffff 0%, rgba(251, 191, 36, 0.92) 60%, rgba(0, 107, 214, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero subtitle */
.simple-hero p {
    margin: 0 0 22px;
    font-size: 1.12rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    max-width: 620px;
}

/* Hero CTA button */
.simple-hero .btn {
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
}

/* WhatsApp button positioning */
.whatsapp-float {
    left: 30px;
    bottom: 30px;
    right: auto;
}

/* =========================================================
   CONTACT SECTION (Matches form validation in JS)
========================================================= */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info,
.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.contact-info:hover,
.contact-form:hover {
    transform: translateY(-5px);
}

/* Form styles that match JS validation */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: #006bd6;
    box-shadow: 0 0 0 3px rgba(0, 107, 214, 0.15);
    background: white;
}

.form-control.error {
    border-color: #ff3860;
    box-shadow: 0 0 0 3px rgba(255, 56, 96, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Contact items */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 107, 214, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: #006bd6;
    font-size: 1.2rem;
}

.contact-details h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.1rem;
}

.contact-details p {
    color: #666;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.contact-details a {
    color: #006bd6;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-details a:hover {
    color: #fbbf24;
    text-decoration: underline;
}

/* Map container */
.map-container {
    margin-top: 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* Office hours */
.office-hours {
    margin-top: 30px;
    padding: 25px;
    background-color: rgba(0, 107, 214, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 107, 214, 0.1);
}

.office-hours h4 {
    color: #006bd6;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
    font-size: 0.95rem;
}

.hours-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hours-item span:first-child {
    color: #333;
    font-weight: 500;
}

.hours-item span:last-child {
    color: #666;
}

/* Response time */
.response-time {
    background: linear-gradient(135deg, #006bd6, #0052a3);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin-top: 30px;
    color: white;
}

.response-time i {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.response-time h4 {
    color: white;
    margin-bottom: 10px;
}

.response-time p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
}

/* =========================================================
   FAQ ACCORDION (Works with your JS toggle)
========================================================= */
.faq-wrap {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    font-size: 1.05rem;
    color: #333;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: rgba(0, 107, 214, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-question {
    color: #006bd6;
    background: rgba(0, 107, 214, 0.03);
}

.faq-chevron {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.55);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: #006bd6;
}

.faq-answer {
    padding: 0 22px 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

.faq-answer p {
    margin: 0;
    color: rgba(17, 24, 39, 0.78);
    line-height: 1.7;
    font-size: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   MOBILE MENU (Works with your JS toggle)
========================================================= */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.header.sticky .nav-toggle span {
    background-color: #333;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Nav menu base styles */
.nav-menu {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* Mobile menu styles */
@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: linear-gradient(135deg, #006bd6 0%, #0052a3 100%);
        flex-direction: column;
        padding: 120px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 1000;
        display: none;
    }
    
    .nav-menu.active {
        right: 0;
        display: flex;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: 0;
    }
    
    .nav-link {
        color: white;
        display: block;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        color: #fbbf24;
        padding-left: 15px;
    }
    
    .nav-link.active {
        color: #fbbf24;
        border-left: 3px solid #fbbf24;
        padding-left: 15px;
    }
    
    .cta-nav {
        margin-top: 20px;
        width: 100%;
    }
    
    .cta-nav .btn {
        width: 100%;
        text-align: center;
        background: white;
        color: #006bd6;
        padding: 15px;
        border-radius: 8px;
    }
    
    /* Overlay when menu is open */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
========================================================= */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .simple-hero h1 {
        font-size: 2.5rem;
    }
    
    .simple-hero p {
        font-size: 1.1rem;
    }
    
    .logo-image {
        max-height: 100px;
    }
    
    .header.sticky .logo-image {
        max-height: 80px;
    }
}

@media (max-width: 768px) {
    /* Hero mobile optimizations */
    .simple-hero {
        padding: 84px 0 64px;
        min-height: 55vh;
        background-attachment: scroll;
    }
    
    .simple-hero .container {
        display: flex;
        align-items: center;
        min-height: 55vh;
    }
    
    /* Premium mobile content block */
    .simple-hero-content {
        max-width: 100%;
        padding: 18px 16px;
        border-radius: 18px;
        background: rgba(0, 0, 0, 0.26);
        border: 1px solid rgba(255, 255, 255, 0.10);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    }
    
    .simple-hero h1 {
        font-size: clamp(2.05rem, 7.8vw, 2.75rem);
        line-height: 1.06;
        letter-spacing: -0.6px;
        margin-bottom: 10px;
    }
    
    .simple-hero p {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 16px;
        color: rgba(255, 255, 255, 0.82);
    }
    
    /* Mobile CTA button */
    .simple-hero .btn {
        width: 100%;
        padding: 14px 16px;
        border-radius: 14px;
        font-weight: 600;
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
    }
    
    .simple-hero .btn i {
        margin-right: 10px;
        font-size: 0.95rem;
    }
    
    /* Contact section */
    .contact-info,
    .contact-form {
        padding: 30px 20px;
    }
    
    .whatsapp-float {
        left: 20px;
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .simple-hero {
        min-height: 50vh;
    }
    
    .simple-hero h1 {
        font-size: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 380px) {
    .simple-hero-content {
        padding: 16px 14px;
        border-radius: 16px;
    }
    
    .simple-hero h1 {
        font-size: 2rem;
    }
}