:root {
    --primary-red: #E53935;
    --hover-red: #D32F2F;
    --dark-red: #B71C1C;
    --text-dark: #212121;
    --text-muted: #666;
    --text-white: #ffffff;
    --bg-white: #ffffff;
    --bg-gray: #f9f9f9;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --red-gradient: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    --btn-radius: 4px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;

}

.gradient-text {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

/* --- Scroll Progress --- */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary-red);
    z-index: 3000;
    transition: width 0.1s ease-out;
}

/* --- TOP HEADER --- */
.top-header {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 1001;
    position: relative;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-items {
    display: flex;
    gap: 25px;
}

.contact-items i {
    color: var(--primary-red);
    margin-right: 6px;
}

/* --- Navigation --- */
header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background-color: var(--bg-white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 15px 0;
}



header .container {
    max-width: 100%;
    padding: 0 15px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    height: 100px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Balanced vertical gap */
    align-items: center;
    padding: 5px 0;
}

.nav-row {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
}

.nav-row li a {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid transparent;
}

.nav-row li a:hover {
    color: var(--primary-red);
    background: rgba(229, 57, 53, 0.05);
    border-color: rgba(229, 57, 53, 0.2);
}

.nav-row li a.active {
    color: white;
    background: var(--primary-red);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.dot-sep {
    display: none; /* Removed for cleaner button style */
}

.nav-links li {
    position: relative;
}

/* --- MEGA DROPDOWN --- */
.has-mega-menu {
    position: static;
}

.mega-menu-dropdown {
    position: fixed;
    top: auto;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.13);
    border-top: 3px solid var(--primary-red);
    display: grid;
    grid-template-columns: 260px 300px 1fr;
    padding: 30px 60px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1999;
    text-transform: none;
    gap: 0;
}

.has-mega-menu:hover .mega-menu-dropdown,
.mega-menu-dropdown:hover {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.mega-col {
    padding: 0 30px;
    border-right: 1px solid #eee;
}

.mega-col:first-child { padding-left: 0; }
.mega-col:last-child  { border-right: none; padding-right: 0; }

.mega-col h5 {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.service-list,
.sub-service-list {
    list-style: none;
    padding: 0;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 3px;
    color: var(--text-dark);
    font-size: 0.88rem;
    font-weight: 500;
    gap: 10px;
}

.service-item i:first-child {
    color: var(--primary-red);
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
}

.service-item:hover,
.service-item.active {
    background: #f5f8ff;
    color: #1d4ed8;
}

.service-item:hover i:first-child,
.service-item.active i:first-child {
    color: #1d4ed8;
}

.sub-service-list li {
    padding: 9px 0;
    font-size: 0.84rem;
    color: #555;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid #f7f7f7;
}

.sub-service-list li:last-child { border-bottom: none; }

.sub-service-list li:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.solution-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.solution-item:hover {
    border-color: var(--primary-red);
    background: #fffafa;
    transform: translateX(3px);
}

.solution-icon {
    width: 38px;
    height: 38px;
    background: #eef2ff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.solution-text {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

/* --- MODALS --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.service-modal {
    background: #fff;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    border-radius: 20px;
    position: relative;
    padding: 50px;
    overflow-y: auto;
    box-shadow: 0 30px 100px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2.5rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-red);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 50px;
}

.modal-header h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.modal-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.use-case-card {
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
}

.use-case-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(229,57,53,0.08);
}

.use-case-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 10px;
    display: inline-block;
}

.uc-section {
    margin-bottom: 18px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.uc-label {
    display: block;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 40px 0;
}

.ind-tag {
    background: #f5f5f5;
    color: #666;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.why-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.why-modal-item h4 {
    color: var(--primary-red);
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.why-modal-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
}
    color: var(--primary-red);
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
}

.service-item:hover,
.service-item.active {
    background: #f5f8ff;
    color: #1d4ed8;
}

.service-item:hover i:first-child,
.service-item.active i:first-child {
    color: #1d4ed8;
}

.sub-service-list li {
    padding: 9px 0;
    font-size: 0.84rem;
    color: #555;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid #f7f7f7;
}

.sub-service-list li:last-child { border-bottom: none; }

.sub-service-list li:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.solution-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.solution-item:hover {
    border-color: var(--primary-red);
    background: #fffafa;
    transform: translateX(3px);
}

.solution-icon {
    width: 38px;
    height: 38px;
    background: #eef2ff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.solution-text {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

/* --- Service Modal --- */
.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: 3000;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.service-modal {
    background: white;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    border-radius: 12px;
    overflow-y: auto;
    position: relative;
    padding: 50px;
    animation: modalSlide 0.4s ease-out;
}

@keyframes modalSlide {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-red);
}

.modal-header h2 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.modal-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 800px;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.use-case-card {
    background: #fcfcfc;
    border-left: 4px solid var(--primary-red);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.use-case-card h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.uc-section {
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.uc-label {
    font-weight: 700;
    color: var(--primary-red);
    display: block;
    margin-bottom: 3px;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 40px 0;
}

.ind-tag {
    background: var(--bg-gray);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
}

.why-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff8f8;
    padding: 40px;
    border-radius: 12px;
    margin-top: 50px;
}

.why-modal-item h4 {
    color: var(--primary-red);
    margin-bottom: 10px;
}

.why-modal-item p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: var(--btn-radius);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-red {
    background-color: var(--primary-red);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.btn-red:hover {
    background-color: var(--hover-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 57, 53, 0.4);
}

/* --- Content Styling --- */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pillar-card {
    padding: 50px 30px;
    background: var(--bg-white);
    border: 1px solid #eee;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-red);
}

.pillar-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(229, 57, 53, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
}

.pillar-tag {
    background: #fdf2f2;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
}

.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.sector-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    cursor: pointer;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

.sector-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    position: static;
    z-index: 1;
}

.sector-card h3 {
    padding: 25px 25px 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    position: static;
}

.sector-card p {
    padding: 0 25px 25px;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    position: static;
}

.sector-card::after {
    display: none;
}

/* --- Footer --- */
footer {
    background: #111;
    color: #999;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
}

.footer-logo span {
    color: var(--primary-red);
}

.footer-links h4 {
    color: var(--text-white);
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.newsletter p {
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    background: #222;
    border: 1px solid #333;
    padding: 12px;
    border-radius: 4px;
    color: white;
}

.bottom-footer {
    padding-top: 30px;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* --- Animations --- */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Main Hero --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--text-white);
    background-color: #000;
    /* Fallback color */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Slight transparency for mood */
}

/* --- Section Video Backgrounds --- */
.section-with-video {
    position: relative;
    overflow: hidden;
}

.bg-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.07;
    /* Very subtle to not distract from text */
    pointer-events: none;
}

.bg-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Premium Mesh Gradient Background --- */
body {
    background: linear-gradient(45deg,
            #ffffff,
            #f9f9f9,
            #ffebee,
            /* Very light red hint */
            #ffffff);
    background-size: 400% 400%;
    animation: meshGradient 15s ease infinite;
}

@keyframes meshGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- Sections --- */
section,
main,
.section-padding {
    background: transparent;
}

.sector-card,
.pillar-card,
.contact-form-container,
.about-content-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(229, 57, 53, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    transition: var(--transition);
}

.sector-card:hover,
.pillar-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary-red);
    box-shadow: 0 30px 60px rgba(229, 57, 53, 0.12);
}

/* --- Background Patterns --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(229, 57, 53, 0.04) 1.5px, transparent 1.5px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 750px;
    color: rgba(255, 255, 255, 0.9);
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

/* --- Site Map Navigation Section --- */
.site-map-section {
    display: none !important;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* --- Animations --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.glow-red {
    box-shadow: 0 0 20px rgba(229, 57, 53, 0.3);
}

.sector-card img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sector-card:hover img {
    transform: scale(1.1);
}

.map-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.map-row:last-child {
    margin-bottom: 0;
}

.map-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-link:hover {
    color: var(--primary-red);
}

.map-dot {
    width: 4px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 50%;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .map-row {
        gap: 10px;
    }
    .map-link {
        font-size: 0.75rem;
    }
}

/* --- Portfolio / Case Studies --- */
.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1) !important;
}

.portfolio-card a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .portfolio-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* --- Reviews Page --- */
.reviews-container {
    max-width: 1000px;
    margin: 0 auto;
}

.review-form-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 60px;
    border-top: 4px solid var(--primary-red);
}

