/* Base Styles */
:root {
    /* Primary Color Palette */
    --primary-color: #165286;
    /* Dark Blue */
    --primary-light: #2a4a78;
    --primary-dark: #1e68a7;
    /* Secondary Color Palette */
    --secondary-color: #2cb7bc;
    /* Golden Yellow */
    --secondary-light: #21c9cf;
    --secondary-dark: #239fa4;
    /* Accent Color */
    --accent-color: #f97316;
    /* Orange */
    --accent-light: #fb923c;
    --accent-dark: #ea580c;
    /* Neutral Colors */
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --gray-color: #64748b;
    --border-color: #e2e8f0;
    /* Status Colors */
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    /* UI Elements */
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    /* Typography */
    --heading-font: "Space Grotesk", sans-serif;
    --body-font: "Outfit", sans-serif;
    /* Dark Mode Colors - Will be applied with .dark class */
    --dark-bg: #0f172a;
    --dark-card-bg: #1e293b;
    --dark-text: #f8fafc;
    --dark-text-muted: #94a3b8;
    --dark-border: #334155;
}

/* Dark Mode Styles */
.dark {
    --light-color: var(--dark-bg);
    --dark-color: var(--dark-text);
    --gray-color: var(--dark-text-muted);
    --border-color: var(--dark-border);
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

.dark .header,
.dark .service-card,
.dark .tab-content,
.dark .testimonial-card,
.dark .project-info,
.dark .contact-form-wrapper,
.dark .info-card,
.dark .form-card {
    background-color: var(--dark-card-bg);
}

.dark .header.scrolled {
    background-color: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
}

/* Fix dark mode text colors */
.dark p,
.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6,
.dark .nav-list a,
.dark .tab h3,
.dark .timeline-content p,
.dark .project-info p {
    color: var(--dark-text);
}

.dark .section-description,
.dark .hero-description,
.dark .tab-info p,
.dark .about-text p {
    color: var(--dark-text-muted);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
    /* Account for fixed header */
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-out;
    opacity: 0.5;
}

/* Background Elements */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background-color: var(--primary-color);
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 600px;
    height: 600px;
    background-color: var(--secondary-color);
    bottom: -200px;
    left: -200px;
}

