/* Global Styles */
:root {
    --primary-color: #0078d4;
    --secondary-color: #005a9e;
    --accent-color: #ff6b00ff;
    --text-color: #333333;
    --light-text: #666666;
    --background: #f8f9fa;
    --white: #ffffff;
    --section-bg: #eef2f5;
    --light-bg: #f0f5fa;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.08);
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --transform-transition: transform 0.3s ease;
    /* Glass effect custom properties */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

    /* Mobile navigation properties */
    --mobile-nav-top: 80px;
    --mobile-nav-height: calc(100vh - 80px);
    --mobile-nav-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --mobile-nav-transition: left 0.3s ease;
    --mobile-nav-gap: 2rem;
    --mobile-nav-padding: 2rem 0;
    --mobile-nav-font-size: 1.2rem;
    --mobile-nav-font-weight: 600;
    --mobile-nav-padding-a: 15px 0;
    --mobile-nav-bottom: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background);
    overflow-x: hidden;
    font-weight: 400;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.2rem;
    color: var(--light-text);
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    font-weight: 500;
}

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    color: var(--text-color);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
    color: var(--light-text);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.25);
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 120, 212, 0.35);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    text-transform: uppercase;
}

.btn-secondary:hover {
    background-color: rgba(0, 120, 212, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Card Styles */
.card {
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1, .logo a, .logo span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0;
    line-height: 1;
    position: relative;
    display: inline-block;
}

.logo h1::after, .logo a::after, .logo span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 1.5px;
}

.nav-links ul {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    height: 100%;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 30px 0;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links .btn-primary {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 24px;
    margin-left: 10px;
    color: var(--white);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
    position: relative;
    padding: 10px;
    margin: -10px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

body.mobile-nav .hamburger {
    display: flex;
    opacity: 1;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin-bottom: 5px;
    border-radius: 3px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    will-change: transform, opacity;
}

/* Hamburger active state styling */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.9), rgba(0, 90, 158, 0.95)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover;
    color: var(--white);
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover;
    opacity: 0.15;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--white);
    position: relative;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 5px;
    background-color: var(--accent-color);
    border-radius: 2.5px;
}

.hero-content p {
    font-size: 1.4rem;
    margin: 2rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.6;
}

.hero .btn-primary {
    background-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    padding: 16px 36px;
    font-size: 1.1rem;
}

.hero .btn-primary:hover {
    background-color: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: var(--section-bg);
    position: relative;
    overflow: hidden;
}

