/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Premium Professional Color Palette - 3 Complementary Colors */
:root {
    /* Primary Brand Colors - Deep Professional Blue */
    --primary-blue: #1E3A8A;
    --primary-royal: #1D4ED8;
    --primary-light: #3B82F6;

    /* Premium Background Colors - Warm Cream & Sophisticated Grays */
    --bg-primary: #FDFDFD;
    /* Pure white for main content */
    --bg-secondary: #F8F6F3;
    /* Warm cream - premium alternative to white */
    --bg-tertiary: #F1EDE7;
    /* Deeper cream for sections */
    --bg-accent: #E8E2DB;
    /* Subtle cream accent */

    /* Professional Text Colors */
    --text-primary: #1F2937;
    /* Dark charcoal for headings */
    --text-secondary: #4B5563;
    /* Medium gray for body text */
    --text-light: #6B7280;
    /* Light gray for supporting text */
    --text-muted: #9CA3AF;
    /* Very light gray for subtle text */

    /* Accent Colors from Original Palette */
    --accent-pink: #F8BBD9;
    /* Soft pink accent */
    --accent-rose: #FDA4AF;
    /* Rose highlight */
    --accent-orange: #EA580C;
    /* Bold orange for CTAs */
    --accent-coral: #F97316;
    /* Warm coral for hovers */

    /* Professional Neutrals - Third Complementary Color */
    --neutral-warm: #A3A08A;
    /* Warm taupe */
    --neutral-light: #D4D1C7;
    /* Light taupe */
    --neutral-dark: #6B6B47;
    /* Dark olive-taupe */

    /* Border and UI Elements */
    --border-light: #E8E2DB;
    /* Cream borders */
    --border-medium: #D4D1C7;
    /* Taupe borders */
    --border-accent: #A3A08A;
    /* Dark taupe accents */
    --shadow-light: rgba(30, 58, 138, 0.08);
    --shadow-medium: rgba(30, 58, 138, 0.12);
    --shadow-warm: rgba(163, 160, 138, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    /* Modern Radiant Background - "AI Driven Future" Style (Restored: Extra Glow) */
    background:
        radial-gradient(circle at 50% 0%, #ffffff 50%, transparent 90%),
        /* Top White Highlight */
        radial-gradient(circle at 50% 40%, rgba(125, 211, 252, 0.65) 0%, transparent 60%),
        /* Center Richer Blue Glow */
        linear-gradient(180deg, #e0f2fe 0%, #7dd3fc 100%);
    /* Deep Sky Blue Base */
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 400;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #1E3A8A;
    color: white;
    box-shadow: 0 3px 12px rgba(30, 58, 138, 0.08);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: #1D4ED8;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.12);
}

.btn-secondary {
    background: #EA580C;
    color: white;
    border: 2px solid #EA580C;
}

.btn-secondary:hover {
    background: #F97316;
    color: white;
    transform: translateY(-1px);
    border-color: #F97316;
}

/* Button Outline Styling for Service Cards */
.btn-outline {
    background: transparent;
    color: #1E3A8A;
    border: 2px solid #1E3A8A;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: #1E3A8A;
    color: white;
    transform: translateY(-1px);
}

.btn-outline:hover {
    background: #1E3A8A;
    color: white;
    border-color: #1E3A8A;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .brand-name {
    color: #3b82f6 !important;
    /* Lite Blue Brand Color Corrected */
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-brand a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Logo Styles */
.nav-brand .logo-desktop {
    width: auto;
    max-width: 200px;
    /* Flexible width */
    height: auto;
    /* Maintain aspect ratio */
    display: block;
    max-height: 80px;
    /* Prevent it from being too tall */
}

.nav-brand .logo-mobile {
    display: none;
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 0 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

    .nav-brand {
        flex: 1;
        min-width: 0;
        margin-right: 10px;
        overflow: visible;
        display: flex;
        align-items: center;
    }

    .nav-brand a {
        display: block;
    }

    .nav-brand .logo-desktop {
        display: none;
    }

    .nav-brand .logo-mobile {
        display: block;
        width: auto;
        max-width: 180px;
        /* Increased slightly for clear text visibility */
        height: auto;
        max-height: 50px;
        /* Constraint to keep navbar tidy */
        object-fit: contain;
        margin-left: 0;
    }

    .nav-cta {
        display: none !important;
        /* Force hide to override any later global styles */
    }

    .nav-toggle {
        display: flex;
        flex: 0 0 auto;
        /* Fixed size */
        margin-left: 0;
    }
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #1F2937;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #EA580C;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #EA580C;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #1E3A8A;
    margin: 3px 0;
    transition: 0.3s;
}

/* Navigation CTA Button */
.nav-cta {
    display: block;
}

.nav-cta .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Hero Section */
/* New Home Hero Section */
.hero-new {
    width: 100%;
    min-height: 85vh;
    background-image: url('../images/hero image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-new .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content-new {
    max-width: 650px;
    padding: 2rem 0;
}

.hero-new .hero-badge {
    display: none;
}

.hero-new .hero-title {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.hero-new .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    min-height: 1.6em;
}

/* Rotating Text / Typewriter Styles */
.rotating-text {
    font-weight: 600;
    color: #FDBA74;
    border-right: 3px solid #FDBA74;
    padding-right: 5px;
    white-space: nowrap;
    animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #FDBA74
    }
}

.hero-new .btn-primary {
    background: #1E3A8A;
    border: none;
}

.hero-new .btn-primary:hover {
    background: #1D4ED8;
}

.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline-white:hover {
    background: #ffffff;
    color: #1E3A8A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-new {
        min-height: 70vh;
    }

    .hero-content-new {
        max-width: 80%;
    }

    .hero-new .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-new {
        min-height: 60vh;
        text-align: center;
        justify-content: center;
    }

    .hero-content-new {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 4rem 1rem;
    }

    .hero-new .hero-title {
        font-size: 2.1rem;
    }

    .hero-new .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-new .hero-buttons {
        justify-content: center;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .hero-new .btn {
        width: 100%;
    }
}

/* Process Section Spacing */
.process {
    background: #FFFFFF;
    position: relative;
    z-index: 2;
    padding-top: 60px;
    margin-top: 0;
}

@media (min-width: 769px) {
    .process {
        margin-top: 100px;
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .process .section-header {
        margin-bottom: 60px;
    }

    .process .section-header h2 {
        margin-bottom: 16px;
    }

    .process .section-header p {
        margin-bottom: 0;
    }

    .hero-new {
        min-height: 95vh;
    }
}

/* Image Badge - Overlaid on image */
.image-badge {
    position: absolute;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Service Universal Hero - Matches Home Page Hero Height */
/* Service Universal Hero - Matches Home Page Hero Height */
/* Targeted fix for: Editing, Formatting, Cover Design, Publishing, Marketing */
body.service-page .hero-service-universal {
    min-height: 85vh !important;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (min-width: 992px) {
    body.service-page .hero-service-universal {
        min-height: 95vh !important;
    }
}

@media (max-width: 992px) {
    body.service-page .hero-service-universal {
        min-height: 70vh !important;
    }
}

@media (max-width: 768px) {
    body.service-page .hero-service-universal {
        min-height: 60vh !important;
        /* EXACT MATCH: Home uses 60vh */
        padding: 4rem 1rem !important;
        /* EXACT MATCH: Home padding */
        text-align: center;
        justify-content: center;
        align-items: center;
        margin-top: 0 !important;
    }

    body.service-page .hero-service-universal .hero-content {
        padding: 2rem 1rem;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
}


.badge-brand {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Small Icon Badges - Scattered around images */
.icon-badge {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 0, 0, 0.03);
}

.icon-badge:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18), 0 8px 18px rgba(0, 0, 0, 0.12);
}

.icon-badge i {
    font-size: 1.5rem;
}

/* Icon Badge Positions - Matching reference layout */
.badge-email {
    top: 15px;
    left: 20px;
}

.badge-email i {
    color: #10b981;
}

.badge-heart {
    top: 25px;
    right: 30px;
}

.badge-heart i {
    color: #ec4899;
}

.badge-star {
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}

.badge-star i {
    color: #8b5cf6;
}

.badge-award {
    bottom: 40px;
    right: 25px;
}

.badge-award i {
    color: #f59e0b;
}

.badge-check {
    bottom: 35px;
    right: 50%;
    transform: translateX(80%);
}

.badge-check i {
    color: #3b82f6;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 20px;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.card-1 {
    top: 30px;
    left: 50px;
    width: 180px;
    animation-delay: 0s;
    z-index: 3;
}

.card-1 .number-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 10px;
}

.card-1 .card-text {
    color: #374151;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    font-size: 0.9rem;
}

.card-2 {
    top: 80px;
    right: 20px;
    width: 280px;
    animation-delay: 1s;
    z-index: 4;
    margin-top: 20px;
}

.phone-mockup {
    background: #1f2937;
    border-radius: 20px;
    padding: 6px;
    width: 240px;
    height: 300px;
    margin: 0 auto;
}

.phone-screen {
    background: white;
    border-radius: 16px;
    padding: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}

.chat-avatar {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
}

.chat-message {
    background: #f3f4f6;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 6px;
    font-size: 0.8rem;
    max-width: 80%;
    line-height: 1.4;
}

.chat-message.user {
    background: #3b82f6;
    color: white;
    margin-left: auto;
    margin-right: 0;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 10px;
    margin-top: auto;
}

.typing-indicator span {
    width: 5px;
    height: 5px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-8px);
    }
}

.card-3 {
    bottom: 180px;
    left: 80px;
    width: 160px;
    animation-delay: 2s;
    text-align: center;
    z-index: 2;
}

.stat-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 0.9rem;
}

.stat-label {
    color: #6b7280;
    font-size: 0.75rem;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.chart-line {
    height: 25px;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
    margin: 6px 0;
    position: relative;
    overflow: hidden;
}

.chart-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f2937;
    margin: 6px 0 0 0;
    line-height: 1.2;
}

.stat-number span {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: normal;
}

.card-4 {
    bottom: 60px;
    right: 60px;
    width: 150px;
    animation-delay: 3s;
    text-align: center;
    z-index: 3;
}

.users-grid {
    display: flex;
    justify-content: center;
    gap: -6px;
    margin-bottom: 10px;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -6px;
}

.user-avatar.user-1 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.user-avatar.user-2 {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.user-avatar.user-3 {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.users-stat h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 3px 0;
    line-height: 1.2;
}

.users-stat p {
    font-size: 0.65rem;
    color: #6b7280;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-visuals {
        height: 350px;
        padding: 0 15px;
    }

    .card-1 {
        top: 20px;
        left: 30px;
        width: 150px;
    }

    .card-2 {
        width: 220px;
        right: 15px;
        top: 15px;
    }

    .phone-mockup {
        width: 190px;
        height: 240px;
    }

    .card-3 {
        bottom: 140px;
        left: 50px;
        width: 140px;
    }

    .card-4 {
        bottom: 50px;
        right: 40px;
        width: 130px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 0;
        min-height: 100vh;
        background-image: none;
        margin-top: -80px;
        padding-top: 80px;
    }

    .hero-content {
        flex-direction: column;
        gap: 0;
        text-align: center;
        padding: 0 1.5rem;
        min-height: 100vh;
        justify-content: center;
    }

    .hero-text {
        max-width: 100%;
        order: 1;
        text-align: center;
        padding: 0;
        margin: 0;
    }

    /* Hero badge center aligned on mobile */
    .hero-badge {
        display: inline-block;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        margin-bottom: 2rem;
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 0;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 350px;
        text-align: center;
        padding: 16px 20px;
        font-size: 1rem;
    }

    /* Hide hero image on mobile */
    .hero-image {
        display: none !important;
    }

    /* Hero Visuals - Hide on mobile */
    .hero-visuals {
        display: none;
    }

    /* Hero Banner - Hidden on mobile */
    .hero-banner-wrapper {
        display: none;
    }

    /* Hero Banner Image - Legacy (keeping for backwards compatibility) */
    .hero-banner-image {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0;
        min-height: 100vh;
        margin-top: -80px;
        padding-top: 80px;
    }

    .hero-content {
        padding: 0 1.2rem;
        gap: 0;
        min-height: 100vh;
        justify-content: center;
    }

    .hero-text {
        margin: 0;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 6px 12px;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 1.9rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 18px;
        font-size: 0.95rem;
    }

    /* Image Cards - Smaller on small mobile */
    .hero-image-card {
        max-width: 95%;
    }

    .card-primary img {
        height: 220px;
    }

    .card-secondary-large img {
        height: 200px;
    }

    .icon-badge {
        width: 45px;
        height: 45px;
        margin: 0.4rem;
    }

    .icon-badge i {
        font-size: 1.1rem;
    }
}

.hero-service .hero-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hero-service .hero-image img {
        max-height: 300px;
        /* Smaller for mobile to fit screen */
    }
}

.why-choose-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.why-choose-image img:hover {
    transform: scale(1.05);
}

.author-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1A2B4C, #C8A974);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    overflow: hidden;
}

