/* Google Fonts Import - Adding more variety with Montserrat for headings and Poppins for body */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Base Styles and Variables - Enhanced color scheme */
:root {
    --dark-bg: #0c0c15;
    --darker-bg: #060611;
    --lighter-bg: #13131f;
    --primary: #00b8e6 !important;
    --secondary: #0096c7;
    --dark-bg: #020b1c;
    --light-text: #ffffff;
    --transition: all 0.3s ease;
    
    --primary-light: #598cb6;
    --primary-dark: #344683; 
    --secondary: #3498db; /* Added secondary blue color */
    --accent: #2ecc71; /* Added accent green color */
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --border-color: #2a2a2a;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    --glow: 0 0 15px rgba(155, 68, 173, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(142, 68, 173, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(52, 152, 219, 0.05) 0%, transparent 20%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 120px 0;
    position: relative;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 34px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
}

.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: 0.5s;
    z-index: -1;
}

.btn:hover:before {
    left: 100%;
}

.btn:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--glow);
}

.btn-secondary {
    background: var(--secondary);
}

.btn-secondary:hover {
    background: #2980b9;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 30%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), transparent);
    bottom: -10px;
    left: 35%;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    margin-top: 25px;
}

.section-divider {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--primary);
    margin: 0 auto;
    opacity: 0.7;
}

/* Enhanced Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(6, 6, 17, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 15px 0;
    background-color: rgba(6, 6, 17, 0.95);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
}


.logo:after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    bottom: 5px;
    right: -10px;
}

.s2 {
    color: var(--primary);
    font-weight: 800;
}

.soft {
    color: white;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2), .hamburger span:nth-child(3) {
    top: 9px;
}

.hamburger span:nth-child(4) {
    top: 18px;
}

.hamburger.open span:nth-child(1) {
    top: 9px;
    width: 0%;
    left: 50%;
}


.hamburger.open span:nth-child(2) {
    transform: rotate(45deg);
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg);
}

.hamburger.open span:nth-child(4) {
    top: 9px;
    width: 0%;
    left: 50%;
}
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1002; /* Ensure hamburger stays above the menu */
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: rgba(6, 6, 17, 0.98);
        flex-direction: column;
        gap: 20px;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 1001;
        align-items: flex-start; /* Align items to the left inside the menu */
    }
    
    .nav-links.show {
        right: 0;
    }
    
    .nav-links a {
        display: block;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left; /* Ensure text aligns left */
    }
    
    /* Make sure the main content doesn't shift when menu opens */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Overlay when menu is open */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .nav-overlay.active {
        display: block;
    }
}
/* Enhanced Hero Section & Carousel */
:root {
    --primary: #00b8e6;
    --secondary: #0096c7;
    --dark-bg: #020b1c;
    --light-text: #ffffff;
    --transition: all 0.3s ease;
}

/* Hero section */
.hero {
    height: 100vh;
    position: relative;
    padding: 0;
    overflow: hidden;
    background-color: var(--dark-bg);
}

.hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--dark-bg), transparent);
    z-index: 3;
}

/* Carousel Container */
.carousel-container {
    height: 100%;
    width: 100%;
    position: relative;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Fixed: Improved slide transitions */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-out;
    /* Removed visibility:hidden to prevent image loading issues */
    pointer-events: none;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Fixed: Preload images for smoother transitions */
.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: -2;
    transform: scale(1.05);
    transition: transform 8s ease-out;
    will-change: transform;
}

.carousel-slide.active .carousel-image {
    transform: scale(1);
}

.carousel-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.carousel-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 52, 89, 0.85), rgba(0, 152, 209, 0.4));
    z-index: -1;
}

/* Content styling */
.carousel-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 0 10%;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

/* Improved animations */
.carousel-slide .carousel-content h1,
.carousel-slide .carousel-content h2,
.carousel-slide .carousel-content p,
.carousel-slide .carousel-content .btn {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0s, opacity 0s;
}

.carousel-slide.active .carousel-content h1,
.carousel-slide.active .carousel-content h2,
.carousel-slide.active .carousel-content p,
.carousel-slide.active .carousel-content .btn {
    transform: translateY(0);
    opacity: 1;
}

.carousel-slide.active .carousel-content h1 {
    transition: transform 0.8s ease-out 0.2s, opacity 0.8s ease-out 0.2s;
}

