:root {
    --primary-color: #111827;
    --primary-light: #1e3a8a;
    --primary-dark: #0f172a;
    --secondary-color: #0f172a;
    --accent-color: #1e3a8a;
    /* Darker Blue */
    --accent-light: #2563eb;
    --gold-accent: #d4af37;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --background: #ffffff;
    --background-light: #f3f4f6;
    --background-dark: #0f172a;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --container-padding: 2rem;
    --font-primary: 'Outfit', sans-serif;
    --font-header: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar-top {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.navbar-top .container {
    max-width: 100%;
    padding: 0 1rem;
}

.navbar-announcement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.navbar-top:hover .navbar-announcement {
    animation-play-state: paused;
}

.announcement-icon {
    font-size: 1rem;
}

.announcement-text {
    font-family: 'Dosis', sans-serif;
    letter-spacing: 0.5px;
}

.navbar-main {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    padding: 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

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

.logo-icon {
    font-size: 2rem;
    animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

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

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-text h1 {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.logo-tagline {
    font-size: 0.6rem;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Lexend Deca', sans-serif;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.03);
}

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

.mobile-menu-close {
    display: none;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    position: relative;
    font-size: 0.85rem;
}

.nav-menu a:not(.btn-nav):hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

/* Header Phone Number */
.header-phone {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-phone:hover {
    background: rgba(29, 78, 216, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.header-phone .phone-icon {
    font-size: 1.1rem;
}

.nav-menu a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:not(.btn-nav):hover::after {
    width: 60%;
}

.nav-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-menu a:hover .nav-icon {
    transform: scale(1.2) rotate(5deg);
}

.btn-nav {
    background: var(--gold-gradient);
    color: var(--secondary-color) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    font-weight: 700;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4);
    filter: brightness(1.1);
}

.btn-nav::after {
    display: none;
}

.btn-icon {
    font-size: 1.1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: auto;
    height: auto;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.15);
}

.mobile-menu-toggle .menu-icon,
.mobile-menu-toggle .close-icon {
    width: 28px;
    height: 28px;
    color: white;
    transition: all 0.3s ease;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mobile-menu-toggle .close-icon {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.mobile-menu-toggle.active .menu-icon {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.mobile-menu-toggle.active .close-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 180px 0px 80px;
    background: var(--secondary-color);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-image.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 58, 138, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding-top: 1rem;
}

.hero-carousel {
    position: relative;
    min-height: 320px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translate(100px, -50%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    visibility: hidden;
}

.hero-slide.active {
    opacity: 1;
    transform: translate(0, -50%);
    pointer-events: auto;
    visibility: visible;
}

.hero-slide.exit {
    opacity: 0;
    transform: translate(-100px, -50%);
}

.hero-title {
    font-family: var(--font-header);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
    text-transform: none;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title span {
    color: var(--gold-accent);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

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

.hero-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.3);
    width: 30px;
    border-radius: 6px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn {
    font-family: 'Lexend Deca', sans-serif;
    padding: 1.1rem 2.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border: 2px solid transparent;
    letter-spacing: 0.5px;

}

.btn-primary {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(29, 78, 216, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-4px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    width: 100%;
    max-width: 400px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Lexend Deca', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-header);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    text-transform: none;
}

.section-title span {
    color: var(--gold-accent);
}

.benefits .section-title {
    color: white;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.benefits .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* How It Works */
.how-it-works {
    background: white;
    color: var(--text-primary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: left;
    padding: 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.step-number {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(29, 78, 216, 0.3);
}

.step-icon {
    display: none;
}

.step-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 16px 16px 0 0;
    transition: transform 0.3s ease;
}

.step:hover .step-image {
    transform: scale(1.05);
}

.step-content {
    padding: 2rem;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-header);
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Benefits */
.benefits {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.benefit-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.07);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    font-family: var(--font-header);
    margin-bottom: 0.75rem;
    color: white;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* About Section */
.about {
    background: var(--background-light);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.feature-text h4 {
    font-family: var(--font-header);
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.about-image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.about-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.badge-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    font-family: 'Lexend Deca', sans-serif;
}

.badge-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Strategic Partners */
.partners {
    background: white;
}

.partners-grid {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.partner-card {
    max-width: 600px;
    padding: 3rem;
    background: var(--background-light);
    border-radius: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.partner-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.partner-card h3 {
    font-family: var(--font-header);
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.partner-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Founder Section */
.founder {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.founder-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.founder-image-wrapper {
    height: 100%;
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.founder-info {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.founder-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(29, 78, 216, 0.1);
    color: var(--accent-color);
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.founder-title {
    display: block;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
}

.founder-bio p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.founder-quote {
    margin-top: 2rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--gold-accent);
}

.founder-quote blockquote {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    font-style: italic;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .founder-card {
        grid-template-columns: 1fr;
    }

    .founder-image-wrapper {
        height: 400px;
    }

    .founder-info {
        padding: 2.5rem;
    }
}

/* Gallery Section */
.gallery-section {
    background: white;
    padding: 100px 0;
    color: var(--text-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;

    /* Empty State */
    .empty-state {
        display: none;
        text-align: center;
        padding: 4rem 2rem;
        background: white;
        border-radius: 20px;
        margin-top: 2rem;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-sm);
    }

    .empty-state h3 {
        font-family: var(--font-header);
        font-size: 1.5rem;
        color: var(--secondary-color);
        margin-bottom: 0.5rem;
        font-weight: 700;
    }

    .empty-state p {
        color: var(--text-secondary);
        margin-bottom: 1.5rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .empty-state::before {
        content: '🔍';
        display: block;
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }

    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: 400px;
}

.gallery-item:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
    padding: 2.5rem;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--accent-color);
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
    text-transform: none;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1e3a8a 100%);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-header);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-content>p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    background: rgba(255, 255, 255, 1);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
    text-align: left;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.1rem;
    border: 2px solid #f3f4f6;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-header);
    transition: all 0.3s ease;
    background: #f9fafb;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

.contact-form button {
    margin-top: 1rem;
    /* background: var(--primary-color); Removed to allow btn-primary to take precedence */
    color: white;
    border: none;
    cursor: pointer;
}

.contact-form button:hover {
    background: var(--primary-dark);
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 6rem 0 3rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    font-family: var(--font-header);
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 1rem;
}

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

.footer-section ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-announcement {
        font-size: 0.75rem;
        padding: 0.25rem 0;
    }

    .announcement-text {
        font-size: 0.7rem;
    }

    .announcement-icon {
        font-size: 0.85rem;
    }

    .logo-text h1 {
        font-size: 1.5rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-title {
        margin-top: 2rem;
    }

    .hero-carousel {
        height: 240px;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: #0f172a;
        width: 100%;
        height: 100vh;
        margin: 0;
        text-align: center;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        border: none;
        border-radius: 0;
        z-index: 9999;
        justify-content: flex-start;
        align-items: center;
        transform: translateX(-100%);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-close {
        display: block !important;
        width: 100%;
        margin-bottom: 1rem;
        list-style: none;
        pointer-events: auto;
    }

    .mobile-close-btn {
        background: none;
        color: white;
        border: none;
        border-radius: 50%;
        padding: 0.75rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        transition: all 0.3s ease;
        pointer-events: auto;
        z-index: 10000;
        position: relative;
    }

    .mobile-close-btn:hover {
        background: none;
        color: var(--text-primary);
        transform: scale(1.1);
    }

    .close-btn-icon {
        font-size: 2rem;
        font-weight: 600;
        line-height: 1;
    }

    .nav-menu a {
        justify-content: center;
        width: auto;
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

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

    .gallery-section {
        padding: 80px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .navbar-announcement {
        font-size: 0.7rem;
        flex-wrap: nowrap;
        text-align: left;
    }

    .announcement-text {
        font-size: 0.65rem;
    }

    .logo-text h1 {
        font-size: 1.25rem;
    }

    .logo-tagline {
        display: none;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-title {
        margin-top: 1.5rem;
    }

    .hero-carousel {
        height: 220px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    section {
        padding: 60px 0;
    }

    .cta-section {
        padding: 60px 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Cash Offer Modal */
.modal {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--background);
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(-50px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal.show .modal-content {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--background-light);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.close-modal:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.modal-header span {
    color: var(--accent-color);
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.modal-form .form-group {
    margin-bottom: 1.2rem;
}

.modal-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--background-light);
    color: var(--text-primary);
    font-family: inherit;
}

.modal-form input:focus {
    outline: none;
    border-color: var(--accent-light);
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.btn-full {
    width: 100%;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    padding: 1rem;
}

/* Card Button Overrides */
.car-card .btn,
.property-card .btn {
    border-radius: 50px;
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: fit-content;
    align-self: flex-start;
}

/* UI Overhaul - Cards & Layout */
.property-grid,
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 3rem 0;
}

.property-card,
.car-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Badges */
.car-badge,
.sold-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
    z-index: 10;
    letter-spacing: 0.5px;
}

.sold-badge {
    background: #ef4444;
}

.property-card:hover,
.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-light);
}

.property-image,
.car-image-container {
    width: 100%;
    height: 240px;
    object-fit: cover;
    overflow: hidden;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.car-card:hover .car-image {
    transform: scale(1.05);
}

.property-details,
.car-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-title,
.car-title {
    font-family: var(--font-header);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.property-price,
.car-price {
    font-family: var(--font-header);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.property-specs,
.car-specs {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.property-spec,
.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.property-spec .value,
.spec-item span:last-child {
    font-weight: 700;
    color: var(--secondary-color);
}

/* Horizontal Filter Bar */
.filter-bar-container {
    background: white;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 100;
}

.search-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-wrapper i {
    color: var(--text-secondary);
}

.search-input-alt {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
}

.filter-toggle-btn {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-toggle-btn:hover {
    background: var(--border-color);
}

.filters-dropdown-panel {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    width: 320px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    display: none;
    animation: slideInDown 0.3s ease;
    z-index: 101;
}

.filter-group {
    margin-bottom: 1.25rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.filter-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--background-light);
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s ease;
}

.filter-input:focus {
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.reset-filters {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.reset-filters:hover {
    background: rgba(59, 130, 246, 0.05);
    color: var(--accent-light);
}

.filters-dropdown-panel.show {
    display: block;
}

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

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

/* Hero Styles */
.hero-unified {
    background: #0f172a;
    padding: 200px 0 100px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-unified::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(30, 64, 175, 0.3) 0%, rgba(15, 23, 42, 0.3) 50%, transparent 100%);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    :root {
        --container-padding: 1.25rem;
    }

    body {
        font-size: 15px;
    }

    .hero-unified {
        padding: 160px 0 80px;
    }

    .hero-unified h1 {
        font-size: 2.5rem !important;
    }

    .filter-bar-container {
        flex-direction: column;
        border-radius: 20px;
        padding: 1rem;
        gap: 0.75rem;
    }

    .filters-dropdown-panel {
        width: 100%;
        position: static;
        margin-top: 1rem;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    .property-grid,
    .car-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}