/* Space Grotesk font is loaded via non-blocking <link> in HTML for performance */
/* font-display: swap is applied via the Google Fonts API ?display=swap parameter */

/* ==================== CSS VARIABLES ==================== */
:root {
    --primary: #c81ad8;
    --primary-dark: #a80fa0;
    --primary-light: #e060f0;
    --secondary: #00d4ff;
    --secondary-light: #4de5ff;
    --accent: #ff6b35;
    --pink: #ff3eb5;
    --purple: #8b3ff7;
    --dark: #0a0a1a;
    --darker: #050510;
    --card-bg: #11112a;
    --card-bg-light: #1a1a35;
    --border: rgba(200, 26, 216, 0.15);
    --gray: #9ca3af;
    --gray-light: #d1d5db;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #d81ace 0%, #00d4ff 100%);
    --gradient-2: linear-gradient(135deg, #230a28 0%, #d81a99 100%);
    --gradient-3: linear-gradient(135deg, #8b3ff7 0%, #ff3eb5 50%, #00d4ff 100%);
    --gradient-card: linear-gradient(145deg, rgba(200, 26, 216, 0.05), rgba(0, 212, 255, 0.05));
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 10px 40px rgba(200, 26, 216, 0.3);
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--dark);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    padding: 0 15px;
}

.section-tag {
    display: inline-block;
    background: rgba(200, 26, 216, 0.1);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(200, 26, 216, 0.2);
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--white);
}

.section-header p {
    color: var(--gray);
    font-size: 16px;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ==================== PRELOADER ==================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--darker);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.6s;
    overflow: hidden;
}

/* Star Field Background */
.preloader::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 200px 50px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 250px 90px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 300px 30px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 350px 70px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 400px 110px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 450px 40px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 500px 80px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 550px 20px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 600px 60px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 650px 100px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 700px 30px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 750px 70px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 800px 110px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 850px 50px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 900px 90px, rgba(255, 255, 255, 0.7), transparent);
    background-size: 1000px 1000px;
    background-position: 0 0;
    z-index: 1;
    animation: twinkle 4s ease-in-out infinite alternate;
}

/* Cybernetic Grid Background */
.preloader-stars {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    z-index: 2;
    animation: gridPulse 4s infinite ease-in-out;
}

/* Sci-fi Scanline Overlay */
.preloader::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0) 0%,
        rgba(0, 212, 255, 0.04) 10%,
        rgba(0, 212, 255, 0.06) 11%,
        rgba(10, 10, 26, 0) 12%,
        rgba(10, 10, 26, 0) 100%
    );
    background-size: 100% 200%;
    z-index: 3;
    animation: scanline 8s linear infinite;
    pointer-events: none;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader.hide .loader-content {
    transform: scale(0.85);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

.loader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 450px;
    height: 450px;
    z-index: 3;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease;
}

/* Floating IT Icons */
.loader-float-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.float-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 12px;
    background: rgba(17, 17, 42, 0.9);
    border: 2px solid rgba(200, 26, 216, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(200, 26, 216, 0.2);
    backdrop-filter: blur(10px);
}

.float-icon i {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Position icons in a circle around the vertical element */
.icon1 {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation: floatIcon1 3s ease-in-out infinite;
}

.icon2 {
    top: 15%;
    right: 5%;
    animation: floatIcon2 3s ease-in-out infinite 0.4s;
}

.icon3 {
    top: 35%;
    right: 3%;
    animation: floatIcon3 3s ease-in-out infinite 0.8s;
}

.icon4 {
    top: 55%;
    right: 5%;
    animation: floatIcon4 3s ease-in-out infinite 1.2s;
}

.icon5 {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation: floatIcon5 3s ease-in-out infinite 1.6s;
}

.icon6 {
    bottom: 15%;
    left: 5%;
    animation: floatIcon6 3s ease-in-out infinite 2s;
}

.icon7 {
    bottom: 35%;
    left: 3%;
    animation: floatIcon7 3s ease-in-out infinite 2.4s;
}

.icon8 {
    bottom: 55%;
    left: 5%;
    animation: floatIcon8 3s ease-in-out infinite 2.8s;
}

@keyframes floatIcon1 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-15px); }
}

