:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --accent-color: #000000;
    --secondary-bg: #f5f5f5;
    --secondary-text: #333333;
    --border-color: #e0e0e0;
    --font-primary: Arial, sans-serif;
    --font-secondary: Arial, sans-serif;

    --container-width: 1200px;
    --nav-height: 80px;
    --border-radius: 0px;
    /* Sharp corners for premium look */
    --btn-radius: 0px;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-color: #ffffff;
    --secondary-bg: #111111;
    --secondary-text: #cccccc;
    --border-color: #333333;
}

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

p {
    text-align: justify;
}

li {
    text-align: justify;
}

.section-intro-text {
    font-size: 1.25rem !important;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: var(--transition);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

[data-theme="dark"] body {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--nav-height, 80px);
}

.hero .hero-inner {
    padding-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0, 0, 0, 0.02) 10px, rgba(0, 0, 0, 0.02) 11px);
    pointer-events: none;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

.hero h1,
.hero-main-title {
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 600;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 40px rgba(255, 255, 255, 0.08);
}

.hero-main-title {
    color: #ffffff;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.92) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-black-section .hero-main-title {
    color: #ffffff;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.88) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Compact hero - for contact and similar pages */
.hero-compact {
    min-height: 40vh;
    padding: 80px var(--section-padding, 40px) 60px;
    padding-top: calc(var(--nav-height, 80px) + 40px);
}

.hero-compact .hero-compact-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.hero-compact .hero-compact-subtitle {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: 0.6;
    font-size: 0.85rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.hero-compact .hero-compact-desc {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
    font-size: 0.95rem;
    text-align: center;
}

.hero-subtitle {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    font-size: 1.125rem;
    line-height: 1.85;
    letter-spacing: 0.3px;
    opacity: 0.92;
    text-align: center;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

/* Hero CTA buttons - enhanced */
.hero .hero-cta .btn {
    padding: 18px 42px;
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    font-weight: 800;
}

.hero .hero-cta .btn-filled {
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.2);
}

.hero .hero-cta .btn-filled:hover {
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero .hero-cta .btn:not(.btn-filled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

/* Geometric Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    stroke-width: 0.5px;
    fill: none;
    opacity: 0.15;
    transition: all 1s ease-in-out;
}

.shape-1 {
    top: 10%;
    right: -10%;
    width: 800px;
    height: 800px;
    animation: rotateSlow 80s linear infinite;
}

.shape-2 {
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    animation: rotateSlowReverse 60s linear infinite;
}

.shape-3 {
    top: 40%;
    left: 20%;
    width: 400px;
    height: 400px;
    animation: float 25s ease-in-out infinite;
    opacity: 0.1;
}

[data-theme="light"] .geo-shape {
    stroke: #000000;
}

[data-theme="dark"] .geo-shape {
    stroke: #ffffff;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateSlowReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 120px 0;
}

.card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 40px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 0px var(--text-color);
    border-color: var(--text-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
}

.btn:hover {
    background: var(--text-color);
    color: var(--bg-color) !important;
}

.btn-filled {
    background: var(--text-color);
    color: var(--bg-color) !important;
    border: 1px solid var(--text-color);
}

.btn-filled:hover {
    background: transparent;
    color: var(--text-color) !important;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Navigation */
.navbar {
    height: var(--nav-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: var(--bg-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 100% !important;
    padding: 0 70px !important;
}


.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(1.2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
    position: relative;
    padding: 8px 0;
    color: #ffffff;
}

.navbar .nav-links a {
    color: #ffffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
}

.theme-toggle {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    margin-left: 20px;
}

.theme-toggle:hover {
    background: #ffffff;
    color: #000000;
}

/* Force elements to be white by default on transparent navbar (top of page) */
.navbar:not(.scrolled):not(.menu-open) .nav-links a,
.navbar:not(.scrolled):not(.menu-open) .theme-toggle,
.navbar:not(.scrolled):not(.menu-open) .mobile-menu-btn {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* Light mode - navbar and theme toggle */
[data-theme="light"] .navbar.scrolled,
[data-theme="light"] .navbar.menu-open {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .navbar.scrolled .nav-links a,
[data-theme="light"] .navbar.scrolled .theme-toggle,
[data-theme="light"] .navbar.scrolled .mobile-menu-btn,
[data-theme="light"] .navbar.menu-open .nav-links a,
[data-theme="light"] .navbar.menu-open .theme-toggle,
[data-theme="light"] .navbar.menu-open .mobile-menu-btn {
    color: #000 !important;
    border-color: #000 !important;
}

[data-theme="light"] .navbar.scrolled .nav-links a::after {
    background: #000;
}

[data-theme="light"] .navbar.scrolled .theme-toggle {
    border-color: #000;
}

[data-theme="light"] .navbar.scrolled .theme-toggle:hover {
    background: #000;
    color: #fff !important;
}

/* Light mode - invert white logo on light navbar background */
[data-theme="light"] .navbar.scrolled .nav-logo-img {
    filter: invert(1) brightness(0.9) !important;
}


.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-color);
    z-index: 10001;
    transition: var(--transition);
}

/* Navigation Styles End */

/* Section Colors - Fixed for Dark Mode */
.bg-black-section {
    background-color: #000000;
    color: #ffffff;
}

.bg-black-section h1,
.bg-black-section h2,
.bg-black-section h3,
.bg-black-section h4,
.bg-black-section p {
    color: #ffffff !important;
}

/* Ensure buttons in black sections are always visible */
.bg-black-section .btn {
    color: #ffffff;
    border-color: #ffffff;
}

.bg-black-section .btn-filled {
    background: #ffffff;
    color: #000000 !important;
    border-color: #ffffff;
}

.bg-black-section .btn:not(.btn-filled) {
    border-width: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.bg-black-section .btn:hover {
    background: #ffffff;
    color: #000000 !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.bg-black-section .btn-filled:hover {
    background: transparent;
    color: #ffffff !important;
}

.bg-white-section {
    background-color: var(--bg-color);
    color: var(--text-color);
}

.bg-white-section h1,
.bg-white-section h2,
.bg-white-section h3,
.bg-white-section h4 {
    color: var(--text-color) !important;
}

.bg-white-section p {
    color: var(--text-color) !important;
    opacity: 0.8;
}

[data-theme="dark"] .bg-white-section {
    background-color: #111111;
}

/* Who We Are - Image Box */
.who-we-are-img-box {
    animation: whoWeAreFadeIn 0.8s ease-out forwards;
}

.who-we-are-img {
    transition: transform 0.6s ease;
}

.who-we-are-img-box:hover .who-we-are-img {
    transform: scale(1.05);
}

/* Client Logos - White section */
.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.client-logo-card {
    border: 1px solid #e0e0e0;
    padding: 24px 20px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    transition: all 0.3s ease;
}

.client-logo-card:hover {
    border-color: #000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.client-logo-img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 900px) {
    .client-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

[data-theme="dark"] .client-logo-card {
    background: #1a1a1a;
    border-color: #333;
}

[data-theme="dark"] .client-logo-card:hover {
    border-color: #555;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Clients & Testimonials - Proper UI */
.clients-testimonials-section {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 0 60px !important;
}

.clients-testimonials-section .clients-block {
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.clients-testimonials-section .clients-heading,
.clients-testimonials-section .clients-block h3 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
    color: #d4d4d4;
}

.clients-testimonials-section .testimonials-block {
    padding-top: 0;
}

.clients-testimonials-section .testimonial-main-heading {
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 18px;
    color: #d4d4d4 !important;
}

/* Testimonial cards in clients section - polished dark cards */
.clients-testimonials-section .testimonial-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.clients-testimonials-section .testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

.clients-testimonials-section .testimonial-text {
    color: #d4d4d4 !important;
    opacity: 1 !important;
}

.clients-testimonials-section .testimonial-author strong {
    color: #d4d4d4 !important;
}

.clients-testimonials-section .testimonial-role {
    color: #b8b8b8 !important;
}

.clients-testimonials-section .testimonial-stars {
    color: #f5b041 !important;
}

.clients-testimonials-section .testimonial-arrow {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
    border-color: #444 !important;
    color: #fff !important;
}

.clients-testimonials-section .testimonial-arrow:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
    border-color: #666 !important;
}

.clients-testimonials-section .testimonial-dot {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.clients-testimonials-section .testimonial-dot.active {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
}

.clients-testimonials-section .client-carousel-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
}

.clients-testimonials-section .client-carousel {
    overflow: hidden;
    width: 100%;
}

.clients-testimonials-section .client-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
    align-items: stretch;
}

.clients-testimonials-section .client-logo-card {
    flex: 0 0 calc(20% - 16px);
    min-width: calc(20% - 16px);
    max-width: calc(20% - 16px);
}

.clients-testimonials-section .client-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
    border: 1px solid #444 !important;
    color: #fff !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(8px);
}

.clients-testimonials-section .client-arrow:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
    border-color: #666 !important;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.clients-testimonials-section .client-arrow:active {
    transform: translateY(-50%) scale(1.02);
}

.clients-testimonials-section .client-arrow-left {
    left: 0;
}

.clients-testimonials-section .client-arrow-right {
    right: 0;
}

.clients-testimonials-section .client-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.clients-testimonials-section .client-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.clients-testimonials-section .client-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

.clients-testimonials-section .client-dot.active {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.9);
    width: 30px;
    border-radius: 5px;
}

[data-theme="light"] .clients-testimonials-section .client-arrow {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.02) 100%) !important;
    border-color: #bbb !important;
    color: #000 !important;
}

[data-theme="light"] .clients-testimonials-section .client-arrow:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.06) 100%) !important;
    border-color: #888 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .clients-testimonials-section .client-dot {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .clients-testimonials-section .client-dot:hover {
    background: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .clients-testimonials-section .client-dot.active {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(0, 0, 0, 0.8);
}

