/********** Custom Properties **********/
:root {
    --primary: #12b3c5;
    --primary-dark: #0e8a99;
    --primary-light: #15ACE1;
    --secondary: #15ACE1;
    --accent: #6c63ff;
    --light: #F4F7FE;
    --dark: #14183E;
    --dark-light: #2a2f5c;
    --text: #555;
    --text-light: #6c757d;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
    --shadow: 0 10px 30px rgba(18, 179, 197, 0.15);
    --shadow-lg: 0 20px 60px rgba(18, 179, 197, 0.2);
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/********** Reset & Base Styles **********/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light) !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-light {
    border: 1px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/********** Preloader **********/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.digimax-preloader {
    text-align: center;
}

.infinity-loader {
    width: 200px;
    height: 200px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.infinity-path {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.infinity-loop {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid white;
    border-radius: 50%;
    animation: infinitySpin 2s linear infinite;
}

.infinity-loop:nth-child(1) {
    left: 0;
    animation-delay: 0s;
}

.infinity-loop:nth-child(2) {
    right: 0;
    animation-delay: -1s;
}

.center-logo {
    width: 120px;
    height: auto;
    position: relative;
    z-index: 2;
}

@keyframes infinitySpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/********** Navigation **********/
.navbar {
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.brand-logo {
    height: 40px;
    transition: var(--transition);
}

/* Modern Navbar Toggler */
.navbar-toggler {
    border: none;
    background: transparent;
    padding: 8px;
    width: 44px;
    height: 44px;
    position: relative;
    transition: var(--transition);
    border-radius: 8px;
    z-index: 1001;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(18, 179, 197, 0.3);
    outline: none;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.navbar-toggler-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    position: relative;
    transition: opacity 0.3s ease;
}

.close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 1.5rem;
    color: var(--white);
}

/* Hide hamburger and show X when expanded */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    opacity: 0;
    transform: scale(0);
}

.navbar-toggler[aria-expanded="true"] .close-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.toggler-bar {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* Enhanced Navbar Collapse */
.navbar-collapse {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        padding: 20px;
        margin: 0 15px;
        border-radius: 20px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
    }

    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav {
        text-align: center;
        gap: 10px;
    }

    .navbar-nav .nav-link {
        padding: 15px 20px;
        margin: 5px 0;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .navbar-nav .nav-link i {
        font-size: 1.2rem;
        width: 24px;
        text-align: center;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: var(--gradient);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(18, 179, 197, 0.4);
    }

    .nav-actions {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .btn-hire {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
        font-size: 1.1rem;
    }
}

/* Enhanced Dropdown Menu */
.dropdown-menu {
    background: linear-gradient(135deg, var(--white) 0%, var(--light) 100%);
    border: none;
    border-radius: 16px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    padding: 15px;
    backdrop-filter: blur(20px);
    animation: dropdownSlide 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 1002;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    padding: 14px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--dark);
    margin: 3px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.dropdown-item:hover::before {
    left: 0;
}

.dropdown-item:hover {
    color: var(--white);
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(18, 179, 197, 0.3);
}

.dropdown-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.dropdown-item:hover i {
    transform: scale(1.2);
}

/* Enhanced Nav Links for Desktop */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        position: relative;
        overflow: hidden;
        padding: 10px 20px;
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 3px;
        background: var(--gradient);
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        transform: translateX(-50%);
        border-radius: 3px;
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 70%;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        animation: dropdownSlide 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }
}

/* Improved button styles */
.btn-hire {
    background: var(--gradient);
    color: var(--white);
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(18, 179, 197, 0.3);
}

.btn-hire::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.6s ease;
}

.btn-hire:hover::before {
    left: 100%;
}

.btn-hire:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 30px rgba(18, 179, 197, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Smooth scrolling and focus states */
.navbar-nav .nav-link:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
    border-radius: 8px;
}

.dropdown-item:focus {
    outline: none;
    background: var(--gradient);
    color: var(--white);
    transform: translateX(5px);
}

/********** Hero Section - UPDATED ORDER **********/
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 24, 62, 0.9) 0%, rgba(18, 179, 197, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img { 
    max-height: 500px;
    width: auto;
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 600;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    color: var(--primary);
    font-size: 1.2rem;
}

.card-1 {
    top: 0%;
    left: 8%;
    animation-delay: 0s;
}

.card-2 {
    top: 5%;
    right: 12%;
    animation-delay: 0.3s;
}

.card-3 {
    top: 30%;
    right: 18%;
    animation-delay: 0.6s;
}

.card-4 {
    top: 25%;
    left: 15%;
    animation-delay: 0.9s;
}

.card-5 {
    bottom: 15%;
    left: 10%;
    animation-delay: 1.2s;
}

.card-6 {
    top: 50%;
    right: 40%;
    animation-delay: 1.5s;
}

.card-7 {
    bottom: 10%;
    right: 10%;
    animation-delay: 1.8s;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--primary);
    margin: 0 auto 10px;
    border-radius: 1px;
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

/********** About Section **********/
.about-visual {
    position: relative;
}

.about-image {
    position: relative;
    display: inline-block;
}

.about-image img { 
    background: transparent;
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
}

.about-image::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
    z-index: 2;
}

