/* Base Variables */
:root {
    --primary-color: #004d90;
    /* Deep Navy - Professional */
    --secondary-color: #0071d4;
    /* Vibrant Indigo - Action */
    --accent-color: #00D4FF;
    /* Sky Blue - Highligh */
    --bg-color: #FFFFFF;
    --section-bg: #F8FAFC;
    --text-color: #1A202C;
    --text-muted: #64748B;
    --container-max-width: 1200px;
    --transition-speed: 0.3s;
    --header-height: 80px;
    --border-radius-lg: 16px;
    --gradient-primary: linear-gradient(135deg, var(--secondary-color), #3b82f6);
    --stats-red: #811211;
    --stats-orange: #E27919;
    --stats-gray: #E6E6E6;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* Zero padding for adjacent full-width sections to make images meet */
.detail-service+.detail-service,
.detail-service+.marketing,
.marketing+.detail-service {
    padding-top: 0;
}

.detail-service {
    padding-bottom: 100px;
}

/* Use margin instead of padding for consecutive sections for seamless tiling */
.detail-service,
.marketing {
    padding: 0;
}

.detail-service.section,
.marketing.section {
    padding: 0 !important;
}


.alternate {
    background-color: var(--section-bg);
}

img {
    max-width: 100%;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-speed);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
    background: linear-gradient(135deg, #4338ca, #2563eb);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid #E2E8F0;
}

.btn-outline:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-full {
    width: 100%;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-img {
    height: 42px;
    width: auto;
}

.logo-img-small {
    height: 38px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a.nav-cta {
    color: white;
}

.nav-links a.nav-cta:hover {
    color: white;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-cta {
    padding: 10px 24px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-trigger i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 220px;
    padding: 15px 0;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.dropdown-menu a:hover {
    background: var(--section-bg);
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 60px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    filter: blur(80px);
    z-index: -1;
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
}

.card-stack {
    position: relative;
}

.card {
    position: absolute;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.code-snippet {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.card-1 {
    top: 10%;
    left: -10%;
}

.card-2 {
    bottom: 10%;
    right: -5%;
}

#hero-img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/* About Section */
.about {
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}

.about-bg-text {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(79, 70, 229, 0.03);
    /* Subtle backdrop text */
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
    letter-spacing: 20px;
}

.about-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 80px;
}

.about-summary {
    background: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-brand-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.about-logo {
    height: 48px;
}

.about-summary h3 {
    color: white;
    font-size: 1.75rem;
}

.about-summary p {
    opacity: 0.9;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background: var(--section-bg);
    padding: 40px;
    border-radius: var(--border-radius-lg);
}

.highlight-item i {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.highlight-item h4 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.highlight-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* .about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 60px;
} */

/* .stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-num::after {
    content: '';
    display: block;
    width: 30px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 10px auto;
    border-radius: 2px;
}

.stat-label {
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
} */

/* Sections Common */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.tag {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed);
    text-align: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.35rem;
}

.service-card p {
    color: var(--text-muted);
}

/* Stats Summary (Part of Services) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.stats-col {
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.stats-col-philosophy {
    background-color: var(--primary-color);
    color: white;
}

.stats-col-philosophy p {
    font-size: 1.15rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

.stats-quote {
    position: absolute;
    bottom: -10px;
    right: 15px;
    font-size: 10rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
    font-family: serif;
    pointer-events: none;
}

.stats-col-perfection {
    background: var(--gradient-primary);
    color: white;
}

.perfection-inner {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.perfection-title {
    font-size: 4rem;
    color: white;
    margin-bottom: 10px;
    font-weight: 800;
}

.perfection-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.stats-col-departments {
    background-color: var(--section-bg);
}

.dept-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.skill-bar {
    width: 100%;
    height: 5px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 2s cubic-bezier(0.1, 0.42, 0.41, 1);
}


/* Marketing & SEO */
.marketing .container {
    max-width: 100%;
    padding: 0;
}

.marketing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.marketing-text {
    padding-left: 80px;
    padding-right: calc((100vw - var(--container-max-width)) / 2 + 24px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.marketing-image {
    height: 100%;
    overflow: hidden;
}

.marketing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.marketing-items {
    margin: 40px 0;
}

.m-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.m-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

#marketing-img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Detailed Services */
.detail-service .container {
    max-width: 100%;
    padding: 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.detail-text {
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Align text column content with the main container */
/* Case: Text is on the left */
.detail-grid>.detail-text:first-child {
    padding-left: calc((100vw - var(--container-max-width)) / 2 + 24px);
    padding-right: 80px;
}

/* Case: Text is on the right */
.detail-grid>.detail-text:last-child {
    padding-right: calc((100vw - var(--container-max-width)) / 2 + 24px);
    padding-left: 80px;
}

.detail-features {
    margin: 40px 0;
}

.f-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.f-item i {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.f-item p {
    font-weight: 600;
    color: var(--primary-color);
}

.detail-image {
    height: 100%;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.5s ease;
}

.detail-image img:hover {
    transform: scale(1.05);
}


/* CRM & Coming Soon Form */
.coming-soon-box {
    margin-top: 40px;
    padding: 30px;
    background: rgba(79, 70, 229, 0.03);
    border-radius: var(--border-radius-lg);
    border: 1px dashed var(--secondary-color);
}

.coming-soon-box p {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.coming-soon-form {
    display: flex;
    gap: 12px;
}

.coming-soon-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    background: white;
    transition: var(--transition-speed);
}

.coming-soon-form input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

@media (max-width: 576px) {
    .coming-soon-form {
        flex-direction: column;
    }
}

/* Contact Section */
.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.contact-info {
    padding: 60px;
    background: var(--gradient-primary);
}

.contact-info h2 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 24px;
}

.contact-details {
    margin-top: 40px;
}

.c-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-form {
    padding: 60px;
    background: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
}

.form-feedback {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-feedback.success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-feedback.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Modern Validation Styles */
.form-group {
    position: relative;
}

.form-group.valid input,
.form-group.valid textarea {
    border-color: #10b981;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.form-group.invalid input,
.form-group.invalid textarea {
    border-color: #ef4444;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.form-group.invalid input::placeholder,
.form-group.invalid textarea::placeholder {
    color: #f87171;
}

.field-error {
    display: none;
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
    padding-left: 2px;
}

.form-group.invalid .field-error {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Phone field icons */
.form-group.valid input[type="tel"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.form-group.invalid input[type="tel"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--primary-color);
}

/* Mobile Menu Backdrop */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(1px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background: var(--primary-color);
    z-index: 2000;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    cursor: pointer;
}

.mobile-logo {
    margin-bottom: 60px;
    text-align: center;
}

.mobile-logo img {
    height: 45px;
    width: auto;
    /* filter: brightness(0) invert(1); */
}

.mobile-nav-links {
    width: 100%;
}

.mobile-nav-links li {
    margin-bottom: 20px;
    text-align: left;
}

.mobile-nav-links a {
    font-size: 1.1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-links a .lucide {
    width: 16px !important;
    height: 16px !important;
    opacity: 0.8;
    flex-shrink: 0;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 16px;
    border-radius: 8px;
}

.mobile-dropdown-title {
    display: block;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.mobile-submenu {
    list-style: none;
    padding: 0;
}

.mobile-submenu li {
    margin-bottom: 20px;
}

.mobile-submenu a {
    font-size: 1.1rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-submenu a .lucide {
    width: 14px !important;
    height: 14px !important;
    opacity: 0.8;
    flex-shrink: 0;
}

.mobile-submenu a:hover,
.mobile-submenu a.active {
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 16px;
    border-radius: 8px;
}

/* Reviews Carousel */
.reviews-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.reviews-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 30px;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for IE/Edge */
}

.reviews-track::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}

.review-card {
    flex: 0 0 calc(50% - 15px);
    /* Show 2 cards at a time on desktop */
    scroll-snap-align: center;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-speed);
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.star-filled {
    color: #FFD700;
    fill: #FFD700;
    /* Ensures the stars are solid/full */
    width: 20px;
    height: 20px;
}

.review-body {
    font-size: 1.1rem;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.7;
}

.review-body a {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.7;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}

.reviewer-logo-fallback {
    width: 50px;
    height: 50px;
    background: var(--section-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.reviewer-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.reviewer-pos {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.carousel-btn:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-fade {
    opacity: 0;
    transition: opacity 1s ease;
}

.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    background: white;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    z-index: 2001;
    overflow: hidden;
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.modal-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-speed);
}

.modal-close-btn:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.modal-body h3 {
    margin: 24px 0 12px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.modal-body p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.modal-body ul {
    margin-bottom: 16px;
    padding-left: 20px;
    list-style-type: disc;
}

.modal-body li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

.modal-footer {
    padding: 20px 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: flex-end;
    background: #f8fafc;
}

.animate-scale {
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .animate-scale {
    transform: scale(1);
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .marketing-grid {
        grid-template-columns: 1fr;
    }

    .marketing-text {
        padding: 60px 24px !important;
        order: 1;
    }

    .marketing-image {
        order: 2;
        height: 400px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content,
    .about-top,
    .about-highlights,
    .services-grid,
    .marketing-grid,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid>.detail-text:first-child,
    .detail-grid>.detail-text:last-child {
        padding: 60px 24px;
        order: 1;
        /* Text on top for both */
    }

    .detail-grid>.detail-image {
        order: 2;
        /* Image on bottom */
        height: 400px;
        /* Specific height for mobile image */
    }

    .detail-image img {
        height: 100%;
        width: 100%;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero {
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .marketing-text {
        order: 1;
    }

    .marketing-image {
        order: 2;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-col {
        padding: 40px 24px;
    }

    .perfection-inner {
        padding: 30px 20px;
    }

    .perfection-title {
        font-size: 4rem;
    }

    .stats-quote {
        font-size: 8rem;
    }

    .contact-info,
    .contact-form {
        padding: 40px;
    }

    .review-card {
        flex: 0 0 100%;
    }
}