.clients-testimonials-section .client-logo-card {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 24px 20px;
    min-height: 180px;
    transition: all 0.3s ease;
}

.clients-testimonials-section .client-logo-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.clients-testimonials-section .client-logo-img {
    max-height: 130px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: none;
}

@media (max-width: 1024px) {
    .clients-testimonials-section .client-logo-card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .clients-testimonials-section .client-carousel-container {
        padding: 0 44px;
    }

    .clients-testimonials-section .client-logo-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .clients-testimonials-section .client-arrow {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

/* Light mode - Clients & Testimonials section */
[data-theme="light"] .clients-testimonials-section {
    background: #f5f5f5;
    color: #000;
}


[data-theme="light"] .clients-testimonials-section .clients-heading,
[data-theme="light"] .clients-testimonials-section .clients-block h3,
[data-theme="light"] .clients-testimonials-section .testimonial-main-heading {
    color: #000 !important;
}

[data-theme="light"] .clients-testimonials-section .testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%) !important;
    border-color: #e0e0e0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .clients-testimonials-section .testimonial-card:hover {
    border-color: #999 !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .clients-testimonials-section .testimonial-text {
    color: #333 !important;
}

[data-theme="light"] .clients-testimonials-section .testimonial-author strong {
    color: #000 !important;
}

[data-theme="light"] .clients-testimonials-section .testimonial-role {
    color: #555 !important;
}

[data-theme="light"] .clients-testimonials-section .testimonial-stars {
    color: #e6a800 !important;
}

[data-theme="light"] .clients-testimonials-section .testimonial-arrow {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.02) 100%) !important;
    border-color: #bbb !important;
    color: #000 !important;
}

[data-theme="light"] .clients-testimonials-section .testimonial-arrow:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.06) 100%) !important;
    border-color: #888 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .clients-testimonials-section .testimonial-dot {
    background: rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
}

[data-theme="light"] .clients-testimonials-section .testimonial-dot.active {
    background: rgba(0, 0, 0, 0.7) !important;
    border-color: rgba(0, 0, 0, 0.8) !important;
}