/********** Modern Experience Badge **********/
.experience-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 25px 20px;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.experience-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.experience-badge:hover::before {
    left: 100%;
}

.badge-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.years {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/********** Floating Animation **********/
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-8px) rotate(0.5deg);
    }
    66% {
        transform: translateY(-4px) rotate(-0.5deg);
    }
}

/********** Sparkle Effects **********/
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: sparkle 2s infinite;
}

.sparkle-1 {
    top: 10px;
    right: 15px;
    animation-delay: 0s;
}

.sparkle-2 {
    bottom: 15px;
    left: 10px;
    animation-delay: 0.7s;
}

.sparkle-3 {
    top: 50%;
    right: 10px;
    animation-delay: 1.4s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/********** Section Header Styles **********/
.section-header {
    margin-bottom: 40px;
}

.section-label {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-content p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-light);
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/********** Services Section **********/
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h4 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.service-features span {
    background: var(--light);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/********** Stats Section **********/
.stats-section {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 80px 0;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

/* Enhanced Stat Icons */
.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 15px;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/********** Features Section **********/
.features-section {
    background: url('../img/bg-hero1.png') center center no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 24, 62, 0.92) 0%, rgba(18, 179, 197, 0.15) 100%) !important;
    z-index: 1;
}

.features-section .container {
    position: relative;
    z-index: 2;
}

.features-section .section-label {
    background: rgba(255,255,255,0.15) !important;
    color: var(--bs-white) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    backdrop-filter: blur(10px);
}

.features-section .section-title {
    color: var(--bs-white) !important;
    font-size: 3rem !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
}

.features-section .section-description {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.2rem !important;
    max-width: 500px;
    line-height: 1.6 !important;
}

.features-list {
    margin: 40px 0 !important;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px !important;
    font-size: 1.2rem !important;
    color: var(--bs-white) !important;
    font-weight: 500;
}

.feature-check i {
    color: var(--bs-white) !important;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary)) !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem !important;
    box-shadow: 0 5px 15px rgba(18, 179, 197, 0.3) !important;
    transition: all 0.3s ease;
}

.feature-check:hover i {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(18, 179, 197, 0.5) !important;
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.12) !important;
    padding: 25px !important;
    border-radius: 15px !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2) !important;
    transition: all 0.3s ease;
}

.mini-stat:hover {
    background: rgba(255,255,255,0.18) !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
}