.carousel-slide.active .carousel-content h2 {
    transition: transform 0.8s ease-out 0.3s, opacity 0.8s ease-out 0.3s;
}

.carousel-slide.active .carousel-content p {
    transition: transform 0.8s ease-out 0.4s, opacity 0.8s ease-out 0.4s;
}

.carousel-slide.active .carousel-content .btn {
    transition: transform 0.8s ease-out 0.6s, opacity 0.8s ease-out 0.6s,
                background 0.3s ease, box-shadow 0.3s ease;
}

.carousel-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    color: var(--light-text);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.carousel-content .btn {
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--light-text);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-content .btn:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Navigation */
.carousel-nav {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 5;
}

.carousel-nav button {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 18px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background-color: rgba(0, 0, 0, 0.2);
}

.carousel-nav button:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    border-radius: 10px;
    top: 10%;
    left: 10%;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 120px;
    height: 120px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    top: 20%;
    right: 15%;
    animation: float 18s ease-in-out infinite reverse;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background-color: var(--secondary);
    transform: rotate(45deg);
    bottom: 15%;
    left: 20%;
    animation: float 12s ease-in-out infinite 1s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    border: 2px solid var(--secondary);
    transform: rotate(30deg);
    bottom: 25%;
    right: 10%;
    animation: float 20s ease-in-out infinite 2s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0);
    }
    25% {
        transform: translate(20px, 15px) rotate(5deg);
    }
    50% {
        transform: translate(10px, 30px) rotate(0);
    }
    75% {
        transform: translate(-15px, 10px) rotate(-5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0);
    }
}

/* Binary container style */
.binary-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

/* Particle styles */
.particle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: -1;
    pointer-events: none;
}

/* Tech Animation Background */
.tech-animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Devices Showcase */
.devices-showcase {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 4;
    text-align: center;
    padding: 80px 0;
    
    background: radial-gradient(
        circle at center,
        rgba(120, 200, 255, 0.9) 0%, 
        rgba(78, 175, 255, 0.8) 20%,
        rgba(50, 100, 146, 0.7) 40%,
        rgba(15, 30, 60, 0.8) 60%,
        rgba(0, 3, 5, 0.95) 85%,
        rgba(0, 3, 5, 1) 100%
    );
    
    overflow: hidden;
    /* box-shadow: 0 0 60px rgba(78, 175, 255, 0.4); */
}

.devices-image {
    max-width: 100%;
    height: auto;
}

/* Social Media Sidebar */
.social-sidebar {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 5;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-text);
    transition: var(--transition);
    font-size: 16px;
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--light-text);
    font-size: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Hexagon Pattern Background */
.hexagon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('path-to-hexagon-pattern.png');
    background-size: cover;
    opacity: 0.1;
    z-index: -3;
    pointer-events: none;
}

/* Gradient Circles */
.gradient-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 184, 230, 0.3) 0%, rgba(0, 184, 230, 0) 70%);
    z-index: -2;
    pointer-events: none;
}

.gradient-circle.top-right {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -150px;
}

