/* ===== CRAZYSOLUTION - DARK & LIGHT MODE ===== */
:root {
    --primary: #0097b2;
    --secondary: #7ed957;

    /* Dark Mode - Default */
    --bg: #020617;
    --bg2: #0f172a;
    --surface: rgba(255, 255, 255, 0.05);
    --surface2: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text2: #e2e8f0;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(255, 255, 255, 0.05);
}

.light-mode {
    /* Light Mode Variables */
    --bg: #f8fafc;
    --bg2: #ffffff;
    --surface: rgba(0, 0, 0, 0.03);
    --surface2: rgba(0, 0, 0, 0.05);
    --text: #0f172a;
    --text2: #334155;
    --text-muted: #64748b;
    --border: rgba(0, 0, 0, 0.1);
    --card-bg: rgba(255, 255, 255, 0.95);
}

/* Apply base background and text */
body {
    background: var(--bg) !important;
    color: var(--text) !important;
    transition: background 0.4s ease, color 0.4s ease;
}

html {
    scroll-behavior: smooth;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

/* Selection Color */
::selection {
    background: var(--primary);
    color: #fff;
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    z-index: 9999;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Loading Screen */
#preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0f172a 50%, #000 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.loader-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.loader-content h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-purple {
    color: var(--primary);
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--surface);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

/* Navbar Styling */
/* Default dark mode scroll */
#mainNav.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
}

/* Light mode scroll override */
body.light-mode #mainNav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

/* top transparent */
#mainNav {
    background: transparent;
    transition: all 0.3s ease;
}

.brand-logo {
    width: 210px;
    height: 60px;
    /* background: linear-gradient(135deg, var(--primary), var(--secondary)); */
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 10px;
}

