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

:root {
    /* Colors */
    --primary-blue: #2563eb;
    --secondary-orange: #f97316;
    --dark-slate: #0f172a;
    --light-bg: #f8fafc;
    --success-green: #10b981;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --white: #ffffff;

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

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

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

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark-slate);
}

.logo-accent {
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--secondary-orange);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-slate);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem 4rem;
    align-items: center;
}

.hero-container .hero-stats {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.2);
    color: var(--primary-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

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

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-heading);
}

.stat-plus {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-top: -20px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-normal);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-decoration {
    position: absolute;
    top: -20px;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    border-radius: 20px;
    opacity: 0.3;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-normal);
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark-slate);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ===========================
   Section Styles
   =========================== */
.services,
.case-studies,
.blog-preview,
.contact {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark-slate);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===========================
   About Section
   =========================== */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.about-header {
    text-align: left;
    margin-bottom: 2rem;
}

.about-story {
    margin-bottom: 3rem;
}

.about-story p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-story p:last-child {
    margin-bottom: 0;
}

.about-differentiators {
    margin-bottom: 3rem;
}

.about-differentiators h3,
.about-tools h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 1.5rem;
}

.differentiators-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.differentiator-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.diff-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.diff-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 0.5rem;
}

.diff-content p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tool-badge {
    background: var(--light-bg);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.tool-badge:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* ===========================
   Testimonials Section (UPDATED: Horizontal Scroll)
   =========================== */
.testimonials {
    padding: 6rem 0;
    background: var(--light-bg);
}

.testimonials-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 0.5rem 0.25rem 1.25rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.testimonials-scroll::-webkit-scrollbar {
    height: 6px;
}

.testimonials-scroll::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.25);
    border-radius: 10px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;

    /* Key for horizontal scroll */
    min-width: min(340px, 85vw);
    max-width: 380px;
    scroll-snap-align: start;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.result-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    margin-top: auto;
}

.testimonial-author strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ===========================
   Process Section
   =========================== */
.process {
    padding: 6rem 0;
    background: var(--white);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--secondary-orange));
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 80px;
    min-width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-heading);
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    padding-top: 1rem;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 0.75rem;
}

.step-content p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===========================
   FAQs Section
   =========================== */
.faqs {
    padding: 6rem 0;
    background: var(--light-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-slate);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===========================
   Services Section
   =========================== */
.services {
    background: var(--light-bg);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-slate);
}

.service-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    color: var(--text-gray);
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
}

/* ===========================
   Case Studies Section
   =========================== */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
    gap: 2rem;
}

.case-study-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-normal);
    cursor: pointer;
}

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.case-study-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
}

/* Make case study images fit perfectly */
.case-study-image {
    overflow: hidden;
    /* keeps image inside rounded corners */
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* fills area without stretching */
    display: block;
}

.case-study-content {
    padding: 1.5rem;
}

.case-study-category {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.case-study-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-slate);
}

.case-study-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.case-study-result {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-green);
    font-weight: 600;
    font-size: 0.9rem;
}

.case-study-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: var(--transition-normal);
}

.case-study-read-more:hover {
    color: var(--secondary-orange);
    /* gap: 0.75rem; */
}

.case-study-read-more svg {
    transition: transform 0.2s ease;
}

.case-study-read-more:hover svg {
    transform: translateX(4px);
}

.case-studies-cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* ===========================
   Certifications Slider
   =========================== */
.certifications {
    padding: 6rem 0;
    background: var(--light-bg);
}

.certificates-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* The horizontal slider */
.certificates-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(min(260px, 80vw), 1fr);
    gap: 1.5rem;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0 1rem;
    width: 100%;
}

/* Each certificate card */
.certificate-item {
    scroll-snap-align: start;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-normal);
}

.certificate-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.certificate-link {
    display: block;
    position: relative;
}

.certificate-item img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
}

.certificate-item h4 {
    padding: 1rem 1.25rem 0.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-slate);
}