@keyframes floatIcon2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes floatIcon3 {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-12px); }
}

@keyframes floatIcon4 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes floatIcon5 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-15px); }
}

@keyframes floatIcon6 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes floatIcon7 {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(12px); }
}

@keyframes floatIcon8 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Loader Text */
.loader-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.loader-logo {
    width: 80px;
    height: auto;
    animation: logoGlowPulse 2s infinite ease-in-out;
}

.loader-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    align-items: center;
}

.loader-brand .logo-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    animation: textGlow 2s ease-in-out infinite;
}

.loader-brand .logo-sub {
    font-size: 14px;
    color: var(--gray);
    letter-spacing: 3px;
    font-weight: 500;
    margin-top: 5px;
}

.loader-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: taglinePulse 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

@keyframes textGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(200, 26, 216, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(200, 26, 216, 0.6));
    }
}

@keyframes taglinePulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

@keyframes twinkle {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes scanline {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 200%; }
}

@keyframes textBlink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes logoGlowPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3)) brightness(0.9);
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(200, 26, 216, 0.6)) brightness(1.1);
    }
}

@keyframes loaderSpinClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loaderSpinCounterClockwise {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: var(--darker);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info span {
    margin-right: 20px;
    color: var(--gray-light);
}

.contact-info i {
    color: var(--secondary);
    margin-right: 6px;
}

.social-icons a {
    display: inline-flex;
    width: 30px;
    height: 30px;
    background: rgba(200, 26, 216, 0.1);
    border: 1px solid var(--border);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    transition: 0.3s;
    font-size: 13px;
    color: var(--white);
}

.social-icons a:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-3px);
}

/* ==================== HEADER ==================== */
.header {
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: 0.3s;
    border-bottom: 1px solid var(--border);
}

.header.scrolled {
    padding: 5px 0;
    background: rgba(5, 5, 16, 0.95);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
    gap: 15px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 2px;
    font-weight: 500;
}

/* Nav */
.nav-list {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-light);
    position: relative;
    transition: 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    min-width: 250px;
    padding: 15px 0;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-link {
    display: block;
    padding: 10px 25px;
    color: var(--gray-light);
    font-weight: 500;
    font-size: 14px;
    transition: 0.3s;
    white-space: nowrap;
}

.dropdown-link:hover {
    color: var(--white);
    background: rgba(200, 26, 216, 0.1);
    padding-left: 30px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(200, 26, 216, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    background: var(--gradient-2);
    color: var(--white);
    padding: 100px 0 80px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(200, 26, 216, 0.15), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.15), transparent 50%);
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.c1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: var(--primary);
}

.c2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    background: var(--secondary);
}

