:root {
    --primary-color: #00D4FF;
    --secondary-color: #8B5CF6;
    --tertiary-color: rgba(0, 255, 255, 0.494);
    --color4: #ff9901;
    --color5: #ff6b6b;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --active-glow-color: #00FFFF; /* Teal/Cyan glow */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    max-width: 100%;
    overflow-x: hidden;
}

.lottie-container {
    display: flex;
    position: relative;
    margin: auto;
    width: 25rem;
    height: 25rem;
}

    dotlottie-player {
        position: absolute;
        top: -15%;
    }

.lottie-hero {
    transform: scale(0.3);
    top: -50%;
}

.lottie-limited {
    transform: scale(0.2);
    top: -50%;
    right: -40%;
}

.logo {
    width: 3rem;
}

/* Canvas Container */
.canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: fit-content;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    will-change: transform;
}

#particleCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

/* Section Shapes using clip-path */
.irregular-shape {
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 90%);
    padding: 8rem 2rem 12rem 2rem;
}

.blob-shape {
    clip-path: ellipse(90% 80% at 50% 20%);
    padding: 8rem 2rem 10rem 2rem;
    margin-top: -6rem;
}

.diagonal-shape {
    clip-path: polygon(15% 0, 100% 0, 100% 85%, 0 100%);
    padding: 8rem 2rem 6rem 2rem;
    margin-top: -4rem;
}

/* Add some spacing between sections on mobile */
@media (max-width: 768px) {
    .irregular-shape, .blob-shape, .diagonal-shape {
        margin-top: 0 !important; /* Override margin-top on mobile */
        margin-bottom: 2rem; /* Add space between sections */
    }

    .lottie-hero {
        transform: scale(0.5);
    }
}

/* Parallax effect - added transition */
section {
    transition: transform 0.3s ease-out;
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    transition: all 0.3s ease;
    z-index:10;
}

.glass:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.5);
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);/* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    color: white;
    width: 95%;
}

.splash-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.gears {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.gear-1, .gear-2 {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    animation: rotate 2s linear infinite;
}

.gear-2 {
    animation-direction: reverse;
    animation-delay: 0.1s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Background Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: #ff6b6b;
    top: 20%;
    left: 10%;
}

.blob-2 {
    width: 200px;
    height: 200px;
    background: #4ecdc4;
    top: 60%;
    right: 20%;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: #45b7d1;
    bottom: 20%;
    left: 60%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(30px) rotate(240deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.5rem 0; /* changed this */
    margin: 0rem 1rem; /* changed this */
    transition: background-color 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand i,
.nav-brand span {
    pointer-events: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: white;
    color: var(--active-glow-color);
    text-shadow:
        0 0 5px var(--active-glow-color),
        0 0 10px var(--active-glow-color),
        0 0 15px var(--active-glow-color);
/*     background: rgba(255, 255, 255, 0.1);
 */}

 .navbar a.active::after {
    content: '';
    position: absolute;
    bottom: 5px; /* space between text and line */
    left: 20%;
    /* transform: translateX(0%); */
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--active-glow-color), transparent);
    animation: glow-underline 1.5s infinite ease-in-out;
}

