:root {
    /* Gold & White Theme with 3D Aesthetics */
    --primary: #ffd700;
    --primary-dark: #e6c200;
    --secondary: #daa520;
    --accent: #333333;

    /* Backgrounds */
    --bg-dark: #ffffff;
    /* Main Body White */
    --bg-panel: #f8f9fa;
    /* Light Gray for sections */
    --bg-light-gold: #fff9e6;
    /* Light Gold for specific sections */
    --bg-card: #ffffff;
    --footer-bg: #000000;

    /* Text */
    --text-light: #333333;
    /* Main text Dark */
    --text-dark: #ffffff;
    /* For buttons/header/footer */
    --text-gold: #b89b00;
    /* Darker gold for text */
    --text-dim: #666666;

    /* Effects */
    --glass: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.08);

    --shadow-3d: 0 15px 35px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 5px 20px rgba(0, 0, 0, 0.05);
    --neon-glow: 0 0 15px rgba(255, 215, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    padding-top: 80px;
    /* Space for fixed navbar */
}

/* Background Animation - Subtle for Light Theme */
/* Background Animation - Premium */
.bg-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f4f4f4 50%, #eaeaea 100%);
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    /* Removed float-orb animation */
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(255, 215, 0, 0.15);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(0, 188, 212, 0.08);
    bottom: -50px;
    right: -50px;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(255, 0, 100, 0.05);
    top: 40%;
    left: 60%;
}

.gold-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: float-orb 10s infinite ease-in-out alternate;
}

@keyframes float-orb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

@keyframes float-icon {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(3deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes float-3d {
    0% {
        transform: translateZ(50px) translateY(0px) rotateX(0deg) rotateY(0deg);
    }

    25% {
        transform: translateZ(80px) translateY(-10px) rotateX(5deg) rotateY(5deg);
    }

    50% {
        transform: translateZ(60px) translateY(-20px) rotateX(0deg) rotateY(10deg);
    }

    75% {
        transform: translateZ(80px) translateY(-10px) rotateX(-5deg) rotateY(5deg);
    }

    100% {
        transform: translateZ(50px) translateY(0px) rotateX(0deg) rotateY(0deg);
    }
}

@keyframes float-3d-reverse {
    0% {
        transform: translateZ(40px) translateY(0px) rotateY(0deg);
    }

    50% {
        transform: translateZ(70px) translateY(15px) rotateY(-8deg);
    }

    100% {
        transform: translateZ(40px) translateY(0px) rotateY(0deg);
    }
}

@keyframes float-bob {
    0% {
        transform: translateZ(40px) translateY(0);
    }

    50% {
        transform: translateZ(40px) translateY(-20px);
    }

    100% {
        transform: translateZ(40px) translateY(0);
    }
}

/* Animations kept only as fallbacks or unused */
.anim-reverse,
.anim-slow,
.anim-fast,
.anim-bob {
    animation: none !important;
}

@keyframes pulse-icon {
    0% {
        transform: scale(1) translateZ(30px);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.15) translateZ(50px);
        filter: brightness(1.3);
    }

    100% {
        transform: scale(1) translateZ(30px);
        filter: brightness(1);
    }
}

@keyframes pulse-glow {
    0% {
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    }

    100% {
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
    }
}

@keyframes reveal-up {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #111;
    font-weight: 700;
}

.text-gold {
    color: var(--text-gold);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #000000;
    /* Black Header as per reference */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000000;
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid var(--primary);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

/* Cards & 3D Elements */
.card-3d,
.glass-card,
.why-card,
.doc-card,
.product-card,
.step-card,
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 1;
    /* Ensure visible */
}

.card-3d:hover,
.glass-card:hover,
.why-card:hover,
.doc-card:hover,
.product-card:hover,
.step-card:hover,
.feature-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Animated Shimmer Effect on Cards */
.card-3d::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    background-size: 200% 100%;
    animation: shimmer 5s infinite;
    pointer-events: none;
}

/* Ensure inner elements have some 3D translation & animation */
/* Remove inner element animations */
.card-3d i,
.glass-card i,
.why-card i,
.feature-card i {
    display: inline-block;
    color: var(--primary);
}

/* Clean 3D Images */
/* Remove 3D image scaling and floating */
.card-3d img,
.why-card img,
.product-card img,
.step-card img {
    transition: transform 0.3s ease;
}

/* Icons in circles or special containers */
.card-3d .step-icon,
.card-3d .svc-icon {
    animation: pulse-icon 3s infinite ease-in-out;
}

.card-3d h3,
.glass-card h4,
.why-card .w-title {
    transform: translateZ(25px);
    transition: transform 0.3s ease;
}

/* Mobile responsiveness for 3D Flex Layouts */
@media (max-width: 992px) {
    section[style*="display: flex"] {
        flex-direction: column !important;
        text-align: center !important;
        padding: 4rem 5% !important;
    }

    section[style*="display: flex"] div {
        text-align: center !important;
    }

    .grid-2 {
        grid-template-columns: 1fr !important;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Force single row for stats on large screens */
.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.stats-grid>div {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    /* Smaller min-width for logos */
    gap: 1.5rem;
    align-items: center;
}

/* Steps */
.step-card {
    text-align: center;
    background: #ffffff;
    /* White background */
    border: 1px solid #eee;
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    box-shadow: var(--shadow-card);
}

.how-it-works-grid {
    align-items: stretch !important;
}

.how-it-works-grid .step-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.how-it-works-grid .step-card p {
    flex-grow: 1;
}

.step-number {
    font-size: 3.5rem;
    color: rgba(255, 215, 0, 0.2);
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 900;
    z-index: 0;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: var(--footer-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 5% 1rem;
    color: #fff;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 1rem;
}

/* Form Styles */
.form-control {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #333;
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    height: 600px;
    /* Fixed height for consistency */
    overflow: hidden;
    background: #ffffff;
}

@media (max-width: 768px) {
    .carousel {
        height: 350px;
    }
}

/* White background for contained images */

/* ... existing carousel-slide styles ... */

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-media {
    width: 100%;
    height: 100%;
    object-fit: fill;
    /* Stretch to fill 100% width and height as requested */
    object-position: center;
    filter: brightness(1);
    /* No dark overlay */
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Centered text */
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    z-index: 3;
    text-align: center;
    /* Centered alignment for Hero */
}

.carousel-title {
    font-size: 4rem;
    color: #fff;
    /* Title always white on image */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    animation: slideUp 1s ease-out;
    line-height: 1.1;
}

.carousel-subtitle {
    font-size: 1.5rem;
    color: #f0f0f0;
    margin-bottom: 2rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    animation: slideUp 1s ease-out 0.2s backwards;
}

.carousel-btn {
    animation: slideUp 1s ease-out 0.4s backwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Nav & Indicators */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.carousel-nav:hover {
    background: var(--primary);
    color: black;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.indicator.active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    transform: scale(1.2);
}