/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;700;800&display=swap');

:root {
    /* Colors */
    --bg-color: #050511;
    --surface-color: #0f1020;
    --surface-card: rgba(20, 21, 40, 0.7);
    --primary-color: #00f2fe;
    /* Cyan */
    --secondary-color: #4facfe;
    /* Blue */
    --accent-color: #a855f7;
    /* Purple */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);

    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-text: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    --gradient-bg: radial-gradient(circle at 50% 0%, #1e1b4b 0%, var(--bg-color) 60%);

    /* Spacing */
    --container-width: 1200px;
    --container-padding: 0 15px;
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-med: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* Light Mode Variables */
body.light-mode {
    --bg-color: #f8fafc;
    /* Softer white (Slate 50) */
    --surface-color: #ffffff;
    --surface-card: #ffffff;
    --text-main: #0f172a;
    /* Slate 900 - Premium dark text */
    --text-muted: #475569;
    /* Slate 600 */
    --primary-color: #0284c7;
    /* Sky 600 - Vibrant but readable blue */
    --border-color: rgba(15, 23, 42, 0.1);
    --gradient-bg: none;
    --gradient-text: linear-gradient(to right, #0284c7, #2563eb);
}

body.light-mode .main-header {
    background: rgba(255, 255, 255, 0.85);
    /* Light glassmorphism */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .nav-links li a {
    color: var(--text-main);
}

body.light-mode .nav-links li a:hover {
    color: var(--primary-color);
}

body.light-mode .logo {
    color: var(--text-main);
}

body.light-mode .hero-overlay,
body.light-mode .portfolio-overlay {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.5) 60%, transparent);
}

body.light-mode .portfolio-overlay h3,
body.light-mode .portfolio-overlay p {
    color: #0f172a;
}

body.light-mode .section-title {
    color: #0f172a;
    /* Dark title for visibility */
}

body.light-mode .client-item {
    color: #475569;
    /* Visible slate color */
}

body.light-mode .client-item:hover {
    color: var(--primary-color);
}

body.light-mode .stack-card h3,
body.light-mode .stack-card p {
    color: #1e1b4b;
    /* Dark navy for card text */
}

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

/* Theme Toggle Button */
.theme-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-left: 20px;
    transition: var(--transition-fast);
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.theme-btn .icon {
    font-size: 1.2rem;
}

body.light-mode .theme-btn {
    border-color: rgba(0, 0, 0, 0.2);
    color: #000;
}

body.light-mode .theme-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

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

/* Strategic Partner Section */
.partner-section {
    position: relative;
    overflow: hidden;
}

.partner-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 70px 60px;
    gap: 60px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.partner-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: radial-gradient(circle at 100% 50%, rgba(0, 242, 254, 0.2), transparent 70%);
    pointer-events: none;
}

.partner-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle at 0% 100%, rgba(16, 185, 129, 0.15), transparent 70%);
    pointer-events: none;
}

.partner-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.partner-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.partner-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 90%;
}

.partner-description strong {
    color: var(--text-main);
    font-weight: 600;
}

.partner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
}

.partner-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.partner-feature:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-2px);
}

.feature-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
}

.partner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    transition: all 0.3s ease;
}

.partner-btn svg {
    transition: transform 0.3s ease;
}

.partner-btn:hover svg {
    transform: translateX(5px);
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    min-width: 280px;
    backdrop-filter: blur(10px);
}

.logo-container {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.3) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.partner-img {
    width: 160px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(0, 242, 254, 0.3));
    transition: transform 0.3s ease;
}

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

.partner-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    margin-top: 10px;
}