.author-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #2E2E2E;
}

/* Stats Section with Gradient Background */
.stats-section {
    padding: 80px 0 60px 0;
    background: transparent !important;
    border-bottom: 1px solid rgba(30, 58, 138, 0.08);
    /* Slight bottom line */
    position: relative;
    overflow: hidden;
}


/* Professional Services Section - Unifying Background */
.professional-services {
    background: transparent !important;
    position: relative;
}

/* Platforms Section - Transparent */
.platforms {
    background: transparent !important;
    padding: 100px 0;
}

/* Why Choose Us Section - Transparent */
.why-choose {
    background: transparent !important;
    padding: 100px 0;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: transparent !important;
    position: relative;
}

/* Services Section - Transparent for Global Flow */
.services {
    padding: 100px 0;
    position: relative;
    background: transparent !important;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(30, 58, 138, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.stat-box {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: #1E3A8A;
    margin: 0 0 1rem 0;
    line-height: 1;
    font-family: 'Playfair Display', serif;
    text-shadow: none;
}

.stat-label {
    font-size: 1.1rem;
    color: #4B5563;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Stats Section Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .stat-number {
        font-size: 3.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 50px 0 40px 0;
    }

    .stats-grid {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1.5rem;
        flex-wrap: nowrap;
        max-width: 100%;
        padding: 0 1.5rem;
    }

    .stat-box {
        padding: 0;
        flex: 1;
        text-align: center;
        min-width: 0;
    }

    .stat-number {
        font-size: 2.5rem;
        margin: 0 0 0.5rem 0;
        line-height: 1;
    }

    .stat-label {
        font-size: 0.65rem;
        line-height: 1.3;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 40px 0 30px 0;
    }

    .stats-grid {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.8rem;
        flex-wrap: nowrap;
        padding: 0 1rem;
        max-width: 100%;
    }

    .stat-box {
        padding: 0;
        flex: 1;
        text-align: center;
        min-width: 0;
    }

    .stat-number {
        font-size: 1.8rem;
        margin: 0 0 0.3rem 0;
        line-height: 1;
    }

    .stat-label {
        font-size: 0.55rem;
        line-height: 1.2;
        letter-spacing: 0.2px;
    }
}

/* Portfolio Section - Enhanced Mobile Responsive */
@media (max-width: 768px) {
    .portfolio {
        padding: 60px 0;
    }

    .portfolio .section-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .portfolio .section-header h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .portfolio .section-header p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .portfolio-carousel {
        padding: 0 1rem;
    }

    .portfolio-track {
        gap: 1.5rem;
    }

    .portfolio-item {
        width: 200px;
        border-radius: 12px;
    }

    .portfolio-item img {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .portfolio-carousel {
        padding: 0 0.5rem;
    }

    .portfolio-track {
        gap: 1rem;
    }

    .portfolio-item {
        width: 180px;
    }
}

/* Process Section */
.process {
    background: transparent !important;
    padding: 0 0 80px 0;
}



/* Process Section Header - Normal Style */
.process .section-header {
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

/* Responsive Header */
@media (max-width: 768px) {
    .process .section-header {
        padding: 2rem 1.5rem;
        border-radius: 4px 4px 30px 30px;
        /* Smaller curve on mobile */
        margin-bottom: 3rem;
        max-width: 90%;
    }
}





/* Process Grid - Responsive Layout */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Mobile Process Grid - Enhanced for mobile UX */
@media (max-width: 768px) {
    .process {
        padding: 0 0 60px 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        margin: 2rem auto 0;
        padding: 0 1rem;
    }

    .process-step {
        padding: 1.8rem 1.5rem;
        border-radius: 16px;
        position: relative;
        overflow: hidden;
        min-height: auto;
    }

    .process-step::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(135deg, #1E3A8A, #EA580C);
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .process-step h3 {
        font-size: 1.2rem;
        margin-bottom: 0.7rem;
        line-height: 1.3;
    }

    .process-step p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        max-width: 100%;
        padding: 0 0.8rem;
    }

    .process-step {
        padding: 1.5rem 1.2rem;
    }

    .process {
        padding-top: 8rem !important;
        /* Adjust mobile spacing for wave overlap */
    }

    .step-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .process-step h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .process-step p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

.process-step {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background: #ffffff !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft reference shadow */
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: #1E3A8A;
    /* Solid Brand Blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.3);
}

.process-step h3 {
    color: #1E3A8A;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.process-step p {
    color: #6B7280;
    /* Soft grey text */
    font-size: 0.95rem;
    line-height: 1.6;
}

.process-step:hover .step-icon {
    transform: scale(1.05);
}

.process-step h3 {
    margin-bottom: 1rem;
    color: #1E3A8A;
    font-weight: 700;
    font-size: 1.3rem;
}

.process-step p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Services Section - Premium Background */
.services {
    background: #c7e4fb;
    padding: 80px 0;
}

/* Services Grid - Responsive Layout (5 desktop, 3 tablet, 2 mobile) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tablet view - 3 cards per row */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 1000px;
    }
}

/* Mobile view - 2 cards per row */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 600px;
        padding: 0 15px;
    }
}

