/* ======= Base Styles ======= */
:root {
    --primary-color: #1E293B;
    --secondary-color: #0F172A;
    --accent-color: #3B82F6;
    --text-color: #1E293B;
    --light-text: #64748B;
    --light-bg: #F8FAFC;
    --border-color: #E2E8F0;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --section-spacing: 100px; /* Added variable for consistent section spacing */
    --navbar-height: 80px; /* Added variable for navbar height */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
}

/* Main content wrapper - ensures proper spacing below fixed navbar */
.main-content {
    padding-top: calc(var(--navbar-height) + 20px);
}

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

ul {
    list-style: none;
}

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

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

.section-header {
    margin-bottom: 40px;
}

.section-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 10px;
}

.section-label i {
    font-size: 6px;
    margin-right: 8px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 3.2rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

/* ======= Buttons ======= */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn i {
    margin-left: 8px;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color); /* Fixed space after var */
}

.btn-dark {
    background-color: var(--secondary-color);
    color: white;
}

.btn-dark:hover {
    background-color: var(--primary-color);
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-arrow {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-arrow:hover {
    background-color: var(--secondary-color);
}

/* ======= Header and Navigation ======= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    font-weight: 500;
}

.nav-menu li a:hover {
    color: var(--accent-color);
}

.mobile-menu {
    display: none;
}

#menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

#menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 1100;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.mobile-nav-header .logo {
    font-size: 1.8rem;
    font-weight: 700;
}

#close-menu {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 18px;
}

.mobile-nav-footer {
    margin-top: 40px;
}

/* ======= Hero Section ======= */
.hero-section {
    padding: 140px 0 80px;
    background-color: var(--light-bg);
}

/* Update for the new structure */
.hero-title-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 40px; /* Increased margin for better spacing */
    text-align: center; /* Ensure text is centered */
}

.hero-title-wrapper h1 {
    max-width: 80%; /* Limit the width for better readability */
}

/* New wrapper for content and image */
.hero-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-text p {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 30px;
}

.hero-categories {
    display: flex;
    gap: 20px;
    margin-top: 10px; /* Reduced from 40px since we have gap in parent */
}

.categories-box {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    flex: 1;
}

.categories-box h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tags span {
    background-color: var(--light-bg);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.consultants-box {
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.consultant-avatars {
    display: flex;
}

.consultant-avatars img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
}

.consultant-avatars img:first-child {
    margin-left: 0;
}

.consultant-count h2 {
    font-size: 28px;
    margin-bottom: 5px;
}

.consultant-count p {
    font-size: 14px;
    margin-bottom: 0;
}

.hero-image img {
    border-radius: var(--border-radius);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Media query updates for responsive layout */
@media (max-width: 992px) {
    .hero-main-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title-wrapper h1 {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-categories {
        flex-direction: column;
    }
    
    .hero-title-wrapper {
        margin-bottom: 30px;
    }
}

/* ======= Services Section ======= */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    position: relative;
}

.service-content .service-icon {
    margin-bottom: 40px !important;
}

.service-icon {
    position: absolute;
    top: -30px;
    left: 25px;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
}

.service-icon img {
    width: 30px;
    height: 30px;
}

.service-content h3 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.service-content p {
    color: var(--light-text);
    margin-bottom: 0;
}

/* ======= Transformation Section ======= */
.transformation-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.transformation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.transformation-image img {
    border-radius: var(--border-radius);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.transformation-text h2 {
    margin-bottom: 20px;
}

.transformation-text p {
    color: var(--light-text);
    margin-bottom: 30px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.expertise-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
}

.expertise-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.expertise-icon img {
    width: 24px;
    height: 24px;
}

.expertise-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.expertise-card p {
    font-size: 14px;
    margin-bottom: 0;
}

/* ======= Consultation Section ======= */
.consultation-section {
    padding: 80px 0;
}

.consultation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.consultation-image img {
    border-radius: var(--border-radius);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultation-text h2 {
    margin-bottom: 30px;
}

.consultation-box {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.consultation-box h3 {
    margin-bottom: 10px;
}

.consultation-box p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.consultation-form .form-group {
    display: flex;
    margin-bottom: 20px;
}

.consultation-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 25px 0 0 25px;
    outline: none;
}

.consultation-form .btn-arrow {
    border-radius: 0 25px 25px 0;
}

/* ======= Case Studies Section ======= */
.case-studies-section {
    padding: var(--section-spacing) 0;
    background-color: var(--light-bg);
}

.case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; /* Increased from 50px */
    align-items: center;
    margin-bottom: 50px; /* Increased from 40px */
    padding: 20px; /* Added padding */
    border-radius: var(--border-radius);
    background-color: white; /* Added background */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Added subtle shadow */
}

.case-study-text h3 {
    font-size: 28px; /* Increased from 24px */
    margin-bottom: 20px; /* Increased from 15px */
}

.case-study-text p {
    color: var(--light-text);
    margin-bottom: 25px; /* Increased from 20px */
    font-size: 16px; /* Added font size */
    line-height: 1.7; /* Improved line height */
}

.case-study-tags {
    display: flex;
    gap: 15px; /* Increased from 10px */
    margin-bottom: 25px; /* Added margin bottom */
}

.case-study-tags span {
    background-color: var(--light-bg);
    padding: 8px 18px; /* Increased from 5px 15px */
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500; /* Added font weight */
}

.case-study-image img {
    border-radius: var(--border-radius);
    width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Added subtle shadow */
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    border: none;
    margin: 60px 0; /* Increased from 40px 0 */
}

/* Added styles for filter section */
.case-studies-filter {
    padding: 40px 0 20px;
}

.filter-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Added styles for methodology section */
.methodology-section {
    padding: var(--section-spacing) 0;
    background-color: white;
}

.methodology-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.methodology-text h2 {
    margin-bottom: 30px;
}

.method-list {
    margin-top: 40px;
}

.method-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.method-number {
    font-size: 24px;
    font-weight: 700;
    color: var (--accent-color);
    line-height: 1;
}

.method-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Added styles for results section */
.results-section {
    padding: var(--section-spacing) 0;
    background-color: var(--primary-color);
    color: white;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.result-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.result-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.result-text {
    font-size: 16px;
    line-height: 1.6;
}

.centered {
    text-align: center;
}

/* Added styles for testimonial carousel */
.testimonial-carousel {
    padding: var(--section-spacing) 0;
    background-color: var(--light-bg);
}

.testimonial-slider {
    margin: 50px 0;
}

.testimonial-slide {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quote-icon {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.quote-text {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    color: white;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary-color);
}

/* Page header enhancements */
.page-header {
    padding: 140px 0 80px;
    background-color: var(--light-bg);
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    margin-bottom: 20px;
}

.page-header p {
    font-size: 20px;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

/* CTA Section enhancements */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 25px;
    font-size: 36px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

/* ======= Testimonial Section ======= */
.testimonial-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    position: relative; /* Add this to establish a stacking context */
    z-index: 1; /* Add a z-index to ensure proper stacking */
}

.testimonial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative; /* Add positioning context */
    z-index: 2; /* Ensure content is above any overlapping elements */
}

.testimonial-text h2 {
    margin-bottom: 20px;
    color: var(--light-bg);
}

.quote {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 40px;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item h2 {
    font-size: 36px;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.testimonial-image {
    position: relative;
    z-index: 2; /* Ensure image is above background elements */
}

.testimonial-image img {
    border-radius: var(--border-radius);
    width: 100%;
    position: relative; /* Add this to ensure proper stacking */
}

.testimonial-author {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3; /* Ensure author info is above the image */
}

.author-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.author-location {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.play-button {
    background-color: var(--accent-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    position: relative; /* Add this to establish a stacking context */
    z-index: 4; /* Ensure button is above all other elements */
}

/* ======= Stats Section ======= */
.stats-section {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stats-card {
    border-radius: var(--border-radius);
    padding: 30px;
    height: 100%;
}

.stats-card.dark {
    background-color: var(--secondary-color);
    color: white;
}

.stats-card.light {
    background-color: var(--light-bg);
}

.stats-card h3 {
    margin-bottom: 15px;
}

.stats-card p {
    color: var(--light-text);
    margin-bottom: 30px;
}

.stats-card.dark p {
    color: rgba(255, 255, 255, 0.7);
}

.stat-highlight {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon img {
    width: 30px;
    height: 30px;
}

.stat-number h2 {
    font-size: 36px;
    margin-bottom: 5px;
}

.stat-number p {
    margin-bottom: 0;
}

.team-avatars {
    display: flex;
    align-items: center;
}

.team-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
}

.team-avatars img:first-child {
    margin-left: 0;
}

.avatar-more {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-left: -10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ======= Clients Section ======= */
.clients-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.clients-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.client-logo {
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
}

.client-logo img {
    height: 30px;
}

/* ======= Blog Section ======= */
.blog-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.blog-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.blog-category {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.blog-date {
    font-size: 14px;
    color: var(--light-text);
    margin-left: 10px;
    position: relative;
    padding-left: 10px;
}

.blog-date::before {
    content: "•";
    position: absolute;
    left: 0;
}

.blog-content h3 {
    margin-bottom: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: var(--primary-color);
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    margin-left: 8px;
}

/* ======= Contact Button Section ======= */
.contact-button-section {
    padding: 60px 0;
    text-align: center;
}

/* ======= Footer ======= */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 80px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 30px;
}

.footer-links-group h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links-group ul li {
    margin-bottom: 10px;
}

.footer-links-group ul li a,
.footer-links-group p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links-group ul li a:hover {
    color: white;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-nav-col ul li {
    margin-bottom: 10px;
}

.footer-nav-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav-col ul li a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom img {
    display: inline-block;
    height: 20px;
    vertical-align: middle;
}

/* ======= Services Page Styles ======= */
.page-header {
    padding: 130px 0 80px;  /* Increased top padding from 80px to 130px */
    margin-bottom: 60px;
}
.services-overview {
    padding: 60px 0 80px;
}

.services-intro {
    margin-bottom: 60px;
}

.services-intro h2 {
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-content {
    padding: 25px 15px;
}

.service-content h3 {
    margin: 20px 0 15px;
}

.service-content p {
    margin-bottom: 25px;
    line-height: 1.7;
}

.read-more {
    margin-top: 20px;
    display: inline-block;
    padding: 5px 0;
}

.service-detail {
    padding: 100px 0;
}

.service-detail-content {
    gap: 60px;
    align-items: center;
}

.service-features li {
    margin-bottom: 15px;
    padding-left: 10px;
}

.service-features {
    margin: 30px 0;
}

.process-section {
    padding: 80px 0;
    margin: 60px 0;
}

.section-header {
    margin-bottom: 60px;
}

.process-steps {
    gap: 40px;
}

.process-step {
    padding: 30px;
    margin-bottom: 30px;
}

/* Media queries for services page */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-detail {
        padding: 60px 0;
    }
    
    .service-detail-content {
        gap: 40px;
    }
}

/* Blog Page Specific Styles */
.blog-filter {
    padding: 30px 0;
    margin-bottom: 40px;
}

.filter-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.featured-post {
    margin: 40px 0 80px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.featured-post-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.featured-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.post-category {
    color: var(--accent-color);
    font-weight: 500;
}

.post-date {
    color: var(--light-text);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--light-text);
    margin: 0;
}

.blog-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-image {
    position: relative;
    height: 240px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.blog-card-content {
    padding: 30px;
}

.blog-title {
    margin: 15px 0;
}

.blog-title a {
    color: var(--text-color);
}

.blog-title a:hover {
    color: var(--accent-color);
}

.blog-excerpt {
    color: var(--light-text);
    margin-bottom: 25px;
    line-height: 1.6;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.author-image-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.newsletter-section {
    padding: 80px 0;
    background-color: var(--light-bg);
    margin-top: 60px;
}

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

.newsletter-form {
    margin-top: 30px;
}

.form-group {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.form-group input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    outline: none;
}

.form-disclaimer {
    margin-top: 15px;
    font-size: 14px;
    color: var(--light-text);
}

@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-card {
        grid-template-columns: 1fr;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Blog Filter Styles */
.blog-filter {
    padding: 40px 0 20px;
    background-color: var(--light-bg);
}

.filter-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
}

.filter-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-option {
    padding: 8px 20px;
    border-radius: 30px;
    background-color: white;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
}

.filter-option:hover {
    background-color: var(--light-bg);
}

.filter-option.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.search-container {
    margin-left: auto;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-form input {
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 25px 0 0 25px;
    outline: none;
    width: 250px;
    font-size: 15px;
}

.btn-search {
    height: 100%;
    transition: var(--transition);
}

.btn-search:hover {
    background-color: var(--secondary-color) !important;
}

@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-container {
        width: 100%;
        margin-left: 0;
    }

    .search-form {
        width: 100%;
    }

    .search-form input {
        width: 100%;
    }
}

/* ======= Media Queries ======= */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-section .container,
    .transformation-content,
    .consultation-content,
    .case-study,
    .testimonial-content {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    h2 {
        font-size: 1.8rem;
    }

    .nav-menu,
    .contact-btn {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero-categories {
        flex-direction: column;
    }

    .services-grid,
    .expertise-grid,
    .stats-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-links,
    .footer-nav {
        grid-template-columns: 1fr;
    }

    .client-logos {
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Contact Page Specific Styles */
.contact-info-section {
    padding: 60px 0;
    background-color: white;
}

.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-info-card {
    flex: 1;
    min-width: 250px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.contact-info-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.contact-info-card p {
    color: var(--light-text);
    margin-bottom: 0;
    line-height: 1.7;
}

.contact-info-card a {
    color: var(--accent-color);
    transition: var(--transition);
}

.contact-info-card a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-form-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contact-text p {
    margin-bottom: 30px;
    color: var(--light-text);
    line-height: 1.8;
}

.contact-social {
    margin-top: 40px;
}

.contact-social h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.contact-form {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    outline: none;
    transition: var(--transition);
    font-family: inherit;
    font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.form-group.full-width {
    grid-column: span 2;
}

#contactForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.required {
    color: #e53e3e;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
}

.map-section {
    padding: 60px 0;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 18px;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 300px;
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-text {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .contact-info-grid {
        flex-direction: column;
    }
    
    #contactForm {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
}