.partner-org-type {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Light Mode Partner Override */
body.light-mode .partner-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

body.light-mode .partner-title {
    color: #0f172a;
}

body.light-mode .partner-description {
    color: #475569;
}

body.light-mode .partner-feature {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .partner-logo {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .partner-logo h3 {
    color: #0f172a;
}

@media (max-width: 968px) {
    .partner-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
        gap: 40px;
    }

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

    .partner-description {
        max-width: 100%;
    }

    .partner-features {
        justify-content: center;
    }

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

body {
    background-color: var(--bg-color);
    background-image: var(--gradient-bg);
    color: var(--text-main);
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

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

.section-padding {
    padding: 60px 0;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: #000;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(79, 172, 254, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.partner-img {
    width: 120px;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

/* Header Styles */
/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    /* Beautiful Dark Glassmorphism */
    background: rgba(5, 5, 20, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-med);
}

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

.logo {
    font-family: 'Segoe UI Light', 'Segoe UI', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.logo .dot {
    color: var(--primary-color);
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    min-width: 220px;
    display: none;
    flex-direction: column;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.dropdown-menu li {
    margin-left: 0;
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: #ccc;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    padding-left: 25px;
    /* Slight slide effect */
}

/* Light Mode Dropdown */
body.light-mode .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .dropdown-menu li a {
    color: var(--text-main);
}

body.light-mode .dropdown-menu li a:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    /* Reduced height as requested */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Above slider, below content */
    pointer-events: none;
    /* Let clicks pass through */
}

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

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    /* Flex to center content if needed, but container handlse it */
    align-items: center;
    opacity: 0;
    animation: slideShow 20s infinite;
    z-index: 1;
    /* base z-index */
}

/* Slide Specific Backgrounds with built-in overlay */
.slide-1 {
    background-image: linear-gradient(to right, rgba(5, 5, 17, 0.9) 30%, rgba(5, 5, 17, 0.5) 100%), url('assets/slide1.png');
    animation-delay: 0s;
}

.slide-2 {
    background-image: linear-gradient(to right, rgba(5, 5, 17, 0.9) 30%, rgba(5, 5, 17, 0.5) 100%), url('assets/slide2.png');
    animation-delay: 5s;
}

.slide-3 {
    background-image: linear-gradient(to right, rgba(5, 5, 17, 0.9) 30%, rgba(5, 5, 17, 0.5) 100%), url('assets/slide3.png');
    animation-delay: 10s;
}

.slide-4 {
    background-image: linear-gradient(to right, rgba(5, 5, 17, 0.9) 30%, rgba(5, 5, 17, 0.5) 100%), url('assets/slide4.png');
    animation-delay: 15s;
}

/* Animation Keyframes for Slides */
@keyframes slideShow {
    0% {
        opacity: 0;
        z-index: 1;
        transform: scale(1.1);
    }

    2% {
        opacity: 1;
        z-index: 5;
    }

    25% {
        opacity: 1;
        z-index: 5;
        transform: scale(1);
    }

    28% {
        opacity: 0;
        z-index: 1;
    }

    100% {
        opacity: 0;
        z-index: 0;
    }
}

@keyframes contentSlide {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    3% {
        opacity: 0;
        transform: translateY(50px);
    }

    /* Slight delay */
    6% {
        opacity: 1;
        transform: translateY(0);
    }

    24% {
        opacity: 1;
        transform: translateY(0);
    }

    27% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Slide Content Animations */
.slide .hero-content,
.slide .hero-visual {
    animation: contentSlide 20s infinite;
    opacity: 0;
    /* Fallback */
}

/* Individual delays for content to match slide delays */
.slide-1 .hero-content,
.slide-1 .hero-visual {
    animation-delay: 0s;
}

.slide-2 .hero-content,
.slide-2 .hero-visual {
    animation-delay: 5s;
}

.slide-3 .hero-content,
.slide-3 .hero-visual {
    animation-delay: 10s;
}

.slide-4 .hero-content,
.slide-4 .hero-visual {
    animation-delay: 15s;
}


.hero-overlay {
    display: none;
    /* Removed as it is now integrated into backgrounds */
}

/* Ensure container is above overlay */
.hero-slider .container {
    position: relative;
    z-index: 20;
    /* Above Overlay (z=10) */
    width: 90%;
    height: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
    margin: 0 auto;
}

/* Adjust visuals for variants */
.orb-variant-2 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.orb-variant-3 {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.orb-variant-4 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

/* Remove old layout classes that might conflict */
/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    /* Above particles */
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 4rem;
    /* Larger title */
    font-weight: 800;
    /* Bolder weight */
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Stronger shadow */
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    /* Lighter for contrast */
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 90%;
}

/* Light Mode Hero Text */
body.light-mode .hero-title {
    color: #0f172a;
    text-shadow: none;
}

body.light-mode .hero-subtitle {
    color: #475569;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Hero Visual & Animations */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glowing-orb {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: orb-float 8s infinite ease-in-out;
}

.glass-card {
    position: absolute;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.glass-card span {
    font-size: 1.4rem;
}

.float-card-1 {
    top: 20%;
    left: 10%;
    animation: float-card 6s infinite ease-in-out;
}

.float-card-2 {
    bottom: 20%;
    right: 10%;
    animation: float-card 7s infinite ease-in-out 1s;
}

/* Keyframes */
@keyframes slideShow {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    5% {
        opacity: 1;
        transform: scale(1.02);
    }

    25% {
        opacity: 1;
        transform: scale(1.05);
    }

    30% {
        opacity: 0;
        transform: scale(1.07);
    }

    100% {
        opacity: 0;
    }
}

@keyframes orb-float {

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

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

@keyframes float-card {

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

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

/* Responsive */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .hero-visual {
        height: 300px;
    }
}

/* Section Components */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

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

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    /* Align to top to handle expanding cards */
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.about-features li {
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* About Card Stack (Rotatable) */
.about-card-stack {
    position: relative;
    height: 350px;
    width: 100%;
    padding: 20px;
    cursor: pointer;
    perspective: 1000px;
}

.stack-card {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 80%;
    height: 250px;
    padding: 30px;
    border-radius: 20px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stack-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.stack-card p {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.5;
}

.tap-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stack Positions */
/* Front Card */
.card-1 {
    z-index: 3;
    transform: translateX(0) translateY(0) scale(1);
    background: rgba(20, 21, 40, 0.95);
    /* Opaque enough to hide back */
    backdrop-filter: blur(20px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 242, 254, 0.1);
}

/* Middle Card */
.card-2 {
    z-index: 2;
    transform: translateX(20px) translateY(-15px) scale(0.95) rotate(5deg);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0.6;
    filter: blur(1px);
    /* Slight blur for depth */
}

/* Back Card */
.card-3 {
    z-index: 1;
    transform: translateX(40px) translateY(-30px) scale(0.9) rotate(10deg);
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    opacity: 0.4;
    filter: blur(2px);
}

/* Hover Effect on container */
.about-card-stack:hover .card-1 {
    transform: translateX(-5px) translateY(5px);
}

.about-card-stack:hover .card-2 {
    transform: translateX(25px) translateY(-20px) rotate(8deg);
}

.about-card-stack:hover .card-3 {
    transform: translateX(50px) translateY(-40px) rotate(12deg);
}

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

    .about-card-stack {
        height: 300px;
        display: flex;
        justify-content: center;
    }

    .stack-card {
        width: 100%;
        right: auto;
        top: 20px;
    }

    /* Reset transforms slightly for mobile but keep stack effect */
    .card-1 {
        transform: none;
    }

    .card-2 {
        transform: translateY(-10px) scale(0.95);
        right: -10px;
    }

    .card-3 {
        transform: translateY(-20px) scale(0.9);
        right: -20px;
    }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.03) 0%, rgba(79, 172, 254, 0.03) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 242, 254, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(79, 172, 254, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.stats-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.stats-header .section-title {
    margin: 0 auto;
    text-align: center;
}

.stats-header .section-subtitle {
    text-align: center;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    cursor: default;
    min-height: 140px;
    display: flex;
    align-items: center;
}

.stat-card-inner {
    padding: 20px;
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.15);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    font-size: 2rem;
    display: inline-block;
    animation: float-icon 3s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.3));
    position: relative;
    z-index: 2;
}

.icon-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1.5px solid rgba(0, 242, 254, 0.25);
    border-radius: 50%;
    animation: rotate-ring 8s linear infinite;
}

@keyframes rotate-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.stat-1 .icon-ring {
    border-color: rgba(0, 242, 254, 0.4);
}

.stat-2 .icon-ring {
    border-color: rgba(240, 147, 251, 0.4);
    animation-duration: 10s;
}

.stat-3 .icon-ring {
    border-color: rgba(245, 87, 108, 0.4);
    animation-duration: 12s;
}

.stat-4 .icon-ring {
    border-color: rgba(79, 172, 254, 0.4);
    animation-duration: 9s;
}

.stat-1 .stat-icon {
    animation-delay: 0s;
}

.stat-2 .stat-icon {
    animation-delay: 0.5s;
}

.stat-3 .stat-icon {
    animation-delay: 1s;
}

.stat-4 .stat-icon {
    animation-delay: 1.5s;
}

.stat-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
}

.stat-item h2 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow: none;
    position: relative;
    letter-spacing: -1px;
    margin: 0;
}

.stat-plus {
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 300;
    opacity: 0.7;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    position: relative;
    line-height: 1.2;
}

.stat-progress-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 6px;
}

.stat-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    transition: width 1s ease;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

.stat-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    filter: blur(40px);
}

.stat-glow-1 {
    background: radial-gradient(circle, rgba(0, 242, 254, 0.3) 0%, transparent 70%);
}

.stat-glow-2 {
    background: radial-gradient(circle, rgba(240, 147, 251, 0.3) 0%, transparent 70%);
}

.stat-glow-3 {
    background: radial-gradient(circle, rgba(245, 87, 108, 0.3) 0%, transparent 70%);
}

.stat-glow-4 {
    background: radial-gradient(circle, rgba(79, 172, 254, 0.3) 0%, transparent 70%);
}

.stat-card:hover .stat-glow {
    opacity: 1;
}

/* Individual stat card borders */
.stat-1 {
    border-left: 3px solid var(--primary-color);
}

.stat-1:hover {
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.25);
}