.mini-stat i {
    font-size: 2.5rem !important;
    color: var(--bs-primary) !important;
    background: rgba(255,255,255,0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-stat h3 {
    color: var(--bs-white) !important;
    margin-bottom: 8px !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
}

.mini-stat p {
    color: rgba(255,255,255,0.9) !important;
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 500;
}

/********** Case Studies Section **********/
.case-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    position: relative;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, black);
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.case-card:hover .case-overlay {
    transform: translateY(0);
}

.case-category {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.case-overlay h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.case-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.case-link:hover {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.1);
}

/********** FAQ Section **********/
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-button {
    background: var(--light);
    border: none;
    border-radius: var(--border-radius) !important;
    padding: 20px;
    font-weight: 600;
    color: var(--dark);
}

.accordion-button:not(.collapsed) {
    background: var(--primary);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 20px;
    background: var(--white);
}

/********** Team Section **********/
.team-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 30px;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    height: 350px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h4 {
    margin-bottom: 5px;
}

.team-info p {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/********** Testimonials Section **********/
.testimonials-section {
    position: relative;
}

.testimonials-carousel {
    position: relative;
    margin-bottom: 30px;
    min-height: 250px;
}

.testimonial-item {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: all 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}

.testimonial-content {
    position: relative;
    margin-bottom: 25px;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    opacity: 0.3;
    display: block;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 0;
    color: var(--text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--light);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--light);
    transition: var(--transition);
}

.testimonial-author:hover img {
    border-color: var(--primary);
}

.testimonial-author h5 {
    margin-bottom: 5px;
    color: var(--dark);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Controls */
.testimonial-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.testimonial-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.2);
    border-color: rgba(18, 179, 197, 0.3);
}

.indicator:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.testimonial-nav {
    display: flex;
    gap: 10px;
}

.testimonial-prev,
.testimonial-next {
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.testimonial-prev:active,
.testimonial-next:active {
    transform: translateY(0);
}


/********** Newsletter Section - UPDATED INPUT SIZES **********/
.newsletter-section {
    background: url('../img/bg-h.png') center center no-repeat;
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/bgh.png') center center no-repeat;
    background-size: cover;
    opacity: 0.1;
}

.newsletter-section .container {
    position: relative;
    z-index: 2;
}

.newsletter-content .section-label {
    background: transparent;
    color: var(--white);
    border: solid 1px var(--white);
}

.newsletter-content h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}

.newsletter-form .form-control {
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    flex: 1;
    min-width: 200px;
}

.newsletter-form .btn {
    border-radius: 50px;
    padding: 15px 25px;
    white-space: nowrap;
}

