/* ==========================================================================
   CSS Variables & Resets
   ========================================================================== */
   :root {
    /* Color Palette */
    --clr-bg-dark: #070B14;
    --clr-bg-panel: #0f1627;
    --clr-bg-card: rgba(15, 22, 39, 0.7);
    --clr-primary: #00E5FF;
    --clr-primary-glow: rgba(0, 229, 255, 0.4);
    --clr-secondary: #3A86FF;
    --clr-accent: #8338EC;
    
    /* Text Colors */
    --clr-text-main: #E2E8F0;
    --clr-text-muted: #94A3B8;
    --clr-white: #FFFFFF;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--clr-secondary) 0%, var(--clr-primary) 100%);
    --grad-text: linear-gradient(to right, var(--clr-primary), var(--clr-secondary));
    --card-border: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-white);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }
.text-center { text-align: center; }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title span {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.divider {
    height: 4px;
    width: 60px;
    background: var(--grad-primary);
    border-radius: 2px;
    margin-bottom: 2rem;
}

.divider.center {
    margin: 0 auto 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--grad-primary);
    color: #000;
    box-shadow: 0 4px 15px var(--clr-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--clr-primary-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--clr-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--clr-primary);
    background: rgba(0, 229, 255, 0.1);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
    padding: 1.2rem 0;
}

#navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(7, 11, 20, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-white);
    letter-spacing: 1px;
}

.logo-text {
    color: var(--clr-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a:not(.btn-contact):hover,
.nav-links a:not(.btn-contact).active {
    color: var(--clr-primary);
}

.btn-contact {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-contact:hover {
    background: var(--grad-primary);
    color: #000;
    border-color: transparent;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--clr-white);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/img/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: fixed; /* Parallax effect */
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(7, 11, 20, 0.2) 0%, rgba(7, 11, 20, 0.2) 70%, rgba(7, 11, 20, 1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.wave-bottom svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    background-color: var(--clr-bg-dark);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.stats-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--clr-bg-panel);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.stat-item i {
    font-size: 2rem;
    color: var(--clr-primary);
}

.stat-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.stat-item p {
    font-size: 0.85rem;
    margin: 0;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--grad-primary);
    padding: 1.5rem;
    border-radius: 16px;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.badge-text {
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ==========================================================================
   Services Section (Glassmorphism Cards)
   ========================================================================== */
.services-section {
    background-color: var(--clr-bg-panel);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--clr-bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.1), transparent 50%);
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.service-card:hover .card-icon {
    background: var(--grad-primary);
    color: #000;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Banner CTA 
   ========================================================================== */
.banner-cta {
    position: relative;
    padding: 100px 0;
    background-image: url('../assets/img/services_tech.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 11, 20, 0.9), rgba(11, 19, 43, 0.8));
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: #E2E8F0;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info .contact-desc {
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--clr-bg-panel);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.info-item h5 {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.info-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-white);
}

.contact-form-wrapper {
    background: var(--clr-bg-panel);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--clr-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    background: rgba(0, 229, 255, 0.05);
}

.form-group select option {
    background: var(--clr-bg-panel);
    color: var(--clr-white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--clr-bg-panel);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--clr-text-muted);
    margin: 1rem 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--clr-primary);
    color: #000;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--clr-text-muted);
}

.footer-links a:hover {
    color: var(--clr-primary);
    padding-left: 5px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title { font-size: 3rem; }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .experience-badge {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--clr-bg-panel);
        flex-direction: column;
        padding: 2rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