/* Premium Service Cards - Fixed Button Position & Better Width */
.service-card {
    background: #FFFFFF;
    padding: 2.5rem 2.2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 440px;
    max-height: 440px;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.service-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1;
    width: 100%;
    height: 100%;
    padding-bottom: 60px;
    /* Space for fixed button */
}

/* Service Icons - Same style as Process Section */
.service-card .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1E3A8A, #F8BBD9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-card h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Fixed Button Position */
.service-card .btn {
    background: transparent;
    color: #1E3A8A;
    border: 2px solid #1E3A8A;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    min-width: 110px;
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.service-card .btn:hover {
    background: #1E3A8A;
    color: white;
    transform: translateX(-50%) translateY(-1px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Book Design Portfolio Section */
.portfolio {
    background: transparent !important;
    padding: 80px 0;
}

.portfolio .section-header h2 {
    color: #1E3A8A;
    /* Reverted to Dark Brand Blue */
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.portfolio .section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.process .section-header h2 {
    color: #1E3A8A !important;
    /* Reverted to Dark Brand Blue */
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    text-shadow: none;
}

.process .section-header p {
    color: #4B5563;
    font-size: 1.1rem;
    margin: 0;
}

.portfolio-carousel {
    margin-top: 3rem;
    overflow: hidden;
    padding: 0 2rem;
}

.portfolio-track {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
    width: max-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.portfolio-item {
    flex-shrink: 0;
    width: 250px;
    height: 350px;
    background: #000000;
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.02);
}

/* Pause animation on hover */
.portfolio-carousel:hover .portfolio-track {
    animation-play-state: paused;
}

/* Platforms Section */
.platforms {
    background: transparent !important;
    padding: 80px 0;
}

.platforms .section-header h2 {
    color: #1E3A8A;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.platforms .section-header .highlight {
    color: #EA580C;
    position: relative;
}

.platforms .section-header .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #EA580C;
    border-radius: 2px;
}

.platforms .section-header p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

/* Platforms Grid */
/* Platforms Grid - Clean & Responsive Layout */
/* Platforms Grid - Clean & Responsive Layout */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    align-items: stretch;
}

.platform-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #f3f4f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    height: 100%;
    min-height: 320px;
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #e5e7eb;
}

.platform-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.platform-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    transition: transform 0.3s ease;
}

