:root {
    --primary-dark: #0B1E36;
    --primary-light: #F8F9FA;
    --accent-gold: #BEB093;
    --text-dark: #111111;
    --text-light: #FFFFFF;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* Navbar */
.navbar {
    background-color: var(--primary-light);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 1px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-dark);
    margin: 0 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: var(--text-light);
    border: 2px solid var(--primary-dark);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-dark);
}

.btn-secondary {
    background-color: #FFFFFF;
    color: var(--primary-dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: var(--text-light);
}

/* Hero Section */
.hero {
    background-color: var(--primary-light);
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: #444;
}

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

.feature-card {
    background-color: var(--accent-gold);
    padding: 2.5rem;
    border-radius: 8px;
    color: var(--primary-dark);
    text-align: left;
}

.feature-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.dark-section {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.dark-section h2, .dark-section h3 {
    color: var(--text-light);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* Crunch Section */
.crunch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.white-card {
    background-color: #FFFFFF;
    color: var(--text-dark);
    padding: 3rem;
    border-radius: 8px;
}

.white-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.crunch-card .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.banner {
    background-color: #FFFFFF;
    color: var(--primary-dark);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    font-size: 1.2rem;
}

/* Process Section */
.process-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.process-step {
    flex: 1;
    position: relative;
    padding-top: 4rem;
}

.step-num {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.process-arrow {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-dark);
}

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

.portfolio-card p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

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

.pricing-card {
    display: flex;
    flex-direction: column;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-bottom: 1rem;
}



.pricing-card hr {
    border: 0;
    height: 1px;
    background-color: #eee;
    margin: 1.5rem 0;
}

.pricing-card .turnaround {
    margin-top: auto;
    padding-top: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 6rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h2 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.footer > .container > p {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.footer-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .process-grid {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

.portfolio-card.has-image {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-card.has-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-card.has-image .portfolio-content {
    padding: 2rem;
    flex: 1;
}

.portfolio-card.has-image h3 {
    margin-bottom: 1rem;
}


/* Premium Portfolio Carousel */
.portfolio-carousel-wrapper {
    position: relative;
    padding: 1rem 0;
}

.portfolio-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem 2rem 0.5rem; /* Room for shadow */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.portfolio-carousel::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.portfolio-card {
    min-width: calc(50% - 1rem);
    flex: 0 0 auto;
    cursor: pointer;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.portfolio-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.portfolio-card .portfolio-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.portfolio-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.view-details {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.view-details:hover {
    color: var(--primary-dark);
}

/* Absolute Floating Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: var(--primary-dark);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev-btn {
    left: -25px;
}

.carousel-btn.next-btn {
    right: -25px;
}

@media (max-width: 992px) {
    .portfolio-card {
        min-width: calc(80% - 1rem); /* Show 1.5 cards on tablet so they know to scroll */
    }
}
@media (max-width: 768px) {
    .portfolio-card {
        min-width: 100%;
    }
    .carousel-btn.prev-btn { left: 0; }
    .carousel-btn.next-btn { right: 0; }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 8px;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    z-index: 10;
}

.close-btn:hover {
    color: var(--accent-gold);
}

.modal-slider {
    position: relative;
    background: #111;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-images-container img {
    display: none;
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.modal-images-container img.active {
    display: block;
}

.modal-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    color: #111;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.modal-slider-btn:hover {
    background: #fff;
}

.modal-slider-btn.left { left: 20px; }
.modal-slider-btn.right { right: 20px; }

.modal-details {
    padding: 2.5rem;
    color: #333;
}

.modal-details h3 {
    margin-bottom: 0.5rem;
}

.modal-details p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .portfolio-card {
        min-width: 100%; /* Show 1 card on mobile */
    }
    .modal-slider {
        height: 300px;
    }
    .modal-images-container img {
        max-height: 300px;
    }
}

/* =========================================
   ANIMATIONS & LOGO
   ========================================= */

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    transition: transform 0.3s ease;
}
.logo-container:hover {
    transform: scale(1.05);
}
.footer-logo .logo-container {
    color: var(--text-light);
    justify-content: center;
    font-size: 2.5rem;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }


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

/* Logo Circle Fix */
.logo-circle {
    background-color: #FFFFFF;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.logo-circle svg {
    width: 45px;
    height: 45px;
}

/* Hero Section 3D Roving Background */
.hero {
    position: relative;
    overflow: hidden;
    background-color: var(--primary-light);
}

.hero::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: url('https://ankitk-glitch.github.io/ankit.Portfolio/assets/images/3d_p1_5.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12; /* Kept very subtle so text remains readable */
    z-index: 0;
    /* Slow roving/panning animation */
    animation: roveBackground 30s linear infinite alternate;
    pointer-events: none;
}

/* Ensure content stays above the background */
.hero-content {
    position: relative;
    z-index: 2;
}

@keyframes roveBackground {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.05) translate(-1%, 2%);
    }
    100% {
        transform: scale(1.1) translate(2%, -1%);
    }
}

/* Split Hero Section */
.split-hero {
    background-color: var(--primary-light);
    padding: 4rem 0 6rem;
    overflow: hidden;
}

.split-hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text-side {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.hero-text-side h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero-text-side p {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 2.5rem;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.hero-features .feature-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid var(--accent-gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
    margin: 0;
}

.hero-features .feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.hero-features .feature-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #666;
}

.hero-image-side {
    flex: 1;
    position: relative;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.hero-slideshow {
    width: 100%;
    height: 100%;
    position: relative;
    background: #e0e0e0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 5s linear;
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.05); /* Slow zoom effect while visible */
}

@media (max-width: 992px) {
    .split-hero-container {
        flex-direction: column;
    }
    .hero-image-side {
        width: 100%;
        height: 400px;
    }
    .hero-text-side {
        text-align: center;
        max-width: 100%;
    }
    .hero-features {
        align-items: stretch;
    }
}

/* JLL Style Hero */
.jll-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%), url('hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    margin-top: -80px; /* pull up behind navbar if transparent, else just standard */
}

/* Make navbar transparent for JLL look if needed, or keep clean white. The JLL screenshot has a clean white navbar ABOVE the image. So no negative margin needed. */
.jll-hero {
    margin-top: 0;
}

.jll-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    color: #fff;
}

.jll-hero h1 {
    font-size: 4rem;
    font-family: var(--font-body); /* JLL uses clean sans-serif */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 400;
}

.jll-hero p {
    font-size: 1.25rem;
    font-family: var(--font-body);
    max-width: 650px;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
}

.btn-jll {
    background-color: #fff;
    color: #111;
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-jll:hover {
    background-color: #f4f4f4;
}

.btn-jll .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.btn-jll:hover .arrow {
    transform: translateX(5px);
}

/* Features Bar Below Hero */
.features-bar {
    background-color: var(--primary-light);
    padding: 3rem 0;
    border-bottom: 1px solid #eaeaea;
}

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

.features-bar .feature-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.features-bar .feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.features-bar .feature-card p {
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .jll-hero h1 {
        font-size: 2.5rem;
    }
}

/* Language & Currency Styles */
.lang-selector {
    margin-right: 15px;
    display: inline-block;
}

/* Cleanup Google Translate default styling */
.goog-te-gadget-simple {
    background-color: transparent !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    padding: 6px 10px !important;
    border-radius: 4px;
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
}

.goog-te-gadget-icon {
    display: none;
}

/* Hide Google top banner */
.goog-te-banner-frame {
    display: none !important;
}
body {
    top: 0 !important;
}

/* Tech Stack Logos */
.software-logos {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    color: var(--primary-dark);
}
.software-logos span {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.software-logos span:hover {
    opacity: 1;
}

/* Quote & Submission Section */
.quote-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}
.quote-text {
    flex: 1;
    text-align: left;
}
.quote-benefits {
    list-style: none;
    padding: 0;
    line-height: 2.2;
    font-size: 1.05rem;
}
.quote-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.quote-benefits li span {
    color: var(--accent-gold);
    font-weight: bold;
}

.quote-form-wrapper {
    flex: 1;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    color: var(--text-dark);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.quote-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.quote-form .form-group {
    margin-bottom: 1.5rem;
    flex: 1;
    text-align: left;
}

.quote-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.quote-form input, 
.quote-form select, 
.quote-form textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: border-color 0.3s, background-color 0.3s;
}

.quote-form input:focus, 
.quote-form select:focus, 
.quote-form textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    background-color: #fff;
}

/* Drag & Drop Zone */
.drop-zone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 2.5rem 1rem;
    text-align: center;
    position: relative;
    cursor: pointer;
    background: #fafafa;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.drop-icon {
    font-size: 2.5rem;
    opacity: 0.5;
}
.drop-zone:hover {
    border-color: var(--accent-gold);
    background: #fff8f0;
}
.drop-zone input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

@media (max-width: 992px) {
    .quote-container {
        flex-direction: column;
    }
    .quote-form-wrapper {
        width: 100%;
    }
    .software-logos {
        gap: 2rem;
    }
}

/* Horizontal Free Sample Banner */
.free-sample-banner {
    background-color: #fff;
    border: 2px solid var(--accent-gold);
    border-radius: 12px;
    padding: 3.5rem;
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.free-sample-content {
    flex: 1;
    text-align: left;
}

.free-sample-content h3 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.free-sample-content p {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
}

.free-sample-cta {
    flex-shrink: 0;
    text-align: center;
}

.free-sample-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(11, 30, 54, 0.4);
}

@media (max-width: 992px) {
    .free-sample-banner {
        padding: 2.5rem;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .free-sample-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }
    .free-sample-content {
        text-align: center;
    }
    .free-sample-content div {
        text-align: left;
    }
}

.pricing-card .price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.pricing-card .price .dynamic-price {
    display: inline;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--primary-dark);
}
.pricing-card .price .price-suffix {
    display: inline;
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

/* Custom Country Selector */
.custom-lang-selector {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}
.lang-btn {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 8px 12px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}
.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 220px;
    z-index: 1000;
    overflow: hidden;
    text-align: left;
}
.lang-menu.show {
    display: block;
}
#lang-search {
    width: 100%;
    padding: 12px;
    border: none;
    border-bottom: 1px solid #eee;
    font-family: var(--font-body);
    outline: none;
    font-size: 0.95rem;
}
#country-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 250px;
    overflow-y: auto;
}
#country-list li {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #444;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
#country-list li:hover {
    background: #f5f5f5;
    color: var(--primary-dark);
}
/* Hide google elements completely */
.goog-te-banner-frame, .skiptranslate {
    display: none !important;
}
body {
    top: 0 !important;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.pricing-card hr {
    margin: 1.5rem 0;
    border: none;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* ==========================================
   3D Geometric Preloader
   ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050e1a; /* deep dark navy */
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.preloader-content {
    text-align: center;
}

.bim-preloader-svg {
    width: 120px;
    height: 120px;
    fill: rgba(255,255,255,0); /* Transparent initially */
    stroke: var(--accent-gold);
    stroke-width: 2.5;
    stroke-linejoin: round;
    overflow: visible;
}

/* Drawing the wireframe lines */
.bim-preloader-svg polygon {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawWire 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards, fill3D 1s 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.wire-wall-left { 
    animation-delay: 0s, 1.5s; 
}
.wire-wall-right { 
    animation-delay: 0.3s, 1.7s; 
}
.wire-roof { 
    animation-delay: 0.6s, 1.9s; 
}

/* Line Drawing Keyframes */
@keyframes drawWire {
    100% { stroke-dashoffset: 0; }
}

/* 3D Solid Fill Keyframes */
@keyframes fill3D {
    100% { 
        fill: rgba(212, 175, 55, 0.15); /* Soft gold fill */
    }
}

/* Specific face fills to create 3D shading illusion */
.wire-wall-left {
    --target-fill: rgba(212, 175, 55, 0.3);
}
.wire-wall-right {
    --target-fill: rgba(212, 175, 55, 0.1);
}
.wire-roof {
    --target-fill: rgba(212, 175, 55, 0.4);
}

@keyframes fill3D {
    100% { fill: var(--target-fill); }
}

.preloader-text {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    margin-top: 30px;
    letter-spacing: 3px;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0;
    animation: fadeInPulse 2s 0.5s infinite alternate;
}

@keyframes fadeInPulse {
    0% { opacity: 0.3; transform: translateY(5px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   Pricing Overrides (Strict 4-Column Layout)
   ========================================== */
.pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    align-items: stretch !important;
    width: 100%;
}

.pricing-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 2.5rem 1.5rem !important; /* Perfect internal spacing */
    height: auto !important;
    min-height: 100% !important;
    box-sizing: border-box !important;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Ensure the gold border doesn't break grid sizing */
.pricing-card[style*="border"] {
    border-width: 2px !important;
}

.pricing-card .price {
    display: flex !important;
    align-items: baseline !important;
    gap: 5px !important;
    margin-bottom: 1.2rem !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    overflow: hidden !important;
}

.pricing-card .price .dynamic-price {
    display: inline !important;
    font-size: 1.65rem !important; /* Smaller so €199 - €499 fits perfectly */
    font-family: var(--font-heading) !important;
    color: var(--primary-dark) !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

.pricing-card .price .price-suffix {
    display: inline !important;
    font-size: 0.9rem !important;
    color: #666 !important;
    font-style: normal !important;
}

.pricing-card h3 {
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
}

.pricing-card p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================
   Cinematic City & Logo Preloader
   ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050e1a; /* Deep navy blueprint background */
    z-index: 99999;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

/* City Animation Container */
.city-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    max-width: 90vw;
    opacity: 1;
    animation: fadeOutCity 0.5s 2.8s forwards;
}

.city-svg {
    width: 100%;
    height: auto;
    stroke: var(--accent-gold);
    stroke-width: 2.5;
    fill: none;
    stroke-linejoin: round;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.city-svg .draw-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawCity 2.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.city-svg .grid-line {
    stroke-width: 1;
    opacity: 0.5;
    animation-delay: 0.5s;
}

.city-svg .base-line {
    animation-duration: 1s;
}

/* Logo Animation Container */
.logo-anim-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
    /* Fades in at 3.0s, stays for a moment, then shifts to top left at 4.2s */
    animation: fadeInLogo 0.5s 3.0s forwards, shiftToCorner 1.2s 4.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.preloader-logo-svg {
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
}

/* Keyframes */
@keyframes drawCity {
    to { stroke-dashoffset: 0; }
}

@keyframes fadeOutCity {
    to { opacity: 0; visibility: hidden; }
}

@keyframes fadeInLogo {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
}

@keyframes shiftToCorner {
    0% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1.5);
    }
    100% {
        /* Approximate position of the actual navbar logo */
        top: 2rem; 
        left: 5%; 
        transform: translate(0, 0) scale(0.4);
    }
}

/* Full-Screen Blueprint Animation */
.full-screen-blueprint {
    position: absolute;
    top: 0; left: 0; width: 100vw; height: 100vh;
    opacity: 1;
    animation: fadeOutCity 0.5s 2.8s forwards;
    overflow: hidden;
}

.blueprint-svg {
    width: 100%; height: 100%;
    stroke: var(--accent-gold);
    fill: none;
    stroke-linejoin: round;
    stroke-linecap: round;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.blueprint-svg .grid-line {
    stroke-width: 0.1;
    stroke: rgba(255,255,255,0.2);
}

.blueprint-svg .thick-line {
    stroke-width: 0.4;
}

.blueprint-svg .draw-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawBlueprint 2.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes drawBlueprint {
    to { stroke-dashoffset: 0; }
}

@keyframes fadeOutCity {
    to { opacity: 0; visibility: hidden; }
}

@keyframes fadeInLogo {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
}

@keyframes shiftToCorner {
    0% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1.5);
    }
    100% {
        top: 2rem; 
        left: 5%; 
        transform: translate(0, 0) scale(0.4);
    }
}

/* Holographic City Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: #020611; /* Deep cyberspace blue */
    z-index: 99999;
    overflow: hidden;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.holo-floor {
    position: absolute;
    bottom: -30vh;
    left: -50vw;
    width: 200vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.4) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(600px) rotateX(75deg);
    animation: floorMove 3s linear infinite, fadeOutCity 0.5s 3.5s forwards;
    opacity: 0.8;
}

@keyframes floorMove {
    from { background-position: 0 0; }
    to { background-position: 0 60px; }
}

.hologram-city-container {
    position: absolute;
    bottom: 10vh; /* Sit right above the 3D grid horizon */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 60vh;
    opacity: 1;
    animation: fadeOutCity 0.5s 3.5s forwards;
}

.holo-city-svg {
    width: 100%; height: 100%;
    filter: url(#cyanGlow);
}

.holo-line {
    stroke: #00f3ff;
    stroke-width: 1.5;
    fill: none;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawHolo 2.5s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

.holo-crane {
    stroke: #ff0055; /* Cranes in a contrasting neon pink/red for realism */
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawHolo 2.5s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    animation-delay: 1.0s !important; /* Cranes appear later */
}

@keyframes drawHolo {
    to { stroke-dashoffset: 0; }
}

@keyframes fadeOutCity {
    to { opacity: 0; visibility: hidden; }
}

.logo-anim-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
    animation: fadeInLogo 0.5s 3.7s forwards, shiftToCorner 1s 5.0s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes fadeInLogo {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
}

@keyframes shiftToCorner {
    0% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1.5);
    }
    100% {
        top: 2rem; 
        left: 5%; 
        transform: translate(0, 0) scale(0.4);
    }
}

/* Video Preloader Overrides */
.preloader-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100vw;
    min-height: 100vh;
    object-fit: cover;
    z-index: 1;
    opacity: 0.75;
    /* Scale to 1.15 hides the Gemini logo in the corners */
    transform: translate(-50%, -50%) scale(1.35) !important;
}

.preloader-overlay {
    position: absolute;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(135deg, rgba(2, 6, 17, 0.9) 0%, rgba(11, 30, 54, 0.4) 100%);
    z-index: 2;
}

.logo-anim-container {
    z-index: 3;
}

@keyframes cinematicPan {
    0% { transform: translate(-50%, -50%) scale(1.0) rotate(0deg); }
    100% { transform: translate(-50%, -50%) scale(1.35) !important rotate(0.5deg); }
}

/* Why Ribhus - 6 Card Grid */
.why-ribhus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.why-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
}

.why-icon {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    display: block;
}

.why-card h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
    line-height: 1.4;
}

.why-card p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.75;
}

@media (max-width: 992px) {
    .why-ribhus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .why-ribhus-grid {
        grid-template-columns: 1fr;
    }
}
