/* ============================================================
   EPC CONSTRUCTIONS INDIA LTD. - MAIN STYLESHEET
   Corporate EPC Website Design System
   Color Palette: Deep Red #C00000 | Charcoal #1a1a1a | White #FFFFFF
   Font: Inter (Aptos-like) + Source Sans 3
   ============================================================ */

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

:root {
    --red: #C00000;
    --red-dark: #8B0000;
    --red-light: #e50000;
    --charcoal: #1a1a1a;
    --charcoal-mid: #2d2d2d;
    --charcoal-light: #3a3a3a;
    --grey-dark: #444444;
    --grey-mid: #777777;
    --grey-light: #aaaaaa;
    --off-white: #f5f5f5;
    --white: #ffffff;
    --metallic: #8a9bb0;
    --metallic-light: #b8c5d1;
    --gold: #c8a951;
    --section-pad: 90px;
    --font-main: 'Inter', 'Source Sans 3', system-ui, sans-serif;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
    --border-radius: 4px;
    --container-max: 1280px;
}

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

body {
    font-family: var(--font-main);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

.section-padding {
    padding: var(--section-pad) 0;
}

.bg-white { background: var(--white); }
.bg-light { background: var(--off-white); }
.bg-dark { background: var(--charcoal); }
.bg-charcoal { background: var(--charcoal-mid); }
.text-red { color: var(--red); }
.text-white { color: var(--white); }
.position-relative { position: relative; }

.mt-30 { margin-top: 30px; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--grey-dark); line-height: 1.75; }

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

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

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192,0,0,0.35);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}
.btn-outline-dark:hover {
    background: var(--charcoal);
    color: var(--white);
}

.btn-lg { padding: 18px 40px; font-size: 0.95rem; }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }

/* ---- SECTION HEADERS ---- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--red);
    padding: 6px 14px;
    border: 1px solid rgba(192,0,0,0.3);
    background: rgba(192,0,0,0.06);
    border-radius: 2px;
    margin-bottom: 16px;
}
.section-tag.light {
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
}

.section-title { margin-bottom: 20px; color: var(--charcoal); }
.section-title.light { color: var(--white); }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--grey-mid);
    max-width: 600px;
    margin: 0 auto;
}
.section-subtitle.light { color: rgba(255,255,255,0.65); }

.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }
.section-header.split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

/* ---- PRELOADER ---- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--charcoal);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-logo {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}
.logo-epc { color: var(--red); }
.logo-ci { color: var(--white); }

.preloader-bar {
    width: 240px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--red), #ff6b6b);
    border-radius: 2px;
    animation: preload 2s ease-in-out forwards;
}

@keyframes preload {
    0% { width: 0; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ---- HEADER ---- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-top-bar {
    background: var(--charcoal);
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.main-header.scrolled .header-top-bar {
    padding: 0;
    max-height: 0;
    overflow: hidden;
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-top-left {
    display: flex;
    gap: 24px;
}

.header-top-left span, .header-top-right span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-top-left i { color: var(--red); }

.header-top-right {
    display: flex;
    gap: 10px;
}

.cert-badge {
    background: rgba(192,0,0,0.2);
    border: 1px solid rgba(192,0,0,0.4);
    color: rgba(255,255,255,0.8);
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 2px;
    letter-spacing: 0.05em;
}

.header-main {
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.main-header.scrolled .header-main {
    background: rgba(10,10,10,0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0;
    height: 72px;
}

/* ---- LOGO ---- */
.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-icon svg {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

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

.logo-main {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo-formerly {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.35);
    font-style: italic;
}

/* ---- NAVIGATION ---- */
.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 3px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.nav-link i { font-size: 0.65rem; transition: transform 0.25s ease; }

.nav-item.has-mega:hover .nav-link i {
    transform: rotate(180deg);
}

/* ---- MEGA MENU ---- */
.mega-menu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal-mid);
    border-top: 3px solid var(--red);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-item.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-inner {
    display: flex;
    gap: 60px;
    padding: 40px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.mega-col h4 {
    color: var(--red);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mega-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-col ul a {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.mega-col ul a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--red);
    transition: width 0.25s ease;
}

.mega-col ul a:hover {
    color: var(--white);
    padding-left: 6px;
}

.mega-col ul a:hover::before {
    width: 12px;
}

.mega-highlight {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    padding: 20px 30px;
    background: rgba(192,0,0,0.1);
    border: 1px solid rgba(192,0,0,0.2);
    border-radius: 4px;
    min-width: 200px;
}

.mega-stat .ms-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
}