@keyframes glow-underline {
    0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

.hamburger {
    display: none;
    top: -0.8rem;
}

    /* Hamburger */

    .visuallyHidden {
        position: absolute; 
        overflow: hidden; 
        clip: rect(0 0 0 0); 
        height: 1px; width: 1px; 
        margin: -1px; padding: 0; border: 0; 
    }
    
    h1 {
        text-align: center;
    }
    
    .hamburger-container {
        position: absolute;
        width: 70%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }
    
    .hamburger {
        width: 30px;
        height: 30px;
        position: absolute;
        top: 0.5rem;
        right: 1rem;
    }
    
    .hamburger .bar {
        padding: 0;
        width: 30px;
        height: 4px;
        background-color: var(--active-glow-color); /* hamburger color */
        box-shadow: 10px 0 20px var(--active-glow-color);
        display: block;
        border-radius: 4px;
        transition: all 0.4s ease-in-out;
        position: absolute; 
    }
    
    .bar1 {
        top: 0;
    }
    
    .bar2,
    .bar3 {
        top: 13.5px;
    }
    
    .bar3 {
        right: 0;
    }
    
    .bar4 {
        bottom: 0;
    }
    
    /* HAMBURGER 1 */
    .checkbox1:checked + label > .hamburger1 > .bar1{
        transform: rotate(45deg);
        transform-origin: 5%;
        width: 41px
    }
    
    .checkbox1:checked + label > .hamburger1 > .bar2 {
        transform: translateX(-40px);
        background-color: transparent;
        box-shadow: none;
    }
    
    .checkbox1:checked + label > .hamburger1 > .bar3 {
        transform: translateX(40px);
        background-color: transparent;
        box-shadow: none;
    }
    
    .checkbox1:checked + label > .hamburger1 > .bar4 {
        transform-origin: 5%;
        transform: rotate(-45deg);
        width: 41px;
    }

    /* Hamburger End */

/* Hero Section */

.headline {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 0.5em;
    text-shadow: 0 4px 20px rgba(20,30,90,0.12);
    width: 100%;
    /* prevent word "Grow your" from moving: */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25em;
  }

  .headline .grow-your {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    line-height: 1.1;
  }
        
.rotating-row {
    width: 100vw;
    min-height: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: min-height 0.2s;
    overflow: hidden;
    font-size: inherit;
    font-weight: inherit;
    }

.rotating-word {
    color: var(--primary-color);
    text-shadow:
        0 0 5px var(--tertiary-color),
        0 0 10px var(--tertiary-color),
        0 0 20px var(--tertiary-color);
    display: inline-block;
    letter-spacing: 0.5px;
    vertical-align: bottom;
    font-family: inherit;
    font-size: 1em;
    font-weight: inherit;
    white-space: pre;
    text-align: center;
    }

.type-cursor {
    display: inline-block;
    margin-left: 2px;
    width: 1ch;
    height: 1.04em;
    background: none;
    border-left: 3px solid #fff;
    vertical-align: bottom;
    animation: blink-cursor 1.03s steps(1) infinite;
  }
  @keyframes blink-cursor {
    0%, 74% { opacity: 1;}
    75%, 100% { opacity: 0;}
  }
  
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-content {
    position: relative;
    min-width: 100%;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 10px;
    z-index: 10;
    padding: 2rem;
    top: 3rem;
}


.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
    color: rgba(255, 255, 255, 0.9);
}

.sales {
    color: var(--text-primary);
    filter: brightness(3.5) opacity(0.5);
}

.cta-button {
    text-decoration: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    color: white;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50px;
    scale: 1;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    transition: box-shadow 0.2s ease-in-out, scale 0.1s ease-in-out;
    scroll-behavior: smooth;
}