[data-theme="light"] .clients-testimonials-section .client-logo-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .clients-testimonials-section .client-logo-card:hover {
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Client logos on black section (fallback) */
.bg-black-section .client-logo-card {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.bg-black-section .client-logo-card:hover {
    border-color: #fff;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* Section images - proper positioning */
.section-img {
    display: block;
    max-width: 100%;
    transition: transform 0.5s ease;
}

.section-img:hover {
    transform: scale(1.03);
}

@keyframes whoWeAreFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ERP Product Cards - 5 boxes on one line */
.erp-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    text-align: left;
}

.erp-product-card {
    border: 2px solid #000;
    padding: 28px 20px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.5s ease,
        border-color 0.3s ease;
    background: #fff;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

.erp-product-card.reveal-active {
    animation: erpCardPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes erpCardPop {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    60% {
        transform: translateY(-5px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.erp-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #000, #333);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.erp-product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.5s ease;
    pointer-events: none;
}

.erp-product-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
    border-color: #000;
}

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

.erp-product-card:hover::after {
    box-shadow: inset 0 0 30px 0 rgba(0, 0, 0, 0.03);
}

.erp-product-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    line-height: 1.3;
    color: #000;
    transition: color 0.3s ease, transform 0.3s ease;
}

.erp-product-card:hover .erp-product-title {
    color: #222;
    transform: translateX(4px);
}

.erp-product-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    opacity: 0.85;
    color: #444;
    text-align: justify;
    transition: opacity 0.3s ease;
}

.erp-product-card:hover .erp-product-desc {
    opacity: 1;
}

/* Staggered animation delays */
.erp-product-card:nth-child(1) {
    animation-delay: 0.05s;
}

.erp-product-card:nth-child(2) {
    animation-delay: 0.15s;
}

.erp-product-card:nth-child(3) {
    animation-delay: 0.25s;
}

.erp-product-card:nth-child(4) {
    animation-delay: 0.35s;
}

.erp-product-card:nth-child(5) {
    animation-delay: 0.45s;
}

[data-theme="dark"] .erp-product-card {
    border-color: #444;
    background: #1a1a1a;
}

[data-theme="dark"] .erp-product-card::before {
    background: #fff;
}

[data-theme="dark"] .erp-product-card:hover {
    border-color: #666;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .erp-product-title {
    color: #fff;
}

[data-theme="dark"] .erp-product-card:hover .erp-product-title {
    color: #fff;
}

[data-theme="dark"] .erp-product-desc {
    color: #aaa;
}

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

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

@media (max-width: 500px) {
    .erp-product-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Index Page - Layout Grids & Mobile
   ================================ */

.index-who-we-are-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.index-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.index-erp-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.index-cloud-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.index-why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Index mobile: 1024px */
@media (max-width: 1024px) {
    .index-who-we-are-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .index-features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .index-erp-intro-grid,
    .index-cloud-intro-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .index-erp-intro-grid>div:first-child {
        order: 1;
    }

    .index-erp-intro-grid>div:last-child {
        order: 0;
    }

    .index-why-choose-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .who-we-are-img-box {
        min-height: 320px !important;
        height: auto !important;
    }

    .features-section .feature-card {
        padding: 32px 28px !important;
    }
}

/* Index mobile: 768px */
@media (max-width: 768px) {
    .index-who-we-are-grid {
        gap: 28px;
    }

    .index-who-we-are-grid h2,
    .index-erp-intro-grid h2,
    .index-cloud-intro-grid h2 {
        font-size: 1.6rem !important;
    }

    .who-we-are-img-box>div[style*="position: absolute"] {
        padding: 28px 24px !important;
    }

    .index-features-grid .feature-card {
        padding: 28px 24px !important;
    }

    .index-features-grid .feature-heading {
        font-size: 1.15rem !important;
    }

    .index-features-grid .feature-icon {
        font-size: 2.5rem !important;
    }

    .index-why-choose-grid .why-choose-card h4 {
        font-size: 1.2rem !important;
    }

    .index-why-intro {
        margin-bottom: 40px !important;
    }

    .clients-testimonials-section .container h2 {
        font-size: 2rem !important;
    }

    .bg-white-section .container.text-center>h2,
    .bg-black-section .container>h2.text-center {
        font-size: 2.2rem !important;
    }
}

/* Index mobile: 600px */
@media (max-width: 600px) {

    .index-who-we-are-grid h2,
    .index-erp-intro-grid h2,
    .index-cloud-intro-grid h2 {
        font-size: 1.4rem !important;
    }

    .index-who-we-are-grid p,
    .index-erp-intro-grid p,
    .index-cloud-intro-grid p {
        font-size: 1rem !important;
    }

    .who-we-are-img-box {
        min-height: 260px !important;
    }

    .who-we-are-img-box>div[style*="position: absolute"] {
        padding: 20px 18px !important;
    }

    .who-we-are-img-box>div[style*="position: absolute"] h3 {
        font-size: 1rem !important;
    }

    .index-features-grid .feature-card {
        padding: 24px 20px !important;
    }

    .index-features-grid .feature-text {
        font-size: 0.9rem !important;
    }

    .index-why-choose-grid .why-choose-card h4 {
        font-size: 1.1rem !important;
    }

    .index-why-choose-grid .why-choose-card p {
        font-size: 0.95rem !important;
    }

    .clients-stat {
        margin-top: 50px !important;
    }

    .clients-stat-number {
        font-size: 3.5rem !important;
    }

    .clients-stat-label {
        font-size: 0.7rem !important;
        letter-spacing: 2.5px !important;
    }

    .hero .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero .hero-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }
}

/* Index mobile: 480px */
@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .hero-main-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .index-who-we-are-grid h2,
    .index-erp-intro-grid h2,
    .index-cloud-intro-grid h2 {
        font-size: 1.25rem !important;
    }

    .who-we-are-img-box {
        min-height: 220px !important;
    }

    .index-features-grid .feature-icon {
        font-size: 2.2rem !important;
    }

    .section .container>h2 {
        font-size: 1.75rem !important;
        margin-bottom: 24px !important;
    }

    .section .container>p {
        margin-bottom: 40px !important;
        font-size: 0.95rem !important;
    }

    .testimonial-carousel-container {
        padding: 0 44px;
    }

    .testimonial-arrow {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .client-logos-grid {
        gap: 16px;
    }

    .client-logo-card {
        padding: 12px;
    }
}

/* Footer */
footer {
    background: #000000;
    color: #ffffff;
    padding: 30px 0 20px;
    border-top: 1px solid #333333;
    overflow-x: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr 1.2fr;
    gap: 24px;
    min-width: 0;
}

.footer-grid>div {
    min-width: 0;
}

/* Branch contact row: TP label + phone numbers */
.footer-contact-row {
    opacity: 0.7;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px;
}

footer h3,
footer h4,
footer a {
    color: #ffffff !important;
}

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

/* Ensure footer icons and buttons are always visible */
footer .social-icon {
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

footer .social-icon:hover {
    background: #ffffff !important;
    color: #000000 !important;
}

footer .btn {
    color: var(--text-color);
    border-color: var(--text-color);
}

.footer-bottom {
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
    border-top: 1px solid #333333;
    font-size: 0.8rem;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Overhaul */
@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .header-container {
        padding: 0 30px !important;
    }
}

@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
    }

    .header-container {
        padding: 0 20px !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        padding: 60px 40px;
        gap: 30px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 10000;
        border-left: 1px solid var(--border-color);
    }

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

    .nav-links a {
        color: var(--text-color) !important;
        font-size: 1.1rem !important;
        width: 100%;
        text-align: center;
    }


    .theme-toggle {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

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

@media (max-width: 600px) {
    .section {
        padding: 80px 0;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        margin-top: 25px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid>div {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-grid>div img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-grid ul {
        list-style: none;
        padding-left: 0;
    }

    .footer-grid ul li {
        text-align: center;
    }

    .footer-grid p {
        text-align: center;
    }

    .footer-grid .social-icon {
        margin: 0;
    }

    .footer-social-icons {
        justify-content: center;
    }

    /* QR code + company name: stack vertically and center */
    .footer-grid .footer-social-icons+div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    /* Branch contact rows: center the TP label + numbers */
    .footer-grid [style*="display: grid"] {
        display: flex !important;
        justify-content: center;
        gap: 6px;
    }

    /* QR code image centering */
    .footer-grid div[style*="margin-top: 20px"] {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-grid div[style*="margin-top: 20px"] a {
        display: block;
        text-align: center;
    }

    .footer-grid div[style*="margin-top: 20px"] h3 {
        text-align: center;
        margin-top: 10px;
    }
}



/* Forms */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.grid-3>div:nth-child(2) {
    transition-delay: 0.1s;
}

.grid-3>div:nth-child(3) {
    transition-delay: 0.2s;
}


/* Preloader Styles - full screen when header hidden */
body.preloader-visible .navbar {
    display: none;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-content {
    text-align: center;
    color: #ffffff;
}

.welcome-text {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 5px;
    opacity: 0;
    animation: fadeInOut 2s ease-in-out forwards;
}

.logo-animation {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -2px;
    opacity: 0;
    display: none;
    /* Hidden initially */
}

.logo-animation.active {
    display: block;
    animation: fadeIn 1.5s ease-in-out forwards;
}

/* Animations */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    40% {
        opacity: 1;
        transform: translateY(0);
    }

    60% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOutPreloader {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Why Choose Us Section - Card Hover Effects */
.why-choose-card {
    border: 1px solid #e0e0e0;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    background: #ffffff;
    position: relative;
    border-radius: 0;
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #000;
}

.why-choose-card .icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.why-choose-card:hover .icon-circle {
    background: #000;
    transform: scale(1.1);
}

.why-choose-card:hover .icon-circle i {
    color: #fff !important;
}

.why-choose-icon {
    color: #000;
}

[data-theme="light"] .why-choose-card {
    background: #ffffff;
    border-color: #e0e0e0;
}

[data-theme="light"] .why-choose-card:hover {
    border-color: #000;
}

[data-theme="dark"] .why-choose-card {
    background: #1a1a1a;
    border-color: #333;
}

[data-theme="dark"] .why-choose-card:hover {
    background: #222;
    border-color: #555;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .why-choose-card .icon-circle {
    border-color: #fff;
}

[data-theme="dark"] .why-choose-icon {
    color: #fff;
}

[data-theme="dark"] .why-choose-card:hover .icon-circle {
    background: #fff;
}

[data-theme="dark"] .why-choose-card:hover .icon-circle i {
    color: #000 !important;
}

/* Why Choose Us - cards on black section */
.bg-black-section .why-choose-card {
    background: #111;
    border-color: #333;
}

.bg-black-section .why-choose-card:hover {
    background: #1a1a1a;
    border-color: #555;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.05);
}

.bg-black-section .why-choose-card .icon-circle {
    border-color: #fff;
}

.bg-black-section .why-choose-icon {
    color: #fff;
}

.bg-black-section .why-choose-card:hover .icon-circle {
    background: #fff;
}

.bg-black-section .why-choose-card:hover .icon-circle i {
    color: #000 !important;
}

.bg-black-section .why-choose-card h4 {
    color: #fff !important;
}

.bg-black-section .why-choose-card p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.bg-black-section .clients-stat-number {
    background: linear-gradient(180deg, #fff 40%, rgba(255, 255, 255, 0.2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Branch Cards - Contact Page */
.branch-card {
    border: 1px solid #e0e0e0;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.branch-icon {
    color: #000;
}

.branch-link {
    color: #000;
    text-decoration: none;
}

.branch-link:hover {
    text-decoration: underline;
}

[data-theme="dark"] .branch-card {
    background: #000;
    border-color: #333;
}

[data-theme="dark"] .branch-icon {
    color: #fff;
}

[data-theme="dark"] .branch-link {
    color: #fff;
}

/* Contact Form - Theme-aware (light/dark mode) */
.contact-form-title {
    text-transform: uppercase;
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--text-color);
}

.contact-form {
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

/* Light mode form */
.contact-form {
    background: var(--secondary-bg);
    color: var(--text-color);
}

.contact-form-label {
    color: var(--secondary-text);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.5px;
}

.contact-form-input {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 12px;
    width: 100%;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form-input::placeholder {
    color: var(--secondary-text);
    opacity: 0.7;
}

.contact-form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.contact-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat !important;
    background-size: 12px 12px;
    background-position: right 12px center;
    padding-right: 36px;
}

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

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group:last-of-type {
    margin-bottom: 30px;
}

.contact-form-submit {
    width: 100%;
    padding: 18px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--text-color) !important;
    color: var(--bg-color) !important;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

/* Dark mode form overrides */
[data-theme="dark"] .contact-form {
    background: #111;
    border-color: #222;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.contact-form-submit:hover {
    opacity: 0.9;
}

/* Dark mode form overrides */
[data-theme="dark"] .contact-form {
    background: #0a0a0a;
    border-color: #333;
}

[data-theme="dark"] .contact-form-label {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .contact-form-input {
    background-color: #1a1a1a;
    border-color: transparent;
    color: #fff;
}

[data-theme="dark"] .contact-form-input:focus {
    background-color: #000;
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .contact-form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5L3.5 7h9L8 11.5z'/%3E%3C/svg%3E");
}

[data-theme="dark"] .contact-form-submit {
    background: #fff !important;
    color: #000 !important;
    border-color: #fff;
}

[data-theme="dark"] .contact-form-submit:hover {
    background: #e0e0e0 !important;
    border-color: #e0e0e0;
}

@media (max-width: 600px) {
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }
}

/* ================================
   Contact Page - Layout & Mobile
   ================================ */

.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.branch-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--text-color);
}

.branch-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0;
}

.branch-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 12px;
    opacity: 0.8;
    text-align: left;
}

.branch-icon {
    font-size: 1.8rem;
    color: var(--text-color);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-bg);
    border-radius: 12px;
}

.branch-link {
    font-weight: 700;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.branch-link:hover {
    text-decoration: underline;
}

[data-theme="dark"] .branch-card {
    background: #111;
    border-color: #222;
}

[data-theme="dark"] .branch-icon {
    background: #1a1a1a;
}

.contact-branches-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
}

/* Trusted Clients Section */
.trusted-clients-section {
    padding: 80px 0;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

.trusted-clients-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 50px;
    opacity: 0.6;
}

.trusted-clients-title strong {
    font-weight: 800;
    opacity: 1;
}

.clients-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 60px;
}

.trusted-client-logo {
    max-height: 45px;
    max-width: 150px;
    width: auto;
    filter: grayscale(1) opacity(0.5);
    transition: all 0.3s ease;
}

.trusted-client-logo:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

[data-theme="dark"] .trusted-client-logo {
    filter: invert(1) grayscale(1) opacity(0.5);
}

[data-theme="dark"] .trusted-client-logo:hover {
    filter: invert(1) grayscale(0) opacity(1);
}

.branch-phone-alt {
    margin-left: 38px;
}

/* Contact mobile: 1024px */
@media (max-width: 1024px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-section .container {
        padding-left: 25px;
        padding-right: 25px;
    }
}

/* Contact mobile: 768px */
@media (max-width: 768px) {
    .contact-layout-grid {
        gap: 40px;
    }

    .contact-form-title,
    .contact-branches-title {
        font-size: 1.6rem !important;
    }

    .contact-form {
        padding: 28px 24px !important;
    }

    .branch-card {
        padding: 20px !important;
        margin-bottom: 28px !important;
    }

    .branch-card:last-child {
        margin-bottom: 0 !important;
    }

    .branch-card h3 {
        font-size: 1.1rem !important;
    }

    .branch-card p {
        font-size: 0.9rem !important;
    }

    .hero-compact .hero-compact-title {
        font-size: 1.75rem !important;
    }

    .hero-compact .hero-compact-desc {
        font-size: 0.9rem !important;
    }
}

/* Contact mobile: 600px */
@media (max-width: 600px) {
    .contact-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .contact-form-title,
    .contact-branches-title {
        font-size: 1.4rem !important;
    }

    .contact-form {
        padding: 24px 20px !important;
    }

    .branch-phone-alt {
        margin-left: 0 !important;
        display: block;
        margin-top: 4px;
    }

    .branch-card {
        padding: 18px !important;
        margin-bottom: 24px !important;
    }

    .hero-compact {
        min-height: 35vh;
        padding: 60px 20px 50px !important;
    }

    .hero-compact .hero-compact-title {
        font-size: 1.5rem !important;
    }

    .hero-compact .hero-compact-subtitle {
        font-size: 0.75rem !important;
    }

    .hero-compact .hero-compact-desc {
        font-size: 0.85rem !important;
    }

    .contact-form-submit {
        padding: 14px !important;
    }
}

/* Contact mobile: 480px */
@media (max-width: 480px) {
    .contact-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .contact-layout-grid {
        gap: 32px;
    }

    .contact-form-title,
    .contact-branches-title {
        font-size: 1.25rem !important;
        margin-bottom: 24px !important;
    }

    .contact-form {
        padding: 20px 18px !important;
    }

    .contact-form-label {
        font-size: 0.8rem !important;
    }

    .contact-form-input {
        padding: 10px 12px !important;
        font-size: 0.9rem !important;
    }

    .contact-form-textarea {
        min-height: 100px !important;
    }

    .branch-card {
        padding: 16px !important;
        margin-bottom: 20px !important;
    }

    .branch-card .branch-icon {
        font-size: 1.4rem !important;
    }

    .branch-card h3 {
        font-size: 1rem !important;
    }

    .branch-card p {
        font-size: 0.85rem !important;
    }

    .hero-compact .hero-compact-title {
        font-size: 1.35rem !important;
    }
}

/* Clients Stat */
.clients-stat {
    margin-top: 80px;
    text-align: center;
}

.clients-stat-number {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(180deg, var(--text-color) 40%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.clients-stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
    opacity: 0.6;
}

.clients-stat-line {
    width: 60px;
    height: 2px;
    background: var(--text-color);
    margin: 24px auto 0;
    opacity: 0.3;
    transition: width 0.5s ease;
}

.clients-stat:hover .clients-stat-line {
    width: 120px;
    opacity: 0.6;
}

.bg-black-section .clients-stat-number {
    background: linear-gradient(180deg, #fff 40%, rgba(255, 255, 255, 0.2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-black-section .clients-stat-label {
    color: rgba(255, 255, 255, 0.5);
}

.bg-black-section .clients-stat-line {
    background: #fff;
}

/* Social Icons */
.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icon:hover {
    background: white;
    color: black !important;
    transform: translateY(-3px);
}

[data-theme="light"] .social-icon {
    border-color: rgba(0, 0, 0, 0.1);
    color: black !important;
}

[data-theme="light"] .social-icon:hover {
    background: black;
    color: white !important;
}

/* Ensure footer icons stay visible in light mode */
[data-theme="light"] footer .social-icon {
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

[data-theme="light"] footer .social-icon:hover {
    background: #ffffff !important;
    color: #000000 !important;
}

/* Logo Image Styles */
.nav-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: filter 0.4s ease;
}

/* Ensure header logo remains white as header is always black */
.navbar .nav-logo-img {
    filter: none !important;
}

[data-theme="light"] .nav-logo-img:not(.navbar .nav-logo-img) {
    filter: invert(1);
}

@media (max-width: 768px) {
    .nav-logo-img {
        height: 40px;
    }
}

/* Feature Cards Styling */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Merriweather:wght@300;400;700&display=swap');

.feature-card {
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-heading {
    font-family: Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Testimonial Carousel Styling */
.testimonial-main-heading {
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.testimonial-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonial-carousel {
    overflow: hidden;
    width: 100%;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
    align-items: stretch;
}

.testimonial-card {
    flex: 0 0 calc(20% - 16px);
    min-width: calc(20% - 14px);
    max-width: calc(20% - 14px);
    padding: 14px 16px 16px;
    border: 1px solid #444;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    box-sizing: border-box;
    position: relative;
    transition: all 0.4s ease;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    left: 15px;
    font-size: 3.5rem;
    font-family: Arial, sans-serif;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    border-color: #555;
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.testimonial-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
    justify-content: center;
}

.testimonial-stars i {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.testimonial-text {
    font-family: 'Merriweather', serif;
    font-style: italic;
    margin-bottom: 10px;
    opacity: 0.85;
    font-size: 0.98rem;
    text-align: center;
    line-height: 1.55;
    position: relative;
    z-index: 1;
    color: #e0e0e0;
}

.testimonial-author {
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    line-height: 1.3;
}

.testimonial-author strong {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    display: block;
    margin-bottom: 0;
    color: #fff;
}

.testimonial-role {
    font-size: 0.4rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    display: block;
    margin-top: 1px;
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid #444;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(8px);
}

.testimonial-arrow:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: #666;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.testimonial-arrow:active {
    transform: translateY(-50%) scale(1.02);
}

.testimonial-arrow-left {
    left: 0;
}

.testimonial-arrow-right {
    right: 0;
}

/* Testimonial Dots Indicator */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

.testimonial-dot.active {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.9);
    width: 30px;
    border-radius: 5px;
}

[data-theme="light"] .testimonial-dot {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .testimonial-dot:hover {
    background: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .testimonial-dot.active {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(0, 0, 0, 0.8);
}

/* Light Mode Adjustments */
[data-theme="light"] .testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border-color: #d0d0d0;
}

[data-theme="light"] .testimonial-card::before {
    color: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .testimonial-stars {
    color: #333333 !important;
}

[data-theme="light"] .testimonial-stars i {
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .testimonial-card:hover {
    border-color: #999;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .testimonial-text {
    color: #000000 !important;
    opacity: 1 !important;
}

[data-theme="light"] .testimonial-author strong {
    color: #000000 !important;
}

[data-theme="light"] .testimonial-role {
    color: #555555 !important;
}

[data-theme="light"] .testimonial-author {
    border-top-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .testimonial-arrow {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.02) 100%);
    border-color: #bbb;
    color: #000;
}

[data-theme="light"] .testimonial-arrow:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.06) 100%);
    border-color: #888;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .feature-card {
    border-color: #ddd;
}

/* Testimonials on white section */
.bg-white-section .testimonial-main-heading {
    color: #000 !important;
}

.bg-white-section .testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border-color: #e0e0e0;
}

.bg-white-section .testimonial-card:hover {
    border-color: #999;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.bg-white-section .testimonial-card::before {
    color: rgba(0, 0, 0, 0.04);
}

.bg-white-section .testimonial-stars {
    color: #333 !important;
}

.bg-white-section .testimonial-text {
    color: #000 !important;
    opacity: 1 !important;
}

.bg-white-section .testimonial-author strong {
    color: #000 !important;
}

.bg-white-section .testimonial-role {
    color: #555 !important;
}

.bg-white-section .testimonial-author {
    border-top-color: rgba(0, 0, 0, 0.1);
}

.bg-white-section .testimonial-arrow {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.02) 100%);
    border-color: #ccc;
    color: #000;
}

.bg-white-section .testimonial-arrow:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.06) 100%);
    border-color: #888;
}

.bg-white-section .testimonial-dot {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.25);
}

.bg-white-section .testimonial-dot:hover {
    background: rgba(0, 0, 0, 0.35);
}

.bg-white-section .testimonial-dot.active {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .testimonial-card {
        flex: 0 0 calc(25% - 15px);
        min-width: calc(25% - 15px);
        max-width: calc(25% - 15px);
    }
}

@media (max-width: 1200px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
    }
}

