/* ==========================================================================
   MS INFOTECH HIGH SOLUTION - MASTER STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    --primary-red: #D91E28;
    --primary-red-hover: #b8141d;
    --primary-red-dark: #900018;
    --primary-red-light: #FFF5F5;
    --accent-red-glow: rgba(217, 30, 40, 0.25);
    
    --text-dark: #111827;
    --text-muted: #4B5563;
    --text-light: #9CA3AF;
    --text-white: #FFFFFF;
    
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-card: #FFFFFF;
    --bg-dark: #0B0F19;
    --bg-footer: #0A0D14;
    
    --border-color: #E5E7EB;
    --border-light: #F3F4F6;
    
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.08);
    --shadow-red: 0 10px 25px rgba(217, 30, 40, 0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

/* --------------------------------------------------------------------------
   3. REUSABLE UTILITIES & COMPONENTS
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.red-text {
    color: var(--primary-red);
}

.red-uppercase {
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    position: relative;
    display: block;
    width: 100%;
    margin-top: 4px;
    margin-bottom: 8px;
}

.title-underline {
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-red);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-header {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 44px;
}

.section-header.text-center {
    align-items: center;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.btn-red {
    background-color: var(--primary-red);
    color: var(--text-white);
    box-shadow: var(--shadow-red);
}

.btn-red:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(217, 30, 40, 0.35);
}

.btn-pill-red {
    background-color: var(--primary-red);
    color: var(--text-white);
    padding: 6px 6px 6px 24px;
    border-radius: var(--radius-pill);
    gap: 16px;
    box-shadow: var(--shadow-red);
}

.btn-pill-red:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
}

.btn-arrow-circle {
    width: 38px;
    height: 38px;
    background-color: var(--text-white);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-pill-red:hover .btn-arrow-circle {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   4. HEADER & NAVBAR
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 80px;
}

.site-header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

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

.brand-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.site-header.scrolled .brand-logo-img {
    height: 52px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 2px;
}

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

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F8 100%);
    overflow: hidden;
}

.red-corner-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(217,30,40,0.85) 0%, rgba(144,0,24,1) 100%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 1;
    opacity: 0.9;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.12;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-media {
    position: relative;
}

.hero-image-card {
    background: #0A050D;
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(217, 30, 40, 0.2);
    border: 1px solid rgba(217, 30, 40, 0.3);
    position: relative;
    overflow: visible;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image-card:hover .hero-img {
    transform: scale(1.03);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 5, 13, 0.05) 0%, rgba(10, 5, 13, 0.35) 100%);
    pointer-events: none;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(17, 9, 27, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(217, 30, 40, 0.35);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(217, 30, 40, 0.15);
    z-index: 5;
    transition: var(--transition);
}

.badge-top-right {
    top: 20px;
    right: 20px;
    animation: floatBadge 4s ease-in-out infinite;
}

.badge-bottom-left {
    bottom: 20px;
    left: 20px;
    animation: floatBadge 4s ease-in-out infinite 2s;
}

.badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.badge-icon-red {
    background: var(--primary-red);
    color: #FFF;
    box-shadow: 0 4px 12px rgba(217, 30, 40, 0.4);
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-title {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.2;
}

.badge-subtitle {
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 500;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 576px) {
    .floating-badge {
        padding: 8px 12px;
        gap: 8px;
    }
    .badge-icon {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
    .badge-title {
        font-size: 0.75rem;
    }
    .badge-subtitle {
        font-size: 0.65rem;
    }
    .badge-top-right {
        top: 10px;
        right: 10px;
    }
    .badge-bottom-left {
        bottom: 10px;
        left: 10px;
    }
}

/* --------------------------------------------------------------------------
   5.5 ABOUT US SECTION - SHOWCASE STYLING
   -------------------------------------------------------------------------- */