.stat-2 {
    border-left: 3px solid #f093fb;
}

.stat-2:hover {
    box-shadow: 0 15px 35px rgba(240, 147, 251, 0.25);
}

.stat-3 {
    border-left: 3px solid #f5576c;
}

.stat-3:hover {
    box-shadow: 0 15px 35px rgba(245, 87, 108, 0.25);
}

.stat-4 {
    border-left: 3px solid #4facfe;
}

.stat-4:hover {
    box-shadow: 0 15px 35px rgba(79, 172, 254, 0.25);
}

/* Icon Float Animation */
@keyframes float-icon {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-12px) rotate(5deg) scale(1.05);
    }
}

/* Light Mode Stats */
body.light-mode .stats-section {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.03) 0%, rgba(37, 99, 235, 0.03) 100%);
    border-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .stat-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.light-mode .stat-card:hover {
    box-shadow: 0 25px 50px rgba(2, 132, 199, 0.25);
    border-color: rgba(2, 132, 199, 0.4);
}

body.light-mode .stat-label {
    color: #475569;
}

body.light-mode .stat-progress-bar {
    background: rgba(0, 0, 0, 0.1);
}

/* Responsive Stats */
@media (max-width: 968px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        min-height: 130px;
    }

    .stat-card-inner {
        padding: 18px 15px;
        gap: 12px;
    }

    .stat-item h2 {
        font-size: 2rem;
    }

    .stat-icon {
        font-size: 1.8rem;
    }

    .stat-icon-wrapper {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        min-height: 120px;
    }

    .stat-card-inner {
        padding: 15px 12px;
        gap: 10px;
        flex-direction: column;
        text-align: center;
    }

    .stat-item h2 {
        font-size: 1.8rem;
    }

    .stat-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-progress-bar {
        display: none;
    }
}