.cta-button:hover {
    scale: 1.05;
    box-shadow: 0 0 30px var(--active-glow-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Lottie */

.lottie {
    /* display: inline-block;
    position: absolute;
    right: 50; */
    background: transparent;
    width: 200px;
    height: 200px;
    padding: 0 auto;
}

/* Sections */
section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container p {
    text-align: center;
    color: white;
    padding: 25px 25px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: white;
    padding: 2rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(50px) scale(2);
    transition: opacity 0.6s ease, transform 0.6s ease;
    position: relative;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.5);
    animation: float-gentle 4s ease-in-out infinite;
    z-index: 15;
}

@keyframes float-gentle {
    0%, 100% { transform: translate(0px, 0px) scale(1.2); }
    25% { transform: translate(5px, -5px) scale(1.2); }
    50% { transform: translate(-5px, 5px) scale(1.2); }
    75% { transform: translate(5px, 5px) scale(1.2); }
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #4ecdc4;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Social Media Icons */

  .icon-wrapper {
    position: relative;
    justify-content: center;
    height: 80px;
    transform-style: preserve-3d;
    transition: transform 1.8s cubic-bezier(0.77, 0, 0.175, 1);
  }

  .icon-shadow, .icon-front {
    position: absolute;
    width: 100%;
    height: 100%;
    font-size: 60px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
  }

  .icon-shadow {
    color: rgba(255, 255, 255, 0.2);
    transform: translateZ(-5px);
    filter: blur(1px);
  }

  .icon-front {
    transform: translateZ(5px);
    text-shadow: 0 5px 15px rgba(0,0,0,0.7);
  }

  .spin-fast {
    animation: spinFast 1s cubic-bezier(0.77, 0, 0.175, 1);
  }

  .spin-slow {
    animation: spinSlow 3s cubic-bezier(0.77, 0, 0.175, 1);
  }

  @keyframes spinFast {
    from { transform: rotateY(0deg); }
    to   { transform: rotateY(720deg); }
  }

  @keyframes spinSlow {
    from { transform: rotateY(0deg); }
    to   { transform: rotateY(360deg); }
  }

  /* Pricing Section */
          /* Desktop Layout */

          section.pricing {
            padding-bottom: 0;
          }
          .pricing-container {
            position: relative;
            margin-top: 2rem;
            margin-bottom: 1rem;

        }

        .pricing-grid {
            display: flex; /* grid */
            flex-direction: row;
            /* grid-template-columns: repeat(4, 1fr); */
            gap: 1rem;
        }

        .pricing-card {
            display: flex;
            flex: 1;
            flex-direction: column;
            justify-content: space-between; /* KEY FIX */        
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 1rem;
            position: relative;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .pricing-card:hover {
            transform: translateY(-10px) scale(1.05);
            box-shadow: 0 0 10px var(--active-glow-color);
        }

        .tier-name {
            font-size: 1.5rem;
            font-weight: 600;
            color: white;
            margin-bottom: 1rem;
            text-align: center;
        }

        .price-section {
            text-align: center;
            margin-bottom: 0.5rem;
        }

        .price {
            font-size: 3rem;
            font-weight: 700;
            color: white;
            line-height: 1;
            margin-bottom: 0.5rem;
        }

        .discount {
            position: absolute;
            right: 20%;
            font-size: 1.2rem;
            color: rgb(179, 179, 179);
            margin-left: 0.5rem;
        }

        .discount s {
            text-decoration: line-through;
            text-decoration-color: red;
            text-decoration-thickness: 0.05rem;
        }

        .blurb {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.8);
            text-align: center;
            margin-bottom: 2rem;
            line-height: 1.4;
        }

        .features {
            list-style: none;
            margin-bottom: 1rem;
        }

        .features li {
            color: rgba(255, 255, 255, 0.9);
            padding: 0.25rem 0;
            position: relative;
            padding-left: 1.5rem;
            font-size: 0.95rem;
        }

        .features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #4ade80;
            font-weight: bold;
        }

        .choose-plan.glass {
            padding: 1rem;
            width: 85%;
            color: white;
            font-size: 1.25rem;
            font-weight: bolder;
            background: linear-gradient(45deg, var(--color5), var(--color4));
            box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
            /* margin-left: clamp(0%, 20%, 50%);
            margin-top: 1rem; */
            margin: auto;
        }

        .popular-badge {
            position: absolute;
            top: -10px;
            right: 20px;
            background: linear-gradient(45deg, #ff6b6b, #ffa726);
            color: white;
            padding: 0.3rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
        }

        .choose-plan-container {
            display: flex;
            /* align-items: center; */
        }

        /* Navigation Buttons - Hidden on Desktop */
        .nav-buttons {
            display: none;
        }

        .billing-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-bottom: 2rem;
            color: white;
          }

          .savings {
            color: var(--color4);
            font-weight: bolder;
            filter: saturate(2.5);
            text-shadow: -2px 2px 5px black;
          }
          
          .switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 26px;
          }
          
          .switch input {
            opacity: 0;
            width: 0;
            height: 0;
          }
          .slider {
            position: absolute;
            cursor: pointer;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 34px;
          }
          .slider:before {
            position: absolute;
            content: "";
            height: 18px; width: 18px;
            left: 4px; bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
          }
          input:checked + .slider {
            background-color: cyan;
          }
          input:checked + .slider:before {
            transform: translateX(24px);
          }

          .disclaimer-container {
            display: flex;
            justify-content: center;
            text-align: center;
          }
          .disclaimer {
            font-size: 0.8rem;
            color: gray;
            margin-top: 0rem;
            background: transparent;
            width: fit-content;
            border: none;
          }
          

        /* Mobile Layout - The Real Magic */
        @media (max-width: 768px) {
            .pricing-grid {
                display: block;
                position: relative;
                height: 550px;
                transform-style: preserve-3d;
                perspective: 1000px;
            }

            .pricing-card {
                position: absolute;
                top: 0;
                left: 50%;
                width: 95%;
                margin-left: -47%;
                transform-style: preserve-3d;
                transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                cursor: default;
            }

            /* Initial Deck Stack - Cards Overlapping */
            .pricing-card[data-index="0"] {
                z-index: 4;
                transform: translateZ(0px) translateX(-20px) rotateY(8deg) scale(0.95);
            }

            .pricing-card[data-index="1"] {
                z-index: 3;
                transform: translateZ(-10px) translateX(-10px) rotateY(4deg) scale(0.92);
            }

            .pricing-card[data-index="2"] {
                z-index: 2;
                transform: translateZ(-20px) translateX(10px) rotateY(-4deg) scale(0.89);
            }

            .pricing-card[data-index="3"] {
                z-index: 1;
                transform: translateZ(-30px) translateX(20px) rotateY(-8deg) scale(0.86);
            }

            /* Active Card */
            .pricing-card.active {
                z-index: 10;
                transform: translateZ(50px) translateX(0) rotateY(0deg) scale(1.05);
                box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
            }

            /* Cards behind active card get pushed back */
            .pricing-card.active ~ .pricing-card {
                opacity: 0.7;
            }

            /* Shuffle animations for different active states */
            .pricing-card[data-index="0"].active ~ .pricing-card[data-index="1"] {
                transform: translateZ(-15px) translateX(25px) rotateY(-12deg) scale(0.9);
            }

            .pricing-card[data-index="0"].active ~ .pricing-card[data-index="2"] {
                transform: translateZ(-25px) translateX(35px) rotateY(-16deg) scale(0.85);
            }

            .pricing-card[data-index="0"].active ~ .pricing-card[data-index="3"] {
                transform: translateZ(-35px) translateX(45px) rotateY(-20deg) scale(0.8);
            }

            .pricing-card[data-index="1"].active ~ .pricing-card[data-index="2"] {
                transform: translateZ(-15px) translateX(25px) rotateY(-12deg) scale(0.9);
            }

            .pricing-card[data-index="1"].active ~ .pricing-card[data-index="3"] {
                transform: translateZ(-25px) translateX(35px) rotateY(-16deg) scale(0.85);
            }

            .pricing-card[data-index="2"].active ~ .pricing-card[data-index="3"] {
                transform: translateZ(-15px) translateX(25px) rotateY(-12deg) scale(0.9);
            }

           /*  .choose-plan.glass {
                margin-left: clamp(20%, 30%, 50%);
            } */

            /* Navigation Buttons */
            .nav-buttons {
                display: flex;
                justify-content: space-between;
                align-items: center;
                position: absolute;
                top: 50%;
                left: 0;
                right: 0;
                transform: translateY(-50%);
                pointer-events: none;
                z-index: 100;
            }

            .nav-btn {
                width: 30px;
                height: 40px;
                /* border-radius: 50%; */
                background: rgba(255, 255, 255, 0.15);
                backdrop-filter: blur(10px);
                border: 1px solid rgba(255, 255, 255, 0.3);
                color: white;
                font-size: 1.8rem;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: all 0.3s ease;
                pointer-events: auto;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            }

            .nav-btn:hover {
                background: rgba(255, 255, 255, 0.25);
                transform: scale(1.1);
            }

            .nav-btn:active {
                transform: scale(0.95);
            }

            .nav-btn.disabled {
                opacity: 0.3;
                cursor: not-allowed;
                pointer-events: none;
            }

            .nav-btn-left {
                margin-left: -30px;
                border-radius: 50% 25% 25% 50%;
            }

            .nav-btn-right {
                margin-right: -30px;
                border-radius: 25% 50% 50% 25%;
            }

            /* Disable interaction for non-active cards */
            .pricing-card:not(.active) .glass {
                pointer-events: none;
                opacity: 0.6;
            }

            .header h1 {
                font-size: 2rem;
            }

            .price {
                font-size: 2.5rem;
            }
        }

