:root {
    /* Brand Colors */
    --primary-orange: #FF6600;
    --primary-orange-dark: #cc5200;
    --primary-blue: #002B49;
    --primary-blue-dark: #001a2e;

    /* Neutral / UI Colors */
    --light-bg: #F8F9FA;
    --white: #ffffff;
    --text-main: #333333;
    --text-light: #666666;
    --border-color: #e5e5e5;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --blur-amt: 12px;

    /* Layout */
    --padding-section: 80px 0;
    --container-width: 1240px;
    --header-height: 80px;
}

/* --- Reset & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.align-center {
    align-items: center;
}

.section-padding {
    padding: var(--padding-section);
}

.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    color: var(--primary-blue);
    font-size: 2.25rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    letter-spacing: -0.5px;
    z-index: 1;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), transparent);
    margin: 16px auto 0;
    border-radius: 2px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: var(--white);
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--primary-blue);
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.top-bar i {
    color: var(--primary-orange);
    margin-right: 8px;
}

.contact-info span {
    margin-right: 30px;
    display: inline-flex;
    align-items: center;
}

/* --- Navbar (Glassmorphism) --- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(var(--blur-amt));
    -webkit-backdrop-filter: blur(var(--blur-amt));
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar .logo h1 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    letter-spacing: -1px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-switch {
    border-left: 1px solid var(--border-color);
    padding-left: 24px;
    margin-left: 8px;
    position: relative;
    /* needed for dropdown */
    display: flex;
    align-items: center;
}

/* Dropdown Styles */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 160px;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    z-index: 1001;
    overflow: visible;
    /* Changed to visible for pseudo-element */
    flex-direction: column;
    margin-top: 15px;
    /* Visual spacing */
}

/* Invisible bridge to prevent menu from closing when moving mouse */
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    /* Extends upward to touch the navbar */
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.lang-switch:hover .dropdown-menu {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.dropdown-menu a {
    padding: 12px 16px;
    color: var(--text-main);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--light-bg);
}

.dropdown-menu a:hover {
    background-color: var(--light-bg);
    color: var(--primary-orange);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    background-color: var(--primary-blue);
    color: var(--white);
    overflow: hidden;
}

.slider-container {
    position: relative;
    min-height: 650px;
    /* Taller hero */
}

.slide {
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /* Gradient overlay for readability and depth */
    background: linear-gradient(135deg, rgba(0, 43, 73, 0.95) 0%, rgba(0, 20, 40, 0.85) 100%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    padding-top: var(--header-height);
    /* Offset fixed header */
}

.slide.active {
    display: flex;
    opacity: 1;
    z-index: 1;
}

.slide-content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Hero Animations */
.slide-text h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 0.8s forwards 0.3s;
}

.slide-text h2 i {
    color: var(--primary-orange);
}

.slide-text p {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 0.8s forwards 0.5s;
}

.hero-models {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 0.8s forwards 0.7s;
}

.model-item {
    background: rgba(255, 255, 255, 0.08);
    /* Frosted glass dark */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 24px;
    border-radius: 12px;
    flex: 1;
    min-width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.model-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.model-item h3 {
    color: var(--primary-orange);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.model-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
    opacity: 1;
    transform: none;
    animation: none;
}

.hero-list li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.hero-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-orange);
    position: absolute;
    left: 0;
    top: 2px;
}

/* Nav Buttons */
.prev-btn,
.next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.prev-btn {
    left: 40px;
}

.next-btn {
    right: 40px;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Core Services --- */
.core-services {
    background: var(--white);
    position: relative;
    z-index: 5;
    margin-top: -40px;
    /* Overlap effect */
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.service-box {
    text-align: left;
    padding: 40px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-orange);
    transition: height 0.4s ease;
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-box:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 24px;
    display: inline-block;
    padding: 15px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 12px;
}

.service-box h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-box p {
    color: var(--text-light);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.activity-item {
    text-align: center;
    background: var(--light-bg);
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.activity-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-color: var(--border-color);
    transform: scale(1.02);
}

.img-placeholder {
    width: 100%;
    height: 140px;
    background-color: #e0e6ed;
    background-size: cover;
    background-position: center;
    margin-bottom: 16px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* Subtle shine effect on placeholders */
.img-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    100% {
        left: 200%;
    }
}

.activity-item span {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

/* --- Quote Banner (Modern CTA) --- */
.quote-banner {
    position: relative;
    background: var(--primary-blue);
    padding: 100px 0;
    overflow: hidden;
}

/* Abstract shapes for background */
.quote-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.quote-text h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.quote-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

.quote-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    min-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.quote-form h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.quote-form p {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* --- Differentials --- */
.differentials {
    background-color: var(--light-bg);
    position: relative;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.diff-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.diff-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--primary-orange);
}

.diff-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: color 0.3s;
}

.diff-item:hover i {
    color: var(--primary-orange);
}

/* --- Segments --- */
.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.segment-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.segment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.segment-img {
    height: 240px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.segment-card:hover .segment-img {
    transform: scale(1.05);
}

.segment-info {
    padding: 32px;
    position: relative;
    background: var(--white);
}

.segment-info h3 {
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.segment-card:hover h3 {
    color: var(--primary-orange);
}

.segment-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- About Us --- */
.about-us {
    background-color: var(--white);
}

.about-content {
    display: grid;
    gap: 60px;
}

.about-text h3 {
    color: var(--primary-orange);
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-main);
}

.about-values {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.value-item {
    flex: 1;
    min-width: 280px;
    text-align: center;
    padding: 40px;
    background: var(--light-bg);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.value-item i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-orange), #ff9900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.value-item h4 {
    color: var(--primary-blue);
    margin-bottom: 16px;
    font-size: 1.25rem;
}

/* --- Footer --- */
.group-info {
    background-color: #f0f2f5;
    border-top: 1px solid var(--border-color);
}

.footer-main {
    background-color: var(--primary-blue);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
}

.contact-list li i {
    color: var(--primary-orange);
    margin-right: 16px;
    margin-top: 4px;
}

.footer-bottom {
    background-color: var(--primary-blue-dark);
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .slider-container {
        min-height: 500px;
    }

    .slide-text h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .flex-between {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-bar .flex-between {
        align-items: center;
        /* keep top bar centered or cleaner */
    }

    .top-bar .contact-info,
    .top-bar .hours {
        display: none;
        /* Hide top bar details on mobile to declutter */
    }

    .navbar {
        padding: 15px 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-icon {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .grid-2,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .mobile-column {
        flex-direction: column;
    }

    .quote-text {
        text-align: center;
        margin-bottom: 40px;
    }

    .quote-form-container {
        min-width: 100%;
        padding: 24px;
    }

    .hero-section .slide-text h2 {
        font-size: 2.2rem;
    }

    .hero-section .slide-text p {
        font-size: 1rem;
    }

    .prev-btn,
    .next-btn {
        display: none;
        /* Swipe usually preferred, but for now just hide to declutter */
    }
}