.certificate-item p {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Nav buttons */
.cert-nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.cert-nav-btn:hover {
    background: var(--secondary-orange);
    transform: translateY(-2px);
}



/* ===========================
   Blog Preview Section
   =========================== */
.blog-preview {
    background: var(--light-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--dark-slate), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-slate);
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-read-more {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-cta {
    text-align: center;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark-slate);
}

.contact-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-feature svg {
    color: var(--success-green);
    flex-shrink: 0;
}

/* Form Styles */
.contact-form {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-slate);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-privacy {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 1rem;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--dark-slate);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-about p {
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-services h4,
.footer-social h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-services a {
    color: var(--text-light);
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

/* Scroll Animations */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* ===========================
   Responsive Design
   =========================== */
/* ===========================
   Responsive Design (UPDATED)
   =========================== */

/* Tablet and below */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        position: static;
    }

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

    /* HERO - Fixed responsive layout */
    .hero {
        padding: 7rem 0 3rem;
        min-height: auto;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .hero-image-wrapper {
        order: 1;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        order: 2;
    }

    .hero-container .hero-stats {
        order: 3;
        grid-column: auto;
        grid-row: auto;
    }

    .hero-cta-group {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 0;
    }

    .hero-cta-group .btn {
        width: auto;
        min-width: 220px;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.25rem 2rem;
    }

    .hero-image {
        margin-top: 0;
        height: 320px;
        transform: none;
    }

    .hero-image-decoration {
        display: none;
    }

    /* Process section responsive */
    .process-timeline::before {
        left: 20px;
    }

    .step-number {
        width: 50px;
        min-width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .process-step {
        gap: 1.25rem;
    }

    .step-content h3 {
        font-size: 1.25rem;
    }

    /* Testimonials responsive */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* About responsive */
    .about {
        padding: 4rem 0;
    }

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

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

/* Mobile */
@media (max-width: 640px) {
    .container {
        padding: 0 1.25rem;
    }

    .services,
    .case-studies,
    .blog-preview,
    .contact,
    .about,
    .testimonials,
    .process,
    .faqs {
        padding: 4rem 0;
    }

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

    .services-grid,
    .case-studies-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* HERO (MOBILE FIX) - Proper ordering */
    .hero {
        padding: 5.8rem 0 2rem;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 1.4rem;
    }

    .hero-image-wrapper {
        order: 1;
    }

    .hero-content {
        order: 2;
        display: flex;
        flex-direction: column;
    }

    .hero-container .hero-stats {
        order: 3;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 0.85rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.1rem;
    }

    .hero-cta-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta-group .btn {
        width: 100%;
        padding: 14px 18px;
    }

    .hero-cta-group .btn-secondary {
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.35);
        color: #fff;
    }

    .hero-image {
        height: 220px;
        max-width: 100%;
        border-radius: 16px;
        transform: none;
        margin-top: 0.25rem;
    }

    .hero-image-decoration {
        display: none;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-top: 0.75rem;
        text-align: center;
    }

    .stat-number,
    .stat-plus {
        font-size: 1.6rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .cert-nav-btn {
        display: none;
    }

    /* Process mobile */
    .process-timeline::before {
        left: 15px;
    }

    .step-number {
        width: 40px;
        min-width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .process-step {
        gap: 1rem;
    }

    .step-content {
        padding-top: 0.5rem;
    }

    .step-content h3 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }

    /* FAQ mobile */
    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .faq-question span {
        padding-right: 1rem;
    }

    /* About mobile */
    .about-story p {
        font-size: 1rem;
    }

    .about-differentiators h3,
    .about-tools h3 {
        font-size: 1.25rem;
    }

    .tool-badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .testimonial-card {
        min-width: 85%;
        max-width: 85%;
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

}

/* ===== FORCE GLIGHTBOX CONTROLS VISIBLE + POSITIONED ===== */
.glightbox-container,
#glightbox-body {
    z-index: 99999 !important;
}

/* Close + arrows */
.glightbox-close,
.glightbox-prev,
.glightbox-next {
    position: fixed !important;
    /* IMPORTANT */
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;

    width: 48px !important;
    height: 48px !important;

    background: rgba(0, 0, 0, 0.75) !important;
    color: #fff !important;

    border-radius: 50% !important;
    z-index: 100000 !important;
    align-items: center !important;
    justify-content: center !important;

    pointer-events: auto !important;
    /* IMPORTANT */
}

/* Position arrows in middle left/right */
.glightbox-prev {
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.glightbox-next {
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Position close at top right */
.glightbox-close {
    right: 20px !important;
    top: 20px !important;
    transform: none !important;
}

/* Make icon visible (covers svg + icon fonts) */
.glightbox-close svg,
.glightbox-prev svg,
.glightbox-next svg {
    fill: #fff !important;
    stroke: #fff !important;
}

/* FULL image (no crop) */
.gslide-image img {
    max-width: 92vw !important;
    max-height: 85vh !important;
    object-fit: contain !important;
}