/* ========== CONTACT US PAGE STYLES ========== */

/* ========== RESET & VARIABLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8B4513;
    --primary-dark: #5A2E0C;
    --secondary: #D4A373;
    --accent: #C77A3F;
    --dark: #2C2418;
    --light: #FEF9E6;
    --gray: #5C5B52;
    --white: #FFFFFF;
    --blue-dark: #0B2B4A;
    --blue-deep: #0A1C3A;
    --blue-gradient: linear-gradient(135deg, #0B2B4A 0%, #0A1C3A 100%);
    --shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.subtitle {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin: 1rem auto;
    border-radius: 4px;
}

.section-header-left {
    margin-bottom: 2rem;
}

.section-header-left h2 {
    font-size: 2rem;
    color: var(--primary-dark);
}

.divider-left {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin-top: 0.5rem;
    border-radius: 4px;
}

/* Buttons */
.btn-primary {
    padding: 0.8rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* ========== HEADER STYLES ========== */
.top-bar {
    background: var(--white);
    padding: 0.7rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--dark);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.3rem 0.5rem;
    border-radius: 30px;
    transition: var(--transition);
}

.lang-btn:hover, .lang-btn.active {
    background: var(--primary);
    color: white;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 3px;
}

.top-contact-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.top-icon {
    color: var(--dark);
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.top-icon:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Middle Header */
.middle-header {
    background: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid #eef2ff;
}

.middle-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.left-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    min-width: 160px;
}

.left-logo i {
    font-size: 2.2rem;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
}

.center-text {
    text-align: center;
    flex: 1;
}

.middle-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
}

.middle-subheading {
    font-size: 0.85rem;
    color: var(--gray);
}

.right-logo {
    min-width: 100px;
    text-align: right;
}

.custom-logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 12px;
}

/* Navigation Bar */
.navigation-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--blue-gradient);
    padding: 0.8rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: white;
    transition: var(--transition);
    padding: 0.5rem 0;
    font-size: 1rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    position: absolute;
    left: 0;
}

/* ========== CONTACT HERO SECTION ========== */
.contact-hero {
    position: relative;
    background: url('https://placehold.co/1920x500/1e3a5f/ffffff?text=Contact+Us') center/cover no-repeat;
    min-height: 40vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Contact Information */
.contact-info {
    background: var(--light);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: white;
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--primary-dark);
}

.contact-text p {
    color: var(--gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Contact Social */
.contact-social h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--light);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 0;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 0.8rem;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    font-family: inherit;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--gray);
    transition: var(--transition);
    pointer-events: none;
    background: transparent;
    padding: 0 0.2rem;
    font-size: 0.9rem;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.75rem;
    background: var(--white);
    padding: 0 0.3rem;
    color: var(--primary);
}

.full-width {
    grid-column: span 2;
}

.form-message {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 0.5rem;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========== MAP SECTION ========== */
.map-section {
    padding: 0 0 5rem 0;
    background: var(--white);
}

.map-container {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    background: var(--light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
    font-size: 0.9rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    border-top: none;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.2rem 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ========== FOOTER STYLES ========== */
.hiratage-footer {
    background: var(--blue-gradient);
    color: #e2e8f0;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--secondary);
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    display: block;
    margin-top: 0.5rem;
}

.footer-logo p {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.footer-links, .footer-contact {
    flex: 1;
    min-width: 150px;
}

.footer-links h4, .footer-contact h4, .footer-newsletter h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-links ul, .footer-contact ul {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.footer-contact i {
    width: 20px;
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.footer-social a {
    background: rgba(255,255,255,0.1);
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-newsletter {
    flex: 1;
    min-width: 220px;
}

.footer-newsletter p {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 0.8rem;
}

.newsletter-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-group input {
    padding: 0.7rem;
    border-radius: 40px;
    border: none;
    flex: 1;
    font-size: 0.85rem;
    outline: none;
}

.newsletter-group input:focus {
    box-shadow: 0 0 0 2px var(--secondary);
}

.newsletter-group button {
    background: var(--primary);
    border: none;
    padding: 0 1.2rem;
    border-radius: 40px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.newsletter-group button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .container {
        padding: 0 1.2rem;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--blue-dark);
        padding: 1rem;
        border-radius: 1rem;
        margin-top: 1rem;
        text-align: center;
        gap: 1rem;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-container {
        justify-content: flex-end;
    }
    
    .middle-header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .left-logo, .right-logo {
        min-width: auto;
    }
    
    .right-logo {
        text-align: center;
    }
    
    .top-bar-container {
        flex-direction: column;
        text-align: center;
    }
    
    .top-contact-icons {
        justify-content: center;
    }
    
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links ul {
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .newsletter-group {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .full-width {
        grid-column: span 1;
    }
    
    .contact-hero {
        min-height: 30vh;
    }
    
    .contact-hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-hero-content p {
        font-size: 1rem;
    }
    
    .map-section {
        padding: 0 0 3rem 0;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 540px) {
    .top-contact-icons {
        gap: 0.8rem;
    }
    
    .top-icon {
        font-size: 0.7rem;
    }
    
    .middle-heading {
        font-size: 1rem;
    }
    
    .middle-subheading {
        font-size: 0.7rem;
    }
    
    .contact-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2, .section-header-left h2 {
        font-size: 1.5rem;
    }
    
    .contact-info, .contact-form-wrapper {
        padding: 1.2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-text {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .faq-question h3 {
        font-size: 0.85rem;
    }
    
    .faq-answer p {
        font-size: 0.8rem;
    }
}
/* ========== FIX STICKY HEADER - INABALI JUU ========== */
.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    width: 100%;
}

/* Override any existing sticky on navigation */
.navigation-bar {
    position: relative !important;
    top: auto !important;
}

/* Ensure smooth scrolling doesn't break header */
html {
    scroll-padding-top: 0;
}

/* For better performance on mobile */
@media (max-width: 768px) {
    .sticky-header-wrapper {
        position: sticky;
        top: 0;
    }
}