/********** CTA Section **********/
.cta-section {
    background: var(--gradient);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/********** Footer - UPDATED INPUT SIZES **********/
.footer {
    background: 
        linear-gradient(135deg, black 0%, #0a0e2b 100%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(18, 179, 197, 0.03) 10px, rgba(18, 179, 197, 0.03) 20px);
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

/* Digital Grid Effect */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(18, 179, 197, 0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(18, 179, 197, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridScan 20s linear infinite;
    pointer-events: none;
    opacity: 0.3;
}

/* Digital Pulse Effect */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: digitalPulse 8s linear infinite;
    opacity: 0.5;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 25px;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-item a {
    color: rgba(255,255,255,0.8);
}

.contact-item a:hover {
    color: var(--primary-light);
}

.newsletter h6 {
    color: var(--white);
    margin-bottom: 15px;
}

.newsletter .input-group {
    display: flex;
    gap: 10px;
}

.newsletter .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    border-radius: 8px;
    padding: 12px 15px;
    flex: 1;
    min-width: 150px;
}

.newsletter .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter .btn {
    white-space: nowrap;
    padding: 12px 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
    margin-top: 50px;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
}

.footer-menu {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-menu a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-menu a:hover {
    color: var(--primary-light);
}

/* Digital Animations */
@keyframes gridScan {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

@keyframes digitalPulse {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* AI Assistant Styles */
.ai-assistant-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
    cursor: pointer;
}

.ai-assistant-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(18, 179, 197, 0.4);
}

.ai-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.ai-chat-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.ai-chat-container.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.ai-chat-header {
    background: var(--gradient);
    color: var(--white);
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.ai-info h4 {
    color: var(--white);
    margin: 0;
    font-size: 1.1rem;
}

.ai-status {
    font-size: 0.8rem;
    opacity: 0.8;
}

.ai-close-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    margin-left: auto;
    cursor: pointer;
    transition: var(--transition);
}

.ai-close-btn:hover {
    transform: scale(1.1);
}

.ai-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-message {
    display: flex;
    max-width: 80%;
}

.ai-user-message {
    align-self: flex-end;
}

.ai-bot-message {
    align-self: flex-start;
}

.message-content {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ai-user-message .message-content {
    background: var(--primary);
    color: var(--white);
    border-bottom-right-radius: 5px;
}

.ai-bot-message .message-content {
    background: var(--light);
    color: var(--text);
    border-bottom-left-radius: 5px;
}

.ai-chat-input {
    padding: 20px;
    border-top: 1px solid var(--light);
    display: flex;
    gap: 10px;
}

.ai-chat-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--light);
    border-radius: 25px;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.ai-chat-input input:focus {
    border-color: var(--primary);
}

#aiSendBtn {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

#aiSendBtn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Hide scroll-to-top button */
.back-to-top {
    display: none !important;
}

/********** Back to Top **********/
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/********** Search Modal **********/
.search-form {
    position: relative;
    display: flex;
    gap: 10px;
}

.search-form .form-control {
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid var(--light);
    transition: var(--transition);
}

.search-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(18, 179, 197, 0.25);
}

/********** Enhanced Responsive Design **********/

/* Large Devices */
@media (max-width: 1199.98px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    .hero-title { font-size: 3rem; }
    .hero-visual { height: 450px; }
    .hero-image img { max-height: 450px; }
}

/* Medium Devices - Tablets */
@media (max-width: 991.98px) {
    .section-padding { padding: 80px 0; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.25rem; }
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    
    /* Hero Section - CONTENT FIRST ON MOBILE */
    .hero-section .row {
        margin-top: 100px;
        flex-direction: column;
    }
    
    .hero-section .col-lg-6:first-child {
        order: 1;
    }
    
    .hero-section .col-lg-6:last-child {
        order: 2;
    }
    
    .hero-visual { 
        height: 400px; 
        margin-top: 50px; 
    }
    
    .hero-image img { 
        margin-top: -100px;
        max-height: 400px; 
    }
    
    /* Navigation */
    .navbar-collapse {
        background: var(--dark);
        padding: 20px;
        border-radius: 12px;
        margin-top: 15px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-actions {
        margin-top: 15px;
        justify-content: center;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Newsletter Form */
    .newsletter-form {
        flex-direction: row;
        gap: 15px;
    }
    
    .newsletter-form .btn {
        width: auto;
        min-width: 40px;
        justify-content: center;
    }
    
    /* Footer Newsletter */
    .newsletter .input-group {
        width: 100%;
        flex-direction: row;
        gap: 10px;
    }
    
    .newsletter .btn {
        width: auto;
        min-width: 100px;
        justify-content: center;
    }
    
    /* Team Section */
    .team-image {
        height: 300px;
    }
    
    /* Case Studies */
    .case-image img {
        height: 250px;
    }
    
    /* Floating Cards */
    .floating-card {
        display: none;
    }
}

/* Small Devices - Mobile Landscape */
@media (max-width: 767.98px) {
    .section-padding { padding: 60px 0; }
    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }
    .hero-title { font-size: 2.25rem; }
    .section-title { font-size: 1.75rem; }
    .hero-description { font-size: 1.1rem; }
    
    /* Hero Section */
    .hero-visual {
        height: 350px;
        margin-top: 40px;
    }
    
    .hero-image img {
        max-height: 350px;
    }
    
    .hero-actions {
        justify-content: center;
        gap: 12px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .stat-item {
        flex: 1;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    /* Newsletter Input Sizes */
    .newsletter-form .form-control {
        min-width: 180px;
        padding: 12px 18px;
    }
    
    .newsletter .form-control {
        min-width: 140px;
        padding: 10px 15px;
    }
    
    .newsletter-form .btn,
    .newsletter .btn {
        padding: 12px 20px;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    /* Testimonials */
    .testimonial-item {
        padding: 25px;
        margin: 10px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    /* Team Cards */
    .team-card {
        margin-bottom: 20px;
    }
    
    .team-image {
        height: 280px;
    }
    
    /* Service Cards */
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Stats Section */
    .stats-section {
        padding: 60px 0;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Extra Small Devices - Mobile Portrait */
@media (max-width: 575.98px) {
    h1 { font-size: 2rem; line-height: 1.2; }
    h2 { font-size: 1.75rem; line-height: 1.2; }
    .hero-title { font-size: 2rem; line-height: 1.2; }
    .section-title { font-size: 1.75rem; line-height: 1.2; }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
    
    .section-label {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
    
    /* Hero Section */
    .hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .hero-actions .btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-item {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Buttons */
    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Newsletter Input Sizes */
    .newsletter-form .form-control {
        min-width: 150px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .newsletter .form-control {
        min-width: 120px;
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .newsletter-form .btn,
    .newsletter .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    /* CTA Section */
    .cta-actions {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .cta-actions .btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
    
    /* Testimonials */
    .testimonial-item {
        padding: 20px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .testimonial-author img {
        width: 50px;
        height: 50px;
    }
    
    /* Team Section */
    .team-image {
        height: 250px;
    }
    
    .team-info {
        padding: 20px;
    }
    
    /* Service Cards */
    .service-card {
        padding: 25px 20px;
    }
    
    .service-features {
        gap: 5px;
    }
    
    .service-features span {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    /* Features List */
    .feature-check {
        font-size: 1rem !important;
        gap: 12px;
        margin-bottom: 15px !important;
    }
    
    .feature-check i {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.9rem !important;
    }
    
    /* Mini Stats */
    .mini-stat {
        padding: 20px !important;
        gap: 15px;
    }
    
    .mini-stat i {
        font-size: 2rem !important;
        width: 60px;
        height: 60px;
    }
    
    .mini-stat h3 {
        font-size: 2rem !important;
    }
    
    /* Footer */
    .footer-menu {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-bottom .col-md-6.text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }
    
    /* Forms */
    .newsletter-form .form-control,
    .newsletter .form-control {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    /* Accordion */
    .accordion-button {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    /* Case Studies */
    .case-image img {
        height: 200px;
    }
    
    .case-overlay {
        padding: 20px;
    }
    
    .case-overlay h4 {
        font-size: 1.1rem;
    }
    
    /* Experience Badge */
    .experience-badge {
        padding: 15px 12px;
        top: 10px;
        left: 10px;
    }
    
    .years {
        font-size: 2rem;
    }
    
    .text {
        font-size: 0.7rem;
    }
}

/* Very Small Devices - iPhone SE etc. */
@media (max-width: 375px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    .hero-title { font-size: 1.75rem; }
    .section-title { font-size: 1.5rem; }
    .hero-description { font-size: 1rem; }
    
    .hero-stats {
        gap: 10px;
    }
    
    .stat-item {
        min-width: 70px;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Newsletter Input Sizes */
    .newsletter-form .form-control {
        min-width: 130px;
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .newsletter .form-control {
        min-width: 100px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .newsletter-form .btn,
    .newsletter .btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    /* Hero Section - Stack buttons on very small screens */
    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }
    
    /* CTA Section - Stack buttons on very small screens */
    .cta-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }
}

/* Safe Area Support for Notched Phones */
@supports(padding: max(0px)) {
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
    
    .hero-section,
    .section-padding {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
    
    .navbar .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .team-card:hover,
    .case-card:hover,
    .stat-card:hover {
        transform: none;
    }
    
    .btn:hover::before {
        left: -100%;
    }
    
    .feature-item:hover,
    .mini-stat:hover {
        transform: none;
    }
    
    /* Add touch-friendly tap targets */
    .btn {
        min-height: 44px;
    }
    
    .nav-link {
        padding: 12px 15px;
    }
    
    .social-link,
    .team-social a {
        width: 44px;
        height: 44px;
    }
}

/* Quiz Modal Styles */
.card-option {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    padding: 20px;
    text-align: center;
    height: 100%;
    position: relative;
}

.card-option:hover {
    border-color: #12b3c5;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

/* SELECTED STATE - Clear visual feedback */
.card-option.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #12b3c5 0%, #15ACE1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.card-option.selected .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

.card-option.selected i,
.card-option.selected h6 {
    color: white !important;
}

/* Hide radio buttons but keep them functional */
.card-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1%;
    height: 1%;
    top: 0;
    left: 0;
    cursor: pointer;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-progress {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: -20px -20px 20px -20px;
}

.progress {
    background-color: #e9ecef;
    border-radius: 10px;
}

.progress-bar {
    height: 6px;
    border-radius: 6px;
    transition: width 0.5s ease;
}

.quiz-navigation {
    background: #f8f9fa;
    margin: -20px;
    padding: 20px;
}