/* Clients Section */
.client-slider {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px 0;
    overflow: hidden;
    position: relative;
}

.client-slider::before,
.client-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.client-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.client-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.client-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.client-item {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    opacity: 0.7;
    transition: var(--transition-fast);
    cursor: default;
}

.client-item:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: scale(1.05);
}

.client-item .icon {
    font-size: 1.8rem;
}

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

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

    /* Move half width (original set) */
}

/* Light Mode Client Adjustments */
body.light-mode .client-slider {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light-mode .client-slider::before {
    background: linear-gradient(to right, var(--bg-color), transparent);
}

body.light-mode .client-slider::after {
    background: linear-gradient(to left, var(--bg-color), transparent);
}

/* Advanced Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    cursor: pointer;
}

/* Animated border gradient */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1.5px;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

/* Inner Content Card */
.service-content {
    background: transparent;
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Glow Effect Blob */
.service-blob {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    top: -30px;
    right: -30px;
    transition: all 0.5s ease;
    z-index: 0;
}

/* Variant Blobs */
.card-tech .service-blob {
    background: #00f2fe;
}

.card-mobile .service-blob {
    background: #f093fb;
}

.card-cloud .service-blob {
    background: #10b981;
}

.card-ecommerce .service-blob {
    background: #a855f7;
}

.card-school .service-blob {
    background: #f59e0b;
}

.card-website .service-blob {
    background: #3b82f6;
}

/* Hover State */
.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.15);
}