@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
        padding: 18px 14px;
    }

    .testimonial-carousel-container {
        padding: 0 55px;
    }

    .testimonial-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .feature-icon {
        font-size: 2.5rem !important;
    }

    .testimonial-card::before {
        font-size: 3rem;
        top: 10px;
        left: 12px;
    }

    .testimonial-text {
        font-size: 0.82rem;
    }
}

/* ================================
   Partner Page Styles & Animations
   ================================ */

/* Partner Icons - Light Mode */
.partner-icon {
    color: #000 !important;
    transition: all 0.4s ease;
}

/* Partner Info Cards - Light Mode */
.partner-info-card {
    margin-bottom: 30px;
    padding: 30px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #000;
    transition: all 0.4s ease;
}

.partner-info-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left-color: #333;
}

.partner-info-card:hover .partner-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Partner CTA Box - Light Mode */
.partner-cta-box {
    margin-top: 40px;
    transition: all 0.4s ease;
}

.partner-cta-inner {
    text-align: center;
    padding: 40px;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    transition: all 0.4s ease;
}

.partner-cta-inner h3 {
    color: #fff !important;
}

.partner-cta-inner i {
    color: #fff !important;
    transition: all 0.4s ease;
}

.partner-cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.partner-cta-box:hover i {
    transform: scale(1.2);
}