.circle-3 {
    width: 400px;
    height: 400px;
    background-color: var(--accent-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bg-blob {
    position: absolute;
    width: 800px;
    height: 800px;
    /* background: radial-gradient( circle, rgba(27, 53, 90, 0.1) 0%, rgba(250, 181, 34, 0.1) 50%, rgba(249, 115, 22, 0.1) 100% ); */
    background: radial-gradient(circle, rgb(52 184 189 / 30%) 0%, rgb(48 185 189 / 20%) 50%, rgb(39 89 143 / 10%) 100%);
    border-radius: 43% 57% 70% 30% / 30% 43% 57% 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: blob-animation 20s infinite alternate;
}

@keyframes blob-animation {
    0% {
        border-radius: 43% 57% 70% 30% / 30% 43% 57% 70%;
    }

    25% {
        border-radius: 57% 43% 30% 70% / 70% 30% 43% 57%;
    }

    50% {
        border-radius: 30% 70% 57% 43% / 43% 57% 70% 30%;
    }

    75% {
        border-radius: 70% 30% 43% 57% / 57% 43% 30% 70%;
    }

    100% {
        border-radius: 43% 57% 70% 30% / 30% 43% 57% 70%;
    }
}

/* Theme Toggle - Fixed for responsiveness */
.theme-toggle {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.toggle-icon {
    color: white;
    font-size: 1rem;
}

.toggle-icon .fa-moon {
    display: none;
}

.dark .toggle-icon .fa-sun {
    display: none;
}

.dark .toggle-icon .fa-moon {
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    /* margin-bottom: 4rem; */
    margin-bottom: 3rem;
}

.section-subtitle {
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-align: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(27, 53, 90, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(27, 53, 90, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header Styles - Improved responsiveness */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    transition: var(--transition);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--box-shadow);
    padding: 0.8rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1002;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    font-weight: 700;
}

.logo span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-weight: 500;
    position: relative;
    padding-bottom: 0.3rem;
    transition: var(--transition);
}

.nav-list a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1002;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 7rem 0 5rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    z-index: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.image-wrapper::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    border-radius: calc(var(--border-radius-lg) + 10px);
    opacity: 0.5;
}

.floating-card {
    position: absolute;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.card-1 {
    top: 20%;
    left: -15%;
    animation: float 4s ease-in-out infinite;
}

.card-2 {
    bottom: 20%;
    right: -15%;
    animation: float 4s ease-in-out infinite 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.card-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(27, 53, 90, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.card-text h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.card-text p {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }

    100% {
        opacity: 0;
        top: 30px;
    }
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
    opacity: 0;
}

.arrow span:nth-child(1) {
    animation-delay: 0s;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* Clients Section */
.clients {
    padding: 3rem 0;
    background-color: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
}

.dark .clients {
    background-color: rgba(30, 41, 59, 0.8);
}

.clients-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--gray-color);
    font-size: 1.1rem;
}

.clients-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.client-logo {
    flex: 1;
    min-width: 150px;
    text-align: center;
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
}

/* Services Section */
.services-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.services-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tab {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.tab::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: var(--transition);
}

.tab.active {
    box-shadow: var(--card-shadow);
    transform: translateX(10px);
}

.tab.active::before {
    opacity: 1;
}

.tab-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(27, 53, 90, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.tab.active .tab-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.tab h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    transition: var(--transition);
}

.tab.active h3 {
    color: var(--primary-color);
}

.tab-content-wrapper {
    position: relative;
    min-height: 410px;
}

.tab-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.tab-content.active {
    opacity: 1;
    visibility: visible;
}

.tab-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.tab-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tab-info p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.feature-list {
    margin-bottom: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.feature-list i {
    color: var(--success-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    position: relative;
}

.grid-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.grid-item img {
    height: 100%;
    object-fit: cover;
}

.grid-item:hover {
    transform: scale(1.05);
}

.item-1 {
    grid-column: 1;
    grid-row: 1;
}

.item-2 {
    grid-column: 2;
    grid-row: 1;
}

.item-3 {
    grid-column: 1;
    grid-row: 2;
}

.item-4 {
    grid-column: 2;
    grid-row: 2;
}

.experience-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: var(--card-shadow);
    z-index: 1;
}

.badge-content {
    text-align: center;
}

.years {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(27, 53, 90, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.feature-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Process Section */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 1;
    flex-shrink: 0;
}

.timeline-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    flex: 1;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(27, 53, 90, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Projects Section */
.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to bottom, rgba(27, 53, 90, 0.8), rgba(250, 181, 34, 0.8)); */
    background: linear-gradient(to bottom, rgb(27 79 130 / 80%), rgb(55 191 195 / 80%));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

.project-info {
    padding: 1.5rem;
    background-color: white;
    height: 100%;
}

.project-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: rgba(27, 53, 90, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 1rem;
}

.testimonial-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50px;
    width: 20px;
    height: 20px;
    background-color: white;
    transform: rotate(45deg);
}

.dark .testimonial-content::after {
    background-color: var(--dark-card-bg);
}

.quote-icon {
    font-size: 2rem;
    color: var(--secondary-light);
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.rating {
    color: var(--warning-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 2rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-image.avatar-icon {
    background-color: #f0f0f0;
    position: relative;
}

.author-image.avatar-icon i {
    font-size: 28px;
    /* Slightly smaller to fit better */
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    gap: 2rem;
}

/*.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

    .author-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    gap: 2rem;
}*/

.control-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.control-btn:hover {
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.2);
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, rgba(27, 53, 90, 0.05), rgba(250, 181, 34, 0.05));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-title {
    font-size: 1.1rem;
    color: var(--gray-color);
}

/* GeM Section */
.gem-section {
    background: linear-gradient(135deg, rgba(27, 53, 90, 0.05), rgba(250, 181, 34, 0.05));
    padding: 4rem 0;
}

.gem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.gem-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.gem-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.gem-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.info-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.contact-form-wrapper {
    position: relative;
}

.form-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(27, 53, 90, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* WhatsApp Chat Button */
.whatsapp-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dark-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
}

.whatsapp-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
}

.footer-top {
    padding: 5rem 0 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.footer-logo span {
    color: var(--secondary-light);
}

.footer-about p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-5px);
}

.footer-links h3,
.footer-services h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after,
.footer-services h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a,
.footer-services ul li a {
    color: var(--gray-color);
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }

    .services-wrapper {
        grid-template-columns: 1fr;
    }

    .services-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .tab.active {
        transform: translateY(-5px);
    }

    .tab::before {
        width: 100%;
        height: 4px;
        top: auto;
        bottom: 0;
        border-radius: 0 0 4px 4px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 992px) {

    .hero-content,
    .about-content,
    .contact-content,
    .gem-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        order: -1;
    }

    .floating-card {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: -30px;
        width: 80%;
    }

    .card-1 {
        margin-left: 10%;
    }

    .card-2 {
        margin-left: 30%;
        margin-top: -15px;
    }

    .tab-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        /* height: 100vh; */
        background-color: white;
        z-index: 1001;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 5rem 2rem;
        overflow-y: auto;
    }

    .dark .nav-menu {
        background-color: var(--dark-card-bg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding-top: 6rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .services-tabs {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    /* Fix theme toggle position for small screens */
    .theme-toggle {
        bottom: 30px;
        right: 20px;
        width: 35px;
        height: 35px;
    }

    /* Improve mobile menu close button */
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background-color: var(--primary-color);
        color: white;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 1002;
    }
}

@media screen and (max-width: 576px) {
    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Improve header responsiveness for very small screens */
    .header-content {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .header-actions {
        margin-left: auto;
    }

    .btn-outline {
        display: none;
    }

    .mobile-menu-btn {
        margin-left: 0;
    }
}


.careers-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.careers-intro p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
}

.careers-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.benefit-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.benefit-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-text p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 0;
    text-align: center;
}

.job-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.job-filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.job-filter-btn.active,
.job-filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.job-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.job-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.job-type {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.full-time {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.part-time {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--accent-color);
}

.job-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.job-description {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.job-actions {
    display: flex;
    gap: 1rem;
}

.job-expanded {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.job-expanded.active {
    display: block;
}

.job-section {
    margin-bottom: 1.5rem;
}

.job-section h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.job-section ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--gray-color);
}

.job-section ul li {
    margin-bottom: 0.5rem;
}

.application-form {
    margin-top: 4rem;
}

.file-upload {
    position: relative;
}

.file-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.file-label:hover {
    border-color: var(--primary-color);
    background-color: rgba(27, 53, 90, 0.02);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Dark mode styles for careers section */
.dark .benefit-item,
.dark .job-card,
.dark .form-card {
    background-color: var(--dark-card-bg);
}

.dark .job-type.full-time {
    background-color: rgba(16, 185, 129, 0.2);
}

.dark .job-type.part-time {
    background-color: rgba(249, 115, 22, 0.2);
}

.dark .file-label:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.col-md-6 {
    width: 100%;
}

.row {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 1.5rem;
}

/* Responsive styles for careers section */
@media screen and (max-width: 1200px) {
    .careers-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .row {
        flex-wrap: wrap;
        gap: 0;
    }

    .careers-benefits {
        grid-template-columns: 1fr;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .job-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    .job-actions {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    .job-filters {
        flex-direction: column;
        align-items: center;
    }

    .job-filter-btn {
        width: 100%;
        text-align: center;
    }
}


@media screen and (max-width: 768px) {
    .hero-image {
        display: none;
    }

    /* Make the hero text take full width */
    .hero-content {
        grid-template-columns: 1fr;
    }

    /* Center align the hero text for better mobile appearance */
    .hero-text {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Center the CTA buttons */
    .hero-cta {
        justify-content: center;
    }

    /* Center the stats */
    .hero-stats {
        justify-content: center;
    }

}

@media screen and (max-width: 992px) {
    .about-image {
        display: none;
        /* This will hide both the image grid and the experience badge */
    }

    /* Adjust the about content to take full width */
    .about-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Add some padding to compensate for the missing images */
    .about-text {
        padding: 1rem 0;
        max-width: 800px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .services-tabs {
        grid-template-columns: 1fr;
    }

    .tab-content {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        box-shadow: none;
        border-left: 3px solid var(--primary-color);
    }

    .tab-content.active {
        display: block;
    }

    .tab {
        cursor: pointer;
        margin-bottom: 0.5rem;
        transition: all 0.3s ease;
    }

    .tab.active {
        background: rgba(27, 53, 90, 0.05);
        transform: none;
    }

    .tab::before {
        display: none;
    }

    .tab::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .tab.active::after {
        transform: rotate(180deg);
    }
}

/* Improved About Us section responsiveness */
@media screen and (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .image-grid {
        max-width: 500px;
        margin: 0 auto;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 180px);
        gap: 1rem;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
    }

    .years {
        font-size: 1.8rem;
    }

    .text {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 768px) {
    .about-content {
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature {
        background-color: rgba(27, 53, 90, 0.03);
        padding: 1rem;
        border-radius: var(--border-radius);
        transition: all 0.3s ease;
    }

    .feature:hover {
        transform: translateY(-5px);
        box-shadow: var(--box-shadow);
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .feature-text {
        flex: 1;
    }
}

@media screen and (max-width: 576px) {
    .image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 150px);
    }

    .item-1 {
        grid-column: 1;
        grid-row: 1;
    }

    .item-2 {
        grid-column: 1;
        grid-row: 2;
    }

    .item-3 {
        grid-column: 1;
        grid-row: 3;
    }

    .item-4 {
        grid-column: 1;
        grid-row: 4;
    }

    .experience-badge {
        position: fixed;
        top: auto;
        left: auto;
        right: 20px;
        bottom: 100px;
        transform: none;
        width: 80px;
        height: 80px;
        z-index: 99;
    }

    .years {
        font-size: 1.5rem;
    }

    .text {
        font-size: 0.6rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }
}

/* old */
@media screen and (max-width: 992px) {
    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .tab-content {
        position: relative;
        opacity: 1;
        visibility: visible;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tab-image {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    .services-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .services-tabs {
        grid-template-columns: 1fr;
    }

    .tab {
        padding: 1rem;
    }

    .tab-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* The Vision Behind Our Success - Improved Responsiveness */
@media screen and (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .image-grid {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 576px) {
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature {
        flex-direction: row;
        align-items: center;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 1rem;
    }
}

/* Projects Completed (Stats Section) - Improved Responsiveness */
@media screen and (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .stat-card {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin: 0 1rem 0 0;
    }

    .stat-content {
        flex: 1;
    }

    .stat-number {
        font-size: 2rem;
        margin-bottom: 0.2rem;
    }

    .stat-title {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-stats {
        justify-content: flex-start;
    }

    /* If you want the entire hero text section left-aligned */
    .hero-text {
        text-align: left;
        margin-left: 0;
        margin-right: auto;
    }

    /* Also left-align the CTA buttons */
    .hero-cta {
        justify-content: flex-start;
    }
}