﻿/* ===================================
   Technoriz IT - Main Stylesheet (Fixed Zoom Issue)
   =================================== */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #64748b;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-2: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    width: 100%;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

    .navbar.scrolled {
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 0.9375rem 0;
        box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    }

.nav-brand {
    display: flex;
    align-items: center;
    margin-left: -1.25rem;
}

    .nav-brand a {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--light);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 0.625rem;
    }

    .nav-brand span {
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .nav-brand i {
        color: var(--primary);
        font-size: 1.8rem;
    }

.nav-logo {
    height: 5.625rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.1875rem;
    margin: 0;
    padding: 0;
}

    .nav-menu a {
        color: var(--light);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        position: relative;
        transition: color 0.3s;
        white-space: nowrap;
    }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient);
            transition: width 0.3s;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

        .nav-menu a:hover {
            color: var(--primary);
        }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

    .nav-toggle span {
        width: 25px;
        height: 2px;
        background: var(--light);
        transition: all 0.3s;
        display: block;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 7.5rem 0 5rem;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3.75rem;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 50rem;
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 3.125rem;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 1.875rem;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5625rem;
    word-wrap: break-word;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 37.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.75rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.9375rem 2.1875rem;
    border-radius: 3.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
    min-height: 48px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
    }

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid rgba(255,255,255,0.2);
}

    .btn-outline:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

.btn-white {
    background: white;
    color: var(--primary);
}

    .btn-white:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

.btn-block {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 3.125rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-img {
    text-align: right;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    max-width: 50%;
}

    .hero-img img {
        width: 100%;
        max-width: 30rem;
        height: auto;
    }

.hero-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.shape-1 {
    width: 25rem;
    height: 25rem;
    background: var(--primary);
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 18.75rem;
    height: 18.75rem;
    background: var(--secondary);
    bottom: 20%;
    right: 30%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 12.5rem;
    height: 12.5rem;
    background: var(--accent);
    top: 40%;
    right: 5%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

/* ===================================
   SECTION STYLES
   =================================== */
section {
    padding: 6.25rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.75rem;
}

.section-tag {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.3125rem 1.25rem;
    border-radius: 3.125rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.9375rem;
    word-wrap: break-word;
}

.section-header p {
    color: var(--gray);
    font-size: clamp(1rem, 2vw, 1.1rem);
    max-width: 37.5rem;
    margin: 0 auto;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1.875rem;
}

.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 1.25rem;
    padding: 2.5rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--gradient);
        transform: scaleX(0);
        transition: transform 0.4s;
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    .service-card:hover {
        transform: translateY(-10px);
        background: rgba(255,255,255,0.05);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

.service-icon {
    width: 4.375rem;
    height: 4.375rem;
    background: var(--gradient);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5625rem;
    flex-shrink: 0;
}

    .service-icon i {
        font-size: 1.8rem;
        color: white;
    }

.service-card h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 0.9375rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
    margin-top: auto;
}

    .service-link:hover {
        gap: 0.9375rem;
    }

/* ===================================
   WHY US SECTION
   =================================== */
.why-us {
    background: rgba(255,255,255,0.02);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-us-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    margin-bottom: 1.25rem;
    word-wrap: break-word;
}

.why-us-content > p {
    color: var(--gray);
    margin-bottom: 1.875rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
    padding: 0;
}

    .feature-list li {
        display: flex;
        align-items: center;
        gap: 0.9375rem;
        margin-bottom: 1.25rem;
        font-size: clamp(1rem, 2vw, 1.1rem);
    }

    .feature-list i {
        color: var(--accent);
        font-size: 1.3rem;
        flex-shrink: 0;
    }

.tech-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.tech-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.9375rem;
    padding: 1.5625rem;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
}

    .tech-item:hover {
        background: var(--gradient);
        transform: translateY(-5px);
    }

    .tech-item i {
        display: block;
        font-size: 2.5rem;
        margin-bottom: 0.625rem;
        color: var(--primary);
    }

    .tech-item:hover i {
        color: white;
    }