/* Partner Form Section */
.partner-form-section {
    position: sticky;
    top: 100px;
}

/* Partner Form - Light Mode */
.partner-form {
    background: #fff;
    padding: 40px;
    color: #000;
    border: 2px solid #e0e0e0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.partner-form-title {
    color: #000 !important;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-size: 1.3rem;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
}

.partner-form-label {
    color: #666 !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.partner-form-input {
    background: #f9f9f9 !important;
    border: 1px solid #ddd !important;
    color: #000 !important;
    padding: 12px;
    width: 100%;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.partner-form-input:focus {
    border-color: #000 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
    background: #fff !important;
}

.partner-form-readonly {
    background: #e9e9e9 !important;
    color: #999 !important;
    cursor: not-allowed;
}

/* Partner Submit Button - Light Mode */
.partner-submit-btn {
    width: 100%;
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s ease;
}

.partner-submit-btn:hover {
    background: #333 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark Mode Partner Styles */
[data-theme="dark"] .partner-icon {
    color: #fff !important;
}

[data-theme="dark"] .partner-info-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-left: 5px solid #fff;
}

[data-theme="dark"] .partner-info-card:hover {
    background: #222;
    border-left-color: #ccc;
}

[data-theme="dark"] .partner-info-card h2,
[data-theme="dark"] .partner-info-card h3 {
    color: #fff !important;
}

[data-theme="dark"] .partner-info-card p {
    color: #ccc !important;
}

[data-theme="dark"] .partner-cta-inner {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border-color: #333;
}

[data-theme="dark"] .partner-form {
    background: #000 !important;
    color: #fff !important;
    border-color: #333 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .partner-form-title {
    color: #fff !important;
    border-bottom-color: #333 !important;
}

[data-theme="dark"] .partner-form-label {
    color: #888 !important;
}

[data-theme="dark"] .partner-form-input {
    background: #111 !important;
    border-color: #333 !important;
    color: #fff !important;
}

[data-theme="dark"] .partner-form-input:focus {
    border-color: #666 !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
    background: #1a1a1a !important;
}

[data-theme="dark"] .partner-form-readonly {
    background: #0a0a0a !important;
    color: #666 !important;
}

[data-theme="dark"] .partner-submit-btn {
    background: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
}

[data-theme="dark"] .partner-submit-btn:hover {
    background: transparent !important;
    color: #fff !important;
    border-color: #fff !important;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Responsive Partner Layout */
@media (max-width: 1024px) {
    .partner-form-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .partner-grid-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .partner-info-section,
    .partner-form-section {
        grid-column: 1 / -1;
    }

    .partner-info-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .partner-cta-box>div {
        padding: 25px !important;
    }

    .partner-form-section form {
        padding: 25px !important;
    }

    .partner-form-section form>h3 {
        font-size: 1.1rem !important;
    }

    .partner-form-section h2 {
        font-size: 1.5rem !important;
    }
}

/* ================================
   Company About Section (Our Story, ERP Cloud, Vision, Mission)
   ================================ */

/* Row layout: alternating left/right */
.company-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.company-row:last-of-type {
    margin-bottom: 0;
}

.company-row-2 {
    grid-template-columns: 1fr 1fr;
}

.company-row-left,
.company-row-right {
    min-width: 0;
}

.company-highlight-box {
    padding: 36px;
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.06) 0%, rgba(53, 122, 189, 0.04) 100%);
    transition: var(--transition);
}

