/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-dark: #F0F4F8;
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --accent: #005BA2;
    --accent-hover: #004b87;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 91, 162, 0.1);
}

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    width: 100%;
    position: relative;
}

/* Header & Glassmorphism */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: #F0F7FF;
    border-bottom: 1px solid rgba(0, 91, 162, 0.15);
    box-shadow: 0 4px 25px rgba(0, 91, 162, 0.08);
}

.header.scrolled {
    background: #E8F4FF;
    box-shadow: 0 10px 40px rgba(0, 91, 162, 0.12);
}

.header-hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1251px;
    margin: 0 auto;
    padding: 0 2rem;
    transition: padding 0.3s ease;
}

.header.scrolled .header-container {
    padding: 0 2rem;
}

/* Logo */
.logo {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
    transform: scale(1.6);
    transform-origin: left center;
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 80px;
    transform: scale(1.8);
    transform-origin: bottom center;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin-top: 2px;
    opacity: 0.9;
}

.footer-logo .logo-text {
    color: #ffffff;
    margin-top: -15px;
    position: relative;
    z-index: 2;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.mobile-only-btn {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #FF6400;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Actions & Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #FF6400;
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(255, 100, 0, 0.39);
}

.btn-primary:hover {
    background-color: #e65a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 100, 0, 0.23);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--text-primary);
    transition: all 0.3s ease-in-out;
}

/* Hero Section (Slider-Based) */
.hero {
    width: 100%;
    position: relative;
    color: #fff;
    overflow: hidden;
    margin-top: 80px;
    /* Offset for fixed header */
    padding: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    position: relative;
    opacity: 1;
    z-index: 2;
}

.hero-content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
    pointer-events: none;
    /* Let clicks pass through if needed, except on buttons */
}

.slider-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
}

.hero-content {
    text-align: left;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #fff;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 95%;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 220px;
    /* Accounts for the removed text to keep buttons in place */
}

.btn-secondary-orange {
    background-color: #FF6400;
    color: #fff;
    border: none;
    font-weight: 600;
}

.btn-secondary-orange:hover {
    background-color: #e65a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 100, 0, 0.3);
}

.hero-bottom-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 5rem;
    padding: 1.5rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    color: #fff;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.bar-item i {
    color: var(--accent);
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.bar-item:hover {
    color: var(--accent);
}

.bar-item:hover i {
    transform: scale(1.2);
}

.hero-bottom-bar .divider {
    height: 24px;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.mt-4 {
    margin-top: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about {
    background-color: var(--bg-dark);
    position: relative;
}

.about-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-heading-left .section-title {
    margin-bottom: 0;
    line-height: 1.2;
}

.about-desc-right {
    border-left: 4px solid var(--accent);
    padding-left: 2rem;
}

.about-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Component Layouts & Backgrounds */
.bg-alt {
    background-color: #FFFFFF;
}

.business-bg {
    background: linear-gradient(rgba(10, 25, 47, 0.88), rgba(10, 25, 47, 0.95)), url('../assets/business_deal_bg.png') center/cover fixed;
}

.business-bg .section-title,
.business-bg .section-subtitle {
    color: #ffffff;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

/* Services */
.services {
    padding-top: 150px;
}

.services .container {
    max-width: 1550px;
}

.services-grid.premium-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.service-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
}

.service-card.interactive {
    background-color: #fff;
    border: 1px solid var(--glass-border);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.service-card.interactive::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card.interactive:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service-card.interactive:hover::after {
    transform: scaleX(1);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.service-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.service-card.interactive .card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0;
}

.service-card.interactive h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card.interactive p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.7;
}

.explore-link {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.service-card.interactive:hover .explore-link {
    color: var(--accent-hover);
}

/* Industries */
.dark-section {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(15, 45, 84, 0.95) 100%), url('../assets/industries_bg.png') center/cover fixed;
    color: #fff;
}

.dark-section .dark-title {
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.industry-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.industry-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
    cursor: pointer;
}

.industry-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: color 0.4s ease;
}

.industry-card h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0;
    transition: color 0.4s ease;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.industry-card:hover::before {
    opacity: 1;
}

.industry-card:hover i,
.industry-card:hover h3 {
    color: #fff;
}

/* Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.feature-list li {
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: #fff;
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    border-left: 4px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    cursor: default;
}

.feature-list li:hover {
    transform: translateX(8px);
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 25px rgba(0, 91, 162, 0.1);
}

.check {
    color: #fff;
    background: var(--accent);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 91, 162, 0.2);
}

/* Approach Journey */
.approach-journey {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 2rem;
    position: relative;
}

.journey-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
    border-radius: 12px;
    background: transparent;
    transition: all 0.5s ease;
    opacity: 0.5;
    /* Default state for animation */
    transform: translateY(20px);
}

