/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d81b60;
    --primary-dark: #ad1457;
    --secondary-color: #2c3e50;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(216, 27, 96, 0.2);
    --hover-color: #007bff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Make all paragraphs align justify */
p {
    text-align: justify;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    /* Fixed to ensure it never hides */
    top: 0;
    width: 100%;
    z-index: 1000;
}

body {
    padding-top: 100px;
    /* Push content down to separate from fixed header */
}

/* Scrolled state can be same or ignored if we want it purely static. 
   If user wants sticky later, we can add position: sticky. 
   For now, strictly 'move up and separate' implies static flow. 
*/
.header.scrolled {
    background-color: var(--white);
    padding: 2px 0;
    /* Keep padding change if desired, or remove */
}

.header.scrolled .nav-menu a {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Ensure text is always dark now that background is white */
.header:not(.scrolled) .nav-menu a {
    color: var(--secondary-color);
    /* Changed from white */
    font-weight: 600;
    text-shadow: none;
    /* Remove shadow */
    letter-spacing: 0.5px;
}

.header:not(.scrolled) .logo-container .logo {
    filter: none;
    /* Remove drop-shadow */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    transition: padding 0.3s ease;
}

.search-container {
    flex: 1 1 auto;
    max-width: 400px;
    min-width: 200px;
    margin: 0 20px;
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: 50px;
    padding: 5px 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.1);
    background-color: var(--white);
}

#searchInput {
    border: none;
    background: transparent;
    padding: 8px;
    width: 100%;
    outline: none;
    font-size: 14px;
    color: var(--text-color);
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .search-container {
        display: none;
        /* Future: Implement mobile toggle */
    }
}

.header.scrolled .header-content {
    padding: 5px 0;
}

.logo-container a {
    display: inline-block;
    text-decoration: none;
}

.logo-container .logo {
    height: 75px;
    width: auto;
    max-width: 250px;
    transition: all 0.3s ease;
    /* filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2)); */
    /* Remove shadow */
    display: block;
    object-fit: contain;
}

.header.scrolled .logo-container .logo {
    height: 60px;
}

.logo-container .logo:hover {
    transform: scale(1.05);
}

.navbar {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 20px;
}

.nav-menu>li {
    position: relative;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.header .nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    list-style: none;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 12px 25px;
    display: block;
    color: var(--secondary-color) !important;
    text-shadow: none !important;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Video Section */
.video-section {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--black) 100%);
    color: var(--white);
    padding: 0;
    text-align: center;
    overflow: hidden;
    display: block;
}

.video-container {
    position: relative;
    width: 100%;
    line-height: 0;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    z-index: 0;
}

.sound-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.sound-toggle:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 2rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-indicator a:hover {
    opacity: 1;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    border-radius: 24px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    min-height: auto;
}

/* Hero Content Section */
.hero-content-section {
    position: relative;
    /* Reduced opacity from 0.6 to 0.3 for better visibility */
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    width: 100%;
    /* Ensure full width responsiveness */
    overflow: hidden;
    /* Prevent horizontal scroll */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    box-sizing: border-box;
}

.hero-content-section .hero-content {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-badge {
    background: rgba(216, 27, 96, 0.2);
    border: 1px solid var(--primary-color);
    color: var(--white);
    padding: clamp(6px, 1.5vw, 8px) clamp(15px, 3vw, 20px);
    border-radius: 50px;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
    animation: fadeInDown 1s ease;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--white);
    animation: fadeInDown 1.2s ease;
    text-align: center;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.hero-content-section .hero-title {
    color: var(--white);
}

.hero-title span {
    background: linear-gradient(135deg, #ff4081, #d81b60);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    width: 100%;
    animation: fadeInUp 1.2s ease 0.2s both;
    text-align: center;
    padding: 0 10px;
    box-sizing: border-box;
    line-height: 1.6;
}

.hero-content-section .hero-subtitle {
    color: var(--white);
    opacity: 0.95;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    width: 100%;
    animation: fadeInUp 1.2s ease 0.4s both;
    padding: 0 10px;
    box-sizing: border-box;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--white);
}

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
}