.review-form-card h2 {
    margin-bottom: 25px;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.star-rating-input {
    display: flex;
    gap: 10px;
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
}

.star-rating-input .active {
    color: #ffc107;
    animation: pop 0.3s ease;
}

@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.message-banner {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.message-banner.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.message-banner.error {
    background: #ffebee;
    color: #c62828;
}

.message-banner.info {
    background: #e3f2fd;
    color: #1565c0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    align-items: start;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    transition: var(--transition);
    border: 1px solid #eee;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: rgba(229, 57, 53, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.review-date {
    font-size: 0.85rem;
    color: #888;
}

.star-display {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-comment {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Review Modal */
.review-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.review-modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal-btn:hover {
    color: var(--primary-red);
}

/* --- Utility Classes for Responsive Grids (Replaced Inline Styles) --- */
.responsive-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.responsive-grid-contact {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}
.responsive-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* --- Mobile Menu Styles --- */
.mobile-menu-btn-container {
    display: none;
}
.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 10px;
}

/* --- COMPREHENSIVE MOBILE RESPONSIVENESS --- */
/* Base responsive media setup */
img, video {
    max-width: 100%;
    height: auto;
}

/* --- Breakpoint: 1440px (Large Desktop Screens) --- */
@media (min-width: 1440px) {
    .container {
        max-width: 1300px; /* Slightly expand container for ultra-wide screens */
    }
    .hero h1 {
        font-size: 5rem; /* Scale up typography */
    }
}

/* --- Breakpoint: 1024px (Tablets & Smaller Laptops) --- */
@media (max-width: 1024px) {
    header nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 10px;
    }
    .mobile-menu-btn-container {
        display: block;
        order: 2;
    }
    .logo {
        order: 1;
        height: 70px;
    }
    .nav-wrapper {
        display: none;
        width: 100%;
        order: 3;
        flex-direction: column;
        align-items: stretch;
        padding-top: 15px;
        background: var(--bg-white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        border-radius: 8px;
        margin-top: 10px;
        transition: max-height 0.3s ease-in-out;
    }
    .nav-wrapper.nav-active {
        display: flex;
    }
    .nav-row {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
        padding-bottom: 15px;
    }
    .nav-row li {
        width: 100%;
        text-align: center;
    }
    .nav-row li a {
        display: block;
        padding: 12px;
        font-size: 1rem;
        background: #f9f9f9;
        border-radius: 8px;
        margin: 0 10px;
    }
    nav > .btn-red {
        display: none; /* Hide top-level CTA on mobile to save space */
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .section-padding {
        padding: 60px 0;
    }
    .why-modal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px;
    }
    .has-mega-menu:hover .mega-menu-dropdown {
        display: none !important; /* Disable hover-based Mega Menu */
    }
}

/* --- Breakpoint: 768px (Tablets & Large Phones) --- */
@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .reviews-grid, 
    .portfolio-grid, 
    .pillars-grid, 
    .sectors-grid, 
    .use-case-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    /* Collapse Custom Inline Grids */
    .responsive-grid-2col,
    .responsive-grid-contact,
    .responsive-form-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .review-modal-content, 
    .service-modal {
        padding: 25px 20px;
        width: calc(100% - 20px);
        margin: 10px;
        max-height: 85vh;
    }
    .contact-form-container,
    .review-form-card {
        padding: 25px;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    .bottom-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .bottom-footer div {
        justify-content: center;
    }
}

/* --- Breakpoint: 480px (Standard Mobile Phones) --- */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .nav-row li a {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    .logo {
        height: 60px;
    }
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* --- Breakpoint: 320px (Small Mobile Phones / Legacy) --- */
@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    .nav-row li a {
        padding: 6px 10px;
        font-size: 0.65rem;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .contact-form-container,
    .review-form-card {
        padding: 15px;
    }
    .review-modal-content, 
    .service-modal {
        padding: 15px 10px;
        width: calc(100% - 10px);
        margin: 5px;
    }
}
