/* ============================================
   NEXA ENERGY — Custom Stylesheet
   Flat Design | Bootstrap 5 | Modern Energy
   ============================================ */

/* CSS Variables */
:root {
    --nexa-navy: #0a1628;
    --nexa-navy-light: #111d32;
    --nexa-navy-dark: #060e1a;
    --nexa-accent: #397a3a;
    --nexa-accent-hover: #275e27;
    --nexa-accent-light: #deffdf;
    --nexa-teal: #1abc9c;
    --nexa-teal-dark: #16a085;
    --nexa-white: #ffffff;
    --nexa-gray-50: #f8f9fa;
    --nexa-gray-100: #f1f3f5;
    --nexa-gray-200: #e9ecef;
    --nexa-gray-300: #dee2e6;
    --nexa-gray-400: #adb5bd;
    --nexa-gray-500: #6c757d;
    --nexa-gray-600: #495057;
    --nexa-gray-700: #343a40;
    --nexa-gray-800: #212529;
    --nexa-gray-900: #1a1d20;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

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

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.65;
    color: var(--nexa-gray-700);
    background-color: var(--nexa-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--nexa-gray-600);
    line-height: 1.7;
}

.text-accent {
    color: var(--nexa-accent);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    padding: 1rem 0;
    background: transparent;
    transition: all 0.35s ease;
    z-index: 1030;
}

.navbar-scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: baseline;
    text-decoration: none;
    gap: 0.25rem;
}

.brand-nexa {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--nexa-white);
    letter-spacing: 0.05em;
}

.brand-energy {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--nexa-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75) !important;
    padding: 0.5rem 1rem !important;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--nexa-white) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--nexa-accent);
    border-radius: 1px;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    border: none;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.btn-nexa-primary {
    background: var(--nexa-accent);
    color: var(--nexa-white);
}

.btn-nexa-primary:hover {
    background: var(--nexa-accent-hover);
    color: var(--nexa-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-nexa-outline {
    background: transparent;
    color: var(--nexa-white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-nexa-outline:hover {
    background: var(--nexa-white);
    color: var(--nexa-navy);
    border-color: var(--nexa-white);
    transform: translateY(-2px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

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

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(10, 22, 40, 0.75) 50%,
        rgba(10, 22, 40, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: 100px;
    padding: 8rem 0 4rem;
}

.hero-badge {
    margin-bottom: 1.5rem;
}

.badge-nexa {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(34, 230, 67, 0.068);
    color: var(--nexa-accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(34, 230, 93, 0.3);
    border-radius: 100px;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 800;
    color: var(--nexa-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Stats Bar */
.hero-stats {
    position: relative;
    z-index: 2;
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-item {
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--nexa-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 6rem 0;
}

.section-light {
    background: var(--nexa-white);
}

.section-dark {
    background: var(--nexa-navy);
}

.section-accent {
    background: var(--nexa-navy-light);
}

.section-header {
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--nexa-accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--nexa-gray-500);
    font-size: 1.05rem;
}

/* ============================================
   SERVICE CARDS (Homepage)
   ============================================ */
.service-card {
    background: var(--nexa-white);
    border: 1px solid var(--nexa-gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--nexa-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--nexa-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--nexa-accent);
}

.service-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--nexa-gray-500);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.link-arrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--nexa-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}

.link-arrow:hover {
    gap: 0.75rem;
    color: var(--nexa-accent-hover);
}

/* ============================================
   VALUE CARDS
   ============================================ */
.value-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
}

.value-card i {
    font-size: 1.5rem;
    color: var(--nexa-accent);
    margin-bottom: 0.75rem;
}

.value-card h5 {
    color: var(--nexa-white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.value-card-wide {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.value-card-wide i {
    flex-shrink: 0;
    margin-bottom: 0;
}

/* ============================================
   APPROACH CARDS
   ============================================ */
.approach-card {
    background: var(--nexa-white);
    border: 1px solid var(--nexa-gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.approach-card:hover {
    border-color: var(--nexa-accent);
    box-shadow: var(--shadow-lg);
}

.approach-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--nexa-accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.approach-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.approach-card p {
    color: var(--nexa-gray-500);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 4rem 0;
    background: var(--nexa-gray-100);
}

.cta-box {
    background: var(--nexa-navy);
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230,126,34,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box h2 {
    color: var(--nexa-white);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.cta-box p {
    color: rgba(255,255,255,0.6);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    position: relative;
    padding: 10rem 0 5rem;
    background: var(--nexa-navy);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(230,126,34,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26,188,156,0.05) 0%, transparent 50%);
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,22,40,0.3) 0%, rgba(10,22,40,0.8) 100%);
}

.page-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--nexa-accent);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--nexa-white);
    position: relative;
    z-index: 1;
}

.page-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 1.125rem;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

/* ============================================
   WELCOME PAGE — IMAGE-RICH SECTIONS
   ============================================ */

/* Operations Showcase */
.section-showcase {
    padding: 0;
    overflow: hidden;
}

.showcase-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.showcase-image-wrapper:hover .showcase-image {
    transform: scale(1.03);
}

.showcase-image-caption {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 2;
}

.caption-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--nexa-accent);
    color: var(--nexa-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
}

.showcase-content {
    padding: 4rem 3rem;
    max-width: 600px;
}

.showcase-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.showcase-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--nexa-gray-50);
    border: 1px solid var(--nexa-gray-200);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nexa-navy);
}

.showcase-feature i {
    color: var(--nexa-accent);
    font-size: 1rem;
}

/* Projects Gallery */
.section-gallery {
    background: var(--nexa-navy);
    padding: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h5 {
    color: var(--nexa-white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* People & Expertise */
.section-people {
    background: var(--nexa-gray-50);
}

.people-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.people-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
}

.people-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--nexa-accent);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.people-stat-float {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--nexa-navy);
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.people-stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--nexa-accent);
    line-height: 1;
}

.people-stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.people-credentials {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--nexa-white);
    border: 1px solid var(--nexa-gray-200);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.credential-item:hover {
    border-color: var(--nexa-accent);
    box-shadow: var(--shadow-sm);
}

.credential-item i {
    font-size: 1.25rem;
    color: var(--nexa-accent);
    flex-shrink: 0;
}

.credential-item div {
    display: flex;
    flex-direction: column;
}

.credential-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--nexa-navy);
}