.about-section {
    padding: 90px 0 80px;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

/* Left Image Column */
.about-image-column {
    position: relative;
}

.about-image-card {
    background: #0A050D;
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 35px rgba(217, 30, 40, 0.2);
    border: 1px solid rgba(217, 30, 40, 0.3);
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #000;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.about-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 5, 13, 0.05) 0%, rgba(10, 5, 13, 0.35) 100%);
    pointer-events: none;
}

/* Floating Badges for About Section */
.about-floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(17, 9, 27, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(217, 30, 40, 0.35);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(217, 30, 40, 0.2);
    z-index: 5;
    transition: var(--transition);
}

.about-floating-badge.badge-top-left {
    top: -20px;
    left: -20px;
    animation: floatBadge 4s ease-in-out infinite;
}

.about-floating-badge.badge-bottom-right {
    bottom: -20px;
    right: -20px;
    animation: floatBadge 4s ease-in-out infinite 2s;
}

.badge-icon-red {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-red);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(217, 30, 40, 0.4);
}

.badge-icon-dark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text strong {
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.2;
}

.badge-text span {
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Right Content Column */
.about-lead-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 12px;
}

.about-description {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 28px;
}

/* Pillars 2x2 Grid */
.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.pillar-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: 16px;
    transition: var(--transition);
}

.pillar-card:hover {
    background: #FFF;
    border-color: rgba(217, 30, 40, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.pillar-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(217, 30, 40, 0.1);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.pillar-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.pillar-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.about-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.about-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: var(--transition);
}

.about-secondary-link:hover {
    color: var(--primary-red);
    transform: translateX(4px);
}

/* Attractive Professional Stats Grid */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.about-stat-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 24px 20px;
    border: 1px solid #EEF0F4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.about-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 3.5px;
    background: var(--primary-red);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
    border-color: rgba(217, 30, 40, 0.25);
}

.about-stat-card:hover::before {
    width: 100%;
}

.stat-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(217, 30, 40, 0.12) 0%, rgba(217, 30, 40, 0.04) 100%);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    border: 1px solid rgba(217, 30, 40, 0.2);
    transition: var(--transition);
}

.about-stat-card:hover .stat-card-icon {
    background: var(--primary-red);
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(217, 30, 40, 0.35);
    transform: scale(1.08);
}

.stat-card-info {
    display: flex;
    flex-direction: column;
}

.stat-card-num {
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.stat-plus {
    color: var(--primary-red);
    font-weight: 800;
}

.stat-card-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-floating-badge.badge-top-left {
        top: 10px;
        left: 10px;
    }
    .about-floating-badge.badge-bottom-right {
        bottom: 10px;
        right: 10px;
    }
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .about-pillars-grid {
        grid-template-columns: 1fr;
    }
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   6. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(217, 30, 40, 0.2);
}

.service-icon-box {
    width: 64px;
    height: 64px;
    background-color: #FFF0F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon-box {
    background-color: var(--primary-red);
}

.service-card:hover .service-icon-box svg {
    stroke: var(--text-white);
}

.service-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.35;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-red);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   7. CLIENTS SECTION
   -------------------------------------------------------------------------- */