.mega-stat .ms-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* ---- HEADER ACTIONS ---- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- HERO SECTION ---- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    transform: scale(1.05);
    transition: opacity 1.5s ease, transform 8s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,10,10,0.88) 0%,
        rgba(10,10,10,0.7) 50%,
        rgba(192,0,0,0.15) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-inner {
    max-width: 900px;
    padding-top: 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(192,0,0,0.15);
    border: 1px solid rgba(192,0,0,0.4);
    color: rgba(255,255,255,0.8);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 2px;
    margin-bottom: 28px;
}

.hero-title {
    color: var(--white);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 42px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-subtitle strong { color: rgba(255,255,255,0.95); }

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-scroll-indicator {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--red);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-slide-controls {
    position: absolute;
    bottom: 36px;
    right: 40px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slide-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slide-btn.active {
    background: var(--red);
    width: 28px;
    border-radius: 5px;
}

/* ---- TICKER BAR ---- */
.ticker-bar {
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 44px;
}

.ticker-label {
    flex-shrink: 0;
    padding: 0 24px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--red-dark);
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
}

.ticker-inner {
    display: flex;
    gap: 0;
    animation: ticker 40s linear infinite;
    width: max-content;
}

.ticker-inner span {
    padding: 0 40px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-right: 1px solid rgba(255,255,255,0.2);
    white-space: nowrap;
    height: 44px;
    display: flex;
    align-items: center;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- ABOUT SNAPSHOT ---- */
.section-grid.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-content {}
.section-body {
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.75;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.ah-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--grey-dark);
}

.ah-item i { margin-top: 2px; font-size: 1rem; }

.section-image .img-frame {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.section-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.6s ease;
}

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

.img-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--red);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 4px;
}

.ib-num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.ib-label {
    font-size: 0.75rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---- STATS SECTION ---- */
.stats-section {
    position: relative;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.stats-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.95) 0%, rgba(192,0,0,0.2) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.05);
}

.stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.stat-card:hover { background: rgba(192,0,0,0.08); }
.stat-card:hover::before { transform: scaleX(1); }

.stat-icon {
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 16px;
    opacity: 0.8;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 6px;
}

.stat-sub {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---- CAPABILITIES GRID ---- */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.cap-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 40px 32px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.cap-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--red);
    transform: scaleY(0);
    transition: transform 0.35s ease;
    transform-origin: bottom;
}

.cap-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.cap-card:hover::after { transform: scaleY(1); }

.cap-icon {
    width: 60px;
    height: 60px;
    background: rgba(192,0,0,0.08);
    border: 1px solid rgba(192,0,0,0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--red);
    margin-bottom: 20px;
    transition: var(--transition);
}

.cap-card:hover .cap-icon {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.cap-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.cap-card p {
    font-size: 0.9rem;
    color: var(--grey-mid);
    line-height: 1.7;
    margin-bottom: 20px;
}

.cap-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.cap-link:hover { gap: 10px; }

/* ---- SECTORS GRID ---- */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.sector-card {
    position: relative;
    height: 280px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: var(--transition);
    cursor: pointer;
}

.sector-card.sector-wide {
    grid-column: span 3;
    height: 220px;
}

.sector-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,10,10,0.92) 0%,
        rgba(10,10,10,0.4) 50%,
        transparent 100%
    );
    transition: var(--transition);
}

.sector-card:hover .sector-overlay {
    background: linear-gradient(
        to top,
        rgba(192,0,0,0.85) 0%,
        rgba(10,10,10,0.6) 60%,
        rgba(10,10,10,0.2) 100%
    );
}

.sector-content {
    position: relative;
    z-index: 2;
    padding: 28px;
    color: var(--white);
    transform: translateY(8px);
    transition: var(--transition);
}

.sector-card:hover .sector-content { transform: translateY(0); }

.sector-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.sector-card:hover .sector-icon { color: var(--white); }

.sector-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.sector-content p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 12px;
}

.sector-link {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.sector-card:hover .sector-link {
    opacity: 1;
    transform: translateX(0);
}

/* ---- PROJECTS CAROUSEL ---- */
.projects-carousel-wrap {
    position: relative;
}

.projects-carousel {
    display: flex;
    gap: 24px;
    overflow: hidden;
}

.proj-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.proj-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.proj-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s ease;
}

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