/* Portfolio Section */
.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 0rem;
}

.tab-btn {
    color: white;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    z-index: 9;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
    cursor: pointer;
  }

    .tab-btn i {
        color: var(--active-glow-color)
    }

    .tab-btn:hover {
        color: var(--active-glow-color)
    }

.tab-btn.active {
    background-color: rgba(61, 187, 255, 0.252);
    transform: scale(1.2) translatey(-0.25rem);
    z-index: 10;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-card {
    padding: 2rem;
    text-align: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.portfolio-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card:hover {
    transform: translateY(-10px);
}

.portfolio-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.portfolio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.portfolio-card p {
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-preview {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.7s ease;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-top: 0rem;
    z-index: 12;
}

.portfolio-preview.active {
    opacity: 1;
    max-height: 600px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    z-index: 12;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: white;
}

.close-preview {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-preview:hover {
    background: rgba(255, 255, 255, 0.1);
}

#preview-iframe {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    border: none;
    background-color: white;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

#form-heading, label[for="subject"] {
    color: white;
}

.contact-form {
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.submit-btn {
    padding: 1rem 2rem;
    margin: 0 auto;
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.submit-btn.glass {
    background: linear-gradient(45deg,var(--color5), var(--color4));
    background-size: 200% 200%;
    transition: all 0.3s ease-in-out;
  }
  
  .submit-btn.glass.active-glow {
    animation: gradient-flow 1s linear infinite;
  }
  
  @keyframes gradient-flow {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-direction: row;
    flex-wrap: wrap;
}

    .social-links a:hover {
        transform: scale(1.2);
    }

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 50%;
}

.whatsapp-container {
    width: fit-content;
}

.whatsapp-btn {
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    box-shadow: none;
    transition: background-color 0.3s ease-in-out, box-shadow 0.25s ease-in-out;
}

    .whatsapp-btn:hover {
        background-color: limegreen;
        box-shadow: 0 0px 32px rgb(0, 255, 0);
    }

    .thank-you-modal {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100vh;
        background: rgba(0, 0, 0, 0.8);
        z-index: 9999;
        justify-content: center;
        align-items: center;
      }
      
      .thank-you-content {
        background: white;
        padding: 5rem;
        border-radius: 12px;
        text-align: center;
        position: relative;
        width: 100%;
        height: 100%;
        animation: popUp 0.4s ease-in-out;
      }
      
      @keyframes popUp {
        from {
          transform: scale(0.9);
          opacity: 0;
        }
        to {
          transform: scale(1);
          opacity: 1;
        }
      }
      
      .close-modal {
        position: absolute;
        top: 10px;
        right: 15px;
        background: none;
        border: none;
        font-size: 2rem;
        cursor: pointer;
      }
      
      .go-back-btn {
        margin-top: 1.5rem;
        padding: 0.8rem 1.5rem;
        background-color: #333;
        color: #fff;
        border: none;
        border-radius: 6px;
        cursor: pointer;
      }
      
      .thanks {
        top: 0%;
        left: 0%;
      }

/* FAQ Section */

.faq-container {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 1.5rem 0;
    padding: 2rem 1rem;
    justify-items: flex-start;
    }

.ques {
    text-decoration: none;
    cursor: pointer;
    color: white;
    font-size: 1.3rem;
}

p.ans {
    display: none;
    color: silver;
    text-align: left;
    padding: 0.5rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  
}
    p.show-ans {
        display: flex;
    }

.question-container {
    align-self: left;
}

.faq-container .question-container:not(:last-child)::after {
    content: '';
    display: block;
    align-items: center;
    height: 2px;
    width: 80%;
    background: var(--color4);
    box-shadow: 0 0 8px var(--color4);
    margin: 1.5rem auto;
  }
  

/*     .ans::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 10%;
        width: 70%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--active-glow-color), transparent);
        } */

/* Footer Section */

section.footer {
    padding-top: 0;
    padding-bottom: 0;
}

.footer-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 0.5rem;
    bottom: 0rem;
    width: 100vw;
    height: clamp(10rem, 15rem, 35rem);
    margin: 0;
    padding: 1rem;
    z-index: 12;
    background-image: linear-gradient(180deg, #16213e43 0%, rgba(0, 0, 0, 1) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0;
    color: silver;
}

.footer-wrapper a {
    text-decoration: none;
    color: grey;
}

    .footer-wrapper a:hover {
        color: white;
    }

.footer-wrapper i {
    margin:0.25rem;
}

.footer-contact i {
    color: #ffa726;
}

.footer-logo, .footer-contact, .footer-company, .footer-social {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: left;
    margin: 1rem;
    width: 9rem;
}

    .footer-logo img {
        width: 4rem;
    }


.footer-bottom {
    position: relative;
    padding: 0.5rem 0;
    bottom: 0rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--color4);
    background: black/* linear-gradient(to right, black 0%, black 20%, white 50%, black 80%, black 100%) */; /* whitesmoke */
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-radius: 50%;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-content {
        margin-top: 3rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        margin-top: 3rem;
    }

    .lottie {
        position: absolute;
        left: 100;
        bottom: -50;
    }

    .footer-wrapper {
        /* padding: 0.25rem; */
        height: 15rem;
        width: 100vw;
    }

    .footer-bottom {
        font-size: 0.8rem;
        max-width: 1200px;
    }
}

@media (max-width: 768px) {
    .navbar a.active::after {
        bottom: 0px; /* space between text and line */
        left: 20%;
    }

    .hero-content {
        margin-top: 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card:hover {
        animation: none;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    #contact .container h2 {
        font-size: 4rem;
    }

    .nav-menu {
        gap: 0.2rem;
    }

    .nav-link {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }

    .splash-content h1 {
        font-size: 2rem;
    }

    .gears {
        gap: 1rem;
    }
    
    .gear-1, .gear-2 {
        font-size: 2rem;
    }

}

@media (max-width: 480px) {
    .navbar a.active::after {
        bottom: 5px; /* space between text and line */
        left: 20%;
    }

    .navbar {
        margin: 0.5rem;
        padding: 0.2rem;
    }

    .nav-container {
        padding: 0 0.5rem;
        display: flex;
        flex-direction: column;
        /* grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto; */
        gap: 0.5rem 1rem;
        align-items: center;
    }

    .nav-brand {
        grid-column: 1 / span 2;
        grid-row: 1;
        justify-self: center;
        font-size: 1.2rem;
    }

    .nav-brand span {
        display: inline;
    }

/*     .nav-menu {
        grid-column: 1 / span 2;
        grid-row: 2;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.2rem;
        justify-items: center;
    } */

    .hamburger {
        display: flex;
        justify-content: space-between;
      }    
    

    .nav-link {
        padding: 0.5rem;
        font-size: 0.9rem;
        text-align: center;
        width: 100%;
    }

    .hero {
        padding: 0.5rem;
    }

    .lottie {
        position: relative;
        right: -25;    
    }

    .grow-your {
        font-size: 2.5rem;
    }

    .rotating-word {
        font-size: 2rem;
        white-space: normal;
        word-break: break-word;
    }

    .service-card:hover {
        animation: none;
    }

    .tab-btn {
    color: white;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    }
        .tab-btn.active {
            transform: scale(1.1) translatey(0rem);
        }

    .social-links {
        flex-direction: row;
        justify-content: center;
    }

    .whatsapp-btn {
        width: fit-content;
        margin: 1rem auto 0 auto;
        background-color: rgba(50, 205, 50, 0);
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    #contact .container h2 {
        font-size: 2.5rem;
    }

    .footer-wrapper {
        padding: 0.25rem;
        height: 25rem;
    }

    .footer-bottom {
        background: black;
    }
}