.clients-section {
    padding: 60px 0 80px;
    background-color: #FAFAFA;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.client-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.client-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

.client-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.client-logo-wrapper img {
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   8. TECH STACK SECTION
   -------------------------------------------------------------------------- */
.tech-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    max-width: 900px;
    margin: 0 auto;
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

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

.tech-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tech-card:hover .tech-icon-circle {
    box-shadow: var(--shadow-md);
    transform: scale(1.08);
}

/* Tech colors matching reference */
.bg-angular { background: #E7F0FF; color: #DD0031; }
.bg-react { background: #E6F8FF; color: #61DAFB; }
.bg-dotnet { background: #F3E8FF; color: #512BD4; }
.bg-java { background: #FFF0F0; color: #E76F00; }
.bg-python { background: #F0F7FF; color: #3776AB; }
.bg-php { background: #F0F4FF; color: #777BB4; }
.bg-laravel { background: #FFF0F0; color: #FF2D20; }
.bg-flutter { background: #E8F4FF; color: #02569B; }
.bg-mysql { background: #E6F6FF; color: #00758F; }

.tech-text-icon {
    font-weight: 900;
    font-size: 1.1rem;
    color: #512BD4;
}

.tech-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* --------------------------------------------------------------------------
   9. PRODUCT SECTION (PENTA HRMS)
   -------------------------------------------------------------------------- */
.product-section {
    padding: 60px 0 80px;
    background-color: var(--bg-white);
}

.product-card-box {
    background: linear-gradient(135deg, #FFF5F5 0%, #FEE2E2 100%);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    border: 1px solid #FCA5A5;
    box-shadow: var(--shadow-md);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.product-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.product-features-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.product-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.check-circle {
    width: 22px;
    height: 22px;
    background-color: var(--primary-red);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Penta HRMS Mockup Screen */
.hrms-frame-container {
    background-color: var(--text-white);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(217, 30, 40, 0.15), 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--primary-red);
    overflow: hidden;
}

.hrms-mockup-window {
    font-size: 11px;
    background: #F9FAFB;
}

.mockup-topbar {
    background: #111827;
    color: #FFF;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-brand {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-red);
}

.mockup-body {
    display: flex;
    min-height: 320px;
}

.mockup-sidebar {
    width: 130px;
    background: #FFFFFF;
    border-right: 1px solid var(--border-color);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.side-item {
    padding: 6px 10px;
    border-radius: 4px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 600;
}

.side-item.active {
    background: #FEF2F2;
    color: var(--primary-red);
}

.mockup-main {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.stat-card {
    background: #FFF;
    border-radius: 6px;
    padding: 8px;
    border-left: 3px solid #3B82F6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.border-blue { border-left-color: #3B82F6; }
.border-green { border-left-color: #10B981; }
.border-orange { border-left-color: #F59E0B; }
.border-purple { border-left-color: #8B5CF6; }

.stat-lbl {
    font-size: 8px;
    color: var(--text-muted);
    display: block;
}

.stat-val {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-dark);
}

.text-green { color: #10B981; }
.text-orange { color: #F59E0B; }
.text-purple { color: #8B5CF6; }
.text-blue { color: #3B82F6; }

.charts-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 8px;
}

.chart-box {
    background: #FFF;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.chart-header {
    font-weight: 700;
    font-size: 9px;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.donut-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.donut-legend {
    font-size: 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.bg-blue { background: #2563EB; }
.bg-amber { background: #F59E0B; }
.bg-red { background: #EF4444; }

.tables-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.table-box {
    background: #FFF;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.table-title {
    font-weight: 700;
    font-size: 9px;
    margin-bottom: 6px;
}

.mini-table-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 8px;
}

.activity-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 8px;
    padding: 3px 0;
}

.act-avatar {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D1D5DB;
}

.act-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.act-time {
    color: var(--text-light);
    font-size: 7px;
}

/* --------------------------------------------------------------------------
   10. CERTIFICATIONS SECTION
   -------------------------------------------------------------------------- */
.cert-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.cert-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cert-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.cert-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-logo img {
    max-width: 100%;
    max-height: 65px;
    object-fit: contain;
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-red);
}

.cert-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #005A9C;
    margin-top: 4px;
}

.cert-subtext {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. GET IN TOUCH BANNER
   -------------------------------------------------------------------------- */
.contact-banner-section {
    position: relative;
    background: linear-gradient(135deg, #D91E28 0%, #900018 100%);
    padding: 60px 0;
    overflow: hidden;
    color: var(--text-white);
}

.contact-banner-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
}

.contact-banner-card {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.contact-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.mail-icon-circle-badge {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 2px stroke rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inner-icon {
    width: 60px;
    height: 60px;
    background: var(--text-white);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.banner-sub {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    opacity: 0.9;
    display: block;
    margin-bottom: 4px;
}

.banner-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.banner-desc {
    font-size: 0.95rem;
    opacity: 0.9;
    max-width: 420px;
}

.contact-right-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.info-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.info-details {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.info-details a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--bg-footer);
    color: var(--text-light);
    padding: 24px 0;
    font-size: 0.85rem;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   13. VIDEO MODAL LIGHTBOX
   -------------------------------------------------------------------------- */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 2;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #FFF;
    font-size: 1.8rem;
    cursor: pointer;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --------------------------------------------------------------------------
   14. COMPREHENSIVE RESPONSIVE MEDIA QUERIES (DESKTOP, TABLET, MOBILE)
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .product-grid {
        gap: 32px;
    }
}

@media (max-width: 992px) {
    .site-header {
        height: 72px;
    }
    
    .brand-logo-img {
        height: 48px;
    }
    
    .mobile-toggle-btn {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 24px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 8px 0;
        display: block;
    }
    
    /* FIX HERO RED ACCENT OVERLAP ON MOBILE */
    .red-corner-accent {
        display: none !important;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-content {
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-description {
        margin: 0 auto 32px;
        font-size: 1rem;
    }
    
    .hero-cta {
        display: flex;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-banner-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 32px 0 48px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .services-section,
    .clients-section,
    .tech-section,
    .product-section,
    .cert-section {
        padding: 40px 0;
    }
    
    .tech-grid {
        gap: 16px;
    }
    
    .tech-icon-circle {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }
    
    .tech-name {
        font-size: 0.8rem;
    }
    
    /* FIX PENTA HRMS CARD CONTAINER AND TEXT CLIPPING */
    .product-card-box {
        padding: 24px 16px;
        border-radius: var(--radius-md);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .product-content {
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .product-title {
        font-size: 1.8rem;
    }

    .product-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .product-features-list li {
        font-size: 0.88rem;
    }

    /* FIX PENTA HRMS DASHBOARD MOCKUP MOBILE DISPLAY */
    .product-preview {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hrms-frame-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hrms-mockup-window {
        width: 100%;
        min-width: 280px;
        box-sizing: border-box;
    }

    .mockup-body {
        flex-direction: column;
    }

    .mockup-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 6px;
        gap: 4px;
        white-space: nowrap;
    }

    .side-item {
        padding: 4px 8px;
        font-size: 9px;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .charts-row,
    .tables-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .stat-card {
        padding: 6px;
    }

    .stat-val {
        font-size: 12px;
    }

    .contact-banner-section {
        padding: 36px 0;
    }
    
    .contact-left {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .contact-right-info {
        width: 100%;
    }
    
    .info-item {
        background: rgba(255, 255, 255, 0.1);
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }
    
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .brand-logo-img {
        height: 38px;
    }
    
    .btn-header {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.55rem;
        line-height: 1.25;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }

    .btn-pill-red {
        padding: 4px 4px 4px 18px;
        font-size: 0.85rem;
        gap: 10px;
    }

    .btn-arrow-circle {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cert-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .cert-card {
        width: 100%;
        max-width: 280px;
    }
    
    .mail-icon-circle-badge {
        width: 60px;
        height: 60px;
    }
    
    .inner-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

/* --------------------------------------------------------------------------
   14. OUR REVIEWS / CLIENT TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.reviews-section {
    padding: 70px 0 0 0;
    background-color: #FAFAFC;
    position: relative;
    overflow: hidden;
}

.tagline-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
    width: 100%;
}

.tagline-wrapper .section-tagline {
    margin-bottom: 0;
}

.tagline-line {
    width: 40px;
    height: 2px;
}

.tagline-line.left {
    background: linear-gradient(90deg, transparent, var(--primary-red));
}

.tagline-line.right {
    background: linear-gradient(90deg, var(--primary-red), transparent);
}

.tagline-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--primary-red);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 580px;
    margin: 8px auto 14px;
    line-height: 1.5;
}

.red-bar-accent {
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red) 70%, rgba(217, 30, 40, 0.3) 100%);
    border-radius: 2px;
    margin: 0 auto 44px;
}

.reviews-carousel-wrapper {
    position: relative;
    padding: 0 12px;
}

.reviews-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.reviews-nav-btn.prev-btn {
    left: -24px;
}

.reviews-nav-btn.next-btn {
    right: -24px;
}

.reviews-nav-btn:hover {
    background: var(--primary-red);
    color: #FFFFFF;
    border-color: var(--primary-red);
    box-shadow: 0 6px 20px rgba(217, 30, 40, 0.4);
    transform: translateY(-50%) scale(1.1);
}

/* Horizontal Scrollable Slider */
.reviews-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 20px 4px;
    -ms-overflow-style: none;  /* IE & Edge */
    scrollbar-width: none;  /* Firefox */
}

.reviews-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 300px;
    scroll-snap-align: start;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid #EEF0F4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    border-color: rgba(217, 30, 40, 0.25);
}

.card-top {
    padding: 24px 24px 20px 24px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.quote-mark-top {
    color: var(--primary-red);
    font-size: 2.8rem;
    font-family: Georgia, serif;
    line-height: 0.8;
    margin-bottom: 8px;
    font-weight: 900;
}

.star-rating {
    display: flex;
    gap: 4px;
    color: var(--primary-red);
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.review-text {
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 400;
    flex-grow: 1;
}

.quote-mark-bottom {
    position: absolute;
    bottom: 8px;
    right: 20px;
    color: #FCA5A5;
    font-size: 2.2rem;
    font-family: Georgia, serif;
    line-height: 0.8;
    opacity: 0.35;
    pointer-events: none;
}

.card-bottom {
    border-top: 1px solid #F3F4F6;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #FAFAFA;
}

.client-logo-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #FFF;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    padding: 4px;
}

.client-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client-info {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
    line-height: 1.2;
}

.client-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.2;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FCA5A5;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dots .dot.active {
    width: 24px;
    height: 10px;
    border-radius: 10px;
    background: var(--primary-red);
}

/* Elegant Bottom Divider Line */
.reviews-bottom-divider {
    margin-top: 40px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(217, 30, 40, 0.15) 25%, var(--primary-red) 50%, rgba(217, 30, 40, 0.15) 75%, transparent 100%);
}

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

@media (max-width: 640px) {
    .review-card {
        flex: 0 0 100%;
    }
    .reviews-nav-btn.prev-btn {
        left: -12px;
    }
    .reviews-nav-btn.next-btn {
        right: -12px;
    }
}

/* --------------------------------------------------------------------------
   15. LEAD COLLECTION POPUP MODAL & THANK YOU STYLES
   -------------------------------------------------------------------------- */
.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lead-modal.active {
    opacity: 1;
    visibility: visible;
}

.lead-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 13, 20, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lead-modal-container {
    position: relative;
    width: 100%;
    max-width: 580px;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 30px rgba(217, 30, 40, 0.15);
    border: 1px solid rgba(217, 30, 40, 0.2);
    padding: 36px 32px 32px;
    z-index: 2;
    transform: scale(0.92) translateY(20px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.lead-modal.active .lead-modal-container {
    transform: scale(1) translateY(0);
}

.lead-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #F3F4F6;
    border: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.lead-modal-close:hover {
    background: var(--primary-red);
    color: #FFF;
    transform: rotate(90deg);
}

.lead-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.lead-modal-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 6px 0 8px;
}

.lead-modal-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.lead-collection-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #374151;
}

.text-red {
    color: var(--primary-red);
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--primary-red);
    font-size: 0.95rem;
    pointer-events: none;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border-radius: var(--radius-sm);
    border: 1px solid #D1D5DB;
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: #FAFAFA;
    transition: var(--transition);
}

.input-with-icon.textarea-icon textarea {
    padding-top: 12px;
    resize: vertical;
}

.input-with-icon.textarea-icon .input-icon {
    top: 14px;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: #FFF;
    box-shadow: 0 0 0 3px rgba(217, 30, 40, 0.15);
}

.btn-submit-lead {
    width: 100%;
    margin-top: 8px;
    justify-content: center;
    padding: 10px 10px 10px 24px;
    font-size: 0.95rem;
}

/* Thank You Success State Inside Modal */
.lead-form-content.hidden,
.lead-success-state.hidden,
.hidden {
    display: none !important;
}

.lead-success-state {
    text-align: center;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    animation: pulseCheck 2s infinite;
}

@keyframes pulseCheck {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3); }
    70% { box-shadow: 0 0 0 16px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.success-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.success-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 20px;
    max-width: 440px;
}

.success-info-card {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    width: 100%;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-dark);
}

.success-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.thank-you-link {
    font-size: 0.85rem;
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.thank-you-link:hover {
    text-decoration: underline;
}

/* Standalone Thank You Page Layout */
.thank-you-body {
    background: #F9FAFB;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.thank-you-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.thank-you-card {
    background: #FFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid #E5E7EB;
    padding: 48px 36px;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thank-you-badge {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(217, 30, 40, 0.1);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 20px;
}

.thank-you-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin: 8px 0 16px;
}

.thank-you-desc {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.thank-you-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    margin-bottom: 32px;
}

.summary-item {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.summary-item .icon-red {
    font-size: 1.4rem;
    color: var(--primary-red);
}

.summary-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.summary-item span,
.summary-item a {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
}

.summary-item a:hover {
    color: var(--primary-red);
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .thank-you-summary {
        grid-template-columns: 1fr;
    }
    .lead-modal-container {
        padding: 28px 20px 24px;
    }
}