.gradient-circle.bottom-left {
    width: 600px;
    height: 600px;
    bottom: -200px;
    left: -200px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .carousel-content h1 {
        font-size: 2.8rem;
    }
    
    .carousel-content h2 {
        font-size: 2rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    .devices-showcase {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .carousel-content h1 {
        font-size: 2.2rem;
    }
    
    .carousel-content h2 {
        font-size: 1.6rem;
    }
    
    .social-sidebar {
        right: 15px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .devices-showcase {
        bottom: -20px;
    }
}

@media (max-width: 576px) {
    .carousel-content h1 {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
    
    .carousel-content h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .carousel-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .carousel-content .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .carousel-nav button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .social-sidebar {
        display: none;
    }
    
    .devices-showcase {
        width: 100%;
        bottom: -10px;
    }
}

@media (max-width: 480px) {
    .carousel-content h1 {
        font-size: 1.5rem;
    }
    
    .carousel-content h2 {
        font-size: 1.2rem;
    }
    
    .carousel-content p {
        font-size: 0.8rem;
    }
    
    .carousel-nav {
        bottom: 30px;
        gap: 10px;
    }
    
    .carousel-nav button {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .floating-shapes .shape {
        transform: scale(0.6);
    }
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.dot:after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.dot.active:after {
    opacity: 1;
    transform: scale(1.2);
}

.dot:hover {
    background-color: var(--primary-light);
}

/* Enhanced Services Section */
.services {
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.services:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 90% 10%, rgba(142, 68, 173, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 10% 90%, rgba(52, 152, 219, 0.1) 0%, transparent 30%);
    pointer-events: none;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: rgba(19, 19, 31, 0.7);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.service-card:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, transparent, rgba(142, 68, 173, 0.1), transparent);
    z-index: -1;
    transform: scale(0.98);
    opacity: 0;
    transition: var(--transition);
    border-radius: 16px;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.service-card:hover:before {
    opacity: 1;
    transform: scale(1);
}

.service-icon {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.service-icon:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(142, 68, 173, 0.1);
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: var(--transition);
}
/* Devices Showcase Styles */
.devices-showcase {
    padding: 80px 0;
    background-color: li #0081fa;
    overflow: hidden;
    position: relative;
}

.devices-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 60px;
    position: relative;
    perspective: 1000px;
}

/* Modern Device Styles - 2025 Edition */
:root {
    --device-dark: #1a1a1a;
    --device-light: #f5f5f7;
    --device-accent: #0071e3;
    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 25px 50px rgba(0, 0, 0, 0.2);
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius-large: 14px;
    --border-radius-medium: 10px;
    --border-radius-small: 8px;
  }
  
  .device {
    position: relative;
    transition: var(--transition-smooth);
    z-index: 1;
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-soft);
  }
  
  .device .screen {
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .device .screen:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 80%);
    z-index: 2;
    pointer-events: none;
  }
  
  .device .screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* Modern Laptop Styles */

  .device.laptop {
    
  
    width: 500px;
    
    transform: perspective(1200px) rotateX(5deg);
    z-index: 3;
  }
  
  .device.laptop .screen {
    
    height: 350px;
    width: 600px;
    border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
    border: 6px solid var(--device-dark);
    border-bottom: none;
    right: 60px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    position: relative;
  }
  
  .device.laptop .screen:after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
  }
  
  .laptop-base {
    height: 18px;
    width: 600px;
    background: linear-gradient(to bottom, var(--device-dark), #111);
    border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium);
    position: relative;
    right: 60px;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.5);
  }
  
  .laptop-base:before {
    content: '';
    position: absolute;
    width: 30%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    top: 7px;
    left: 35%;
    border-radius: 2px;
  }
  
  .laptop-base:after {
    content: '';
    position: absolute;
    width: 110%;
    height: 5px;
    background: #111;
    bottom: -5px;
    left: -5%;
    border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium);
  }
  
  /* Modern Tablet Styles */
  .device.tablet {
    width: 250px;
    height: 350px;
    left : 5%;
    border-radius: var(--border-radius-large);
    border: 6px solid var(--device-dark);
    margin-top: 40px;
    transform: perspective(1200px) rotateY(-10deg);
    z-index: 2;
    overflow: hidden;
    box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.5);

  }
  
  .device.tablet:before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
  }
  
  .device.tablet:after {
    content: '';
    position: absolute;
    width: 35px;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
  }
  
  .device.tablet .screen {
    height: 100%;
    border-radius: var(--border-radius-small);
  }
  
  /* Modern Mobile Styles */
  .device.mobile {
    width: 150px;
    height: 330px;
    left : 8%;
    border-radius: 30px;
    border: 5px solid var(--device-dark);
    margin-top: 60px;
    transform: perspective(1200px) rotateY(-20deg);
    z-index: 1;
    overflow: hidden;
    background-color: var(--device-dark);
    box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.5);

  }
  
  .device.mobile .screen {
    height: calc(100% - 0px);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
  }
  
  .device.mobile .screen:before {
    content: '';
    position: absolute;
    width: 50%;
    height: 25px;
    background-color: var(--device-dark);
    border-radius: 0 0 15px 15px;
    top: 0;
    left: 25%;
    z-index: 10;
    
  }
  
  .mobile-notch {
    position: absolute;
    width: 60px;
    height: 2px;
    background-color: var(--device-dark);
    border-radius: 0 0 12px 12px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .mobile-notch:before {
    content: '';
    width: 8px;
    height: 2px;
    background-color: rgba(50, 50, 50, 0.9);
    border-radius: 50%;
    position: absolute;
  }
  
  .mobile-buttons {
    position: absolute;
    width: 3px;
    height: 40px;
    background-color: #222;
    right: -8px;
    top: 100px;
    border-radius: 3px 0 0 3px;
  }
  
  .mobile-buttons:before {
    content: '';
    position: absolute;
    width: 3px;
    height: 60px;
    background-color: #222;
    top: 60px;
    border-radius: 3px 0 0 3px;
  }
  
  .mobile-buttons:after {
    content: '';
    position: absolute;
    width: 3px;
    height: 40px;
    background-color: #222;
    left: -9px;
    top: 30px;
    border-radius: 0 3px 3px 0;
  }
  
  /* Dynamic color effects */
  .device:before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, transparent 70%, rgba(255, 255, 255, 0.1), transparent);
    z-index: 10;
    border-radius: inherit;
    pointer-events: none;
  }
  
  /* Enhanced hover effects */
  .device:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: var(--shadow-strong);
    z-index: 10;
  }
  
  .device.laptop:hover {
    transform: perspective(1200px) rotateX(5deg) translateY(-15px) scale(1.03);
  }
  
  .device.tablet:hover {
    transform: perspective(1200px) rotateY(-10deg) translateY(-15px) scale(1.03);
  }
  
  .device.mobile:hover {
    transform: perspective(1200px) rotateY(-20deg) translateY(-15px) scale(1.03);
  }
  
  .device:hover .screen:before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 80%);
  }
  
  /* Responsive Styles */
  @media (max-width: 992px) {
    .device.laptop {
      width: 420px;
    }
    .device.laptop .screen {
      height: 260px;
    }
    .device.tablet {
      width: 210px;
      height: 320px;
    }
    .device.mobile {
      width: 140px;
      height: 290px;
    }
  }
  
  @media (max-width: 768px) {
    .devices-container {
      flex-direction: column;
      gap: 40px;
      padding: 20px;
    }
    .device.laptop, .device.tablet, .device.mobile {
      transform: none;
      margin-top: 20px;
      margin-bottom: 20px;
    }
    .device.laptop {
      width: 85%;
      max-width: 420px;
    }
    .device.tablet {
      width: 65%;
      max-width: 210px;
    }
    .device.mobile {
      width: 45%;
      max-width: 140px;
    }
    .device:hover {
      transform: translateY(-8px) scale(1.02);
    }
  }
