/* ============================================
   SERVICES PAGE - GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --slate-navy: #0F172A;
    --electric-blue: #3B82F6;
    --purple: #8B5CF6;
    --blue-light: #EFF6FF;
    --white: #FFFFFF;
    --gray-bg: #F8FAFE;
    --gray-card: #F1F5F9;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--electric-blue), var(--purple));
    --gradient-hover: linear-gradient(135deg, var(--purple), var(--electric-blue));
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, .logo-text, .nav-cta, .btn-primary, .btn-secondary {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--slate-navy);
    margin-bottom: 40px;
    line-height: 1.2;
    text-align: center;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--white);
}

.logo-subtext {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.logo-mark {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-menu li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--electric-blue);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ============================================
   SERVICES HERO SECTION
   ============================================ */
.services-hero {
    min-height: 80vh;
    background: var(--slate-navy);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(59,130,246,0.15), transparent 70%);
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 1200px;
}


.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59,130,246,0.3);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--slate-navy);
    border-color: var(--white);
    transform: translateY(-2px);
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SERVICE TABS SECTION - 3 SERVICES PER ROW
   ============================================ */
.service-tabs {
    padding: 100px 0;
    background: var(--white);
}

.tabs-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 50px;
    background: transparent;
    padding: 0;
}

.tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--gray-bg);
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--electric-blue);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--gradient);
    color: var(--white);
}

.tabs-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 570px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-detail-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.1));
}

.service-detail-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--slate-navy);
    margin-bottom: 20px;
}

.service-detail-content > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.key-offerings {
    margin-bottom: 24px;
}

.key-offerings h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--slate-navy);
    margin-bottom: 12px;
}

.key-offerings ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.key-offerings li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.key-offerings li i {
    color: #00C48C;
    font-size: 1rem;
}

.industries-served {
    margin-bottom: 32px;
}

.industries-served h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--slate-navy);
    margin-bottom: 12px;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.industry-tags span {
    background: var(--gray-bg);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--electric-blue);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.service-cta:hover {
    background: var(--gradient-hover);
    gap: 12px;
    transform: translateY(-2px);
}

/* ============================================
   SERVICE PROCESS SECTION
   ============================================ */
.service-process {
    padding: 100px 0;
    background: var(--gray-bg);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--electric-blue), var(--purple));
    z-index: 0;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--white);
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-navy);
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 100px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--gray-bg);
    border-radius: 16px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(59,130,246,0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--slate-navy);
}

.faq-question i {
    color: var(--electric-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px 24px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: var(--white);
}

.cta-card {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--slate-navy);
    border-radius: 32px;
    padding: 60px 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
    background: var(--gradient-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    gap: 15px;
}



/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--slate-navy);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-mark {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--white);
}

.footer-logo-subtext {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient);
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--electric-blue);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}


.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--electric-blue);
    margin-left: 4px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    background: var(--gradient);
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.newsletter-form button:hover {
    background: var(--gradient-hover);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--electric-blue);
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .tabs-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .tab-btn {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        max-width: 400px;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0px;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--slate-navy);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: 0.3s;
        gap: 2rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li a {
        font-size: 1rem;
    }
    
    .nav-cta {
        display: none;
    }

    .tabs-nav {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .tab-btn {
        justify-content: center;
        padding: 14px 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-detail-image img {
        height: 280px;
    }
    
    .service-detail-content h3 {
        font-size: 1.5rem;
    }
    
    .key-offerings ul {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        text-align: center;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-detail-image img {
        height: 220px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .process-step h3 {
        font-size: 1.1rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .footer-logo-text {
        font-size: 1.25rem;
    }
    
    .footer-logo-subtext {
        font-size: 0.8rem;
    }
}