/* About Pitch Styling */
.about-pitch {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pitch-highlight {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.accent-text {
    color: var(--accent-color);
    font-weight: 600;
}

.bold-text {
    font-weight: 700;
    color: var(--primary-color);
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(0, 120, 212, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 107, 0, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.about-image {
    display: none; /* Hide the original image as we'll use it as backgrounds for the cards */
}

.about-text {
    width: 100%;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.about-carousel-container {
    position: relative;
    margin-top: 2.5rem;
}

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

.value-point {
    border-radius: 8px;
    border: 1px solid var(--card-border);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: 200% 200%;
    color: var(--white);
}

.value-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 0;
}

.value-point h3, .value-point p {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Position each quadrant of the background image */
.value-point:nth-child(1) {
    background-position: top left;
}

.value-point:nth-child(2) {
    background-position: top right;
}

.value-point:nth-child(3) {
    background-position: bottom left;
}

.value-point:nth-child(4) {
    background-position: bottom right;
}

.value-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-point:hover::before {
    background: rgba(0, 0, 0, 0.75);
}

.value-point h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.value-point h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 1.5px;
}

.value-point p {
    color: rgba(255, 255, 255, 1);
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

/* Hide carousel navigation elements as we're using a grid layout now */
.carousel-nav, .carousel-indicators {
    display: none;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background-color: var(--white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 120, 212, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 0, 0.03) 0%, transparent 20%);
    z-index: 1;
}

/* New services layout with tabs */
.services-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.services-tabs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.services-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-tab-btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--white);
    color: var(--text-color);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-tab-btn:hover {
    background-color: var(--light-bg);
}

.service-tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.services-text {
    width: 100%;
}

.service-points {
    position: relative;
}

.service-point {
    border-radius: 12px;
    border: 1px solid var(--card-border);
    padding: 1.8rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background-color: var(--card-bg);
    color: var(--text-color);
    display: none;
}

.service-point.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.service-point h4, .service-point p, .service-point ul {
    position: relative;
    z-index: 1;
}

.service-point h4 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 0.5rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.service-point p {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 100%;
}

.service-point ul {
    margin-left: 1.2rem;
    margin-bottom: 1.2rem;
    list-style-type: disc;
}

.service-point ul li {
    color: var(--light-text);
    margin-bottom: 0.7rem;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
}

.service-point ul li strong {
    color: var(--text-color);
    font-weight: 700;
}

/* Keep the old grid for backward compatibility but hide it */
.services-grid {
    display: none;
}

.service-card {
    background: var(--card-bg);
    border-radius: 12px;
    border: none;
    padding: 0;
    text-align: left;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 100%;
    height: 140px;
    background-color: rgba(0, 120, 212, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.2), rgba(255, 107, 0, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-card:hover .service-icon::after {
    transform: scale(3);
}

.service-card h3 {
    margin: 0;
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-card p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Case Studies Section */
.case-studies {
    padding: 8rem 0;
    background-color: var(--section-bg);
    position: relative;
    overflow: hidden;
}

/* Case Studies Carousel Styles */
.case-studies-container {
    position: relative;
    margin: 0 auto;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.carousel-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn.prev::before {
    content: '←';
    font-size: 1.2rem;
}

.carousel-btn.next::before {
    content: '→';
    font-size: 1.2rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-text);
    margin: 0 0.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.case-studies::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background-color: rgba(0, 120, 212, 0.03);
    border-radius: 50%;
    z-index: 1;
}

.case-studies-slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 3rem;
    position: relative;
    z-index: 2;
    padding: 1rem 0;
}

.case-study {
    min-width: 350px;
    flex: 1 0 350px;
    max-width: 100%;
}

/* Add styles for case study detail pages */
.case-study-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8rem 0 4rem;
    margin-top: 80px;
}

.case-study-header h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
}

.case-study-header .hero-statement {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.case-study-detail {
    padding: 5rem 0;
    background-color: var(--white);
}

.case-study-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.case-study-detail-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.case-study-outcomes {
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.case-study-outcomes h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.case-study-outcomes ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.case-study-outcomes li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.case-study-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.case-study {
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.case-study-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.case-study-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-study:hover .case-study-image::before {
    opacity: 1;
}

.case-study:nth-child(1) .case-study-image {
    background-image: url('https://images.unsplash.com/photo-1563986768609-322da13575f3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.case-study:nth-child(2) .case-study-image {
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2015&q=80');
}

.case-study:nth-child(3) .case-study-image {
    background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.case-study:nth-child(4) .case-study-image {
    background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2071&q=80');
}

.case-study-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-study-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.case-study:hover .case-study-content h3 {
    color: var(--primary-color);
}

.case-study-content .client {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-study-content p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
    line-height: 1.7;
}

.case-study-content .btn-secondary {
    margin-top: auto;
    align-self: flex-start;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background-color: var(--white);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 107, 0, 0.03);
    border-radius: 50%;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--card-border);
    padding: 3rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(0, 120, 212, 0.1);
    z-index: 1;
}

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

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    z-index: 2;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e5e7eb;
    border: 3px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card:nth-child(1) .author-image {
    background-image: url('https://randomuser.me/api/portraits/women/44.jpg');
    background-size: cover;
}

.testimonial-card:nth-child(2) .author-image {
    background-image: url('https://randomuser.me/api/portraits/men/32.jpg');
    background-size: cover;
}

.testimonial-card:nth-child(3) .author-image {
    background-image: url('https://randomuser.me/api/portraits/women/68.jpg');
    background-size: cover;
}

.author-info h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 700;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(0, 90, 158, 0.95), rgba(0, 120, 212, 0.9)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 25%);
    z-index: 1;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    position: relative;
    padding-bottom: 20px;
}

.cta-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    line-height: 1.7;
}

.cta .btn-primary {
    background-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    padding: 16px 36px;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.cta .btn-primary:hover {
    background-color: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.contact-form {
    display: grid;
    gap: 1rem;
}

/* Form styling with security considerations */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--white);
    font-weight: 500;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.form-group input[type="checkbox"] + label {
    display: inline;
    font-size: 0.9rem;
    font-weight: normal;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

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

/* Style for invalid inputs */
.form-group input:invalid,
.form-group textarea:invalid,
.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #ff4d4d;
}

/* Form validation styles */
.form-group input.error,
.form-group textarea.error {
    border-color: red;
}

/* Hide honeypot field properly */
.form-group input[name="website"] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

.honeypot {
    display: none;
}

/* Contact message styling (replacement for contact form) */
.contact-message {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.contact-message p {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-message p:last-child {
    margin-bottom: 0;
}

.email-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.email-link:hover {
    color: #e65c00;
    text-decoration: underline;
}

.email-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.4);
    border-radius: 2px;
}

/* Ask Us Section */
.ask-us {
    padding: 6rem 0;
    background-color: var(--background);
}

.ask-us-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.ask-us-info {
    flex: 1;
}

.ask-us-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.ask-us-chat {
    flex: 1;
}

.chat-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.chat-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.chat-placeholder {
    color: var(--light-text);
}

.chat-placeholder p {
    margin-bottom: 0.5rem;
}

/* Founder's Blog Section */
.founders-blog {
    padding: 6rem 0;
    background-color: #f3f4f6;
}

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

.blog-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-card:nth-child(1) .blog-image {
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.blog-card:nth-child(2) .blog-image {
    background-image: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.blog-card:nth-child(3) .blog-image {
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Downloads Section */
.downloads {
    padding: 6rem 0;
    background-color: var(--background);
}

.downloads-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.downloads-info {
    flex: 1;
}

.downloads-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.template-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.template-feature {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.template-feature:hover {
    transform: translateY(-5px);
}

.template-feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.downloads-form-container {
    flex: 1;
}

.downloads-form {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    transition: var(--transition);
}

.downloads-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.downloads-form h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.template-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.template-form .form-group label {
    color: var(--text-color);
}

.template-form .form-group input,
.template-form .form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.template-form .form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.template-form .form-group input[type="checkbox"] + label {
    display: inline;
    font-size: 0.9rem;
    font-weight: normal;
}

.template-form .form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.template-form .form-group input:focus,
.template-form .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.template-form .form-group input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/* Community Section */
.community {
    padding: 6rem 0;
    background-color: var(--background);
}

.community-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.community-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.community-image {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.community-image img {
    display: block;
    width: 100%;
    height: auto;
}

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

.community-feature {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.community-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.community-feature p {
    margin-bottom: 1.5rem;
}

.community-feature .btn-secondary {
    margin-top: auto;
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Community Navigation */
.community-nav {
    padding: 3rem 0;
    background-color: #f3f4f6;
    text-align: center;
}

.community-nav h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.community-nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.community-nav-links a {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    color: var(--text-color);
}

.community-nav-links a:hover {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.community-nav-links a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Responsive styles for new sections */
@media (max-width: 992px) {
    .ask-us-content, .downloads-content {
        flex-direction: column;
    }

    .ask-us-info, .ask-us-chat, .downloads-info, .downloads-form-container {
        width: 100%;
    }
}

/* Footer */
.footer {
    background-color: #1a2b3c;
    color: var(--white);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(0, 120, 212, 0.05) 0%, transparent 25%);
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    flex: 0 0 300px;
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.footer-logo h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 1.5px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    flex: 1;
    justify-content: flex-end;
}

.footer-links-column {
    min-width: 160px;
}

.footer-links-column h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 1px;
}

.footer-links-column ul li {
    margin-bottom: 1rem;
}

.footer-links-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

.footer-links-column a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-links-column ul li:not(:has(a)) {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-bottom .social-icons a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-bottom .social-icons a:hover {
    color: var(--white);
    transform: translateY(-3px);
}

/* Animation Styles */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.fade-in-initial {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.3rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .about-content {
        gap: 3rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .case-study {
        min-width: 300px;
        flex: 1 0 300px;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

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

    .about-image {
        min-height: 400px;
        order: -1;
    }

    .value-points {
        grid-template-columns: 1fr;
    }

    /* Adjust background positions for single column layout */
    .value-point:nth-child(1) {
        background-position: top left;
    }

    .value-point:nth-child(2) {
        background-position: top right;
    }

    .value-point:nth-child(3) {
        background-position: bottom left;
    }

    .value-point:nth-child(4) {
        background-position: bottom right;
    }

    .cta-content {
        padding: 3rem;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }
}

/* Dynamic mobile navigation based on available space */
body.mobile-nav .nav-links {
    position: fixed;
    top: var(--mobile-nav-top);
    left: -100%;
    width: 100%;
    height: var(--mobile-nav-height);
    background: var(--white);
    transition: var(--mobile-nav-transition);
    z-index: 999;
    will-change: left;
    box-shadow: var(--mobile-nav-shadow);
}

body.mobile-nav .nav-links.active {
    left: 0;
}

body.mobile-nav .nav-links ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: var(--mobile-nav-gap);
    padding: var(--mobile-nav-padding);
}

body.mobile-nav .nav-links a {
    font-size: var(--mobile-nav-font-size);
    font-weight: var(--mobile-nav-font-weight);
    padding: var(--mobile-nav-padding-a);
}

body.mobile-nav .nav-links .btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 4px;
    margin-top: 10px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.25);
}

body.mobile-nav .nav-links a:not(.btn-primary)::after {
    bottom: var(--mobile-nav-bottom);
}

body.mobile-nav .hamburger {
    display: flex;
}

/* Keep the original media query for smaller screens */
@media (max-width: 768px) {
    body:not(.mobile-nav) .nav-links {
        position: fixed;
        top: var(--mobile-nav-top);
        left: -100%;
        width: 100%;
        height: var(--mobile-nav-height);
        background: var(--white);
        transition: var(--mobile-nav-transition);
        z-index: 999;
        will-change: left;
        box-shadow: var(--mobile-nav-shadow);
    }

    body:not(.mobile-nav) .nav-links.active {
        left: 0;
    }

    body:not(.mobile-nav) .nav-links ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        gap: var(--mobile-nav-gap);
        padding: var(--mobile-nav-padding);
    }

    body:not(.mobile-nav) .nav-links a {
        font-size: var(--mobile-nav-font-size);
        font-weight: var(--mobile-nav-font-weight);
        padding: var(--mobile-nav-padding-a);
    }

    body:not(.mobile-nav) .nav-links .btn-primary {
        background-color: var(--primary-color);
        color: var(--white);
        padding: 10px 24px;
        border-radius: 4px;
        margin-top: 10px;
        font-weight: 600;
        text-align: center;
        box-shadow: 0 4px 12px rgba(0, 120, 212, 0.25);
    }

    body:not(.mobile-nav) .nav-links a:not(.btn-primary)::after {
        bottom: var(--mobile-nav-bottom);
    }

    /* Hamburger display is now handled by the mobile-nav class */
    .hamburger {
        display: flex;
        opacity: 1;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    /* Services responsive styles */
    .services-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .service-tab-btn {
        width: 100%;
        text-align: left;
        padding: 1rem 1.5rem;
        border-radius: 8px;
    }

    .service-point {
        padding: 1.5rem;
    }

    .service-point h4 {
        font-size: 1.4rem;
    }

    .services-grid,
    .service-points {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        width: 100%;
        justify-content: flex-start;
        gap: 3rem;
    }

    .footer-logo {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero .btn-primary {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .about, .services, .case-studies, .testimonials, .cta {
        padding: 5rem 0;
    }

    /* Additional services responsive styles for mobile */
    .services-content {
        padding: 0 0.5rem;
    }

    .service-tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .service-point {
        padding: 1.2rem;
    }

    .service-point h4 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .service-point p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .service-point ul {
        margin-left: 1rem;
        margin-bottom: 1rem;
    }

    .service-point ul li {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .cta-content {
        padding: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    .services-grid,
    .service-points,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-studies-slider {
        gap: 1.5rem;
    }
    
    .case-study {
        min-width: 280px;
        flex: 1 0 280px;
    }

    .service-card, .testimonial-card {
        padding: 2rem;
    }
}


/* Custom overrides per issue request (2025-08-13)
   - Value Points: mobile-only carousel with same navigation as Success Stories (arrows + dots)
   - Case Studies: show exactly 3 cards visible on desktop, keep 4 dots */

/* 1) Value Points: show navigation only on mobile and enable slider layout */
@media (max-width: 992px) {
    .about-carousel-container .carousel-nav {
        display: flex;
    }
    .about-carousel-container .carousel-indicators {
        display: flex;
    }
    .about-carousel-container .value-points {
        display: flex;
        overflow: hidden;
        gap: 1.5rem;
        scroll-behavior: smooth;
    }
    .about-carousel-container .value-point {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 993px) {
    .about-carousel-container .carousel-nav,
    .about-carousel-container .carousel-indicators {
        display: none;
    }
}

/* 2) Show 3 cards in Case Studies carousel on desktop (keep 4 dots) */
@media (min-width: 993px) {
    /* The gap between items is 3rem (see .case-studies-slider). To fit 3 cards, subtract 2 gaps (6rem) */
    .case-studies-slider .case-study {
        flex: 0 0 calc((100% - 6rem) / 3);
        max-width: calc((100% - 6rem) / 3);
        min-width: 0; /* allow shrink to fit the 3-in-view layout */
    }
}