.journey-step.active {
    opacity: 1;
    transform: translateY(0);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #fe0000;
}

.journey-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3.5rem;
    color: var(--glass-border);
    font-size: 1.5rem;
}

.journey-step .step-num {
    width: 3.5rem;
    height: 3.5rem;
    background: #fff;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
    font-size: 1.2rem;
    transition: all 0.5s ease;
}

.journey-step.active .step-num {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 91, 162, 0.4);
}

.journey-step h4 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.journey-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Editorial Grid */
.editorial-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.premium-case {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-end;
    padding: 4rem 3rem;
}

.premium-case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.3) 100%);
    z-index: 1;
}

.premium-case-content {
    position: relative;
    z-index: 2;
}

.case-meta-tag {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.8rem 1.2rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.premium-case-content h3 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.case-details p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.case-result-highlight {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.result-num {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.result-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.editorial-side {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.case-card-small {
    background: #fff;
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.case-card-small.interactive:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left-color: var(--accent);
    background: #fff;
}

.case-meta {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.case-details {
    color: var(--text-secondary);
    margin: 1.2rem 0;
    line-height: 1.6;
}

.case-details p {
    margin-bottom: 0.5rem;
}

.case-card-small h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.case-brief {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Magazine Insights */
.magazine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.magazine-featured {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    cursor: pointer;
}

.magazine-image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 91, 162, 0.1) 0%, rgba(255, 100, 0, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.magazine-featured:hover .magazine-image-placeholder {
    transform: scale(1.02);
}

.magazine-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.magazine-featured h3 {
    font-size: 2rem;
    color: var(--text-primary);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.magazine-featured:hover h3 {
    color: var(--accent);
}

.magazine-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.magazine-item {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    cursor: pointer;
}

.magazine-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.magazine-item h4 {
    font-size: 1.4rem;
    color: var(--text-primary);
    line-height: 1.4;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.magazine-item:hover h4 {
    color: var(--accent);
}

.card-style {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.magazine-featured.card-style:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.insight-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.insight-arrow {
    margin-left: auto;
    font-size: 1.2rem;
    padding-left: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.magazine-item.card-style {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: none;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
}

.magazine-item.card-style:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.magazine-item.card-style:hover .insight-arrow {
    opacity: 1;
    transform: translateX(0);
}

.insight-content {
    display: flex;
    flex-direction: column;
}

/* Final CTA */
.dark-navy-cta {
    background: linear-gradient(135deg, var(--accent) 0%, #003B73 100%);
    position: relative;
    overflow: hidden;
}

.cta-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.text-white {
    color: #fff !important;
}

.text-white-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.dark-navy-cta .btn-primary {
    background: #fff;
    color: var(--accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.dark-navy-cta .btn-primary:hover {
    background: #F3F4F6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* Clean Footer */
.clean-footer {
    background: #0A192F;
    padding: 3rem 0 2rem 0;
    border-top: none;
    color: #F3F4F6;
}

.footer-top {
    text-align: left;
    margin-bottom: 4rem;
}

.footer-tagline {
    color: #9CA3AF;
    font-size: 1.1rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-col h4 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9CA3AF;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1rem;
}

.legal-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--accent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .approach-journey {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding-top: 1rem;
    }

    .journey-connector {
        display: none;
    }

    .journey-step {
        flex: none;
        width: 100%;
        max-width: none;
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 992px) {
    .section-padding {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-header-grid,
    .why-grid,
    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .about-desc-right {
        border-left: none;
        border-top: 4px solid var(--accent);
        padding-left: 0;
        padding-top: 2rem;
    }

    .hero {
        padding: 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero p {
        margin: 0 auto 2rem auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-bottom-bar {
        flex-wrap: wrap;
        margin-top: 3rem;
        gap: 1rem;
    }

    .hero-slider {
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: loadingSkeleton 1.5s infinite;
    }

    @keyframes loadingSkeleton {
        0% { background-position: 200% 0; }
        100% { background-position: -200% 0; }
    }

    .slide {
        height: auto;
    }

    .slider-dots {
        bottom: 10px;
    }

    .nav-list {
        gap: 1.5rem;
    }

    .approach-journey {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        padding-top: 1rem;
    }

    .journey-step {
        flex: 0 0 calc(50% - 0.75rem);
        width: calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
        padding: 1.5rem 0.5rem;
        box-sizing: border-box;
    }

    .journey-step p {
        display: block;
        font-size: 0.75rem;
    }

    .journey-step h4 {
        font-size: 0.85rem;
    }

    .journey-connector {
        display: none;
    }

    .magazine-grid {
        grid-template-columns: 1fr;
    }

    .services-grid.premium-cards {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }

    .feature-list li {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
        gap: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .about-header-grid,
    .why-grid,
    .hero-grid,
    .contact-grid {
        gap: 2rem;
    }

    .industry-cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .industry-card {
        padding: 1rem 0.25rem;
    }

    .industry-card i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .industry-card h3 {
        font-size: 0.75rem;
        word-wrap: break-word;
    }

    .premium-case {
        padding: 1.5rem 1rem;
        max-width: 95%;
        margin: 0 auto;
        border-radius: 12px;
    }

    .premium-case-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .case-details {
        display: block;
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .case-details p {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .case-result-highlight {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        margin-top: 1rem !important;
    }

    .case-result-highlight .result-num {
        font-size: 1.8rem;
    }

    .editorial-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .case-card-small {
        padding: 1rem;
    }

    .case-card-small h3 {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }

    .case-card-small .case-meta {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }

    .case-brief {
        display: block;
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .case-details {
        font-size: 0.95rem;
        margin: 1rem 0;
    }

    .explore-link {
        white-space: nowrap;
    }

    .magazine-image-placeholder {
        height: 180px;
        font-size: 2.5rem;
    }

    .magazine-featured h3 {
        font-size: 1.4rem;
        margin-top: 1rem;
    }

    .magazine-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .magazine-item {
        padding-bottom: 0;
        border-bottom: none;
    }

    .magazine-item h4 {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-top: 0.5rem;
    }

    .mobile-toggle {
        display: block;
    }

    .about-stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.25rem;
    }

    .about-stats-grid .stat-number {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
    }

    .about-stats-grid .stat-label {
        font-size: 0.6rem;
        line-height: 1.2;
        letter-spacing: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .services-grid.premium-cards {
        grid-template-columns: 1fr;
    }

    .custom-hf-card {
        padding: 1.8rem 1.2rem 1.5rem 1.2rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .custom-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .footer-feature {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-align: left;
    }

    .cta-main-text,
    .cta-sub-text {
        white-space: normal;
        word-wrap: break-word;
    }

    .services .services-grid.premium-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services .services-grid.premium-cards .service-card {
        padding: 1.5rem;
    }

    .services .services-grid.premium-cards h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .services .services-grid.premium-cards p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .services    .section-title {
        font-size: 1.8rem;
    }

    .journey-step {
        padding: 1.5rem 1rem;
    }

    .services .card-top {
        margin-bottom: 1rem;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-col:nth-child(odd) {
        text-align: left;
    }

    .footer-col:nth-child(even) {
        text-align: right;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .mobile-only-btn {
        display: list-item;
        margin-top: 1.5rem;
    }

    .mobile-only-btn .btn {
        width: 100%;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .header-actions .btn {
        display: none;
        /* Can move to mobile menu if needed */
    }

    /* Hamburger Animation */
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .dark-section {
        background-attachment: scroll !important;
    }

    .page-header {
        padding: 6rem 0 !important;
        min-height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.footer h4,
.footer p,
.footer a {
    color: #e5e7eb !important;
}

.footer a:hover {
    color: #FF6400 !important;
}

/* Service Features (Detailed Cards) */
.service-card-detailed {
    height: auto;
}

.service-features {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.service-features h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-features ul {
    list-style: none;
    padding-left: 0;
}

.service-features ul li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.service-features ul li i {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

.service-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

/* Animations */
.fade-up-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-up-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* High-Fidelity Custom Service Cards */
.custom-hf-card {
    background: #f7f9fc;
    border-radius: 20px;
    padding: 2.5rem 1.8rem 1.5rem 1.8rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Ribbon */
.card-ribbon {
    position: absolute;
    top: -10px;
    left: 20px;
    background: linear-gradient(135deg, #0056b3, #003d82);
    color: #fff;
    width: 35px;
    height: 45px;
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.ribbon-num {
    font-size: 1rem;
    font-weight: 700;
    margin-top: -5px;
    position: relative;
}

.ribbon-num::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #ffd700;
}

.ribbon-fold {
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-right: 10px solid #00224d;
}

/* Top Icon Box */
.top-icon-box {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.15);
    font-size: 1.1rem;
    color: #0056b3;
}

/* Typography */
.custom-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2b4c;
    padding: 0;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.custom-card-title span {
    color: #0056b3;
}

.title-divider {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.divider-line {
    width: 40px;
    height: 3px;
    background: #0056b3;
    border-radius: 2px;
}

.divider-dot {
    width: 6px;
    height: 6px;
    background: #ffd700;
    border-radius: 50%;
    margin-left: 5px;
}

.custom-card-desc {
    color: #4a5568;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Section Divider */
.section-divider {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: rgba(0, 86, 179, 0.1);
}

.section-divider::before {
    left: 0;
}

.section-divider::after {
    right: 0;
}

.diamond-icon {
    color: #a0aec0;
    font-size: 0.6rem;
    background: #f7f9fc;
    padding: 0 10px;
    z-index: 2;
}

/* Key Services Badge */
.key-services-badge {
    background: #e6f0fa;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    color: #1a2b4c;
    font-weight: 700;
    font-size: 0.85rem;
    align-self: flex-start;
}

.badge-icon-circle {
    background: #0056b3;
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.6rem;
    margin-right: 6px;
}

/* Custom Feature List */
.custom-feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.custom-feature-list li {
    background: #fff;
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
}

.custom-feature-list li:hover {
    transform: translateX(5px);
}

.list-icon-check {
    color: #0056b3;
    font-size: 0.85rem;
    margin-right: 12px;
    position: relative;
}

.list-icon-check::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
}

.list-text {
    color: #2d3748;
    font-size: 0.85rem;
    flex-grow: 1;
}

.list-icon-arrow {
    color: #0056b3;
    font-size: 0.7rem;
}

/* CTA Button */
.custom-cta-btn {
    background: linear-gradient(90deg, #003d82, #0056b3);
    border-radius: 16px;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
    transition: transform 0.3s ease;
}

.custom-cta-btn:hover {
    transform: translateY(-3px);
}

.cta-left-icon {
    background: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.cta-icon-inner {
    color: #0056b3;
    font-size: 0.9rem;
    position: relative;
}

.rupee-sym {
    position: absolute;
    bottom: -2px;
    right: -8px;
    font-size: 0.7rem;
    background: #fff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-text-content {
    flex-grow: 1;
}

.cta-main-text {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.cta-sub-text {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.65rem;
}

.cta-right-arrow {
    color: #fff;
    font-size: 0.9rem;
    margin-left: 10px;
}

/* Footer Features */
.custom-card-footer {
    display: flex;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    margin-top: auto;
}

.footer-feature {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-feature:last-child {
    border-right: none;
}

.footer-feature i {
    color: #0056b3;
    font-size: 1.2rem;
    margin-right: 10px;
}

.footer-feature span {
    font-size: 0.7rem;
    color: #4a5568;
    line-height: 1.3;
}

/* Mobile Responsive Header */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-primary);
}

@media (max-width: 991px) {
    .header-container {
        padding: 0 0.5rem;
    }

    .logo {
        margin-left: 0;
    }

    .logo img {
        height: 60px;
        transform: scale(1.4);
        transform-origin: left center;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .mobile-toggle {
        display: block;
        margin-left: 0.2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        justify-content: center;

        /* White background with sharp, distinct bubbles */
        background-color: #ffffff;
        background-image:
            radial-gradient(circle at 10% 20%, rgba(0, 115, 230, 0.05) 0%, rgba(0, 115, 230, 0.05) 60px, transparent 61px),
            radial-gradient(circle at 90% 85%, rgba(255, 100, 0, 0.06) 0%, rgba(255, 100, 0, 0.06) 80px, transparent 81px),
            radial-gradient(circle at 80% 10%, rgba(0, 115, 230, 0.03) 0%, rgba(0, 115, 230, 0.03) 40px, transparent 41px),
            radial-gradient(circle at 15% 75%, rgba(255, 100, 0, 0.04) 0%, rgba(255, 100, 0, 0.04) 100px, transparent 101px);

        z-index: 1000;
        padding-top: 5rem;
    }

    .nav-menu::before {
        content: '';
        display: block;
        position: absolute;
        top: 3rem;
        left: 50%;
        transform: translateX(-50%);
        width: 250px;
        height: 80px;
        background: url('../assets/logo.png') no-repeat center center;
        background-size: contain;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .header-actions .btn {
        display: inline-block;
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        margin-right: 0;
        white-space: nowrap;
    }

    /* Hamburger Animation */
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}