.c3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 40%;
    background: var(--pink);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.tag {
    display: inline-block;
    background: rgba(0, 212, 255, 0.15);
    color: var(--secondary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-text p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stats .stat h3 {
    font-size: 36px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-stats .stat p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 450px;
}

.hero-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: var(--white);
    box-shadow: 0 20px 60px rgba(200, 26, 216, 0.5);
    animation: pulse 3s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.float-card {
    position: absolute;
    background: rgba(17, 17, 42, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.float-card i {
    color: var(--secondary);
    font-size: 20px;
}

.card1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.card2 {
    top: 30%;
    right: 0;
    animation-delay: 0.5s;
}

.card3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 1s;
}

.card4 {
    bottom: 5%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ==================== ABOUT ==================== */
.about {
    background: var(--dark);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.img-wrapper {
    background: var(--gradient-2);
    border-radius: 20px;
    padding: 50px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

.tech-grid i {
    color: var(--white);
    font-size: 40px;
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-grid i:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: rotate(360deg);
}

.exp-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border);
}

.exp-badge h3 {
    font-size: 40px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.exp-badge span {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

.about-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--white);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.about-list {
    margin: 25px 0;
}

.about-list li {
    padding: 8px 0;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-list i {
    color: var(--secondary);
    font-size: 18px;
}

/* ==================== SERVICES ==================== */
.services {
    background: var(--darker);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 35px 30px;
    border-radius: 20px;
    transition: 0.3s;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
    margin-bottom: 20px;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(200, 26, 216, 0.3);
}

.service-card:hover .service-icon {
    transform: rotate(-10deg) scale(1.05);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--white);
}

.service-card p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.service-link {
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.service-link:hover {
    gap: 10px;
    color: var(--primary);
}

/* ==================== PRODUCTS ==================== */
.products {
    background: var(--dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.product-img {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    transition: 0.5s;
}

.product-card:hover .product-img {
    transform: rotate(360deg);
}

.product-card h3 {
    font-size: 17px;
    margin-bottom: 5px;
    color: var(--white);
}

.product-card p {
    color: var(--gray);
    font-size: 13px;
}

/* ==================== WHY US ==================== */
.why-us {
    background: var(--darker);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--card-bg);
    border-radius: 20px;
    transition: 0.3s;
    border: 1px solid var(--border);
}

.why-card:hover {
    background: var(--gradient-2);
    border-color: transparent;
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.why-card:hover h3,
.why-card:hover p {
    color: var(--white);
}

.why-card:hover .why-icon {
    background: var(--white);
    color: var(--primary);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(200, 26, 216, 0.3);
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--white);
    transition: 0.3s;
}

.why-card p {
    color: var(--gray);
    font-size: 14px;
    transition: 0.3s;
}

/* ==================== COUNTER ==================== */
.counter {
    background: var(--gradient-2);
    padding: 70px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.counter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    position: relative;
}

.counter-box i {
    font-size: 40px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: inline-block;
}

.counter-box h3 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--white);
}

.counter-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    background: var(--dark);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.testimonial-card {
    min-width: calc(33.333% - 20px);
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-card p {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

.client {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-img {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.client h4 {
    font-size: 16px;
    color: var(--white);
}

.client span {
    font-size: 13px;
    color: var(--gray);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dots .dot.active {
    background: var(--gradient);
    width: 30px;
    border-radius: 5px;
}

/* ==================== CLIENT LOGOS CAROUSEL ==================== */
.clients-section {
    background: var(--darker);
    padding: 80px 0 60px;
    overflow: hidden;
}

.logo-carousel {
    overflow: hidden;
    padding: 30px 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 40px;
    animation: scroll-logos 30s linear infinite;
    width: max-content;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    padding: 18px 30px;
    border-radius: 50px;
    border: 1px solid var(--border);
    min-width: 200px;
    justify-content: center;
    transition: 0.3s;
    flex-shrink: 0;
}

.logo-item:hover {
    border-color: var(--primary);
    background: var(--card-bg-light);
    transform: scale(1.05);
}

.logo-item i {
    font-size: 24px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-item span {
    font-weight: 600;
    color: var(--white);
    font-size: 16px;
    white-space: nowrap;
}

.logo-item img {
    max-height: 60px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==================== CAREERS ==================== */
.careers {
    background: var(--dark);
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.career-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: 0.3s;
    text-align: center;
}

.career-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.career-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(200, 26, 216, 0.3);
}

.career-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--white);
}

.career-card p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 20px;
}

.career-benefits {
    text-align: left;
    display: inline-block;
}

.career-benefits li {
    color: var(--gray-light);
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.career-benefits i {
    color: var(--secondary);
    font-size: 12px;
}

.career-cta {
    text-align: center;
    background: var(--card-bg-light);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.career-cta p {
    margin-bottom: 20px;
    font-size: 17px;
    color: var(--white);
}

.career-cta a {
    color: var(--secondary);
    font-weight: 600;
}

/* ==================== CONTACT ==================== */
.contact {
    background: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-card {
    background: var(--gradient-2);
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    opacity: 0.2;
    filter: blur(40px);
}

.contact-info-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--white);
}

.contact-info-card>p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 15px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
}

.info-item i {
    width: 45px;
    height: 45px;
    background: rgba(0, 212, 255, 0.15);
    color: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.info-item h4 {
    font-size: 16px;
    margin-bottom: 3px;
    color: var(--white);
}

.info-item span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.contact-form-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid var(--border);
    background: var(--darker);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: 0.3s;
    color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--card-bg-light);
}

.form-group label {
    position: absolute;
    left: 18px;
    top: 15px;
    color: var(--gray);
    pointer-events: none;
    transition: 0.3s;
    background: var(--darker);
    padding: 0 5px;
    font-size: 14px;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c81ad8' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.form-group select option {
    background: var(--card-bg);
    color: var(--white);
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    display: block;
    border: 1px solid #10b981;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    display: block;
    border: 1px solid #ef4444;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col p {
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.7;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
    font-size: 14px;
}

.footer-col ul a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.footer-logo img {
    height: 45px;
}

.footer-logo .logo-fallback {
    display: flex;
}

.footer-logo .logo-name {
    font-size: 20px;
}

.footer-logo .logo-sub {
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    background: rgba(200, 26, 216, 0.1);
    border: 1px solid var(--border);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: 0.3s;
    color: var(--white);
}

.footer-social a:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-3px);
}

.newsletter {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 5px;
    margin-top: 15px;
}

.newsletter input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--white);
    padding: 10px 15px;
    font-family: inherit;
    font-size: 14px;
    min-width: 0;
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter input:focus {
    outline: none;
}

.newsletter button {
    background: var(--gradient);
    color: var(--white);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0;
}

.newsletter button:hover {
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom i {
    color: var(--accent);
}

.footer-brand-link {
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-brand-link:hover {
    filter: brightness(1.2);
    transform: translateY(-1px);
}

.developer-link {
    color: var(--secondary);
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
    font-size: 13px;
    display: inline-block;
}

.developer-link:hover {
    color: var(--white);
    text-shadow: 0 0 10px var(--secondary), 0 0 20px var(--secondary);
    transform: translateY(-2px);
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    transition: 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ==================== WHATSAPP ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =====================================================
   RESPONSIVE - ALL SPECIFIED VIEWPORTS
   ===================================================== */

/* Large Tablets & Small Laptops: 1024x1366, 1024x600, 1280x800 */
@media (max-width: 1280px) {
    .hero-text h1 {
        font-size: 50px;
    }

    .section-header h2 {
        font-size: 38px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }

    .hero-text h1 {
        font-size: 44px;
    }

    .section-header h2 {
        font-size: 34px;
    }

    .nav-list {
        gap: 25px;
    }

    .nav-link {
        font-size: 14px;
    }

    .hero-icon {
        width: 220px;
        height: 220px;
        font-size: 85px;
    }

    .float-card {
        padding: 12px 16px;
        font-size: 13px;
    }

    .float-card i {
        font-size: 18px;
    }

    .about-grid {
        gap: 40px;
    }

    .contact-grid {
        gap: 30px;
    }
}

/* Tablets: 912x1368, 853x1280, 820x1180, 786x1024 */
@media (max-width: 991px) {

    .hero-content,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .hero-image {
        height: 350px;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-card {
        min-width: calc(50% - 15px);
    }

    .about-image {
        max-width: 450px;
        margin: 0 auto;
    }

    .counter-box h3 {
        font-size: 42px;
    }
}

@media (max-width: 853px) {
    .nav-list {
        gap: 20px;
    }

    .nav-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .hero-stats {
        gap: 30px;
    }
}

@media (max-width: 820px) {
    .menu-toggle {
        display: flex;
    }

    .nav-btn {
        display: none;
    }

    .navbar {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(5, 5, 16, 0.98);
        backdrop-filter: blur(20px);
        transition: 0.3s;
        padding: 30px;
        overflow-y: auto;
    }

    .navbar.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 25px;
    }

    .nav-link {
        font-size: 18px;
    }

    .top-content {
        justify-content: center;
        text-align: center;
    }

    .contact-info span {
        display: block;
        margin: 5px 0;
    }

    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .testimonial-card {
        min-width: 100%;
    }

    .logo-item {
        min-width: 180px;
        padding: 15px 25px;
    }

    .logo-track {
        gap: 25px;
    }
}

@media (max-width: 786px) {
    .hero-buttons {
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social a {
        margin: 0 4px;
    }

    .footer-logo {
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .info-item {
        text-align: left;
    }
}

/* Mobile Devices: 540x720, 430x932, 414x896, 414x914, 412x915, 412x912, 412x896, 400x673, 390x844, 375x667, 360x740, 344x882 */
@media (max-width: 540px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-text h1 {
        font-size: 32px;
        line-height: 1.15;
    }

    .hero-text p {
        font-size: 15px;
    }

    .hero-stats {
        gap: 20px;
        justify-content: space-between;
        width: 100%;
    }

    .hero-stats .stat h3 {
        font-size: 28px;
    }

    .hero-stats .stat p {
        font-size: 13px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .section-header p {
        font-size: 14px;
    }

    .hero-image {
        height: 300px;
    }

    .hero-icon {
        width: 160px;
        height: 160px;
        font-size: 60px;
    }

    .float-card {
        padding: 8px 12px;
        font-size: 11px;
        gap: 6px;
    }

    .float-card i {
        font-size: 14px;
    }

    .card1 {
        top: 5%;
        left: 0;
    }

    .card2 {
        top: 25%;
        right: 0;
    }

    .card3 {
        bottom: 25%;
        left: 0;
    }

    .card4 {
        bottom: 5%;
        right: 0;
    }

    .about-content h3 {
        font-size: 24px;
    }

    .about-image {
        max-width: 100%;
    }

    .img-wrapper {
        padding: 30px;
    }

    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .tech-grid i {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .exp-badge {
        right: 10px;
        bottom: -20px;
        padding: 15px 20px;
    }

    .exp-badge h3 {
        font-size: 28px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        padding: 20px 15px;
    }

    .product-img {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .product-card h3 {
        font-size: 15px;
    }

    .product-card p {
        font-size: 12px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-card {
        padding: 30px 20px;
    }

    .counter {
        padding: 50px 0;
    }

    .counter-grid {
        gap: 20px;
    }

    .counter-box h3 {
        font-size: 36px;
    }

    .counter-box i {
        font-size: 32px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 25px 20px;
    }

    .contact-info-card h3 {
        font-size: 24px;
    }

    .info-item {
        gap: 12px;
        margin-bottom: 20px;
    }

    .info-item i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .info-item h4 {
        font-size: 15px;
    }

    .info-item span {
        font-size: 13px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .form-group label {
        left: 15px;
        top: 12px;
        font-size: 13px;
    }

    .btn {
        padding: 11px 22px;
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        left: 20px;
    }

    .top-bar {
        font-size: 12px;
    }

    .logo-name {
        font-size: 18px;
    }

    .logo-sub {
        font-size: 10px;
    }

    .clients-section {
        padding: 60px 0 40px;
    }

    .logo-item {
        min-width: 160px;
        padding: 12px 20px;
    }

    .logo-item i {
        font-size: 20px;
    }

    .logo-item span {
        font-size: 14px;
    }

    .footer {
        padding: 60px 0 0;
    }

    .footer-col h3 {
        font-size: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 430px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .hero-icon {
        width: 140px;
        height: 140px;
        font-size: 55px;
    }

    .float-card span {
        display: none;
    }

    .float-card {
        padding: 10px;
    }

    .float-card i {
        font-size: 18px;
    }

    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .tech-grid i {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 26px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-stats .stat h3 {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .img-wrapper {
        padding: 20px;
    }

    .exp-badge {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 20px;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 12px;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .logo-name {
        font-size: 16px;
    }

    .hero-icon {
        width: 120px;
        height: 120px;
        font-size: 45px;
    }
}

@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 22px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .nav-list {
        gap: 18px;
    }
}

@media (max-width: 344px) {
    .hero-text h1 {
        font-size: 20px;
    }

    .hero-stats .stat h3 {
        font-size: 20px;
    }
}

/* Landscape orientation for small devices */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-content {
        gap: 30px;
    }
}

/* High-resolution / Retina */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .tech-grid i,
    .product-img,
    .why-icon,
    .service-icon {
        -webkit-font-smoothing: antialiased;
    }
}