/* ===================================
   PORTFOLIO SECTION
   =================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1.875rem;
}

.portfolio-card {
    background: rgba(255,255,255,0.03);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .portfolio-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

.portfolio-image {
    position: relative;
    height: 15.625rem;
    overflow: hidden;
    flex-shrink: 0;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(236,72,153,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

    .portfolio-placeholder i {
        font-size: 4rem;
        color: rgba(255,255,255,0.3);
    }

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    width: 3.75rem;
    height: 3.75rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transform: scale(0);
    transition: transform 0.3s;
    text-decoration: none;
}

.portfolio-card:hover .portfolio-link {
    transform: scale(1);
}

.portfolio-info {
    padding: 1.875rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-category {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-info h3 {
    margin: 0.625rem 0;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    word-wrap: break-word;
}

.portfolio-info p {
    color: var(--gray);
    margin-bottom: 0.9375rem;
    flex-grow: 1;
}

.portfolio-tech {
    margin-top: 0.3125rem;
    margin-bottom: 0.3125rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    display: inline-block;
    background: rgba(99,102,241,0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 1.25rem;
    font-size: 0.8rem;
}

/* ===================================
   TEAM SECTION
   =================================== */
.team-section {
    background: rgba(255,255,255,0.02);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
    gap: 1.875rem;
}

.team-card {
    text-align: center;
    padding: 2.5rem 1.875rem;
    background: rgba(255,255,255,0.03);
    border-radius: 1.25rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
    height: 100%;
}

    .team-card:hover {
        transform: translateY(-10px);
        background: rgba(255,255,255,0.05);
    }

.team-avatar {
    width: 7.5rem;
    height: 7.5rem;
    margin: 0 auto 1.5625rem;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.team-card h3 {
    margin-bottom: 0.3125rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.team-position {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.team-card p {
    color: var(--gray);
    margin-top: 0.9375rem;
    font-size: 0.95rem;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: var(--gradient);
    text-align: center;
    padding: 5rem 0;
}

.cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 0.9375rem;
    word-wrap: break-word;
}

.cta-content p {
    margin-bottom: 1.875rem;
    opacity: 0.9;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark);
    padding: 5rem 0 1.875rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3.125rem;
    margin-bottom: 3.125rem;
}

.footer-brand h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    word-wrap: break-word;
}

    .footer-brand h3 i {
        color: var(--primary);
        flex-shrink: 0;
    }

.footer-brand p {
    color: var(--gray);
    margin-bottom: 1.5625rem;
}

.social-links {
    display: flex;
    gap: 0.9375rem;
    flex-wrap: wrap;
}

    .social-links a {
        width: 2.5rem;
        height: 2.5rem;
        background: rgba(255,255,255,0.05);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gray);
        text-decoration: none;
        transition: all 0.3s;
        flex-shrink: 0;
    }

        .social-links a:hover {
            background: var(--gradient);
            color: white;
            transform: translateY(-3px);
        }

.footer h4 {
    margin-bottom: 1.5625rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer ul li {
        margin-bottom: 0.75rem;
    }

    .footer ul a {
        color: var(--gray);
        text-decoration: none;
        transition: color 0.3s;
        display: inline-block;
    }

        .footer ul a:hover {
            color: var(--primary);
        }

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--gray);
    word-break: break-word;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 5px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.875rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--gray);
}

/* ===================================
   PAGE HEADER
   =================================== */
.page-header {
    padding: 9.375rem 0 5rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(99,102,241,0.1) 0%, transparent 100%);
}

    .page-header h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
        margin-bottom: 0.9375rem;
        word-wrap: break-word;
    }

    .page-header p {
        color: var(--gray);
        font-size: clamp(1rem, 2vw, 1.2rem);
    }

/* ===================================
   SERVICES PAGE
   =================================== */
.services-detailed-grid {
    display: grid;
    gap: 2.5rem;
}