.company-highlight-box:hover {
    border-color: #4a90d9;
    box-shadow: 0 8px 30px rgba(74, 144, 217, 0.12);
}

/* Message from CEO section */
.company-ceo-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
    min-width: 0;
}

.company-ceo-message {
    min-width: 0;
}

.company-ceo-box {
    background: #111;
    height: 300px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 2rem;
    color: #fff;
}

.company-ceo-message h2 {
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #fff;
}

.company-ceo-message p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 25px;
    color: #fff;
}

.company-ceo-message h3 {
    color: #fff;
}

.company-vision-text-block {
    padding: 40px 0;
}

.company-vision-text-block p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--secondary-text);
}

/* Our Mission - distinct full-width style */
.company-mission-block {
    margin-top: 60px;
    padding: 56px 70px;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #141414 100%);
    border: 1px solid #2a2a2a;
    border-left: 5px solid #4a90d9;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.company-mission-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 217, 0.4), transparent);
    opacity: 0.6;
}

.company-mission-block:hover {
    border-color: #333;
    border-left-color: #5ba3f5;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.company-mission-inner {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.company-mission-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.25) 0%, rgba(53, 122, 189, 0.15) 100%);
    border: 2px solid #4a90d9;
    font-size: 1.9rem;
    color: #fff;
    transition: var(--transition);
}

