/* ========================================
   CSS Variables & Design Tokens
   ======================================== */
:root {
    /* Light Mode Colors */
    --primary-color: #3338a0;
    --primary-dark: #252a75;
    --primary-light: #4a4fc4;
    --secondary-color: #7fff00;
    --accent-color: #ff6b35;

    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;

    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-muted: #718096;

    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #3338a0 0%, #7fff00 100%);
    --gradient-secondary: linear-gradient(135deg, #3338a0 0%, #5a5fd9 100%);
    --gradient-accent: linear-gradient(135deg, #7fff00 0%, #a0ff4d 100%);

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f2e;
    --bg-tertiary: #252d3d;

    --text-primary: #ffffff;
    --text-secondary: #cbd5e0;
    --text-muted: #a0aec0;

    --border-color: #2d3748;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
}

/* ========================================
   Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ========================================
   Theme Toggle Button
   ======================================== */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-xl);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    padding: 20px 0;
    background: transparent;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 20, 25, 0.98);
}

.navbar-brand {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 24px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-eq {
    color: var(--primary-color);
}

.brand-shine {
    color: var(--secondary-color);
}

.brand-subtitle {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin-top: -2px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--gradient-primary);
    transition: transform var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%);
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    animation: parallaxFloat 20s ease-in-out infinite;
}

@keyframes parallaxFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: white;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(20deg);
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons .btn {
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(51, 56, 160, 0.4);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   Section Styles
   ======================================== */
.section-padding {
    padding: var(--section-padding);
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    background: var(--bg-secondary);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image-wrapper {
    position: relative;
    height: 500px;
}

.about-image-card {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating-card {
    position: absolute;
    background: var(--bg-primary);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    animation: floatSlow 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 24px;
    color: var(--primary-color);
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
    position: relative;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 100%);
    color: white;
}

.services-section .section-badge,
.services-section .section-title,
.services-section .section-description {
    color: white;
}

.service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    border: none;
}

.service-tabs .nav-link {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px 30px;
    color: rgba(255, 255, 255, 0.7) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-normal);
    min-width: 150px;
}

.service-tabs .nav-link i {
    font-size: 32px;
    margin-bottom: 5px;
}

.service-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.service-tabs .nav-link.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white !important;
    box-shadow: var(--shadow-lg);
}

.service-tab-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-content-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.service-content-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 12px 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-features i {
    color: var(--secondary-color);
    font-size: 20px;
}

.service-nested-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nested-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-normal);
}

.nested-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.nested-item h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nested-item h5 i {
    color: var(--secondary-color);
}

.nested-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ========================================
   Industries Section
   ======================================== */
.industries-section {
    background: var(--bg-primary);
}

.industry-card {
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.industry-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    transition: all var(--transition-normal);
}

.industry-card:hover .industry-icon {
    transform: rotateY(360deg);
}

.industry-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.industry-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   Clients Section
   ======================================== */
.clients-section {
    position: relative;
    background: linear-gradient(135deg, #3338a0 0%, #5a5fd9 100%);
    color: white;
}

.clients-section .section-badge,
.clients-section .section-title,
.clients-section .section-description {
    color: white;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.client-logo-card {
    background: white;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.client-logo-card:hover {
    background: whitesmoke;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.client-logo-placeholder {
    text-align: center;
}

.client-logo-placeholder i {
    font-size: 48px;
    color: white;
    margin-bottom: 15px;
    display: block;
}

.client-logo-placeholder span {
    font-weight: 600;
    font-size: 14px;
    color: white;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.quote-icon {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: white;
    font-style: italic;
}

.testimonial-author h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    background: var(--bg-secondary);
}

.contact-info-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
}

.contact-info-card:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.contact-info-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-card p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--bg-primary);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(51, 56, 160, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-tertiary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-brand {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 24px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    transform: translateY(-5px) rotate(15deg);
    box-shadow: var(--shadow-md);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-newsletter-text {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.newsletter-form .input-group {
    display: flex;
}

.newsletter-form .form-control {
    border-radius: 10px 0 0 10px;
    border-right: none;
}

.newsletter-form .btn {
    border-radius: 0 10px 10px 0;
    padding: 0 25px;
}

.footer-divider {
    border-color: var(--border-color);
    margin: 40px 0 20px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 991px) {
    .service-tabs .nav-link {
        min-width: 120px;
        padding: 15px 20px;
    }

    .service-tabs .nav-link i {
        font-size: 24px;
    }

    .service-tab-content {
        padding: 30px;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons .btn {
        padding: 12px 30px;
        font-size: 13px;
    }

    .service-tabs {
        gap: 10px;
    }

    .service-tabs .nav-link {
        min-width: 100px;
        padding: 12px 15px;
        font-size: 12px;
    }

    .service-tabs .nav-link i {
        font-size: 20px;
    }

    .service-tab-content {
        padding: 20px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .theme-toggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }

    .about-image-wrapper {
        height: 350px;
        margin-top: 30px;
    }
}

/* ========================================
   Animations & Effects
   ======================================== */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Smooth transitions for theme switching */
body,
.navbar,
.about-section,
.industries-section,
.contact-section,
.footer,
.form-control,
.contact-info-card,
.contact-form-wrapper,
.industry-card {
    transition: background-color var(--transition-normal),
        color var(--transition-normal),
        border-color var(--transition-normal);
}

.custom-padding-start {
    padding-left: 40px !important;
}

.circle>img {
    width: 150px;
}