.service-detailed-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 1.25rem;
    padding: 3.125rem;
    transition: all 0.3s;
    align-items: start;
}

    .service-detailed-card:hover {
        background: rgba(255,255,255,0.05);
        transform: translateX(10px);
    }

.service-icon-large {
    width: 6.25rem;
    height: 6.25rem;
    background: var(--gradient);
    border-radius: 1.5625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .service-icon-large i {
        font-size: 2.5rem;
        color: white;
    }

.service-content h2 {
    margin-bottom: 0.9375rem;
    word-wrap: break-word;
}

.service-content > p {
    color: var(--gray);
    margin-bottom: 1.5625rem;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9375rem;
    margin-bottom: 1.875rem;
    padding: 0;
}

    .service-features li {
        display: flex;
        align-items: center;
        gap: 0.625rem;
    }

    .service-features i {
        color: var(--accent);
        flex-shrink: 0;
    }

/* ===================================
   PORTFOLIO PAGE
   =================================== */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 0.9375rem;
    margin-bottom: 3.125rem;
    flex-wrap: wrap;
}

    .portfolio-filter a {
        padding: 0.625rem 1.5625rem;
        border-radius: 3.125rem;
        text-decoration: none;
        color: var(--gray);
        border: 1px solid rgba(255,255,255,0.1);
        transition: all 0.3s;
        white-space: nowrap;
    }

        .portfolio-filter a.active,
        .portfolio-filter a:hover {
            background: var(--gradient);
            color: white;
            border-color: transparent;
        }

.portfolio-grid-large {
    display: grid;
    gap: 3.125rem;
}

.portfolio-card-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.125rem;
    background: rgba(255,255,255,0.03);
    border-radius: 1.25rem;
    overflow: hidden;
    align-items: center;
}

.portfolio-image-large {
    height: 100%;
    min-height: 25rem;
    overflow: hidden;
}

.portfolio-placeholder-large {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(236,72,153,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 25rem;
}

    .portfolio-placeholder-large i {
        font-size: 5rem;
        color: rgba(255,255,255,0.3);
    }

.portfolio-info-large {
    padding: 3.125rem;
}

.portfolio-meta {
    display: flex;
    gap: 1.5625rem;
    margin: 1.25rem 0;
    color: var(--gray);
    flex-wrap: wrap;
}

    .portfolio-meta i {
        color: var(--primary);
        margin-right: 0.5rem;
    }

/* ===================================
   CONTACT PAGE
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    margin-bottom: 1.25rem;
    word-wrap: break-word;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: grid;
    gap: 1.5625rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

    .contact-item i {
        width: 3.125rem;
        height: 3.125rem;
        background: rgba(99,102,241,0.1);
        border-radius: 0.9375rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .contact-item h4 {
        margin-bottom: 0.3125rem;
    }

    .contact-item p {
        color: var(--gray);
        word-break: break-word;
    }

.contact-form-wrapper {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 1.25rem;
    padding: 3.125rem;
}

.form-group {
    margin-bottom: 1.5625rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.625rem;
        font-weight: 500;
    }

.form-control {
    width: 100%;
    padding: 0.9375rem 1.25rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    color: var(--light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary);
        background: rgba(255,255,255,0.08);
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 9.375rem;
}

.text-danger {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 0.3125rem;
    display: block;
}

.alert {
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5625rem;
    display: flex;
    align-items: center;
    gap: 0.9375rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* ===================================
   SERVICE DETAILS
   =================================== */
.service-details {
    padding: 5rem 0;
}

.service-details-grid {
    max-width: 56.25rem;
    margin: 0 auto;
}

.service-details-content h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 1.25rem;
    word-wrap: break-word;
}

.service-details-content > p {
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 3.125rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.9375rem;
    padding: 1.25rem;
    background: rgba(255,255,255,0.03);
    border-radius: 0.9375rem;
}

    .feature-item i {
        color: var(--accent);
        font-size: 1.3rem;
        flex-shrink: 0;
    }