.platform-card:hover .platform-icon img {
    transform: scale(1.1);
}

.platform-card h3 {
    color: #1E3A8A;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.platform-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Tablet Responsive (max-width: 1024px) */
@media (max-width: 1024px) {
    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Mobile Responsive (max-width: 768px) */
@media (max-width: 768px) {
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 logos per row as requested */
        gap: 1.5rem 1rem;
        padding: 0 1rem;
    }

    .platform-card {
        padding: 1rem;
    }

    .platform-icon {
        height: 60px;
        /* Slightly smaller on mobile but clear */
        max-width: 100px;
        margin-bottom: 0.8rem;
    }

    .platform-card h3 {
        font-size: 1rem;
    }

    .platform-card p {
        font-size: 0.8rem;
        display: block;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .platforms-grid {
        grid-template-columns: repeat(1, 1fr);
        /* 1 logo per row for very small screens if needed, or keep 2 */
        /* User asked for 1-2 logos. Let's stick to 2 for efficiency unless very narrow */
        grid-template-columns: repeat(2, 1fr);
    }


}

/* Professional Services Showcase Section */
.professional-services {
    background: transparent !important;
    padding: 80px 0;
}

.professional-services .section-header h2 {
    color: #1E3A8A;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.professional-services .section-header .highlight {
    color: #EA580C;
    position: relative;
}

.professional-services .section-header .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #EA580C;
    border-radius: 2px;
}

.professional-services .section-header p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 500;
    font-style: italic;
}

/* Professional Services Showcase - Mobile Responsive */
.services-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Mobile Services Showcase */
@media (max-width: 768px) {
    .professional-services {
        padding: 60px 0;
    }

    .professional-services .section-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .professional-services .section-header h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .professional-services .section-header p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .services-showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .service-showcase-card {
        padding: 2.5rem 2rem;
        border-radius: 20px;
        position: relative;
        overflow: hidden;
        min-height: 280px;
    }

    .service-showcase-card::before {
        height: 4px;
        background: linear-gradient(135deg, #1E3A8A, #EA580C);
    }

    .service-showcase-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .service-showcase-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .service-showcase-card p {
        font-size: 1rem;
        line-height: 1.6;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .services-showcase-grid {
        max-width: 350px;
        gap: 1.5rem;
    }

    .service-showcase-card {
        padding: 2rem 1.5rem;
        min-height: 260px;
    }

    .service-showcase-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    .service-showcase-card h3 {
        font-size: 1.2rem;
    }

    .service-showcase-card p {
        font-size: 0.9rem;
    }
}

.service-showcase-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.service-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.service-showcase-card:hover::before {
    left: 100%;
}

.service-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    background: white;
    text-decoration: none;
    color: inherit;
}

.service-showcase-content {
    position: relative;
    z-index: 1;
}

.service-showcase-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E3A8A, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.3);
}

