/* ========== GLOBAL FIX ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background: url('https://images.pexels.com/photos/3184465/pexels-photo-3184465.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat;
    background-attachment: fixed;
    background-color: #0A0E17; /* Fallback color */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,14,23,0.95) 40%, rgba(10,14,23,0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    color: white;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* Auto-Fit */
    line-height: 1.2;
    word-wrap: break-word;
}

.hero h1 .highlight {
    color: var(--accent-gold);
    font-style: italic;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 600px;
}

/* ========== SECTIONS ========== */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: white;
}

.gold-border {
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0.5rem auto 0;
}

/* ========== HELPER CLASSES ========== */
.text-center { text-align: center; }
.text-sm { font-size: 0.8rem; }
.mt-1 { margin-top: 0.3rem; }
.mt-3 { margin-top: 1.5rem; }

/* ========== TRUST BUILDING CARDS ========== */
.trust-section {
    padding: 4rem 0 2rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.trust-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-gold);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.trust-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    border-left-width: 8px;
    box-shadow: var(--shadow-glow);
}

.trust-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.trust-card-header .trust-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 0;
}

.trust-card-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: white;
}

.trust-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========== TABBED CONTACT SECTION ========== */
.contact-section {
    padding: 2rem 0 4rem;
}

.tab-container {
    max-width: 1300px;
    margin: 0 auto;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-gold);
    padding: clamp(1.5rem, 4vw, 2.5rem); /* Auto-fit padding */
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap; /* Mobile fix */
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 1rem 2rem;
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    word-wrap: break-word;
}

.tab-btn i {
    margin-right: 10px;
    color: var(--accent-gold);
}

.tab-btn:hover {
    color: var(--accent-gold);
}

.tab-btn.active {
    color: var(--accent-gold);
    border-bottom: 3px solid var(--accent-gold);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Replaced inline style with class */
.tab-heading {
    margin-bottom: 2rem; 
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: white;
    word-wrap: break-word;
}

/* ========== FORM STYLES ========== */
.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.form-control {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 1rem 1.2rem;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
}

.form-control option {
    background: var(--bg-secondary);
}

.btn-submit {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    border: 1px solid var(--accent-gold);
}

.btn-submit:hover {
    background: transparent;
    color: var(--accent-gold);
}

/* ========== CONTACT INFO STYLES ========== */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.info-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0; /* Icon squish fix */
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.info-text p,
.info-text a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    word-wrap: break-word;
}

.info-text a:hover {
    color: var(--accent-gold);
}

.map-container {
    margin-top: 2rem;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-gold);
    height: 250px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg);
}

/* ========== WHATSAPP CTA ========== */
.whatsapp-cta {
    max-width: 1300px;
    margin: 2rem auto 0;
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(37, 211, 102, 0.05);
    border: 1px solid #25D366;
}

.whatsapp-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    max-width: 100%;
    word-wrap: break-word;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

/* ========== FAQ SECTION ========== */
.faq-section {
    padding: 2rem 0 5rem;
}

.faq-section .container {
    max-width: 1300px;
}

.faq-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-gold);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-gold);
}

.faq-question {
    padding: 1.2rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--text-primary);
    gap: 1rem;
    word-wrap: break-word;
}

.faq-question i {
    color: var(--accent-gold);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    display: none;
    border-top: 1px solid var(--border-color);
    word-wrap: break-word;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ========== FOOTER FIX ========== */
.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-logo-link img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll; /* Mobile scroll fix */
        min-height: 50vh;
        text-align: center;
    }
    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 auto;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        margin: 0 auto;
    }
    
    /* Tab buttons full width on mobile */
    .tab-btn {
        flex: 1 1 100%;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    .tab-btn.active {
        border-bottom: 3px solid var(--accent-gold);
    }
    
    .map-container {
        height: 200px;
    }
    
    .info-item {
        flex-direction: column; /* Stack icon and text on mobile */
        gap: 0.8rem;
        text-align: center;
    }
    .info-icon {
        margin: 0 auto;
    }
}