.about:before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(142, 68, 173, 0.1) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    border-radius: 50%;
    z-index: -1;
}

.about:after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    bottom: -250px;
    left: -250px;
    border-radius: 50%;
    z-index: -1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.about-image:before {
    content: '';
    position: absolute;
    top: -20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary);
    border-radius: 20px;
    z-index: -1;
    transform: translateZ(-10px);
    transition: var(--transition);
}

.about-image:hover:before {
    transform: translate(-10px, 10px) translateZ(-10px);
}

.about-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.about-text ul {
    margin-bottom: 30px;
}

.about-text ul li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: var(--text-muted);
}

.about-text ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    background-color: rgba(19, 19, 31, 0.7);
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: var(--transition);
    z-index: -1;
}

.stat-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.stat-item:hover:before {
    height: 100%;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.stat-label {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.stat-item:hover .stat-number,
.stat-item:hover .stat-label {
    transform: translateY(-3px);
}
/* Device Carousel Styles */
.device-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.device-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: translateX(100%); /* Start from right */
}

.device-slide.active {
    opacity: 1;
    transform: translateX(0); /* Centered */
    z-index: 2;
}


/* Make sure images fit within the slides */
.device-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.device-carousel.sliding .device-slide {
    transition: transform 0.5s ease;
}
.device-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Ensure consistent device sizing regardless of content */


.device.tablet .screen,
.device.mobile .screen {
    position: relative;
    overflow: hidden;
}
/* Enhanced Portfolio Section */
.portfolio {
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.portfolio:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(142, 68, 173, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.08) 0%, transparent 30%);
    pointer-events: none;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    position: relative;
}