.cta-button {
    display: inline-block;
    padding: clamp(12px, 2vw, 15px) clamp(30px, 5vw, 40px);
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(14px, 2vw, 16px);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
    width: auto;
    min-width: fit-content;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(216, 27, 96, 0.4);
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.about-content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.about-content-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

.about-text {
    overflow: hidden;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.read-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.read-more-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Future In South Korea Section */
.future-section {
    background-color: var(--white);
    padding: 80px 20px;
}

.visa-flow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    /* Reduced specific gap for desktop */
    margin-top: 60px;
    flex-wrap: wrap;
    max-width: 100%;
}

.visa-card {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 25px 15px;
    width: 160px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(216, 27, 96, 0.1);
    transition: all 0.4s ease;
    cursor: default;
    position: relative;
    z-index: 1;
}

.visa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(216, 27, 96, 0.25);
    background-color: #fff5f8;
}

.visa-card.highlighted {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: 2px solid var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(216, 27, 96, 0.3);
}

.visa-card.highlighted:hover {
    transform: scale(1.05) translateY(-5px);
}

.visa-card.highlighted h3,
.visa-card.highlighted p {
    color: var(--white);
}

.visa-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.visa-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    text-align: center;
    font-weight: 600;
}

.flow-arrow {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 900;
    opacity: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    animation: pulseArrow 2s infinite ease-in-out;
    flex-shrink: 0;
}

@keyframes pulseArrow {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@media (max-width: 992px) {
    .visa-flow-container {
        flex-direction: column;
        gap: 10px;
        /* Drastically reduced gap for mobile */
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 0;
        /* Removed margin to tighten space */
        animation: pulseArrowMobile 2s infinite ease-in-out;
    }

    @keyframes pulseArrowMobile {

        0%,
        100% {
            transform: rotate(90deg) scale(1);
        }

        50% {
            transform: rotate(90deg) scale(1.1);
        }
    }

    .visa-card {
        width: 100%;
        max-width: 280px;
        /* Slightly narrower for mobile elegance */
        margin: 0 auto;
        /* Ensure centering */
        /* Removed border overrides to keep the full 2px primary border from main style */
    }

    .visa-card.highlighted {
        /* Keep main style */
        transform: scale(1);
    }
}

.about-image {
    float: right;
    margin: 0 0 20px 30px;
    width: 300px;
    max-width: 100%;
    flex-shrink: 0;
}

.about-ceo-container {
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 5px solid var(--white);
    transition: transform 0.3s ease;
    background-color: var(--white);
}

.about-ceo-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.about-ceo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 1;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
    line-height: 1.2;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 1;
    color: var(--white);
    font-weight: 500;
}

/* Why Choose Us Section */
.why-choose-section {
    background-color: var(--bg-light);
}

.why-choose-section .section-title {
    color: #1a365d;
    font-weight: 700;
}

.why-choose-section .section-subtitle {
    color: #4a5568;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: transparent;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: #20B2AA;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a365d;
    font-weight: 700;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
}

/* Destinations Section */
.destinations-section {
    background-color: var(--white);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.destination-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.dest-image {
    height: 140px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-light);
}

.dest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card:hover .dest-img {
    transform: scale(1.1);
}

.dest-content {
    padding: 20px;
}

.dest-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.dest-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.9rem;
}

.dest-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease, color 0.3s ease;
    font-size: 0.9rem;
}

.dest-link:hover {
    gap: 15px;
    color: var(--hover-color);
}

/* Universities Section */
.universities-section {
    background-color: var(--bg-light);
}

.university-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 0;
    /* Removed padding */
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    overflow: hidden;
    /* Ensure flag respects border radius */
}

.tab-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tab-item.active {
    border-color: var(--primary-color);
    background: var(--white);
    /* Keep white background for card */
}