.service-showcase-card:hover .service-showcase-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #EA580C, #F97316);
    box-shadow: 0 12px 32px rgba(234, 88, 12, 0.4);
}

.service-showcase-card h3 {
    color: #1E3A8A;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-showcase-card:hover h3 {
    color: #EA580C;
}

.service-showcase-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-showcase-card:hover p {
    color: #374151;
}

/* Service Pages Styling */
.hero-service {
    background: transparent !important;
    padding: 40px 0;
    /* Reduced to 40px as requested */
    margin-top: 80px;
    /* Ensure it doesn't force full height */
}

/* =========================================
   UNIVERSAL HERO COMPONENT
   ========================================= */

.hero-universal {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* Request: 100vh for desktop */
    display: flex;
    align-items: center;
    /* Vertically center content */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 0;
    margin-top: 80px;
    /* Offset for fixed header */
    color: #ffffff;
    text-align: left;
    /* Request: Left aligned */
}

/* Overlay */
.hero-universal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    /* 65-75% opacity */
    z-index: 1;
}

.hero-universal .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    /* Standard bootstrap-like container */
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-universal .hero-content {
    max-width: 800px;
    /* Limit line length */
    width: 100%;
}

/* Hero Label (Kicker) */
.hero-label {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Typography */
.hero-universal h1 {
    font-family: 'Playfair Display', serif;
    /* Serif font lock */
    font-size: 3.5rem;
    /* Large sizing */
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.hero-universal p {
    font-family: 'Inter', sans-serif;
    /* Body font */
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

/* Background Modifiers */
.hero-bg-services {
    background-image: url('../images/Our%20Services.jpg');
}

.hero-bg-portfolio {
    background-image: url('../images/Portfolio%20image.jpg');
}

.hero-bg-about {
    background-image: url('../images/about.jpg');
}

.hero-bg-faq {
    background-image: url('../images/faq.jpg');
}

.hero-bg-contact {
    background-image: url('../images/contact%20us.jpg');
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-universal {
        min-height: 60vh !important;
        /* EXACT MATCH: Home uses 60vh */
        height: auto !important;
        margin-top: 0 !important;
        padding: 4rem 1rem !important;
        /* EXACT MATCH: Home uses 4rem 1rem */
        text-align: center;
        align-items: center;
        justify-content: center;
        /* EXACT MATCH: Centers content vertically */
        display: flex;
        flex-direction: column;
    }

    .hero-universal h1 {
        font-size: 2.5rem;
        /* EXACT MATCH: Home mobile title size */
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-universal p {
        font-size: 1.1rem;
        /* EXACT MATCH: Home mobile subtitle size */
        margin-bottom: 1.5rem;
    }

    .hero-universal .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 !important;
        /* Reset, parent handles padding */
        margin: 0 auto;
    }
}

/* Corrected Hero Services Class from HTML */
.hero-services {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/Our%20Services.jpg') !important;
    /* Darker overlay for white text */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 25px 0 !important;
    /* Slightly increased for button space */
    margin-top: 80px;
    min-height: auto !important;
    /* Prevent minimum height overrides */
}

.hero-service .hero-content {
    display: flex !important;
    /* Switch to flex to center/condense */
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem !important;
    /* Restore gap for button */
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-service .section-header h2 {
    font-size: 2.5rem;
    color: #3b82f6;
    /* Lite Blue Global Heading */
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-service .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-service .hero-text h1 {
    font-size: 1.5rem !important;
    /* Kept small */
    color: #FFFFFF !important;
    /* White Text */
    margin-bottom: 0.5rem !important;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    /* Strong shadow */
}

.hero-service .hero-text p {
    display: block !important;
    /* Reveal subheading */
    font-size: 1rem !important;
    color: #FFFFFF !important;
    /* White Subheading */
    margin-bottom: 1rem !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    /* Readability shadow */
    font-weight: 500;
}

/* Entrance Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-service .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    animation: fadeInUp 0.8s ease-out forwards;
    /* Add animation */
}

.hero-service .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-icon-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E3A8A, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.3);
}

.service-icon-large i {
    font-size: 4rem;
    color: white;
}

.service-features {
    background: white;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: #1E3A8A;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E3A8A, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.service-process {
    background: #c7e4fb;
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EA580C, #F97316);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Platform Cards Grid - Enhanced Mobile Responsive */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tablet view - 3 cards per row */
@media (max-width: 1024px) {
    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 1000px;
    }
}

/* Mobile view - Enhanced single column layout */
@media (max-width: 768px) {
    .platforms {
        padding: 60px 0;
    }

    .platforms .section-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .platforms .section-header h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .platforms .section-header p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .platform-card {
        padding: 2.5rem 2rem;
        border-radius: 20px;
        min-height: 200px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .platform-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(135deg, #1E3A8A, #EA580C);
    }

    .platform-card .platform-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        background: linear-gradient(135deg, #1E3A8A, #3b82f6);
    }

    .platform-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: #1E3A8A;
    }

    .platform-card p {
        font-size: 1rem;
        line-height: 1.6;
        color: #64748b;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .platforms-grid {
        max-width: 350px;
        gap: 1.2rem;
    }

    .platform-card {
        padding: 2rem 1.5rem;
        min-height: 180px;
    }

    .platform-card .platform-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .platform-card h3 {
        font-size: 1.1rem;
    }

    .platform-card p {
        font-size: 0.9rem;
    }
}

/* Platform Cards - Clickable Link Style */
.platform-card {
    background: white;
    padding: 2.5rem 2.2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    max-height: 280px;
    text-decoration: none;
    color: inherit;
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.platform-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
    height: 100%;
}

/* Platform Icons */
.platform-card .platform-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1E3A8A, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.platform-card:hover .platform-icon {
    transform: scale(1.05);
}

.platform-card h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.platform-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
    font-size: 0.95rem;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

/* Why Choose Section - Enhanced Mobile Responsive */
.why-choose {
    background: #c7e4fb;
    padding: 80px 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Mobile Why Choose Section */
@media (max-width: 768px) {
    .why-choose {
        padding: 60px 0;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        max-width: 500px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .why-choose-content {
        order: 2;
    }

    .why-choose-image {
        order: 1;
    }

    .why-choose-content h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
        color: #1E3A8A;
        line-height: 1.3;
    }

    .benefits-list {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }

    .benefits-list li {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        display: flex;
        align-items: flex-start;
        line-height: 1.5;
    }

    .benefits-list i {
        margin-right: 1rem;
        margin-top: 0.2rem;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .why-choose-image img {
        max-width: 300px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .why-choose-grid {
        max-width: 350px;
        gap: 2rem;
    }

    .why-choose-content h2 {
        font-size: 1.8rem;
    }

    .benefits-list {
        max-width: 320px;
    }

    .benefits-list li {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .why-choose-image img {
        max-width: 280px;
    }
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.benefits-list i {
    color: #EA580C;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.why-choose-image {
    text-align: center;
}

.image-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 4rem;
}

/* Testimonials Section */
.testimonials {
    background: transparent !important;
    padding: 80px 0;
}

.testimonials-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.testimonial-card {
    min-width: 100%;
    max-width: 100%;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 3rem;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.testimonial-book {
    flex-shrink: 0;
}

.testimonial-book img {
    width: 200px;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.testimonial-book img:hover {
    transform: scale(1.05);
}

.testimonial-content {
    flex: 1;
}

.rating {
    display: flex;
    gap: 4px;
    margin-bottom: 1.5rem;
}

.rating i {
    color: #f59e0b;
    font-size: 1.2rem;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 2rem;
    font-style: italic;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e5e7eb;
}

.author-details h4 {
    margin: 0 0 0.5rem 0;
    color: #1E3A8A;
    font-size: 1.1rem;
    font-weight: 700;
}

.author-book {
    display: block;
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.book-genre {
    display: block;
    color: #f59e0b;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.nav-arrow {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
}

.nav-arrow:hover {
    background: #1E3A8A;
    border-color: #1E3A8A;
    color: white;
    transform: scale(1.1);
}

.nav-dots {
    display: flex;
    gap: 1rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #1E3A8A;
    transform: scale(1.2);
}

.nav-dot:hover {
    background: #64748b;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }

    .testimonials-slider {
        max-width: 100%;
        padding: 0 1rem;
    }

    .testimonials-track {
        width: 100%;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
        min-width: 100%;
        max-width: 100%;
        min-height: auto;
        max-height: none;
        border-radius: 12px;
    }

    .testimonial-book {
        align-self: center;
    }

    .testimonial-book img {
        width: 140px;
        height: 196px;
        border-radius: 8px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    }

    .testimonial-content {
        padding: 0;
    }

    .rating {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .rating i {
        font-size: 1rem;
    }

    .review-text {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .author-info {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .author-avatar img {
        width: 50px;
        height: 50px;
    }

    .author-details h4 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .author-book {
        font-size: 0.8rem;
    }

    .book-genre {
        font-size: 0.7rem;
    }

    .testimonial-nav {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .nav-dots {
        gap: 0.5rem;
    }

    .nav-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 50px 0;
    }

    .testimonials-slider {
        padding: 0 0.8rem;
    }

    .testimonial-card {
        padding: 1.2rem;
        gap: 1.2rem;
        border-radius: 10px;
    }

    .testimonial-book img {
        width: 120px;
        height: 168px;
    }

    .review-text {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }

    .rating i {
        font-size: 0.9rem;
    }

    .author-details h4 {
        font-size: 0.9rem;
    }

    .author-book {
        font-size: 0.75rem;
    }

    .book-genre {
        font-size: 0.65rem;
    }

    .nav-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .nav-dot {
        width: 6px;
        height: 6px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}

/* CTA Section */
.cta {
    background: #c7e4fb;
    padding: 80px 0;
}

.cta-content {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.cta-content h2 {
    color: #1E3A8A;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #64748b;
}

/* Footer */
.footer {
    background: #1E3A8A;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3,
.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #F8BBD9;
}

.newsletter {
    margin-top: 2rem;
}

.newsletter h4 {
    margin-bottom: 0.5rem;
}

.newsletter p {
    margin-bottom: 1rem;
    color: #bdc3c7;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #bdc3c7;
}

.contact-info i {
    margin-right: 1rem;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
}

/* Footer Social Media Icons */
.footer-social {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-social h4 {
    color: #F8BBD9;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E3A8A, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    background: linear-gradient(135deg, #EA580C, #F97316);
}

.social-icons a:active {
    transform: translateY(-2px);
}

/* Individual Social Media Colors (Optional - uncomment to use brand colors) */
/*
.social-icons a[aria-label="Facebook"]:hover {
    background: #1877F2;
}

.social-icons a[aria-label="Twitter"]:hover {
    background: #1DA1F2;
}

.social-icons a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.social-icons a[aria-label="LinkedIn"]:hover {
    background: #0A66C2;
}

.social-icons a[aria-label="YouTube"]:hover {
    background: #FF0000;
}

.social-icons a[aria-label="Pinterest"]:hover {
    background: #E60023;
}
*/

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #F8BBD9;
}

/* Hero Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-visuals {
        height: 550px;
    }

    .hero-image img {
        width: 380px;
        height: 480px;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-content {
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-text {
        max-width: 100%;
        order: 1;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        margin-bottom: 2rem;
        max-width: 100%;
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 2rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 14px 20px;
    }

    /* Hide hero stats on mobile */
    .hero-stats {
        display: none;
    }

    .hero-visuals {
        height: 400px;
        margin: 0 auto;
        max-width: 90vw;
        padding: 0 10px;
        order: 2;
        position: relative;
    }

    .hero-image {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .hero-image img {
        width: 300px;
        height: 380px;
        object-fit: cover;
        border-radius: 20px;
        display: block;
    }

    .service-badge {
        padding: 8px 12px;
        font-size: 0.8rem;
        position: absolute;
    }

    .badge-icon {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }

    .badge-1 {
        top: 30px;
        right: 10px;
    }

    .badge-2 {
        top: 50%;
        left: -10px;
        transform: translateY(-50%);
    }

    .badge-3 {
        bottom: 30px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-visuals {
        height: 300px;
        max-width: 95vw;
    }

    .hero-image img {
        width: 240px;
        height: 310px;
    }

    /* Hero stats already hidden at 768px */

    .service-badge {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .badge-icon {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
    }

    .badge-1 {
        top: 20px;
        right: 5px;
    }

    .badge-2 {
        top: 50%;
        left: -15px;
    }

    .badge-3 {
        bottom: 20px;
        right: 5px;
    }

    .hero-buttons .btn {
        max-width: 250px;
        padding: 12px 16px;
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Enhanced Mobile Navigation & Footer */
.hero-bg-blog {
    background-image: url('../images/publish and distribution.jpg');
}

@media (max-width: 768px) {

    /* Navigation improvements */
    .navbar {
        padding: 1rem 0;
    }

    .navbar .container {
        padding: 0 1.2rem;
    }

    .nav-brand h2 {
        font-size: 1.6rem;
    }

    /* Logo Mobile Responsive */
    .nav-brand .logo-desktop {
        display: none;
    }

    .nav-brand .logo-mobile {
        display: block;
        height: 60px;
        width: auto;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        padding-top: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        background: #c7e4fb;
        color: #1E3A8A;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1001;
        padding: 8px;
        background: transparent;
        border: none;
        position: relative;
    }

    .nav-toggle span {
        width: 28px;
        height: 3px;
        background: #1E3A8A;
        margin: 4px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
        display: block;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-cta {
        display: block;
        margin-right: 0;
        flex-shrink: 0;
    }

    .nav-cta .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    /* Container improvements */
    .container {
        padding: 0 1rem;
    }

    /* Section spacing */
    section {
        padding: 60px 0;
    }

    /* Typography improvements */
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .section-header h2 {
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.9rem 0;
    }

    .navbar .container {
        padding: 0 1rem;
    }

    .nav-brand h2 {
        font-size: 1.4rem;
    }

    /* Logo Extra Small Mobile */
    .nav-brand .logo-mobile {
        height: 55px;
    }

    .nav-cta .btn {
        padding: 9px 16px;
        font-size: 0.85rem;
    }

    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }

    .container {
        padding: 0 0.8rem;
    }

    section {
        padding: 50px 0;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }
}

/* Tablet and Mobile Specific Styles */
@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Mobile Services Grid - 2x3 Layout for mobile */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 600px;
        padding: 0 15px;
    }

    /* Mobile Service Cards - Adjusted for smaller screens */
    .service-card {
        min-height: 400px;
        max-height: 400px;
        padding: 2rem 1.8rem;
    }

    .service-card-content {
        padding-bottom: 55px;
        /* Space for fixed button on mobile */
    }

    .service-card .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        max-width: 95%;
    }

    .service-card .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        min-width: 100px;
        bottom: 15px;
    }

    /* Portfolio Section Mobile */
    .portfolio-track {
        gap: 1.5rem;
        animation: scroll 25s linear infinite;
    }

    .portfolio-item {
        width: 200px;
        height: 280px;
    }

    /* Professional Services Mobile */
    .professional-services {
        padding: 60px 0;
    }

    .services-showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-showcase-card {
        padding: 2rem 1.5rem;
    }

    .service-showcase-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .service-showcase-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .service-showcase-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Service Pages Mobile */
    .hero-service {
        padding: 100px 0 60px;
    }

    .hero-service .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-service .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-service .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-service .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-service .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .service-icon-large {
        width: 150px;
        height: 150px;
    }

    .service-icon-large i {
        font-size: 3rem;
    }

    .service-features,
    .service-process {
        padding: 60px 0;
    }

    .features-grid,
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card,
    .step {
        padding: 1.5rem;
    }

    /* Platform Cards Mobile */
    .platform-card {
        min-height: 260px;
        max-height: 260px;
        padding: 2rem 1.8rem;
    }

    .platform-card .platform-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .platform-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .platform-card p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        max-width: 95%;
    }

    .footer-legal {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }
}

/* Newsletter Button Styling */
.newsletter .btn {
    background: #1E3A8A;
    color: white;
    border: 2px solid #1E3A8A;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    display: inline-block;
}

.newsletter .btn:hover {
    background: #1D4ED8;
    border-color: #1D4ED8;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Footer Responsive Styles */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }

    .footer-column {
        max-width: 300px;
        margin: 0;
    }

    /* Footer Dropdown Styles for Mobile */
    .footer-dropdown-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
        user-select: none;
    }

    .footer-dropdown-header:hover {
        color: #F8BBD9;
    }

    .footer-dropdown-icon {
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .footer-dropdown-header.active .footer-dropdown-icon {
        transform: rotate(180deg);
    }

    .footer-dropdown-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding-left: 0;
    }

    .footer-dropdown-content.show {
        max-height: 300px;
        padding-top: 0.5rem;
    }

    .footer-dropdown-content li {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-dropdown-content li:last-child {
        border-bottom: none;
    }

    .footer-dropdown-content a {
        display: block;
        padding: 0.25rem 0;
        transition: color 0.3s ease;
    }

    /* Contact Info Dropdown Styling */
    .footer-dropdown-content.contact-info p {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0;
    }

    .footer-dropdown-content.contact-info p:last-child {
        border-bottom: none;
    }

    .footer-legal {
        flex-direction: column;
        text-align: left;
        gap: 1rem;
        align-items: flex-start;
    }

    .footer-legal p {
        text-align: left;
        margin: 0;
    }

    /* Social Icons Mobile Styles */
    .footer-social {
        text-align: center;
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .footer-social h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .social-icons {
        gap: 1.2rem;
        justify-content: center;
    }

    .social-icons a {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .legal-links {
        justify-content: flex-start;
        gap: 1rem;
    }

    .legal-links a {
        font-size: 0.9rem;
    }
}

/* Desktop - Hide dropdown functionality */
@media (min-width: 769px) {
    .footer-dropdown-icon {
        display: none;
    }

    .footer-dropdown-header {
        cursor: default;
        border-bottom: none;
        padding: 0;
    }

    .footer-dropdown-content {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        gap: 1.5rem;
    }

    .footer-column {
        max-width: 280px;
    }

    /* Social Icons Small Mobile */
    .footer-social h4 {
        font-size: 0.95rem;
    }

    .social-icons {
        gap: 1rem;
    }

    .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .legal-links {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* =========================================
   Universal Service Hero (Portfolio Style)
   ========================================= */
.hero-service-universal {
    position: relative;
    padding: 120px 0 100px;
    /* More top padding for navbar */
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left align content */
    text-align: left;
    /* Left align text */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    margin-top: 0;
}

/* Dark Overlay for Text Readability */
.hero-service-universal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    /* Slightly darker for better contrast */
    z-index: 1;
}

.hero-service-universal .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    /* Align left */
    width: 100%;
}

/* Strict Reset & Flex Gap for Service Heroes */
.hero-service-universal .hero-content {
    max-width: 800px;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center !important;
    /* Pack items in the center, avoiding space-between spreading */
    text-align: left;
    gap: 12px !important;
    /* Controlled tight spacing */
}

/* Eyebrow Label */
.hero-service-universal .hero-label {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 !important;
    /* Reset margin */
    display: block;
    line-height: 1;
}

/* Main Heading - Reset Margins */
.hero-service-universal .hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin: 0 !important;
    /* Reset margin completely */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    padding: 0;
}

/* Description Paragraph - Reset Margins */
.hero-service-universal .hero-content p.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 2rem 0 !important;
    /* Only bottom margin for button separation */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 650px;
    font-weight: 400;
    line-height: 1.5;
    padding: 0;
}

/* Service Background Images */
.hero-bg-editing {
    background-image: url('../images/editing%20and%20proofreading.jpg');
}

.hero-bg-formatting {
    background-image: url('../images/format%20and%20layout.jpg');
}

.hero-bg-cover-design {
    background-image: url('../images/cover%20design.jpg');
}

.hero-bg-publishing {
    background-image: url('../images/publish%20and%20distribution.jpg');
}

.hero-bg-marketing {
    background-image: url('../images/markeitng%20and%20launch.jpg');
    /* Preserved typo in filename */
}

/* Unified Hero Backgrounds */
.hero-bg-about {
    background-image: url('../images/about.jpg');
}

.hero-bg-services {
    background-image: url('../images/Our%20Services.jpg');
}

.hero-bg-portfolio {
    background-image: url('../images/Portfolio%20image.jpg');
}

.hero-bg-contact {
    background-image: url('../images/contact%20us.jpg');
}

.hero-bg-faq {
    background-image: url('../images/faq.jpg');
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-service-universal {
        min-height: 50vh;
        /* Match requested mobile height */
        padding: 100px 0 60px;
        text-align: center;
        /* Center on mobile */
        justify-content: center;
    }

    .hero-service-universal .container {
        justify-content: center;
        /* Center on mobile */
    }

    .hero-service-universal .hero-content {
        align-items: center;
        /* Center items on mobile */
        text-align: center;
        margin: 0 auto;
    }

    .hero-service-universal h1 {
        font-size: 2.5rem;
    }

    .hero-service-universal .hero-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-service-universal h1 {
        font-size: 2rem;
    }
}

/* =========================================
   Service Page Background Sync (Scope: .service-page)
   ========================================= */

/* Blog Post Sidebar Layout */
.blog-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: 60px 0;
}

.blog-main {
    flex: 1;
    min-width: 0;
    /* Fix flex overflow issues */
}

.blog-sidebar {
    width: 350px;
    flex-shrink: 0;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.widget-cta {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #bae6fd;
}

.sidebar-widget h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1E3A8A;
}

.sidebar-widget p {
    font-size: 0.95rem;
    color: #4B5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.widget-services-list {
    list-style: none;
    padding: 0;
}

.widget-services-list li {
    margin-bottom: 12px;
}

.widget-services-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.widget-services-list a i {
    color: #3b82f6;
    font-size: 0.9rem;
}

.widget-services-list a:hover {
    background: #1E3A8A;
    color: white;
    border-color: #1E3A8A;
    transform: translateX(5px);
}

.widget-services-list a:hover i {
    color: white;
}

.trust-badge-widget {
    text-align: center;
}

.trust-stars {
    color: #f59e0b;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.trust-text {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0 !important;
}

.trust-sub {
    font-size: 0.85rem !important;
    color: #64748b !important;
}

@media (max-width: 992px) {
    .blog-layout {
        flex-direction: column;
    }

    .blog-sidebar {
        width: 100%;
        margin-top: 40px;
    }

    .sidebar-widget {
        max-width: 100%;
    }
}

/* Make inner sections transparent */
.service-page .service-features,
.service-page .service-process,
.service-page .cta {
    background: transparent !important;
}

/* Remove card background from CTA content to blend perfectly */
.service-page .cta-content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 2rem 0 !important;
    /* Adjust padding since box is gone */
}

/* Ensure text readability on transparent background */
.service-page .cta-content h2 {
    color: #1E3A8A;
    /* Keep blue */
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    /* Subtle glow for contrast */
}

.service-page .cta-content p {
    color: #374151;
    /* Darker gray for better contrast */
    font-weight: 500;
    /* Bump weight slightly for readability */
}