/* ========================================
   CSS Variables - Brand Colors from Logo
   ======================================== */
:root {
    --primary: #00b8ff;
    --primary-dark: #0095cc;
    --primary-light: #2bebff;
    --secondary: #050865;
    --secondary-light: #1d3650;
    --accent: #21ffd6;
    --text-dark: #1d3650;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-dark: #0a0f1c;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

/* ========================================
   Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    padding: 1rem 0;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231d3650' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-light);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--gradient);
    color: var(--white) !important;
    border-radius: 50px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 0.5rem;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 184, 255, 0.4);
}

/* Language Switcher */
.lang-switcher .nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lang-switcher .dropdown-menu {
    min-width: 120px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.lang-switcher .dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.lang-switcher .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.lang-switcher .dropdown-item.active {
    background: var(--gradient);
    color: var(--white);
}

.lang-switcher .dropdown-toggle::after {
    margin-left: 0.25rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 184, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(33, 255, 214, 0.1) 0%, transparent 50%),
        var(--gradient-dark);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 184, 255, 0.2);
    color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 184, 255, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-cta .btn-primary {
    background: var(--gradient);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 184, 255, 0.4);
}

.hero-cta .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-cta .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Section Styles
   ======================================== */
.section-padding {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(0, 184, 255, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Service Cards
   ======================================== */
.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.service-card.featured {
    background: var(--gradient-dark);
    border: none;
}

.service-card.featured h3,
.service-card.featured p {
    color: var(--white);
}

.service-card.featured .service-icon {
    background: rgba(0, 184, 255, 0.2);
    color: var(--primary-light);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 184, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

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

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-tags li {
    background: var(--bg-light);
    color: var(--text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.service-card.featured .service-tags li {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Tech Stack Section
   ======================================== */
.bg-dark {
    background: var(--bg-dark) !important;
}

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

.tech-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-category h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-category h4 i {
    color: var(--primary-light);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-items span {
    background: rgba(0, 184, 255, 0.15);
    color: var(--primary-light);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-items span:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   Experience Section
   ======================================== */
.experience-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.experience-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.experience-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.experience-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.experience-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.highlight-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.highlight-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========================================
   Process Section
   ======================================== */
.bg-light {
    background: var(--bg-light) !important;
}

.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.process-step {
    flex: 1 1 200px;
    max-width: 220px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: var(--gradient-dark);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 184, 255, 0.1) 0%, transparent 70%);
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 184, 255, 0.3);
}

.contact-card i {
    font-size: 1.25rem;
}

.contact-location {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.contact-location i {
    margin-right: 0.25rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-dark);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    color: rgba(255, 255, 255, 0.5);
    margin-left: 1rem;
    font-size: 0.9rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin: 0;
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Tablet */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }

    .nav-link {
        color: var(--text-dark) !important;
        padding: 0.75rem 1rem !important;
    }

    .btn-nav {
        display: inline-block;
        margin: 0.5rem 0 0 0;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .experience-highlights {
        margin-top: 2rem;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 4rem 0;
    }

    .hero-section {
        padding-top: 80px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        justify-content: space-between;
    }

    .stat-item {
        flex: 1;
        text-align: center;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .experience-highlights {
        grid-template-columns: 1fr;
    }

    .highlight-card {
        padding: 1.25rem;
    }

    .highlight-number {
        font-size: 2rem;
    }

    .process-timeline {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        max-width: 100%;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        justify-content: center;
    }

    .footer .row {
        text-align: center;
    }

    .footer .col-md-6:last-child {
        margin-top: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    .hero-badge {
        font-size: 0.75rem;
    }

    .section-badge {
        font-size: 0.75rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .experience-item {
        flex-direction: column;
        text-align: center;
    }

    .experience-icon {
        margin: 0 auto;
    }
}

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

.service-card,
.tech-category,
.highlight-card,
.process-step {
    animation: fadeInUp 0.6s ease forwards;
}