.tab-flag {
    width: 100%;
    height: 80px;
    /* Shrunk size for better proportion */
    margin: 0;
    object-fit: cover;
    /* Force image to cover the area, cropping if necessary */
    object-position: center;
    /* Center the image */
    border-radius: 0;
    display: block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.tab-item span {
    font-weight: 700;
    font-size: 1rem;
    /* Slightly smaller text */
    color: var(--secondary-color);
    text-align: center;
    padding: 12px 10px;
    /* Reduced padding */
    width: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    white-space: nowrap;
    /* Prevent wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-item.active span {
    color: var(--primary-color);
    background-color: rgba(216, 27, 96, 0.05);
    /* Highlight text area only */
}

.university-grid-container {
    display: none;
    animation: fadeIn 0.5s ease;
}

.university-grid-container.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.universities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.university-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.university-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.university-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.university-card:hover i {
    color: var(--primary-dark);
}

.university-card h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.university-card:hover h4 {
    color: var(--secondary-color);
}

/* FAQ Section */
.faq-section {
    background-color: var(--white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 50px;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card:first-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-content {
    margin-bottom: 30px;
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.2rem;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--black) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-features span {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-features i {
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-light);
    /* Changed from white to light gray for contrast */
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 25px;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.contact-details p {
    margin-bottom: 15px;
    color: var(--text-color);
    /* Darkened for visibility */
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.contact-details i {
    color: var(--primary-color);
    width: 20px;
}

.contact-details a {
    color: var(--text-color);
    /* Darkened for visibility */
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--hover-color);
}

.contact-hours {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.contact-hours h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-hours p {
    color: var(--text-color);
    /* Darkened for visibility */
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #bbbbbb;
    /* Darker border */
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    color: var(--text-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
    /* Darker placeholder */
    opacity: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    display: inline-block;
    text-decoration: none;
}

.footer-logo img {
    height: 70px;
    width: auto;
    max-width: 200px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
    display: block;
    object-fit: contain;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--hover-color);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-list i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom p {
    text-align: center;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* UI Polish & Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

body {
    opacity: 0;
    transition: opacity 0.6s ease;
}

body.loaded {
    opacity: 1;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(216, 27, 96, 0.6);
}

/* Ensure mobile menu works with fixed header */
@media (max-width: 768px) {
    .navbar {
        top: 70px;
    }
}

/* Large tablets and small desktops */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }

    .hero .container {
        padding: 20px;
    }

    .hero-content {
        padding: 70px 35px;
    }

    .hero-content-section {
        padding: 60px 20px;
    }

    .hero-content-section .hero-content {
        padding: 60px 35px;
    }

    .about-image {
        width: 320px;
        max-width: 45%;
        margin: 0 0 25px 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }

    .stat-icon {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Medium Tablets */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-icon {
        font-size: 2.8rem;
    }

    .stat-number {
        font-size: 2.8rem;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 15px;
    }

    .hero .container {
        padding: 15px;
        border-radius: 20px;
    }

    .hero-content {
        padding: 60px 30px;
        margin: 30px auto;
        min-height: 50vh;
        border-radius: 20px;
    }

    .hero-content-section {
        padding: 50px 15px;
    }

    .hero-content-section .hero-content {
        padding: 50px 30px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat-icon {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-image {
        width: 280px;
        max-width: 45%;
        margin: 0 0 20px 25px;
    }

    .about-ceo-container {
        border-width: 4px;
    }
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    .navbar {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
        padding: 20px;
    }

    .navbar.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-menu>li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a {
        padding: 15px 0;
        display: block;
        color: var(--secondary-color);
        /* Fix contrast */
    }

    .dropdown-menu {
        position: static !important;
        opacity: 0 !important;
        visibility: hidden !important;
        max-height: 0;
        transform: none !important;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background-color: var(--bg-light);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 500px;
        /* Arbitrary large height for transition */
        padding: 10px 0;
        margin-top: 5px;
    }

    .dropdown-menu li a {
        padding-left: 40px !important;
        color: var(--text-light) !important;
        font-size: 0.9rem !important;
        background-color: #f8f9fa;
        border-left: 3px solid transparent;
    }

    .dropdown-menu li a:hover {
        background-color: #e9ecef !important;
        border-left-color: var(--primary-color);
        padding-left: 45px !important;
    }

    /* Chevron Rotation logic for mobile */
    .dropdown>a i {
        transition: transform 0.3s ease;
    }

    .dropdown.active>a i {
        transform: rotate(180deg);
    }

    .container {
        padding: 0 15px;
    }

    .hero .container {
        padding: 15px;
        border-radius: 16px;
    }

    .hero-content {
        padding: 50px 25px;
        margin: 20px auto;
        min-height: 45vh;
        border-radius: 16px;
    }

    .hero-content-section {
        padding: 40px 15px;
    }

    .hero-content-section .hero-content {
        padding: 40px 25px;
        margin: 0 auto;
    }

    .hero-logo-img {
        height: 90px;
    }

    .hero-badge {
        padding: 6px 15px;
        font-size: 0.8rem;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
        padding: 0 5px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 5px;
    }

    .hero-btns {
        gap: 15px;
        padding: 0 5px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .about-logo {
        max-width: 280px;
    }

    .about-content-wrapper {
        display: block;
    }

    .about-image {
        float: right;
        margin: 0 0 20px 20px;
        width: 200px;
        max-width: 40%;
    }

    .about-ceo-container {
        border-width: 4px;
        border-radius: 15px;
    }

    .about-text {
        overflow: visible;
    }

    .about-description {
        font-size: 1rem;
    }

    .logo-container .logo {
        height: 50px;
    }

    .footer-logo img {
        height: 60px;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat-item {
        padding: 25px 15px;
    }

    .stat-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .stat-number {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .destinations-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero {
        padding: 0;
    }

    .hero .container {
        padding: 10px;
        border-radius: 12px;
        margin: 10px;
    }

    .hero-content {
        padding: 40px 20px;
        margin: 15px auto;
        min-height: 40vh;
        border-radius: 12px;
    }

    .hero-content-section {
        padding: 35px 10px;
    }

    .hero-content-section .hero-content {
        padding: 35px 20px;
        margin: 0 auto;
    }

    .hero-logo-img {
        height: 80px;
    }

    .hero-badge {
        padding: 5px 12px;
        font-size: 0.75rem;
        margin-bottom: 15px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
        padding: 0;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0;
        line-height: 1.5;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 12px 25px;
        font-size: 14px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stats-section {
        padding: 40px 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item {
        padding: 20px 10px;
    }

    .stat-icon {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .stat-number {
        font-size: 2.2rem;
        margin-bottom: 6px;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .about-logo {
        max-width: 220px;
    }

    .about-logo-container {
        padding: 30px 20px;
    }

    .about-image {
        width: 150px;
        max-width: 35%;
        margin: 0 0 15px 15px;
        float: right;
    }

    .about-ceo-container {
        border-width: 3px;
        border-radius: 12px;
    }

    .about-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .logo-container .logo {
        height: 45px;
    }

    .footer-logo img {
        height: 50px;
    }

    .contact-card,
    .contact-form-container {
        padding: 25px;
    }
}

/* Extra small devices (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }

    .hero .container {
        padding: 8px;
        border-radius: 10px;
        margin: 8px;
    }

    .hero-content {
        padding: 30px 15px;
        margin: 10px auto;
        min-height: 35vh;
        border-radius: 10px;
    }

    .hero-content-section {
        padding: 30px 10px;
    }

    .hero-content-section .hero-content {
        padding: 30px 15px;
        margin: 0 auto;
    }

    .hero-badge {
        padding: 4px 10px;
        font-size: 0.7rem;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 13px;
        max-width: 100%;
    }

    .stats-section {
        padding: 35px 10px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-item {
        padding: 15px 8px;
    }

    .stat-icon {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .stat-number {
        font-size: 2rem;
        margin-bottom: 5px;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .about-image {
        width: 120px;
        max-width: 30%;
        margin: 0 0 12px 12px;
    }

    .about-ceo-container {
        border-width: 2px;
        border-radius: 10px;
    }

    .about-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* Ensure all images in containers are responsive */
.container img,
.hero-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive images within hero container */
.hero .container img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Search Overlay Modal */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-modal {
    background-color: var(--white);
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.search-modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-light);
}

.search-modal-header h3 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.close-search {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-search:hover {
    color: var(--primary-color);
}

.search-modal-body {
    padding: 20px;
    overflow-y: auto;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-title a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.search-result-snippet {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.search-result-snippet em {
    background-color: rgba(255, 235, 59, 0.4);
    font-style: normal;
    font-weight: 700;
}