.credential-desc {
    font-size: 0.8rem;
    color: var(--nexa-gray-500);
}

/* Partners / Trust Strip */
.section-partners {
    background: var(--nexa-navy-light);
    padding: 4rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.partner-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--nexa-accent);
    transform: translateY(-3px);
}

.partner-item i {
    font-size: 1.75rem;
    color: var(--nexa-accent);
}

.partner-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive for new sections */
@media (max-width: 991.98px) {
    .showcase-content {
        padding: 3rem 1.5rem;
    }
    
    .showcase-image-wrapper {
        min-height: 350px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 220px);
    }
    
    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item-wide {
        grid-column: span 2;
    }
    
    .people-stat-float {
        left: 1rem;
        bottom: -15px;
    }
}

@media (max-width: 575.98px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
    }
    
    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 1;
    }
    
    .showcase-features {
        flex-direction: column;
    }
    
    .showcase-feature {
        width: 100%;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    height: 100%;
    min-height: 400px;
}

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--nexa-gray-100);
}

.about-img-main {
    grid-row: span 2;
}

.about-img-secondary {
    grid-row: span 1;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--nexa-gray-400);
    gap: 0.5rem;
}

.img-placeholder i {
    font-size: 2rem;
}

.img-placeholder span {
    font-size: 0.875rem;
    font-weight: 500;
}

.vision-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
}

