/* style.css - Premium Real Estate Landing Page */

/* ==========================================================================
   CSS Variables & Typography
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-color: #b84f36;
    /* Terracotta / Roof tile color */
    --primary-hover: #9c412b;
    --secondary-color: #3b312b;
    /* Dark Wood / Charcoal fence */
    --accent-color: #8b5a2b;
    /* Light Wood paneling */

    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #F7FAFC;
    --bg-main: #ffffff;
    --bg-light: #f5f4f2;
    --bg-dark: #3b312b;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --nav-height: 80px;

    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section-padding {
    padding: 6rem 0;
}

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

.bg-dark {
    background-color: var(--bg-dark);
}

.text-white {
    color: #ffffff !important;
}

.text-light-gray {
    color: #A0AEC0 !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(178, 143, 90, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--secondary-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition-fast);
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.header.scrolled .logo {
    color: var(--secondary-color);
}

.logo span {
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 300;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.header.scrolled .nav-list a {
    color: var(--text-main);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-cta {
    display: none;
}

.mobile-menu-btn {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.header.scrolled .mobile-menu-btn {
    color: var(--secondary-color);
}

@media (min-width: 992px) {
    .nav-cta {
        display: inline-block;
    }
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        gap: 0;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        box-shadow: var(--shadow-md);
        transition: max-height 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
    }

    .nav-list.active {
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
        padding: 1rem 0;
    }

    .nav-list a {
        color: var(--secondary-color);
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .nav-list a::after {
        display: none;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    /* Avoid white edges on animation */
    animation: zoomOut 20s infinite alternate linear;
}

@keyframes zoomOut {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(59, 49, 43, 0.6) 0%, rgba(59, 49, 43, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: var(--nav-height);
}

.hero-offer-box {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    margin: 2rem auto;
    text-align: left;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatPulse 3s infinite ease-in-out;
}

@keyframes floatPulse {
    0% {
        transform: translateY(0);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(184, 79, 54, 0.3);
    }

    100% {
        transform: translateY(0);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
}

.hero-offer-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(184, 79, 54, 0.4);
    animation-play-state: paused;
    background: rgba(255, 255, 255, 0.15);
    /* Keep it visible! */
}

.offer-icon {
    font-size: 3rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.offer-details {
    color: #fff;
}

.offer-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.offer-price {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-weight: 500;
}

.offer-price strong {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 800;
}

.offer-urgency {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.hero-badge {
    display: inline-block;
    position: relative;
    z-index: 10;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(184, 79, 54, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(184, 79, 54, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(184, 79, 54, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(184, 79, 54, 0.4);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    font-style: italic;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #E2E8F0;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

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

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

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

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

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E2E8F0;
}

.stat-item .stat-number {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1;
}

/* ==========================================================================
   Floor Plans Section
   ========================================================================== */
.floorplans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.floorplan-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.floorplan-img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    padding: 1rem;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.floorplan-img img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

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

.zoom-icon {
    position: absolute;
    inset: 0;
    background: rgba(184, 79, 54, 0.8);
    /* Primary color with opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition-fast);
}

.floorplan-img:hover .zoom-icon {
    opacity: 1;
}

.floorplan-info h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.floorplan-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floorplan-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.floorplan-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(59, 49, 43, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: block;
    animation: fadeIn 0.3s;
}

.lightbox-img {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* ==========================================================================
   Marketing Video Section
   ========================================================================== */
.video-section {
    padding-bottom: 2rem;
}

.video-ratio-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.toggle-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
}

.toggle-label.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary-color);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    /* narrowed for 9:16 layout */
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1), aspect-ratio 0.5s;
    margin: 0 auto;
}

.video-wrapper.ratio-16-9 {
    max-width: 900px;
    aspect-ratio: 16 / 9;
}

.video-wrapper.ratio-9-16 {
    max-width: 450px;
    aspect-ratio: 9 / 16;
}

.video-placeholder {
    text-align: center;
    color: #fff;
    z-index: 2;
}

.video-play-btn {
    font-size: 5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    transition: var(--transition-fast);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

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

.video-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
}

/* ==========================================================================
   Location Section
   ========================================================================== */
.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-highlights {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.location-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.location-highlights i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 4px;
}

.map-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #e2e8f0;
    /* Placeholder color before map loads */
}

@media (max-width: 991px) {
    .location-container {
        grid-template-columns: 1fr;
    }
}

.stat-item p {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    position: relative;
}

.rounded-image {
    border-radius: 8px;
    width: 100%;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--bg-main);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 5s infinite ease-in-out;
}

.floating-badge i {
    font-size: 2rem;
    color: var(--accent-color);
}

.floating-badge span {
    font-weight: 600;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

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

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

@media (max-width: 991px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .floating-badge {
        left: 20px;
        bottom: 20px;
    }
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.glass-panel:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.9);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(178, 143, 90, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: #fff;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 2rem;
    gap: 15px;
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-mobile-icon {
    display: inline-block;
    color: var(--primary-color);
    margin-left: 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.gallery-mobile-icon:hover {
    color: #fff;
    transform: translateX(5px);
}

.gallery-link {
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay .gallery-mobile-icon {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-overlay {
        opacity: 0;
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .gallery-item.mobile-hover .gallery-overlay {
        opacity: 1;
    }

    .gallery-item.mobile-hover .gallery-overlay h3,
    .gallery-item.mobile-hover .gallery-overlay .gallery-mobile-icon {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-item.large {
        grid-row: span 1;
    }

    .hero-offer-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        border-top: 5px solid var(--primary-color);
    }

    .hero {
        min-height: 100vh;
        height: auto;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .hero-content {
        padding-top: calc(var(--nav-height) + 2rem);
    }

    .hero-offer-box {
        padding: 1.25rem;
        gap: 0.75rem;
        margin: 1.5rem auto;
    }

    .offer-price {
        font-size: 1.1rem;
    }

    .offer-price strong {
        font-size: 1.5rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .break-on-mobile {
        display: block;
        margin-top: 5px;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.contact-details i {
    color: var(--primary-color);
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-form-wrapper.glass-panel:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.form-title {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
    /* For floating label effect */
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: var(--transition-fast);
}

/* Floating label effect */
.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--primary-color);
    outline: none;
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.75rem;
    background-color: var(--bg-dark);
    padding: 0 0.5rem;
    color: var(--primary-color);
}

.form-disclaimer {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Animations & Scroll Reveals
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-reveal.fade-left {
    transform: translateX(50px);
}

.scroll-reveal.fade-right {
    transform: translateX(-50px);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Text reveal animation for hero */
.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: textReveal 1s forwards cubic-bezier(0.5, 0, 0, 1);
}

.reveal-fade {
    opacity: 0;
    animation: fadeIn 1s forwards 0.5s;
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}