.cta-box {
    background: var(--gradient);
    border-radius: 1.25rem;
    padding: 3.125rem;
    text-align: center;
}

    .cta-box h3 {
        margin-bottom: 0.625rem;
    }

    .cta-box p {
        margin-bottom: 1.5625rem;
        opacity: 0.9;
    }

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2.5rem;
}

/* ===================================
   TABLET RESPONSIVE (max-width: 1024px)
   =================================== */
@media (max-width: 1024px) {
    .hero-custom {
        gap: 2.5rem;
    }

    .hero-img {
        max-width: 45%;
    }

        .hero-img img {
            max-width: 25rem;
        }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 3.125rem;
    }

    .why-us-visual {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.125rem;
    }

    .portfolio-card-large {
        grid-template-columns: 1fr;
    }

    .portfolio-image-large {
        min-height: 18.75rem;
    }

    .portfolio-info-large {
        padding: 2.5rem;
    }

    .service-detailed-card {
        padding: 2.5rem;
        gap: 1.875rem;
    }

    section {
        padding: 5rem 0;
    }
}

/* ===================================
   MOBILE RESPONSIVE (max-width: 768px)
   =================================== */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1rem;
    }

    /* Navigation Mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6.25rem 1.875rem 1.875rem;
        gap: 1.5625rem;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        align-items: center;
        justify-content: flex-start;
        z-index: 999;
    }

        .nav-menu.active {
            transform: translateX(0);
        }

        .nav-menu a {
            font-size: 1.2rem;
            padding: 0.625rem 0;
        }

    .nav-toggle {
        display: flex;
    }

    .nav-logo {
        height: 3.125rem;
    }

    /* Hero Mobile */
    .hero {
        padding: 6.25rem 0 3.75rem;
        min-height: auto;
    }

    .hero-custom {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-content {
        max-width: 100%;
        order: 1;
    }

    .hero-img {
        max-width: 100%;
        order: 2;
        text-align: center;
    }

        .hero-img img {
            width: 100%;
            max-width: 21.875rem;
            margin: 0 auto;
        }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5625rem;
    }

    .hero-shapes {
        width: 100%;
        opacity: 0.5;
    }

    .shape-1 {
        width: 15.625rem;
        height: 15.625rem;
    }

    .shape-2 {
        width: 12.5rem;
        height: 12.5rem;
    }

    .shape-3 {
        width: 9.375rem;
        height: 9.375rem;
    }

    /* Section Headers Mobile */
    section {
        padding: 3.75rem 0;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card {
        padding: 1.875rem;
    }

    /* Why Us Mobile */
    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.9375rem;
    }

    .tech-item {
        padding: 1.25rem;
    }

        .tech-item i {
            font-size: 2rem;
        }

    /* Portfolio Mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .portfolio-image {
        height: 13.75rem;
    }

    .portfolio-info {
        padding: 1.5625rem;
    }

    /* Team Mobile */
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
        gap: 1.25rem;
    }

    .team-card {
        padding: 1.875rem 1.25rem;
    }

    .team-avatar {
        width: 6.25rem;
        height: 6.25rem;
    }

    .avatar-placeholder {
        font-size: 2rem;
    }

    /* CTA Mobile */
    .cta-section {
        padding: 3.75rem 0;
    }

    /* Footer Mobile */
    .footer {
        padding: 3.75rem 0 1.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand h3 {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact ul li {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-contact i {
        margin-top: 0;
    }

    /* Page Header Mobile */
    .page-header {
        padding: 7.5rem 0 3.75rem;
    }

    /* Services Page Mobile */
    .service-detailed-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.875rem;
        gap: 1.5625rem;
    }

    .service-icon-large {
        margin: 0 auto;
        width: 5rem;
        height: 5rem;
    }

        .service-icon-large i {
            font-size: 2rem;
        }

    .service-features {
        grid-template-columns: 1fr;
        text-align: left;
    }

    /* Portfolio Page Mobile */
    .portfolio-filter {
        gap: 0.625rem;
    }

        .portfolio-filter a {
            padding: 0.5rem 1.125rem;
            font-size: 0.9rem;
        }

    .portfolio-info-large {
        padding: 1.875rem;
    }

    .portfolio-image-large {
        min-height: 15.625rem;
    }

    .portfolio-placeholder-large {
        min-height: 15.625rem;
    }

    /* Contact Page Mobile */
    .contact-form-wrapper {
        padding: 1.875rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    /* Service Details Mobile */
    .service-details {
        padding: 3.75rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 1.875rem;
    }

    /* Buttons Mobile */
    .btn {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.9375rem;
    }

        .hero-buttons .btn {
            width: 100%;
            justify-content: center;
        }
}

/* ===================================
   SMALL MOBILE RESPONSIVE (max-width: 480px)
   =================================== */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 0.75rem;
    }

    .nav-logo {
        height: 2.5rem;
    }

    .nav-brand a {
        font-size: 1.2rem;
        gap: 0.5rem;
    }

    .hero {
        padding: 5.625rem 0 3.125rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.375rem 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 1.25rem;
    }

    .hero-img img {
        max-width: 17.5rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    section {
        padding: 3.125rem 0;
    }

    .service-card {
        padding: 1.5625rem;
    }

    .service-icon {
        width: 3.75rem;
        height: 3.75rem;
        border-radius: 1rem;
    }

        .service-icon i {
            font-size: 1.5rem;
        }

    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .tech-item {
        padding: 0.9375rem;
        font-size: 0.9rem;
    }

        .tech-item i {
            font-size: 1.8rem;
        }

    .portfolio-image {
        height: 12.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 3.125rem 0 1.25rem;
    }

    .footer-grid {
        gap: 1.875rem;
    }

    .page-header {
        padding: 6.25rem 0 3.125rem;
    }

    .service-detailed-card {
        padding: 1.5625rem;
    }

    .service-icon-large {
        width: 4.375rem;
        height: 4.375rem;
        border-radius: 1.25rem;
    }

    .portfolio-info-large {
        padding: 1.5625rem;
    }

    .portfolio-meta {
        flex-direction: column;
        gap: 0.625rem;
    }

    .contact-form-wrapper {
        padding: 1.5625rem;
    }

    .form-control {
        padding: 0.75rem 1rem;
        font-size: 16px;
    }

    .cta-box {
        padding: 1.5625rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .shape-1 {
        width: 11.25rem;
        height: 11.25rem;
    }

    .shape-2 {
        width: 9.375rem;
        height: 9.375rem;
    }

    .shape-3 {
        width: 7.5rem;
        height: 7.5rem;
    }
}

/* ===================================
   EXTRA SMALL DEVICES (max-width: 360px)
   =================================== */
@media (max-width: 360px) {
    .hero-stats {
        gap: 0.9375rem;
    }

    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }

    .tech-item {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .portfolio-image {
        height: 11.25rem;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* ===================================
   LARGE SCREENS (min-width: 1400px)
   =================================== */
@media (min-width: 1400px) {
    .container {
        max-width: 82.5rem;
    }

    .hero-img img {
        max-width: 32.5rem;
    }
}

/* ===================================
   LANDSCAPE ORIENTATION FIXES
   =================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 6.25rem 0 3.125rem;
    }

    .hero-custom {
        flex-direction: row;
        gap: 1.875rem;
    }

    .hero-content {
        max-width: 55%;
    }

    .hero-img {
        max-width: 40%;
    }

        .hero-img img {
            max-width: 17.5rem;
        }

    .hero-stats {
        margin-bottom: 0;
    }

    .nav-menu {
        padding-top: 5rem;
    }
}

/* ===================================
   REDUCED MOTION PREFERENCE
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .shape {
        animation: none !important;
    }

    .pulse {
        animation: none !important;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .navbar,
    .hero-shapes,
    .hero-particles,
    .nav-toggle,
    .social-links,
    .btn,
    .footer {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 2.5rem 0;
    }

    section {
        padding: 1.875rem 0;
        page-break-inside: avoid;
    }
}