.company-mission-block:hover .company-mission-icon {
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.35) 0%, rgba(53, 122, 189, 0.2) 100%);
    transform: scale(1.05);
}

.company-mission-title {
    text-transform: uppercase;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 24px;
    color: #fff;
    opacity: 0.98;
}

.company-mission-text {
    font-size: 1.15rem;
    line-height: 1.9;
    opacity: 0.88;
    font-weight: 400;
}

[data-theme="light"] .company-mission-block {
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
    border-color: #222;
}

.company-about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.company-about-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.company-about-card {
    padding: 32px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    transition: var(--transition);
}

.company-about-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.company-about-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text-color);
    color: var(--bg-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.company-about-icon-cloud {
    background: linear-gradient(135deg, #4a90d9, #357abd);
    color: #fff;
}

.company-about-title {
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text-color);
}

.company-about-card p {
    line-height: 1.8;
    margin-bottom: 12px;
}

.company-about-card p:last-child {
    margin-bottom: 0;
}

.company-about-sub {
    opacity: 0.75;
}

.company-about-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.company-vision-mission-card {
    padding: 36px 32px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 1px solid #333;
    color: #fff;
    transition: var(--transition);
}

.company-vision-mission-card:hover {
    border-color: #555;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.company-vm-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.company-vm-title {
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 14px;
    color: #fff;
}

.company-vision-mission-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.9;
}

[data-theme="light"] .company-vision-mission-card {
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
}

[data-theme="dark"] .company-about-card {
    background: #111;
    border-color: #333;
}

[data-theme="dark"] .company-about-card:hover {
    border-color: #555;
}

[data-theme="dark"] .company-highlight-box {
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.1) 0%, rgba(53, 122, 189, 0.06) 100%);
}

[data-theme="dark"] .company-vision-text-block p {
    color: var(--secondary-text);
}

@media (max-width: 1024px) {

    .company-about-grid,
    .company-row,
    .company-row-2 {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 48px;
    }

    .company-row:last-of-type {
        margin-bottom: 0;
    }

    .company-ceo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile: 768px - enhanced layout, optional order reversal */
@media (max-width: 768px) {
    .company-about-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .company-row {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-bottom: 40px;
    }

    /* Reverse order: Right (heading block) shows first, then Left (paragraph) */
    .company-row.company-row--mobile-reverse {
        flex-direction: column-reverse;
    }

    .company-row-left,
    .company-row-right {
        width: 100%;
    }

    .company-about-card,
    .company-highlight-box {
        padding: 28px 24px;
    }

    .company-about-title {
        font-size: 1.2rem;
        margin-bottom: 14px;
    }

    .company-about-card p,
    .company-highlight-box p {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    /* Message from CEO - mobile: stack, full width, centered */
    .company-ceo-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .company-ceo-grid {
        display: flex;
        flex-direction: column-reverse;
        gap: 28px;
    }

    .company-ceo-box {
        width: 100%;
        height: 120px;
        font-size: 1.5rem;
        min-height: 100px;
    }

    .company-ceo-message {
        width: 100%;
        text-align: center;
    }

    .company-ceo-message h2 {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .company-ceo-message p {
        font-size: 1rem !important;
        text-align: center !important;
    }

    .company-ceo-message h3 {
        text-align: center;
    }
}

@media (max-width: 600px) {

    .company-about-card,
    .company-vision-mission-card {
        padding: 24px 20px;
    }

    .company-highlight-box {
        padding: 24px 20px;
    }

    .company-mission-block {
        padding: 40px 24px;
    }

    .company-mission-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .company-mission-title {
        font-size: 1.15rem;
        letter-spacing: 3px;
    }

    .company-about-title {
        font-size: 1.1rem;
    }

    .company-ceo-section .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .company-ceo-box {
        height: 100px;
        font-size: 1.3rem;
    }

    .company-ceo-message h2 {
        font-size: 1.35rem;
    }

    .company-ceo-message p {
        font-size: 0.95rem !important;
    }
}

/* Small phones: 480px and below */
@media (max-width: 480px) {
    .company-about-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .company-row {
        margin-bottom: 32px;
        gap: 20px;
    }

    .company-about-card,
    .company-highlight-box,
    .company-vision-mission-card {
        padding: 20px 18px;
    }

    .company-about-title {
        font-size: 1.05rem;
        letter-spacing: 0.5px;
    }

    .company-about-card p,
    .company-highlight-box p {
        font-size: 0.95rem;
    }

    .company-about-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        margin-bottom: 16px;
    }

    .company-ceo-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .company-ceo-box {
        height: 80px;
        font-size: 1.2rem;
    }

    .company-ceo-message h2 {
        font-size: 1.2rem;
    }

    .company-ceo-message p {
        font-size: 0.9rem !important;
    }
}

/* ================================
   Core Values Section Styles
   ================================ */

/* Core Values Grid */
.core-values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}

/* Core Value Card - Light Mode */
.core-value-card {
    padding: 45px 25px;
    border: 2px solid #e0e0e0;
    background: #fff;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.core-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.03), transparent);
    transition: left 0.6s ease;
}

.core-value-card:hover::before {
    left: 100%;
}

.core-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #000;
}

/* Icon Circle */
.core-value-icon-circle {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    border: 3px solid #000;
    transition: all 0.4s ease;
}

.core-value-icon-circle i {
    font-size: 2.5rem;
    color: #000;
    transition: all 0.4s ease;
}

.core-value-card:hover .core-value-icon-circle {
    background: #000;
    transform: scale(1.1) rotate(5deg);
}

.core-value-card:hover .core-value-icon-circle i {
    color: #fff;
    transform: scale(1.15);
}