.vision-icon {
    width: 64px;
    height: 64px;
    background: rgba(34, 230, 60, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.vision-icon i {
    font-size: 1.75rem;
    color: var(--nexa-accent);
}

.vision-card h3 {
    color: var(--nexa-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.vision-card p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 0;
}

.objective-card {
    background: var(--nexa-white);
    border: 1px solid var(--nexa-gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.objective-card:hover {
    border-color: var(--nexa-accent);
    box-shadow: var(--shadow-md);
}

.objective-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--nexa-accent);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.objective-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.objective-card p {
    color: var(--nexa-gray-500);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.capability-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.capability-item i {
    font-size: 2.5rem;
    color: var(--nexa-accent);
    margin-bottom: 1rem;
}

.capability-item h5 {
    color: var(--nexa-white);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.capability-item p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.registration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.registration-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--nexa-gray-50);
    border: 1px solid var(--nexa-gray-200);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.registration-item:hover {
    border-color: var(--nexa-accent);
    background: var(--nexa-white);
}

.registration-item i {
    font-size: 1.25rem;
    color: var(--nexa-accent);
    flex-shrink: 0;
}

.reg-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--nexa-navy);
    display: block;
}

.reg-status {
    font-size: 0.8rem;
    color: var(--nexa-gray-400);
}

.alert-nexa {
    background: var(--nexa-accent-light);
    border: 1px solid rgba(230,126,34,0.2);
    color: var(--nexa-navy);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.alert-nexa i {
    color: var(--nexa-accent);
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-nav {
    background: var(--nexa-white);
    border-bottom: 1px solid var(--nexa-gray-200);
    position: sticky;
    top: 60px;
    z-index: 1020;
}

.services-nav-inner {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.services-nav-inner::-webkit-scrollbar {
    display: none;
}

.services-nav-link {
    display: block;
    padding: 1.25rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--nexa-gray-500);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.services-nav-link:hover,
.services-nav-link.active {
    color: var(--nexa-accent);
    border-bottom-color: var(--nexa-accent);
}

.service-category {
    scroll-margin-top: 120px;
}

.category-header {
    margin-bottom: 3rem;
}

.category-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--nexa-accent);
    margin-bottom: 0.5rem;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 0;
}

.service-detail-card {
    background: var(--nexa-white);
    border: 1px solid var(--nexa-gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    border-color: var(--nexa-accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-detail-card-dark {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

.service-detail-card-dark:hover {
    border-color: var(--nexa-accent);
    background: rgba(255,255,255,0.06);
}

.service-detail-card-dark h4 {
    color: var(--nexa-white);
}

.service-detail-card-dark .service-tagline,
.service-detail-card-dark .service-list li {
    color: rgba(255,255,255,0.6);
}

.service-detail-card-accent {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

.service-detail-card-accent:hover {
    border-color: var(--nexa-accent);
    background: rgba(255,255,255,0.08);
}

.service-detail-card-accent h4 {
    color: var(--nexa-white);
}

.service-detail-card-accent .service-tagline,
.service-detail-card-accent .service-list li {
    color: rgba(255,255,255,0.6);
}

.service-detail-card img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 30px;
}

.service-detail-icon {
    width: 56px;
    height: 56px;
    background: var(--nexa-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-detail-icon i {
    font-size: 1.5rem;
    color: var(--nexa-accent);
}

.service-detail-card-dark .service-detail-icon,
.service-detail-card-accent .service-detail-icon {
    background: rgba(34, 230, 54, 0.15);
}

.service-detail-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-tagline {
    font-style: italic;
    color: var(--nexa-gray-500);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--nexa-gray-200);
}

.service-detail-card-dark .service-tagline,
.service-detail-card-accent .service-tagline {
    border-bottom-color: rgba(255,255,255,0.1);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--nexa-gray-600);
    line-height: 1.6;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: var(--nexa-accent);
    border-radius: 50%;
}

.service-highlight {
    border-color: var(--nexa-accent);
    position: relative;
}

.service-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--nexa-accent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-badge {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.4rem 1rem;
    background: var(--nexa-accent);
    color: var(--nexa-white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
}

.hse-commitment-box {
    background: var(--nexa-navy);
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.hse-commitment-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(230,126,34,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hse-commitment-box h3 {
    color: var(--nexa-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hse-commitment-box p {
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.hse-icon {
    font-size: 4rem;
    color: var(--nexa-accent);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-info-panel {
    background: var(--nexa-navy);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    height: 100%;
}

.contact-info-panel h3 {
    color: var(--nexa-white);
    font-size: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(34, 230, 50, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.125rem;
    color: var(--nexa-accent);
}

.contact-detail h5 {
    color: var(--nexa-white);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.contact-detail p,
.contact-detail a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 0;
    transition: color 0.2s ease;
}

.contact-detail a:hover {
    color: var(--nexa-accent);
}

.contact-social h6 {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    color: var(--nexa-white);
    text-decoration: none;
    margin-right: 0.5rem;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--nexa-accent);
    color: var(--nexa-white);
    transform: translateY(-2px);
}

.contact-form-panel {
    background: var(--nexa-white);
    border: 1px solid var(--nexa-gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.contact-form-panel h3 {
    font-size: 1.5rem;
}

.contact-form .form-floating > .form-control,
.contact-form .form-floating > .form-select {
    border: 1px solid var(--nexa-gray-300);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.contact-form .form-floating > .form-control:focus,
.contact-form .form-floating > .form-select:focus {
    border-color: var(--nexa-accent);
    box-shadow: 0 0 0 0.2rem rgba(230,126,34,0.15);
}

.contact-form .form-floating > label {
    font-size: 0.85rem;
    color: var(--nexa-gray-500);
}

.contact-form .form-check-label {
    font-size: 0.85rem;
    color: var(--nexa-gray-600);
}

.contact-form .form-check-input:checked {
    background-color: var(--nexa-accent);
    border-color: var(--nexa-accent);
}

/* Map Section */
.map-container {
    position: relative;
    height: 400px;
    background: var(--nexa-navy-dark);
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--nexa-gray-600);
    gap: 0.75rem;
}

.map-placeholder i {
    font-size: 3rem;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 2rem 0;
    background: linear-gradient(transparent, rgba(10,22,40,0.9));
}

.map-info {
    max-width: 400px;
}

.map-info h4 {
    color: var(--nexa-white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.map-info p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--nexa-navy-dark);
    color: rgba(255,255,255,0.6);
}

.footer-main {
    padding: 5rem 0 3rem;
}

.footer-brand {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.footer-brand .brand-nexa {
    font-size: 1.5rem;
}

.footer-brand .brand-energy {
    font-size: 0.875rem;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--nexa-accent);
    color: var(--nexa-white);
    transform: translateY(-2px);
}

.footer-heading {
    color: var(--nexa-white);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.footer-contact i {
    color: var(--nexa-accent);
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--nexa-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.5rem 0;
}

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

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--nexa-accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem;
        border-radius: var(--radius-lg);
        margin-top: 1rem;
    }
    
    .hero-content {
        padding: 7rem 0 3rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-item:nth-child(2) {
        border-right: none;
    }
    
    .about-image-grid {
        grid-template-columns: 1fr;
        min-height: 300px;
    }
    
    .about-img-main {
        grid-row: span 1;
    }
    
    .cta-box {
        padding: 2rem;
    }
    
    .contact-info-panel {
        margin-bottom: 2rem;
    }
    
    .footer-legal {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 4rem 0;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .services-nav-inner {
        padding: 0.5rem 0;
    }
    
    .services-nav-link {
        padding: 1rem 1.25rem;
    }
    
    .hse-commitment-box {
        padding: 2rem;
    }
    
    .footer-main {
        padding: 3rem 0 2rem;
    }
    
    .footer-bottom .text-md-end {
        text-align: center !important;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card,
    .service-detail-card,
    .contact-form-panel,
    .contact-info-panel {
        padding: 1.75rem;
    }
    
    .vision-card {
        padding: 1.75rem;
    }
    
    .cta-box {
        padding: 1.5rem;
    }
    
    .cta-box h2 {
        font-size: 1.35rem;
    }
}

.licensing {
    font-size: 12px; color: #474747;
}
.licensing a {
    color: rgba(255, 168, 5, 0.169);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > .container > .row > div > * {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-content > .container > .row > div > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > .container > .row > div > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > .container > .row > div > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > .container > .row > div > *:nth-child(4) { animation-delay: 0.4s; }

/* Smooth scroll offset for fixed header */
html {
    scroll-padding-top: 100px;
}

/* Selection color */
::selection {
    background: rgba(230, 126, 34, 0.2);
    color: var(--nexa-navy);
}

/* ============================================
   PUBLIC GALLERY PAGE
   ============================================ */

.page-header-gallery {
    background: linear-gradient(135deg, var(--nexa-navy) 0%, #1a2d4a 100%);
}

/* Featured Gallery */
.featured-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 280px);
    gap: 1rem;
}

.featured-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.featured-large {
    grid-row: span 2;
}

.featured-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-item:hover img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.9) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.featured-overlay h4 {
    color: var(--nexa-white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.featured-overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.featured-category {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--nexa-accent);
    color: var(--nexa-white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    width: fit-content;
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--nexa-white);
    border: 1px solid var(--nexa-gray-200);
    border-radius: 100px;
    color: var(--nexa-gray-600);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--nexa-accent);
    color: var(--nexa-accent);
}

.filter-btn.active {
    background: var(--nexa-accent);
    border-color: var(--nexa-accent);
    color: var(--nexa-white);
}

/* Public Gallery Grid */
.public-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.public-gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.public-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.public-gallery-item:hover img {
    transform: scale(1.08);
}

.public-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.public-gallery-item:hover .public-gallery-overlay {
    background: rgba(10, 22, 40, 0.7);
}

.overlay-content {
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.public-gallery-item:hover .overlay-content {
    opacity: 1;
    transform: translateY(0);
}

.overlay-content i {
    font-size: 2rem;
    color: var(--nexa-accent);
    margin-bottom: 0.75rem;
}

.overlay-content h5 {
    color: var(--nexa-white);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.overlay-content span {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Gallery Modal / Lightbox */
.gallery-modal .modal-dialog {
    max-width: 1000px;
}

.gallery-modal .modal-content {
    background: var(--nexa-navy);
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.btn-close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: var(--nexa-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close-modal:hover {
    background: rgba(255,255,255,0.2);
}

.modal-image {
    width: 100%;
    max-height: 60vh;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0d1b2e;
}

.modal-info {
    padding: 1.5rem 2rem;
}

.modal-info h4 {
    color: var(--nexa-white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.modal-info p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.modal-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.modal-category {
    padding: 0.35rem 1rem;
    background: var(--nexa-accent);
    color: var(--nexa-white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
}

.modal-date {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .featured-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 250px);
    }
    
    .featured-large {
        grid-row: span 1;
    }
    
    .public-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 575.98px) {
    .featured-gallery {
        grid-template-rows: repeat(3, 200px);
    }
    
    .public-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .modal-info {
        padding: 1rem 1.25rem;
    }
}