.proj-body { padding: 28px; }

.proj-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
}

.proj-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
    line-height: 1.3;
}

.proj-body p {
    font-size: 0.87rem;
    color: var(--grey-mid);
    line-height: 1.65;
    margin-bottom: 16px;
}

.proj-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--grey-mid);
    margin-bottom: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.proj-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.proj-meta i { color: var(--red); }

.proj-cta {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.proj-cta:hover { gap: 10px; }

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(0,0,0,0.15);
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    font-size: 0.9rem;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.carousel-dot.active {
    background: var(--red);
    width: 24px;
    border-radius: 4px;
}

/* ---- MAP SECTION ---- */
.map-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.world-map-svg {
    position: relative;
    background: linear-gradient(135deg, #111 0%, #1a1a2e 50%, #111 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    overflow: hidden;
}

.map-svg {
    width: 100%;
    height: 100%;
}

.ping-anim {
    animation: ping 2s ease-in-out infinite;
}

@keyframes ping {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(2); opacity: 0; }
}

.map-tooltip {
    position: absolute;
    background: var(--red);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    z-index: 10;
}

.map-legend {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot.red { background: var(--red); }
.legend-dot.orange { background: #ff6600; }

.map-regions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.region-tag {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 16px 20px;
    border-radius: 4px;
}

.region-tag i { margin-top: 3px; font-size: 1rem; }

.region-tag strong {
    display: block;
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.region-tag span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

/* ---- CLIENTS MARQUEE ---- */
.clients-marquee {
    overflow: hidden;
    position: relative;
}

.clients-marquee::before,
.clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
}

.clients-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.clients-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.clients-inner {
    display: flex;
    gap: 0;
    animation: marquee 35s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo {
    flex-shrink: 0;
    padding: 20px 40px;
    border: 1px solid rgba(0,0,0,0.06);
    margin-right: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 80px;
    background: var(--white);
    transition: var(--transition);
}

.client-logo span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--grey-mid);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    white-space: nowrap;
}

.client-logo:hover span { color: var(--red); }

/* ---- CTA SECTION ---- */
.cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.93) 0%, rgba(10,10,10,0.75) 100%);
}

.cta-inner {
    text-align: center;
    color: var(--white);
}

.cta-inner h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-inner p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cta-contact-info {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-contact-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: var(--transition);
}

.cta-contact-info a:hover { color: var(--white); }
.cta-contact-info i { color: var(--red); }

/* ---- FOOTER ---- */
.main-footer { background: #0d0d0d; color: var(--white); }

.footer-top {
    padding: 70px 0 50px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.fl-main {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
}

.fl-sub {
    display: block;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.4);
    font-style: italic;
}

.footer-brand p {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
    color: rgba(255,255,255,0.5);
    font-size: 0.87rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul a::before {
    content: '›';
    color: var(--red);
    font-size: 1rem;
}

.footer-col ul a:hover { color: var(--white); padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: 14px; }

.fc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.87rem;
    color: rgba(255,255,255,0.5);
}

.fc-item i { color: var(--red); margin-top: 2px; flex-shrink: 0; }
.fc-item a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.fc-item a:hover { color: var(--white); }

.footer-bottom {
    padding: 22px 0;
    background: rgba(0,0,0,0.3);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    transition: var(--transition);
}

.footer-links a:hover { color: var(--white); }

/* ---- BACK TO TOP ---- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 46px;
    height: 46px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(192,0,0,0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ---- IMAGE FALLBACKS ---- */
.hero-slide, .sector-card, .page-hero-bg, .stats-bg {
    background-color: #1a1a1a;
}
/* ---- FAVICON DEFINED INLINE in HTML ---- */

/* ============================================================
   INNER PAGE SHARED STYLES
   ============================================================ */
.page-hero {
    position: relative;
    height: 480px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    overflow: hidden;
    margin-top: 0;
    padding-top: 120px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.6) 60%, rgba(10,10,10,0.3) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.breadcrumb a { color: var(--red); }
.breadcrumb i { font-size: 0.6rem; }

.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 600px; }

/* ---- AOS OVERRIDES ---- */
[data-aos] { pointer-events: auto !important; }