.filter-btn {
    background: rgba(19, 19, 31, 0.7);
    border: 1px solid var(--border-color);
    padding: 10px 25px;
    border-radius: 30px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.filter-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.filter-btn.active, .filter-btn:hover {
    color: white;
    border-color: var(--primary);
}

.filter-btn.active:before, .filter-btn:hover:before {
    transform: scaleX(1);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 300px;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(12, 12, 21, 0.9), rgba(142, 68, 173, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    font-size: 24px;
    margin-bottom: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s,
                opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

.portfolio-overlay p {
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s,
                opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.portfolio-links {
    display: flex;
    gap: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s,
                opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .portfolio-links {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.portfolio-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

/* Enhanced Testimonials Section */
.testimonials {
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}


.testimonials:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 85% 15%, rgba(142, 68, 173, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 15% 85%, rgba(52, 152, 219, 0.08) 0%, transparent 25%);
    pointer-events: none;
}

.testimonial-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

/* Continue from where the CSS left off */

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.testimonial-content {
    background-color: rgba(19, 19, 31, 0.9);
    padding: 50px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.testimonial-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(142, 68, 173, 0.1), transparent);
    z-index: -1;
    transform: scale(0.98);
    opacity: 0;
    transition: var(--transition);
    border-radius: 16px;
}

.testimonial-content:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.testimonial-content:hover:before {
    opacity: 1;
    transform: scale(1);
}

.testimonial-quote {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.testimonial-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    transition: var(--transition);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: var(--transition);
}

.testimonial-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    transition: var(--transition);
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 20px;
    margin-bottom: 5px;
    transition: var(--transition);
}

.testimonial-author p {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.testimonial-dots .dot:after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.testimonial-dots .dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.testimonial-dots .dot.active:after {
    opacity: 1;
    transform: scale(1.2);
}


.testimonial-dots .dot:hover {
    background-color: var(--primary-light);
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-slide.active .testimonial-content {
    animation: fadeIn 0.8s ease-out;
}

/* Add Hover Effect to Author Image */
.testimonial-author img:hover {
    transform: scale(1.1);
    border-color: var(--primary-light);
}

/* Add Glow Effect to Active Testimonial */
.testimonial-slide.active .testimonial-content {
    box-shadow: 0 0 20px rgba(142, 68, 173, 0.5);
}
/* Enhanced Contact Section */
.contact {
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.contact:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(142, 68, 173, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.08) 0%, transparent 30%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    background-color: rgba(19, 19, 31, 0.9);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(142, 68, 173, 0.1), transparent);
    z-index: -1;
    transform: scale(0.98);
    opacity: 0;
    transition: var(--transition);
    border-radius: 16px;
}

.contact-info:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.contact-info:hover:before {
    opacity: 1;
    transform: scale(1);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    transition: var(--transition);
}

.info-item i {
    font-size: 24px;
    color: var(--primary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(142, 68, 173, 0.1);
    transition: var(--transition);
}

.info-item:hover i {
    background-color: var(--primary);
    color: white;
}

.info-item h3 {
    font-size: 20px;
    margin-bottom: 5px;
    transition: var(--transition);
}

.info-item p {
    font-size: 16px;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background-color: rgba(142, 68, 173, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.contact-form {
    background-color: rgba(19, 19, 31, 0.9);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(142, 68, 173, 0.1), transparent);
    z-index: -1;
    transform: scale(0.98);
    opacity: 0;
    transition: var(--transition);
    border-radius: 16px;
}

.contact-form:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.contact-form:hover:before {
    opacity: 1;
    transform: scale(1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: transparent;
    color: var(--text-light);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 10px rgba(142, 68, 173, 0.5);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Enhanced Footer */
footer {
    background-color: var(--darker-bg);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 85% 15%, rgba(142, 68, 173, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 15% 85%, rgba(52, 152, 219, 0.08) 0%, transparent 25%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo .s2 {
    color: var(--primary);
    font-weight: 800;
}

.footer-logo .soft {
    color: white;
    font-weight: 800;
}

.footer-logo p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 15px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-muted);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .testimonial-content {
        padding: 20px;
    }

    .contact-form {
        padding: 20px;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(142, 68, 173, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(142, 68, 173, 0.8);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Additional Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.pt-60 {
    padding-top: 60px;
}

.pb-60 {
    padding-bottom: 60px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}