/* ==================== VARIABLES & RESET ==================== */
:root {
    --primary: #ff8800;
    --primary-light: #ffa640;
    --primary-dark: #cc6d00;
    --secondary: #ff8800;
    --accent: #ff8800;
    --dark: #000000;
    --darker: #000000;
    --light: #ffffff;
    --gray: #f8f8f8;
    --gray-dark: #d1d1d1;
    
    --gradient-1: linear-gradient(135deg, #ff8800 0%, #ff6600 100%);
    --gradient-2: linear-gradient(135deg, #ff8800 0%, #ff6600 100%);
    --gradient-3: linear-gradient(135deg, #ff8800 0%, #ff6600 100%);
    --gradient-4: linear-gradient(135deg, #ff8800 0%, #ff6600 100%);
    
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
     overflow-x: hidden;
    
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--light);
    background: var(--darker);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 136, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--light);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::before {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2000;
    padding: 10px;
    background: transparent;
    border: none;
}

.menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 10px;
    transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-cta {
    display: inline-block;
}

/* ==================== BUTTONS ==================== */
.cta-button {
    padding: 0.85rem 2rem;
    background: var(--gradient-1);
    color: var(--light);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.cta-button:hover::after {
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--darker);
    overflow: hidden;
    padding: 8rem 2rem 6rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--darker) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    animation: fadeInScale 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.8rem, 10vw, 6rem);
    font-weight: 900;
    color: var(--light);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: var(--gray-dark);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto 3rem;
    line-height: 1.8;
    max-width: 650px;
}

/* ==================== SECTIONS ==================== */
section {
    padding: clamp(4rem, 12vw, 7rem) 2rem;
    background: var(--darker);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #64748b;
    margin-bottom: 4rem;
    font-weight: 400;
}

/* ==================== EXPERTISE SECTION ==================== */
.expertise {
    background: var(--darker);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 2rem;
}

.expertise-card {
    background: var(--darker);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(255, 136, 0, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.expertise-card:hover::before {
    opacity: 1;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.expertise-icon i {
    font-size: 2rem;
    color: var(--light);
}

.expertise-card h3 {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.expertise-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.tech-tag:hover {
    background: var(--gradient-1);
    color: var(--light);
    transform: translateY(-2px);
    border-color: transparent;
}

/* ==================== MISSION SECTION ==================== */
.mission-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.mission-card {
    background: var(--darker);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mission-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-width: 8px;
}

.mission-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mission-card-header i {
    font-size: 1.8rem;
    color: var(--primary);
}

.mission-card h3 {
    font-size: 1.35rem;
    color: var(--light);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.mission-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* ==================== PROCESS TIMELINE ==================== */
.process-section {
    margin-top: 5rem;
    padding: 3.5rem;
    background: var(--darker);
    border-radius: 32px;
    box-shadow: var(--shadow-md);
}

.process-title {
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--light);
    margin-bottom: 3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 2rem;
    background: var(--darker);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(255, 136, 0, 0.2);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.process-step h4 {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.process-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    background: var(--darker);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--darker);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 136, 0, 0.2);
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 65px;
    height: 65px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.2);
}

.service-card:hover .service-icon {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--light);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--light);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.service-card > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.6rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.8rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));
    gap: 3rem;
    align-items: start;
}

.contact-form-container {
    background: var(--darker);
    padding: 1rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 136, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.2rem;
    border: 2px solid rgba(255, 136, 0, 0.2);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--darker);
    color: var(--light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 136, 0, 0.1);
    box-shadow: 0 0 0 4px rgba(255, 136, 0, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.submit-button {
    padding: 1rem 2rem;
    background: var(--gradient-1);
    color: var(--light);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.contact-info {
    background: var(--darker);
    padding: 3rem;
    border-radius: 24px;
    color: var(--light);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 100%;
    border: 1px solid rgba(255, 136, 0, 0.2);
}

.contact-info h3 {
    font-size: 1.7rem;
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--primary);
    margin-top: 0.2rem;
}

.contact-item .label {
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item a {
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 136, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 136, 0, 0.2);
}

.social-links a:hover {
    background: rgba(255, 136, 0, 0.2);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.social-links i {
    font-size: 1.2rem;
    color: var(--light);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--darker);
    color: var(--light);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--light);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--primary-light);
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
        background: var(--darker);
        border-radius: 8px;
        padding: 12px;
        border: 1px solid rgba(255, 136, 0, 0.2);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background: var(--darker);
        backdrop-filter: blur(20px);
        width: 300px;
        height: 100vh;
        padding: 6rem 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow-y: auto;
        border-left: 1px solid rgba(255, 136, 0, 0.2);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease-out, transform 0.3s ease-out;
        border-bottom: 1px solid rgba(255, 136, 0, 0.1);
        padding-bottom: 1rem;
    }
    
    .nav-menu.open li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu .nav-link {
        color: var(--light);
        font-size: 1.1rem;
        padding: 0.8rem 0;
        display: block;
        width: 100%;
    }

    .nav-menu .nav-link:hover {
        color: var(--primary);
        background: rgba(255, 136, 0, 0.1);
        border-radius: 8px;
        padding-left: 1rem;
    }
    
    .nav-menu.open li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.open li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.open li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.open li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.open li:nth-child(5) { transition-delay: 0.3s; }
    
    .nav-cta {
        display: none;
    }
    
    .process-arrow {
        display: none;
    }
}

@media (max-width: 600px) {
    .expertise-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.5); }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}