.service-card:hover .service-blob {
    opacity: 0.3;
    top: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
}


/* Icon Styles */
.icon-box {
    font-size: 2.2rem;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.service-card:hover .icon-box {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(79, 172, 254, 0.1));
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.2);
}

/* Text Styles */
.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    line-height: 1.3;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin-bottom: 4px;
}

/* Learn More Link */
.service-link {
    margin-top: auto;
    padding-top: 12px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

.service-link:hover {
    opacity: 1;
    gap: 10px;
    color: var(--secondary-color);
}

.service-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: translateX(4px);
}

/* Unique card accent colors */
.card-tech {
    border-left: 3px solid #00f2fe;
}

.card-mobile {
    border-left: 3px solid #f093fb;
}

.card-cloud {
    border-left: 3px solid #10b981;
}

.card-ecommerce {
    border-left: 3px solid #a855f7;
}

.card-school {
    border-left: 3px solid #f59e0b;
}

.card-website {
    border-left: 3px solid #3b82f6;
}

/* Responsive Services */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-content {
        padding: 24px 20px;
    }

    .icon-box {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.15rem;
    }

    .service-card p {
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-content {
        padding: 22px 18px;
    }
}

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

    .about-card-stack {
        height: 350px;
        display: flex;
        justify-content: center;
    }

    .card-layer {
        position: relative;
        width: 100%;
        top: auto;
        right: auto;
        transform: none !important;
        margin-bottom: -150px;
    }

    .layer-3 {
        margin-bottom: 0;
    }

    .about-card-stack {
        display: block;
    }

    /* Revert for simplicity if needed */
    /* Fix for card stack on mobile: simplify it */
    .about-card-stack {
        height: auto;
        margin-top: 50px;
    }

    .card-layer {
        width: 100%;
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 20px;
        transform: none;
        opacity: 1;
    }

    .layer-1,
    .layer-2 {
        display: none;
    }
}

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