/* Title */
.core-value-title {
    text-transform: uppercase;
    font-size: 1.0rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #000;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    word-break: break-word;
}

.core-value-card:hover .core-value-title {
    color: #000;
    letter-spacing: 1px;
}

/* Description Text */
.core-value-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
    text-align: center;
    transition: all 0.3s ease;
}

.core-value-card:hover .core-value-text {
    color: #333;
}

/* Dark Mode Core Values */
[data-theme="dark"] .core-value-card {
    background: #0a0a0a;
    border-color: #333;
}

[data-theme="dark"] .core-value-card:hover {
    background: #111;
    border-color: #fff;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .core-value-icon-circle {
    background: #1a1a1a;
    border-color: #fff;
}

[data-theme="dark"] .core-value-icon-circle i {
    color: #fff;
}

[data-theme="dark"] .core-value-card:hover .core-value-icon-circle {
    background: #fff;
}

[data-theme="dark"] .core-value-card:hover .core-value-icon-circle i {
    color: #000;
}

[data-theme="dark"] .core-value-title {
    color: #fff !important;
}

[data-theme="dark"] .core-value-text {
    color: #aaa !important;
}

[data-theme="dark"] .core-value-card:hover .core-value-text {
    color: #ccc !important;
}

/* Responsive Core Values */
@media (max-width: 1400px) {
    .core-values-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .core-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .core-value-icon-circle {
        width: 80px;
        height: 80px;
    }

    .core-value-icon-circle i {
        font-size: 2.2rem;
    }

    .core-value-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .core-values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .core-value-card {
        padding: 35px 20px;
    }

    .core-value-icon-circle {
        width: 75px;
        height: 75px;
    }

    .core-value-icon-circle i {
        font-size: 2rem;
    }

    .core-value-title {
        font-size: 1.1rem;
    }

    .core-value-text {
        font-size: 0.95rem;
    }
}

/* ================================
   Company Page - Distinctive Style
   ================================ */

/* Hero - Pure Black */
.page-company .hero-compact {
    background: #000000;
    position: relative;
}

.page-company .hero-compact-title {
    letter-spacing: 3px;
}

/* About section - Warm off-white with accent cards */
.page-company .company-about-section.bg-white-section {
    background: linear-gradient(180deg, #fafbfc 0%, #f5f7f9 100%);
}

.page-company .company-about-card {
    border-left: 4px solid #000;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.page-company .company-about-card:hover {
    border-left-width: 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-company .company-highlight-box {
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.02) 100%);
    border: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.page-company .company-highlight-box:hover {
    border-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.page-company .company-about-icon {
    background: #000;
    color: #fff;
    border-radius: 12px;
}

/* Core Values - Bordered cards */
.page-company .company-core-values-section {
    background: #fff;
    border-top: none;
    padding-top: 30px;
}

.page-company .company-core-values-heading {
    color: #1a1a1a;
    letter-spacing: 2px;
}

.page-company .core-values-grid {
    gap: 24px;
}

.page-company .core-value-card {
    border-radius: 12px;
    border: 2px solid #e8ecf0;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.page-company .core-value-card:hover {
    border-color: #000;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-company .core-value-icon-circle {
    background: #f8f9fa;
    border-color: #000;
    border-width: 2px;
}

.page-company .core-value-card:hover .core-value-icon-circle {
    background: #000;
    border-color: #000;
}

.page-company .core-value-icon-circle i {
    color: #000;
}

.page-company .core-value-card:hover .core-value-icon-circle i {
    color: #fff;
}

.page-company .core-value-title {
    color: #1a1a1a;
}


/* CEO Section - Refined dark */
.page-company .company-ceo-section {
    position: relative;
    background: #000;
    border-top: 1px solid #333;
}

.page-company .company-ceo-section>.container {
    position: relative;
}

.page-company .company-ceo-section::before {
    display: none;
}

.page-company .company-ceo-box {
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
}

.page-company .company-ceo-message h2 {
    color: #fff;
    letter-spacing: 2px;
}

.page-company .company-ceo-message h3 {
    color: #fff;
}

/* Dark theme overrides for company page */
[data-theme="dark"] .page-company .company-about-section.bg-white-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 100%);
}

[data-theme="dark"] .page-company .company-about-card {
    border-left-color: #fff;
}

[data-theme="dark"] .page-company .company-about-card .company-about-icon {
    background: #fff;
    color: #000;
}

[data-theme="dark"] .page-company .company-core-values-section {
    background: #0a0a0a;
    border-top-color: #222;
}

[data-theme="dark"] .page-company .company-core-values-heading {
    color: #fff;
}

[data-theme="dark"] .page-company .core-value-card {
    background: #111;
    border-color: #333;
}

[data-theme="dark"] .page-company .core-value-card:hover {
    border-color: #fff;
}

[data-theme="dark"] .page-company .core-value-icon-circle {
    background: #1a1a1a;
    border-color: #fff;
}

[data-theme="dark"] .page-company .core-value-icon-circle i {
    color: #fff;
}

[data-theme="dark"] .page-company .core-value-card:hover .core-value-icon-circle {
    background: #fff;
}

[data-theme="dark"] .page-company .core-value-card:hover .core-value-icon-circle i {
    color: #000;
}

.edition-badge {
    display: inline-block;
    border: 2px solid currentColor;
    padding: 2px 8px;
    margin-left: 6px;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    line-height: normal;
    vertical-align: middle;
}

/* Benefits Page & Read More Modal */
.benefit-card {
    height: 350px; /* Highly compact height */
    display: flex;
    flex-direction: column;
    padding: 20px !important; /* Minimalist padding */
}

.benefit-card h3 {
    font-size: 1.15rem !important;
    margin-bottom: 8px !important;
}

.benefit-card div[style*="font-size: 2.25rem"] {
    font-size: 2rem !important; /* Slightly smaller icon */
    margin-bottom: 10px !important;
}

.benefit-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Show only 3 lines for maximum compactness */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px !important;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
}

.read-more-btn {
    margin-top: auto;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more-btn:hover {
    gap: 12px;
    opacity: 0.7;
}

.read-more-btn i {
    font-size: 0.8rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 20000;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.modal-content {
    background: var(--bg-color);
    color: var(--text-color);
    width: 100%;
    max-width: 650px;
    padding: 40px;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: modalPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.modal-close:hover {
    opacity: 1;
    background: var(--text-color);
    color: var(--bg-color);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-right: 40px;
}

.modal-body {
    line-height: 1.8;
    font-size: 1.05rem;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
    text-align: justify;
}

/* Custom scrollbar for modal body */
.modal-body::-webkit-scrollbar {
    width: 4px;
}
.modal-body::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
}
.modal-body::-webkit-scrollbar-thumb {
    background: var(--text-color);
    opacity: 0.3;
}