.brand-text {
    background: linear-gradient(90deg, var(--secondary), var(--bg));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    font-weight: 700;
    font-size: 1.25rem;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* Buttons */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.5);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0f172a 50%, #000 100%);

}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(168, 85, 247, 0.05) 2px, rgba(168, 85, 247, 0.05) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(168, 85, 247, 0.05) 2px, rgba(168, 85, 247, 0.05) 4px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.particles {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

    50% {
        transform: translateY(-30px);
        opacity: 1;
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

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

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 10px;
    background: var(--primary);
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

/* Stats Section */
.stat-card {
    text-align: center;
    position: relative;
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Service Cards */
.service-card {
    text-align: center;
    height: 100%;
    cursor: pointer;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.bg-gradient-pink {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.bg-gradient-indigo {
    background: linear-gradient(135deg, #6366f1, #a855f7);
}

.bg-gradient-cyan {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.bg-gradient-green {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.bg-gradient-red {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.bg-gradient-orange {
    background: linear-gradient(135deg, #f97316, #eab308);
}

.bg-gradient-sky {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
}

.bg-gradient-emerald {
    background: linear-gradient(135deg, #10b981, #059669);
}

.bg-gradient-blue-light {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.bg-gradient-gray {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

/* Sections */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
}

.page-hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

/* Spline Background */
.hero-spline {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

    /* THIS enables interaction */
    pointer-events: auto;
}

/* Text on top */
.hero-content {
    position: relative;
    z-index: 2;
}

.testimonials-pro {
    position: relative;
    overflow: hidden;
}

/* WRAPPER */
.testimonial-wrapper {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

/* BIG QUOTE */
.testimonial-quote {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text);
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* AUTHOR */
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

.testimonial-author h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-muted);
}

/* DOTS */
.testimonial-dots {
    margin-top: 40px;
}

.testimonial-dots .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 6px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: 0.3s;
}

.testimonial-dots .dot.active {
    width: 24px;
    border-radius: 20px;
    background: var(--primary);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2rem;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Platform Cards */
.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    border-radius: 1rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.platform-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.platform-card i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* ================= FOOTER BACKGROUND ================= */
.footer {
    position: relative;
    background: radial-gradient(circle at 20% 20%, rgba(0, 151, 178, 0.15), transparent),
        radial-gradient(circle at 80% 80%, rgba(126, 217, 87, 0.15), transparent),
        #020617;
    color: #94a3b8;
    padding: 100px 0 40px;
    overflow: hidden;
}

/* Glow line */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, #7ed957, transparent);
    transform: translateX(-50%);
    opacity: 0.5;
}

/* ================= BRAND ================= */


.brand-text {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(90deg, #fff, #7ed957);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= TEXT ================= */
.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #cbd5f5;
}

/* ================= TITLES ================= */
.footer h5 {
    color: #fff;
    margin-bottom: 18px;
    font-weight: 600;
}

/* ================= LINKS ================= */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #7ed957;
    padding-left: 6px;
}

/* ================= SOCIAL ================= */
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    margin-right: 8px;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #0097b2, #7ed957);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ================= CONTACT ================= */
.footer-contact i {
    color: #7ed957;
}

/* ================= NEWSLETTER ================= */
.footer-newsletter {
    display: flex;
    margin-top: 10px;
    backdrop-filter: blur(10px);
}

.footer-newsletter input {
    flex: 1;
    padding: 12px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 10px 0 0 10px;
}

.footer-newsletter button {
    background: linear-gradient(135deg, #0097b2, #7ed957);
    border: none;
    padding: 0 16px;
    color: #fff;
    border-radius: 0 10px 10px 0;
    transition: 0.3s;
}

.footer-newsletter button:hover {
    transform: scale(1.05);
}

/* ================= BOTTOM ================= */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    font-size: 14px;
    color: #94a3b8;
}

/* ================= FLOAT BUTTONS ================= */
.scroll-top,
.whatsapp-float {
    position: fixed;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    z-index: 999;
    transition: 0.3s;
}

.scroll-top {
    bottom: 90px;
    background: linear-gradient(135deg, #0097b2, #7ed957);
    box-shadow: 0 0 20px rgba(126, 217, 87, 0.6);
}

.whatsapp-float {
    bottom: 20px;
    background: #25D366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

.scroll-top:hover,
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Portfolio */
.portfolio-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
}

.portfolio-card {
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-category {
    color: var(--primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.badge {
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: #fff !important;
}

.bg-purple {
    background: rgba(168, 85, 247, 0.2);
    color: var(--primary);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Contact Page */
.contact-info-card {
    padding: 2rem;
}

.form-control-custom {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: #fff;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
    outline: none;
}

.form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.quick-contact-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    display: block;
}

.quick-contact-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateX(5px);
    color: #fff;
}

.quick-contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.bg-success {
    background: #10b981;
}

.bg-purple {
    background: var(--primary);
}

.bg-info {
    background: #0ea5e9;
}

/* About Page */
.timeline-section {
    position: relative;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #0097b2, #7ed957);
    box-shadow: 0 0 20px rgba(126, 217, 87, 0.6);
    transform: translateX(-50%);
    border-radius: 50px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem 3rem;
    margin-bottom: 4rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 35px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #0097b2, #7ed957);
    box-shadow: 0 0 20px rgba(126, 217, 87, 0.6);
    border-radius: 50%;
    border: 4px solid #0f172a;
    z-index: 2;
}

.timeline-item:nth-child(odd)::before {
    right: -11px;
}

.timeline-item:nth-child(even)::before {
    left: -11px;
}

.timeline-year {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1;
    background: linear-gradient(135deg, #0097b2, #7ed957);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline-content {
    position: relative;
    padding: 2rem;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0097b2, #7ed957);
   
    opacity: 0;
    transition: 0.4s;
}

.timeline-content:hover::before {
    opacity: 1;
     color: #fff !important;
}

.timeline-content:hover {
    transform: translateY(-10px);
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.timeline-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    
}

.timeline-content p {
    opacity: 0.8;
    line-height: 1.8;
}

/* ===== TEAM CARDS ===== */

/* SECTION */
.team-section{
    background:
        radial-gradient(circle at top left, rgba(0,151,178,.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(126,217,87,.12), transparent 30%),
        #0b1120;
    position:relative;
}

.section-title{
    font-size:3rem;
    font-weight:800;
    color:#fff;
}

.section-subtitle{
    color:#94a3b8;
    max-width:650px;
    margin:auto;
}

.team-badge{
    background:rgba(255,255,255,.08);
    color:var(--secondary);
    padding:10px 20px;
    border-radius:50px;
    font-size:.8rem;
    letter-spacing:2px;
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.1);
}
.team-card{
    position:relative;
    overflow:hidden;
    border-radius:24px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(14px);
    transition:.5s ease;
}

/* IMAGE */
.team-image{
    position:relative;
    overflow:hidden;
}

.team-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:1s ease;
}

/* FOUNDERS SMALL */
.founder-card .team-image{
    height:300px;
}

.founder-card .team-content{
    padding:22px;
    text-align:center;
}

.founder-card h4{
    color:#fff;
    font-weight:700;
    margin-bottom:5px;
}

.founder-card p{
    color:#94a3b8;
    margin:0;
}

/* MEMBER CARD */
.hover-card{
    height:340px;
}

.hover-card .team-image{
    height:100%;
}

.hover-card::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.9),
        rgba(0,0,0,.2),
        transparent
    );
    opacity:0;
    transition:.5s;
    z-index:1;
}

/* HOVER CONTENT */
.hover-content{
    position:absolute;
    left:0;
    bottom:-80px;
    width:100%;
    padding:25px;
    z-index:2;
    transition:.5s ease;
}

.hover-content h5{
    color:#fff;
    font-weight:700;
    margin-bottom:6px;
}

.hover-content span{
    color:#d1d5db;
    font-size:.95rem;
}

/* HOVER EFFECT */
.hover-card:hover::before{
    opacity:1;
}

.hover-card:hover .hover-content{
    bottom:0;
}

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

.hover-card:hover{
    transform:translateY(-10px);
    box-shadow:
        0 20px 50px rgba(0,0,0,.45),
        0 0 30px rgba(0,151,178,.2);
}

/* ROLE TAG */
.role-tag{
    display:inline-block;
    padding:7px 16px;
    border-radius:30px;
    background:linear-gradient(
        135deg,
        #0097b2,
        #7ed957
    );
    color:#fff;
    font-size:.75rem;
    margin-bottom:14px;
    font-weight:600;
}

/* MOBILE */
@media(max-width:768px){

    .hover-card{
        height:300px;
    }

    .founder-card .team-image{
        height:260px;
    }
}

/* ===== VALUES ===== */

.value-card {
    border-radius: 24px;
    transition: all 0.4s ease;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.value-card i {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #0097b2, #7ed957);
    color: #fff !important;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(76, 237, 58, 0.4);
}

.value-card h4 {
    margin-top: 1.5rem;
    font-weight: 700;
}

.value-card p {
    opacity: 0.75;
    line-height: 1.7;
}

/* ===== SKILLS ===== */

.skill-item {
    margin-bottom: 2rem;
}

.skill-item span {
    font-size: 1rem;
    font-weight: 600;
}

.progress-bar-custom {
    width: 100%;
    height: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    overflow: hidden;
    padding: 2px;
    backdrop-filter: blur(10px);
}

.progress-fill {
    height: 100%;
    width: 0;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    position: relative;
    transition: width 2s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 20px rgba(77, 246, 209, 0.5);
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    filter: blur(8px);
}


/* ===== RESPONSIVE ===== */

@media (max-width: 991px) {

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left !important;
        left: 0 !important;
    }

    .timeline-item::before {
        left: 10px !important;
        right: auto !important;
    }

    .timeline-year {
        text-align: left;
    }

    .team-card img {
        height: 280px;
    }
}

/* Project Detail Page */
.tech-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 2rem;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3);
}

.service-detail-card {
    height: 100%;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    margin-bottom: 0.75rem;
}

.process-card {
    padding: 2rem;
    position: relative;
}

.process-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(126, 217, 87, 0.3);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Service Detail */
.service-detail-card h3 {
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

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

    .cta-box h2 {
        font-size: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-year {
        text-align: left;
        padding-left: 50px;
    }

    .timeline-content {
        margin-left: 50px;
    }
}

@media (max-width: 992px) {
    .social-icons {
        justify-content: center;
    }
}

/* ==================== FULL LIGHT MODE OVERRIDES (All Sections) ==================== */

.light-mode body,
.light-mode .hero-section,
.light-mode section,
.light-mode .page-hero {
    background: var(--bg) !important;
    color: var(--text) !important;
}

/* Navbar */


.light-mode .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.light-mode .nav-link {
    color: var(--text) !important;
}

.light-mode .nav-link:hover,
.light-mode .nav-link.active {
    color: var(--primary) !important;
}

/* Cards & Glass Elements */
.light-mode .glass-card,
.light-mode .portfolio-card,
.light-mode .service-card,
.light-mode .stat-card,
.light-mode .team-card,
.light-mode .testimonial-card,
.light-mode .contact-info-card,
.light-mode .process-card,
.light-mode .timeline-item {
    background: var(--card-bg) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    box-shadow: 0 10px 30px var(--shadow) !important;
}

/* Hover Effects */
.light-mode .portfolio-card:hover,
.light-mode .glass-card:hover,
.light-mode .service-card:hover {
    transform: translateY(-10px) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 25px 50px var(--shadow) !important;
}

/* Text */
.light-mode h1,
.light-mode h2,
.light-mode h3,
.light-mode h4,
.light-mode .section-title,
.light-mode .hero-title {
    color: var(--text) !important;
}

.light-mode .section-subtitle,
.light-mode .stat-label,
.light-mode .text-muted,
.light-mode .portfolio-category {
    color: var(--text-muted) !important;
}

/* Hero Section */
.light-mode .hero-bg {
    background: linear-gradient(135deg, var(--primary) 0%, #e0f2fe 50%, #f0f9ff 100%) !important;
}

/* Forms */
.light-mode .form-control-custom {
    background: var(--card-bg) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

.light-mode .form-control-custom:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(0, 151, 178, 0.15) !important;
}

/* Footer */
.light-mode .footer {
    background: var(--bg2) !important;
    border-top: 1px solid var(--border) !important;
}

.light-mode .footer-links a {
    color: var(--text-muted) !important;
}

.light-mode .footer-links a:hover {
    color: var(--primary) !important;
}

/* Buttons */
.light-mode .btn-outline-light {
    color: var(--text) !important;
    border-color: var(--border) !important;
}

/* Progress & Timeline */
.light-mode .progress-bar-custom {
    background: rgba(0, 0, 0, 0.1) !important;
}

.light-mode .timeline::before {
    background: linear-gradient(180deg, var(--primary), var(--secondary)) !important;
}

/* Portfolio Filters */
.light-mode .filter-btn {
    background: var(--surface) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

.light-mode .filter-btn.active,
.light-mode .filter-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: white !important;
}

/* Theme Toggle */
.theme-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
    transform: rotate(30deg) scale(1.1);
}




/* ==================== service section start ==================== */

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* CARD */
.service-box {
    perspective: 1000px;
    height: 230px;
}

/* INNER */
.service-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s;
    transform-style: preserve-3d;
}

/* FLIP */
.service-box:hover .service-inner {
    transform: rotateY(180deg);
}

/* FRONT & BACK */
.service-front,
.service-back {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 25px;
    backface-visibility: hidden;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: var(--card-bg);
    border: 1px solid var(--border);

    transition: 0.3s;
}

/* FRONT */
.service-front i {
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-front h3 {
    font-size: 20px;
    font-weight: 700;
}

/* BACK */
.service-back {
    transform: rotateY(180deg);
    text-align: center;
}

.service-back h4 {
    margin-bottom: 10px;
}

.service-back p {
    font-size: 14px;
    color: var(--text-muted);
}

/* HOVER EFFECT */
.service-box:hover .service-front,
.service-box:hover .service-back {
    box-shadow: 0 20px 50px rgba(0, 151, 178, 0.25);
}

/* GRID VARIANTS */
.service-box.big {
    grid-row: span 2;
    height: 100%;
}

.service-box.wide {
    grid-column: span 2;
}

/* RESPONSIVE */
@media(max-width:991px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-box {
        height: 200px;
    }

    .service-box.big,
    .service-box.wide {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ==================== service section end ==================== */


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

.portfolio-item img {
    width: 100%;
    transition: .4s;
}

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

.portfolio-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: .3s;
}

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

/* Default Dark Mode */
.tech-marquee-section {
    background: #111;
    overflow: hidden;
}

.marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.track {
    display: flex;
    width: max-content;
    animation: scroll-left 25s linear infinite;
}

.marquee.reverse .track {
    animation: scroll-right 25s linear infinite;
}

.tech-card {
    min-width: 180px;
    height: 100px;
    margin: 0 15px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-weight: 600;
    color: #fff;
    transition: 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.tech-card img {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
}

.tech-card:hover {

    background: linear-gradient(135deg, #00b897, #009dff);
    color: #fff;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

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

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

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

/* Light Mode Fix */
.light-mode .tech-marquee-section {
    background: #f5f7fa;
}

.light-mode .section-title {
    color: #111 !important;
}

.light-mode .tech-marquee-section p {
    color: #666 !important;
}

.light-mode .tech-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #111;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

.light-mode .tech-card:hover {
    background: linear-gradient(135deg, #00b897, #009dff);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 184, 151, 0.25);
}


.header-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

/* Default (dark mode) */
.hero .content h1 {
    font-size: 58px;

}

.hero .content p {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {

    .content {
        padding-top: 10vh !important;
    }

    .hero .content h1 {
        font-size: 50px !important;
    }



}

@media (max-width: 991px) {

    .navbar-collapse {
        background: rgba(15, 23, 42, 0.95);
        /* dark glass */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        padding: 20px;
        margin-top: 10px;
        border-radius: 12px;

        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .light-mode .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
}

/* Light mode override */
.light-mode .hero .content p {
    color: #111;
}


.animated-text {
    color: var(--primary);
    border-right: 2px solid var(--primary);
    padding-right: 5px;
    white-space: nowrap;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
}

.section-subtitle {
    opacity: 0.7;
}

/* TABS */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.tab-btn {
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

/* TAB CONTENT */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

/* CARD */
.card-p {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.card-p img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: 0.4s;
}

.card-p:hover img {
    transform: scale(1.1);
}

/* OVERLAY */
.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: 0.3s;
}

.card-p:hover .card-overlay {
    opacity: 1;
}

/* BUTTON */
.view-btn {
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

/* PANEL */
.project-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-end;
    transition: 0.5s;
    z-index: 999;
}

.project-panel.active {
    bottom: 0;
}

/* CONTENT */
.project-content {
    width: 100%;
    background: #fff;
    padding: 40px;
    border-radius: 20px 20px 0 0;
    transform: translateY(50px);
    opacity: 0;
    transition: 0.4s;
}

.project-panel.active .project-content {
    transform: translateY(0);
    opacity: 1;
}

/* CLOSE */
.close-btn {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

/* TAGS */
.tags span {
    padding: 6px 12px;
    border-radius: 20px;
    background: #eee;
    margin-right: 5px;
}

/* CTA */
.btn-portfolio,
.btn-live {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    text-decoration: none;
}

/* DARK MODE */
body.dark-mode .project-content {
    background: #0b0f19;
    color: #fff;
}

body.dark-mode .tags span {
    background: rgba(255, 255, 255, 0.1);
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* ================= LIGHT MODE FOOTER ================= */
.light-mode .footer {
    background: radial-gradient(circle at 20% 20%, rgba(0, 151, 178, 0.08), transparent),
        radial-gradient(circle at 80% 80%, rgba(126, 217, 87, 0.08), transparent),
        #f8fafc;
    color: #334155;
}

/* top glow line */
.light-mode .footer::before {
    background: linear-gradient(to right, transparent, #0097b2, transparent);
    opacity: 0.4;
}

/* BRAND */
.light-mode .brand-text {
    background: linear-gradient(90deg, #0f172a, #0097b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.light-mode .footer-desc {
    color: #475569;
}

/* TITLES */
.light-mode .footer h5 {
    color: #0f172a;
}

/* LINKS */
.light-mode .footer-links a {
    color: #475569;
}

.light-mode .footer-links a:hover {
    color: #0097b2;
}

/* SOCIAL */
.light-mode .footer-social a {
    background: rgba(0, 0, 0, 0.05);
    color: #0f172a;
}

.light-mode .footer-social a:hover {
    background: linear-gradient(135deg, #0097b2, #7ed957);
    color: #fff;
}

/* CONTACT ICON */
.light-mode .footer-contact i {
    color: #0097b2;
}

/* NEWSLETTER (GLASS LIGHT) */
.light-mode .footer-newsletter input {
    background: rgba(0, 0, 0, 0.05);
    color: #0f172a;
}

.light-mode .footer-newsletter input::placeholder {
    color: #64748b;
}

.light-mode .footer-newsletter button {
    background: linear-gradient(135deg, #0097b2, #7ed957);
}

/* BOTTOM */
.light-mode .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: #64748b;
}

/* FLOAT BUTTONS */
.light-mode .scroll-top {
    background: linear-gradient(135deg, #0097b2, #7ed957);
    box-shadow: 0 0 20px rgba(0, 151, 178, 0.4);
}

.light-mode .whatsapp-float {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}


.services-modern {
    position: relative;
    background-color: var(--bg);
}

.section-tag {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Service Cards Styling matching the exact reference layout */
.service-modern-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: 0 10px 30px var(--card-shadow);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-modern-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 151, 178, 0.15);
}

/* Dynamic High-Fidelity Corner Vector Graphic Placement */
.card-illustration-container {
    position: absolute;
    bottom: 15px;
    right: 10px;
    width: 145px;
    height: 145px;
    z-index: -1;
    opacity: var(--vector-opacity);
    filter: var(--vector-filter);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-modern-card:hover .card-illustration-container {
    opacity: var(--vector-hover-opacity);
    transform: scale(1.1) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Vector Badge Icon Styling */
.service-modern-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 15px rgba(0, 151, 178, 0.25);
}

.service-modern-icon i {
    color: #ffffff;
    font-size: 1.35rem;
}

.service-modern-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    z-index: 2;
}

.service-modern-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    flex-grow: 1;
    max-width: 65%;
    /* Restricts text box so graphic elements pop behind seamlessly */
    z-index: 2;
}

/* Checkmark Features List Layout matching reference */
.service-modern-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    z-index: 2;
    background: transparent;
}

.service-modern-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text2);
    font-weight: 500;
}

.service-modern-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    font-size: 0.8rem;
    background: rgba(0, 151, 178, 0.12);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bottom Feature Banner Strip Layout */
.feature-strip {
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
    margin-top: 3rem;
    border-radius: 24px;

    /* FULL PREMIUM GRADIENT */
    background:
        linear-gradient(135deg,
            rgba(0, 151, 178, 0.95) 0%,
            rgba(0, 151, 178, 0.88) 30%,
            rgba(126, 217, 87, 0.88) 100%);

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 20px 60px rgba(0, 151, 178, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* BIG SOFT CIRCLES */
.feature-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%,
            rgba(255, 255, 255, 0.12) 0,
            rgba(255, 255, 255, 0.04) 80px,
            transparent 180px),

        radial-gradient(circle at 85% 25%,
            rgba(255, 255, 255, 0.10) 0,
            rgba(255, 255, 255, 0.03) 70px,
            transparent 170px),

        radial-gradient(circle at 70% 85%,
            rgba(255, 255, 255, 0.10) 0,
            rgba(255, 255, 255, 0.03) 90px,
            transparent 200px),

        radial-gradient(circle at 25% 80%,
            rgba(255, 255, 255, 0.08) 0,
            rgba(255, 255, 255, 0.02) 60px,
            transparent 160px);

    pointer-events: none;
}

/* LIGHT GRID + PATTERN */
.feature-strip::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);

    background-size: 40px 40px;
    opacity: .4;

    mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.4));

    pointer-events: none;
}

/* CONTENT ABOVE PATTERN */
.feature-strip .strip-item {
    position: relative;
    z-index: 2;
}




/* LIGHT MODE GRID */

.strip-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.strip-icon {
    font-size: 1.75rem;
    color: var(--secondary);
    background: rgba(126, 217, 87, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.strip-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    color: #ffffff;
}

.strip-desc {
    font-size: 0.85rem;
    color: #ccd4df;
    margin: 0;
}



/* SECTION */
.smart-showcase{
    position:relative;
    background:
        radial-gradient(circle at top left, rgba(0,151,178,.12), transparent 35%),
        radial-gradient(circle at bottom right, rgba(126,217,87,.08), transparent 35%),
        #07101c;
}

/* TITLE */
.smart-title{
    font-size:3rem;
    font-weight:800;
    color:#fff;
}

.smart-subtitle{
    color:#94a3b8;
}

.smart-badge{
    display:inline-block;
    padding:10px 18px;
    border-radius:50px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    color:#7ed957;
    font-size:.8rem;
    letter-spacing:2px;
}

/* SLIDER */
.smart-slider{
    overflow:hidden;
    position:relative;
    width:100%;
    mask-image:linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
}

/* TRACK */
.smart-track{
    display:flex;
    gap:35px;
    width:max-content;
    animation:smartScroll 35s linear infinite;
}

/* ITEM */
.smart-item{
    width:240px;
    flex-shrink:0;
    position:relative;
    padding-top:25px;
}

/* MOCKUP */
.mini-mockup{
    position:relative;
    height:460px;
    border-radius:34px;
    padding:10px;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.14),
            rgba(255,255,255,.04)
        );
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(20px);
    overflow:hidden;
    transition:.5s ease;
}

.mini-mockup img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:26px;
    transition:1s ease;
}

/* HOVER */
.smart-item:hover .mini-mockup{
    transform:translateY(-12px);
    box-shadow:
        0 25px 70px rgba(0,0,0,.45),
        0 0 40px rgba(0,151,178,.15);
}

.smart-item:hover img{
    transform:scale(1.06);
}

/* INFO */
.smart-info{
    text-align:center;
    padding-top:20px;
}

.smart-info h4{
    color:#fff;
    font-weight:700;
    margin-bottom:5px;
}

.smart-info p{
    color:#94a3b8;
    margin:0;
}

/* FLOATING ORBITS */
.orbit{
    position:absolute;
    width:58px;
    height:58px;
    border-radius:18px;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.16),
            rgba(255,255,255,.05)
        );
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(20px);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:1.4rem;
    z-index:5;
    animation:float 5s infinite ease-in-out;
    box-shadow:
        0 10px 30px rgba(0,0,0,.3);
}

/* OUTSIDE POSITION */
.orbit-1{
    top:0;
    left:-20px;
}

.orbit-2{
    bottom:90px;
    right:-18px;
    animation-delay:2s;
}

/* COLORS */
.green{
    color:#4ade80;
}

.purple{
    color:#c084fc;
}

.orange{
    color:#fb923c;
}

.blue{
    color:#38bdf8;
}

/* GLOW */
.smart-glow{
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
}

.glow-left{
    width:300px;
    height:300px;
    background:rgba(0,151,178,.15);
    top:-100px;
    left:-100px;
}

.glow-right{
    width:300px;
    height:300px;
    background:rgba(126,217,87,.10);
    bottom:-100px;
    right:-100px;
}

/* AUTO SCROLL */
@keyframes smartScroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

/* FLOAT */
@keyframes float{
    0%{
        transform:translateY(0px);
    }
    50%{
        transform:translateY(-10px);
    }
    100%{
        transform:translateY(0px);
    }
}

/* RESPONSIVE */
@media(max-width:768px){

    .smart-title{
        font-size:2.2rem;
    }

    .smart-item{
        width:200px;
    }

    .mini-mockup{
        height:390px;
    }

    .orbit{
        width:48px;
        height:48px;
        font-size:1.1rem;
    }
}
/* ==========================================================================
   LIGHT MODE ADAPTATION
   Applies automatically when <body class="light-mode"> is active
   ========================================================================== */

body.light-mode .smart-showcase {
    background:
        radial-gradient(circle at top left, rgba(0,151,178,.06), transparent 35%),
        radial-gradient(circle at bottom right, rgba(126,217,87,.05), transparent 35%),
        #f8fafc; /* Sleek slate-white background */
}

body.light-mode .smart-title {
    color: #0f172a; /* Deep charcoal/slate for crisp title readability */
}

body.light-mode .smart-subtitle {
    color: #64748b; /* Soft muted gray-blue for description text */
}

body.light-mode .smart-badge {
    background: rgba(15, 23, 42, .04);
    border-color: rgba(15, 23, 42, .08);
    /* Keeps your distinct #7ed957 green text color for branding consistency */
}

body.light-mode .mini-mockup,
body.light-mode .orbit {
    background: 
        linear-gradient(
            135deg, 
            rgba(255, 255, 255, 0.85), 
            rgba(255, 255, 255, 0.5)
        );
    border-color: rgba(15, 23, 42, 0.07);
}

body.light-mode .orbit {
    color: #0f172a; /* Darkens the default non-colored icons */
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

body.light-mode .smart-info h4 {
    color: #0f172a;
}

body.light-mode .smart-info p {
    color: #64748b;
}

/* Enhances the hover shadow to pop naturally on light surfaces */
body.light-mode .smart-item:hover .mini-mockup {
    box-shadow:
        0 25px 50px rgba(15, 23, 42, 0.12),
        0 0 40px rgba(0, 151, 178, 0.08);
}

/* Adjusts ambient glow intensity behind the cards so it stays subtle */
body.light-mode .glow-left { background: rgba(0,151,178,.08); }
body.light-mode .glow-right { background: rgba(126,217,87,.05); }

/* Refreshes utility branding colors slightly to look rich against light backgrounds */
body.light-mode .green  { color: #16a34a; }
body.light-mode .purple { color: #9333ea; }
body.light-mode .orange { color: #ea580c; }
body.light-mode .blue   { color: #2563eb; }