.portfolio-item {
    position: relative;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-thumb {
    width: 100%;
    height: 100%;
    transition: var(--transition-slow);
    background-size: cover;
    background-position: center;
}

.thumb-1 {
    /* Smart Institute - Education Blue/Purple Theme */
    background: linear-gradient(135deg, #1e3a8a 0%, #4c1d95 50%, #7c3aed 100%);
    position: relative;
}

.thumb-1::after {
    content: '🎓';
    font-size: 5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
}

.thumb-2 {
    /* Hostel Management - Accommodation Green/Teal */
    background: linear-gradient(135deg, #064e3b 0%, #0d9488 50%, #34d399 100%);
    position: relative;
}

.thumb-2::after {
    content: '🏠';
    font-size: 5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
}

.thumb-3 {
    /* Autorice Mill Management - Industrial Brown/Orange */
    background: linear-gradient(135deg, #78350f 0%, #d97706 50%, #f59e0b 100%);
    position: relative;
}

.thumb-3::after {
    content: '🌾';
    font-size: 5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
}

.thumb-4 {
    /* Smart Business - Sales/Inventory Orange/Red */
    background: linear-gradient(135deg, #7c2d12 0%, #ea580c 50%, #f97316 100%);
    position: relative;
}

.thumb-4::after {
    content: '💼';
    font-size: 5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
}

.thumb-5 {
    /* Smart Accountz - Accounting Blue/Cyan */
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #3b82f6 100%);
    position: relative;
}

.thumb-5::after {
    content: '💰';
    font-size: 5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2) 60%, transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 1;
    transition: var(--transition-med);
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    transform: translateY(10px);
    transition: var(--transition-fast);
}

.portfolio-overlay p {
    color: var(--text-muted);
    margin-bottom: 15px;
    transform: translateY(10px);
    transition: var(--transition-fast);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-fast);
}

/* Hover Effects */
.portfolio-item:hover .portfolio-thumb {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.6));
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .btn-link {
    transform: translateY(0);
    opacity: 1;
}

/* Testimonials, Contact, Footer styles follow... */


/* Testimonials Section */
.testimonials-slider-wrapper {
    position: relative;
    max-width: var(--container-width);
    margin: 50px auto 0;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    min-height: 250px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: auto;
}

.quote {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: #e2e8f0;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--surface-card);
}

.avatar-1 {
    background: url('https://ui-avatars.com/api/?name=Sarah+Jenkins&background=0D8ABC&color=fff') no-repeat center/cover;
}

.avatar-2 {
    background: url('https://ui-avatars.com/api/?name=Michael+Chen&background=6b21a8&color=fff') no-repeat center/cover;
}

.avatar-3 {
    background: url('https://ui-avatars.com/api/?name=Professor+Towhidul+Islam&background=10b981&color=fff') no-repeat center/cover;
}

.avatar-4 {
    background: url('https://ui-avatars.com/api/?name=Dr+Mohammad+Rahman&background=dc2626&color=fff') no-repeat center/cover;
}

.avatar-5 {
    background: url('https://ui-avatars.com/api/?name=Aziz+Rahman&background=f59e0b&color=fff') no-repeat center/cover;
}

.avatar-6 {
    background: url('https://ui-avatars.com/api/?name=Principal&background=3b82f6&color=fff') no-repeat center/cover;
}

.avatar-7 {
    background: url('https://ui-avatars.com/api/?name=Manager&background=8b5cf6&color=fff') no-repeat center/cover;
}

.avatar-8 {
    background: url('https://ui-avatars.com/api/?name=CEO&background=06b6d4&color=fff') no-repeat center/cover;
}

.avatar-9 {
    background: url('https://ui-avatars.com/api/?name=Principal&background=10b981&color=fff') no-repeat center/cover;
}

.client-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Testimonial Controls */
.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    line-height: 1;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.testimonial-dot.active {
    background: var(--primary-color);
    width: 12px;
    height: 12px;
    border-color: rgba(255, 255, 255, 0.3);
}

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

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.contact-form-wrapper {
    background: var(--surface-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(5, 5, 17, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(5, 5, 17, 0.8);
}

.full-width {
    width: 100%;
}

/* Footer */
.main-footer {
    background: #02020a;
    padding: 60px 0 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

#solar-system-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 500px;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

/* Shooting Stars */
.shooting-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8),
                0 0 12px rgba(255, 255, 255, 0.6),
                0 0 18px rgba(0, 242, 254, 0.4);
    opacity: 0;
}

.shooting-star::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 120px;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(0, 242, 254, 0.3) 40%,
        rgba(0, 242, 254, 0.7) 70%,
        rgba(255, 255, 255, 0.9) 100%);
    transform-origin: center bottom;
    transform: translateX(-50%);
}

/* Shooting Star Animations */
.star-1 {
    top: 10%;
    left: -150px;
    animation: shoot-star-1 8s infinite;
}

.star-2 {
    top: 5%;
    left: -150px;
    animation: shoot-star-2 10s infinite;
    animation-delay: 2s;
}

.star-3 {
    top: 15%;
    left: -150px;
    animation: shoot-star-3 12s infinite;
    animation-delay: 4s;
}

.star-4 {
    top: 8%;
    left: -150px;
    animation: shoot-star-4 9s infinite;
    animation-delay: 1s;
}

.star-5 {
    top: 12%;
    left: -150px;
    animation: shoot-star-5 11s infinite;
    animation-delay: 3s;
}

@keyframes shoot-star-1 {
    0% {
        opacity: 0;
        transform: translateX(0) translateY(0);
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(calc(100vw + 200px)) translateY(calc(100vh * 0.6));
    }
}

.star-1::before {
    transform: translateX(-50%) rotate(-30deg);
}

@keyframes shoot-star-2 {
    0% {
        opacity: 0;
        transform: translateX(0) translateY(0);
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(calc(100vw + 200px)) translateY(calc(100vh * 0.5));
    }
}

.star-2::before {
    transform: translateX(-50%) rotate(-26deg);
}

@keyframes shoot-star-3 {
    0% {
        opacity: 0;
        transform: translateX(0) translateY(0);
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(calc(100vw + 200px)) translateY(calc(100vh * 0.55));
    }
}

.star-3::before {
    transform: translateX(-50%) rotate(-28deg);
}

@keyframes shoot-star-4 {
    0% {
        opacity: 0;
        transform: translateX(0) translateY(0);
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(calc(100vw + 200px)) translateY(calc(100vh * 0.45));
    }
}

.star-4::before {
    transform: translateX(-50%) rotate(-24deg);
}

@keyframes shoot-star-5 {
    0% {
        opacity: 0;
        transform: translateX(0) translateY(0);
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(calc(100vw + 200px)) translateY(calc(100vh * 0.65));
    }
}

.star-5::before {
    transform: translateX(-50%) rotate(-33deg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-col h3,
.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-logo {
    font-family: 'Segoe UI Light', 'Segoe UI', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.footer-logo .dot {
    color: var(--primary-color);
}

.footer-col p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-col ul li {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition-fast);
    cursor: pointer;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

/* Light Mode Footer */
body.light-mode .main-footer {
    background: #f8fafc;
    border-top-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .shooting-star {
    background: #0284c7;
    box-shadow: 0 0 6px rgba(2, 132, 199, 0.6),
                0 0 12px rgba(2, 132, 199, 0.4),
                0 0 18px rgba(2, 132, 199, 0.3);
}

body.light-mode .shooting-star::before {
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(37, 99, 235, 0.4) 40%,
        rgba(2, 132, 199, 0.6) 70%,
        rgba(2, 132, 199, 0.8) 100%);
}

body.light-mode .footer-col h3,
body.light-mode .footer-col h4 {
    color: #0f172a;
}

body.light-mode .footer-col ul li a {
    color: #475569;
}

body.light-mode .footer-col ul li a:hover {
    color: var(--primary-color);
}

body.light-mode .social-icon {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #475569;
}

body.light-mode .social-icon:hover {
    background: rgba(2, 132, 199, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Responsive Footer/Contact */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .social-links {
        justify-content: center;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0px;
        background: rgba(5, 5, 20, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 40px;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        z-index: 998;
    }

    .nav-links li {
        opacity: 0;
    }

    .nav-active {
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

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

    .mobile-menu-btn {
        display: flex;
        z-index: 999;
    }

    /* Animation classes for hamburger lines */
    .mobile-menu-btn span {
        transition: all 0.3s ease;
    }

    .toggle span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle span:nth-child(2) {
        /* There are only 2 spans in HTML? No, standard usually has 3. HTML has 2. */
        opacity: 0;
    }

    /* Wait, the HTML has 2 spans. 
       <div class="mobile-menu-btn">
           <span></span>
           <span></span>
       </div>
       A 2-line hamburger? Only 2 lines. 
       Let's adjust the animation for 2 lines.
       Maybe cross them?
    */
    .toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .toggle span:nth-child(2) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}