/* ======================================== */
/* 1. GLOBAL & SETUP STYLES               */
/* ======================================== */
:root {
    --brand-blue: #0095DA;
    --brand-yellow: #FFC72C;
    --brand-red: #D81E34;
    --brand-dark-blue: #007AB8;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-light: #f8fafc;
    --secondary-text-color: #6c757d;
    --success-green: #28a745;
    --font-primary: 'Poppins', sans-serif;
}

html.smooth-scroll {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: inherit;
    transition: color 0.3s ease;
}

.section-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--brand-dark-blue);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.title-underline {
    height: 4px;
    width: 80px;
    background-color: var(--brand-yellow);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}


/* ======================================== */
/* 2. HEADER & NAVIGATION (SYNCHRONIZED)    */
/* ======================================== */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    height: 8px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-yellow), var(--brand-red));
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.5rem;
}

.contact-info,
.social-media {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #4B5563;
}

.contact-info i,
.social-media i {
    color: var(--brand-blue);
}

.logo-container img {
    height: 4rem;
    transition: transform 0.3s ease;
}
.logo-container img:hover {
    transform: scale(1.05);
}

.main-nav-container {
    border-top: 1px solid var(--light-gray);
}

.main-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--brand-dark-blue);
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.nav-item:hover {
    background-color: var(--light-gray);
    color: var(--brand-blue);
}

.nav-item-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon {
    font-size: 1.25rem;
}

.nav-item-dropdown {
    position: relative;
}

.dropdown-arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown-arrow.rotate-up {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    margin-top: 0.5rem;
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 10;
    min-width: 200px;
    padding: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
}

.dropdown-menu a:hover {
    background-color: var(--light-gray);
}

.hamburger-menu-icon {
    display: none;
    font-size: 1.75rem;
    color: var(--brand-dark-blue);
    cursor: pointer;
}


/* ======================================== */
/* 3. CONTACT PAGE STYLES                 */
/* ======================================== */
.contact-hero {
    position: relative;
    padding: 4rem 1.5rem;
    background-image: url('Asset/effect3.png');
    background-size: cover;
    color: var(--white);
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: 2.25rem;
    color: var(--brand-blue);
    font-weight: 800;
    margin: 0;
}

.contact-hero p {
    font-size: 1rem;
    margin: 0.5rem 0 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    color: var(--text-dark);
}

.contact-form-section {
    background-image: url(Asset/effect3.png);
    background-size: cover;
}

.contact-info-section {
    padding: 4rem 0;
    background-image: url('Asset/telfon.png');
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info-section h2 {
    color: var(--brand-blue);
    font-size:2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.contact-card {
    background-color: transparent;
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(45, 53, 62, 0.1);
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 53, 62, 0.15);
}

.card-header {
    background-color: var(--brand-blue);
    padding: 1rem 1.25rem;
    text-align: center;
}

.card-header h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

.card-body {
    background-color: var(--white);
    padding: 1.25rem;
    flex-grow: 1;
}

.detail-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}
.detail-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-label {
    font-weight: 600;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 2px;
}

.detail-label i {
    color: var(--brand-blue);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.detail-value {
    color: var(--text-dark);
    font-weight: 500;
    word-break: break-word;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--white);
    background-color: var(--success-green);
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}
.whatsapp-btn:hover {
    background-color: #128C7E;
}

.card-map-container {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    border: 1px solid #e9ecef;
}
.card-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 50px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-dark); font-size: 0.9rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.85rem 1rem; border-radius: 8px; border: 1px solid #e9ecef; font-family: var(--font-primary); font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; box-sizing: border-box; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.2); }
.submit-btn { width: 100%; padding: 1rem; background-color: var(--brand-blue); color: var(--white); border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; }
.submit-btn:hover { background-color: var(--brand-dark-blue); transform: translateY(-3px); }


/* ======================================== */
/* 4. FOOTER                                */
/* ======================================== */
.site-footer-v2 {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}
.site-footer-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(to right, var(--brand-red), var(--brand-yellow), var(--brand-blue));
    animation: gradientShift 10s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}
.footer-section { padding: 0; }
.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}
.footer-about p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--secondary-text-color);
}
.footer-section h3 {
    color: var(--white);
    font-size: 1.4em;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0; width: 50px; height: 3px;
    background-color: var(--brand-blue);
    border-radius: 2px;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a {
    color: var(--secondary-text-color);
    font-size: 1.05em;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}
.footer-links ul li a:hover {
    color: var(--brand-blue);
    transform: translateX(5px);
}
.footer-contact p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--secondary-text-color);
}
.footer-contact p i {
    margin-right: 10px;
    color: var(--brand-yellow);
    font-size: 1.2em;
}
.social-icons { display: flex; gap: 15px; }
.social-icons a {
    color: var(--text-light);
    font-size: 1.3em;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 45px; height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.social-icons a:hover {
    color: var(--text-dark);
    background-color: var(--brand-yellow);
    transform: translateY(-5px) scale(1.1);
    border-color: var(--brand-yellow);
}
.footer-bottom {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.footer-bottom p {
    font-size: 0.9em;
    color: #95a5a6;
    margin: 5px 0;
}
.footer-bottom-links a {
    color: #95a5a6;
    font-size: 0.9em;
    margin: 0 8px;
    transition: color 0.3s ease;
}
.footer-bottom-links a:hover { color: var(--brand-blue); }
.footer-bottom-links span { color: #95a5a6; }

/* ======================================== */
/* 5. UTILITIES                           */
/* ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 20px; right: 20px;
    background-color: var(--brand-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px; height: 50px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background-color: var(--brand-dark-blue);
    transform: scale(1.1);
}
[data-aos] { transition-property: transform, opacity; }


/* ======================================== */
/* 6. RESPONSIVE MEDIA QUERIES (SYNCHRONIZED) */
/* ======================================== */
@media (max-width: 991px) {
    .main-nav { flex-direction: column; align-items: stretch; }
    .main-nav.is-open { display: flex; }
    .main-nav:not(.is-open) { display: none; }
    .hamburger-menu-icon { display: block; }
    
    .nav-item {
        justify-content: flex-start;
        padding: 0;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-item-dropdown > a.nav-item,
    .main-nav > a.nav-item {
        padding: 1rem 1.5rem;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background-color: #e9ecef;
        padding-left: 2.5rem;
        display: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .dropdown-menu.open {
        display: block;
    }

    .nav-item-dropdown {
        position: relative; 
        flex-wrap: wrap;
    }

    .nav-item-dropdown > .nav-item {
        border-bottom: none;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    
    .nav-item-dropdown > .nav-item .dropdown-arrow {
        margin-left: 0;
    }
    
    .nav-item-toggle {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 58px;
        cursor: pointer;
        z-index: 5;
    }

    .footer-top { text-align: center; }
    .footer-section h3::after { left: 50%; transform: translateX(-50%); }
    .social-icons, .footer-bottom { justify-content: center; }
}

@media (min-width: 768px) {
    .form-container {
        padding: 3rem;
    }
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .form-group {
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 992px) {
    .contact-info, .social-media { display: flex; }
    .logo-container { flex-grow: 0; }
    .main-nav { display: flex !important; }
    .hamburger-menu-icon { display: none; }
    .nav-item-toggle { display: none; }
}
