/*
    NIRANYA DEVELOPERS LLP — Premium Corporate Website
    Dark Theme | Gold Accents | Executive-Level Design
*/

/* ===== CSS VARIABLES ===== */
:root {
    --bg-primary: #0B0F1A;
    --bg-secondary: #101525;
    --bg-card: #141A2E;
    --bg-card-hover: #1A2240;

    --gold: #C8A25C;
    --gold-light: #D4B87A;
    --gold-dark: #A8853F;

    --white: #FFFFFF;
    --gray-light: #BBBBBB;
    --gray-mid: #999999;
    --gray-dim: #666666;

    --dark-line: #2A3045;
    --accent-blue: #1E3A5F;

    --font-heading: 'Poppins', 'Montserrat', sans-serif;
    --font-body: 'Open Sans', 'Segoe UI', sans-serif;

    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;

    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 4px 20px rgba(200, 162, 92, 0.15);

    --border-radius: 8px;
    --container-max: 1320px;

    --hero-bg: linear-gradient(
        135deg,
        #0B0F1A 0%,
        #101525 40%,
        #1E3A5F 100%
    );

    --navbar-scrolled-bg: rgba(11, 15, 26, 0.95);
    --navbar-scrolled-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);

    --footer-bg: rgba(8, 11, 20, 0.95);

    --hero-overlay-1: rgba(200, 162, 92, 0.06);
    --hero-overlay-2: rgba(30, 58, 95, 0.15);

    --hero-stats-bg: rgba(20, 26, 46, 0.6);

    --gold-accent-bg: rgba(200, 162, 92, 0.1);
    --gold-accent-border: rgba(200, 162, 92, 0.3);
    --gold-accent-subtle: rgba(200, 162, 92, 0.05);

    --gold-number-ghost: rgba(200, 162, 92, 0.08);

    --mobile-menu-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

/* ===== LIGHT THEME OVERRIDES ===== */
[data-theme="light"] {
    --bg-primary: #F5F5F0;
    --bg-secondary: #EEEEE8;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F9F9F5;

    --gold: #B8922E;
    --gold-light: #C8A23E;
    --gold-dark: #9A7A20;

    --white: #1A1A2E;
    --gray-light: #333333;
    --gray-mid: #555555;
    --gray-dim: #888888;

    --dark-line: #D8D8D0;
    --accent-blue: #2A4A6F;

    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 4px 20px rgba(184, 146, 46, 0.15);

    --hero-bg: linear-gradient(
        135deg,
        #E8E4D8 0%,
        #F0ECE0 40%,
        #D4CBB0 100%
    );

    --navbar-scrolled-bg: rgba(245, 245, 240, 0.95);
    --navbar-scrolled-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);

    --footer-bg: rgba(230, 228, 220, 0.98);

    --hero-overlay-1: rgba(184, 146, 46, 0.06);
    --hero-overlay-2: rgba(42, 74, 111, 0.06);

    --hero-stats-bg: rgba(255, 255, 255, 0.7);

    --gold-accent-bg: rgba(184, 146, 46, 0.08);
    --gold-accent-border: rgba(184, 146, 46, 0.25);
    --gold-accent-subtle: rgba(184, 146, 46, 0.04);

    --gold-number-ghost: rgba(184, 146, 46, 0.06);

    --mobile-menu-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--gray-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.4s ease, color 0.4s ease;
}

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

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

ul {
    list-style: none;
}

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

.gold {
    color: var(--gold);
}

.section {
    padding: 100px 0;
    position: relative;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loader {
    text-align: center;
    position: relative;
}

.loader-ring {
    width: 80px;
    height: 80px;
    border: 3px solid var(--dark-line);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 6px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--navbar-scrolled-bg, rgba(11, 15, 26, 0.95));
    backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: var(--navbar-scrolled-shadow, 0 2px 20px rgba(0, 0, 0, 0.5));
    border-bottom: 1px solid var(--gold-accent-bg);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
}

.logo-n {
    color: var(--gold);
    font-size: 26px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-mid);
    padding: 8px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Theme Toggle Button */
.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--dark-line);
    background: var(--gold-accent-bg);
    color: var(--gold);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
    transform: rotate(20deg);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--hero-bg, linear-gradient(135deg, #0B0F1A 0%, #101525 40%, #1E3A5F 100%));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 50%, var(--hero-overlay-1) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, var(--hero-overlay-2) 0%, transparent 50%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 1000px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 28px;
    border: 1px solid var(--gold-accent-border);
    border-radius: 30px;
    margin-bottom: 30px;
    background: var(--gold-accent-subtle);
}

.hero-badge span {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-title-main {
    display: block;
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 12px;
    line-height: 1.1;
}

.hero-title-sub {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    color: var(--gray-light);
    letter-spacing: 8px;
    margin-top: 8px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--gold-light);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.hero-description {
    font-size: 16px;
    color: var(--gray-mid);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-primary);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold-accent-bg);
}

.btn-full {
    width: 100%;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 30px 40px;
    background: var(--hero-stats-bg);
    border: 1px solid var(--dark-line);
    border-radius: var(--border-radius);
    backdrop-filter: blur(8px);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--gray-mid);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--dark-line);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.scroll-indicator span {
    display: block;
    font-size: 11px;
    color: var(--gray-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    margin: 0 auto;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
    50% { transform: rotate(45deg) translateY(8px); opacity: 0.5; }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 12px;
    padding: 6px 20px;
    border: 1px solid var(--gold-accent-border);
    border-radius: 20px;
    background: var(--gold-accent-subtle);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 16px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-mid);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--bg-primary);
}

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

.about-subtitle {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.about-text {
    font-size: 15px;
    color: var(--gray-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-highlights li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-light);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-highlights li i {
    color: var(--gold);
    margin-top: 4px;
    flex-shrink: 0;
}

.about-mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.mv-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--border-radius);
    border: 1px solid var(--dark-line);
    transition: var(--transition);
}

.mv-card:hover {
    border-color: var(--gold-accent-border);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.mv-icon {
    width: 40px;
    height: 40px;
    background: var(--gold-accent-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 12px;
}

.mv-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 8px;
}

.mv-card p {
    font-size: 13px;
    color: var(--gray-mid);
    line-height: 1.7;
}

.about-info-card {
    background: var(--bg-card);
    border: 1px solid var(--dark-line);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.card-header-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gold);
}

.card-header-title i {
    margin-right: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--dark-line);
}

.info-row:last-of-type {
    border-bottom: none;
}

.info-key {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.info-value {
    font-size: 14px;
    color: var(--white);
    text-align: right;
}

.principles-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--dark-line);
}

.principles-bar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--gray-mid);
    padding: 6px 14px;
    border: 1px solid var(--dark-line);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.principles-bar span i {
    color: var(--gold);
    font-size: 10px;
}

/* ===== LEADERSHIP SECTION ===== */
.leadership-section {
    background: var(--bg-secondary);
}

.leader-feature {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    background: var(--bg-card);
    padding: 48px;
    border-radius: var(--border-radius);
    border: 1px solid var(--dark-line);
    margin-bottom: 60px;
    box-shadow: var(--shadow-card);
}

.leader-icon-large {
    width: 100px;
    height: 100px;
    min-width: 100px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--bg-primary);
}

.leader-info h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.leader-role {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--gold);
    margin-bottom: 20px;
    padding: 4px 16px;
    border: 1px solid var(--gold-accent-border);
    border-radius: 20px;
    background: var(--gold-accent-subtle);
}

.leader-highlights li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--gray-light);
    padding-left: 20px;
    position: relative;
}

.leader-highlights li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 8px;
    top: 10px;
}

.team-section-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    margin-bottom: 36px;
}

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

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--dark-line);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-accent-border);
    box-shadow: var(--shadow-card);
}

.team-dept {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    color: var(--bg-primary);
    background: var(--gold);
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.team-avatar {
    width: 64px;
    height: 64px;
    background: var(--gold-accent-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--gold);
    font-size: 24px;
}

.team-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.team-card p {
    font-size: 13px;
    color: var(--gray-mid);
    line-height: 1.6;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--bg-primary);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--dark-line);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-slow);
}

.service-card:hover::after {
    transform: scaleX(1);
}

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

.service-card.featured {
    border-color: var(--gold-accent-border);
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--gold-accent-subtle) 100%);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    color: var(--bg-primary);
    background: var(--gold);
    padding: 3px 12px;
    border-radius: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gold-accent-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.service-card ul li {
    padding: 5px 0;
    font-size: 13px;
    color: var(--gray-light);
    padding-left: 18px;
    position: relative;
}

.service-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    background: var(--bg-secondary);
}

.project-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-mid);
    background: transparent;
    border: 1px solid var(--dark-line);
    padding: 10px 28px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.tab-btn.active {
    color: var(--bg-primary);
    background: var(--gold);
    border-color: var(--gold);
}

.projects-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--dark-line);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.project-card.hidden {
    display: none;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-accent-border);
    box-shadow: var(--shadow-card);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    padding: 24px;
}

.project-info h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.project-meta {
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 500;
}

.project-info p:last-child {
    font-size: 13px;
    color: var(--gray-mid);
    line-height: 1.6;
}

/* ===== EXECUTION / TIMELINE SECTION ===== */
.execution-section {
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), var(--dark-line));
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--gold);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    z-index: 1;
}

.timeline-phase {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--bg-primary);
    background: var(--gold);
    padding: 6px 16px;
    border-radius: 4px;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--dark-line);
    border-radius: var(--border-radius);
    padding: 20px 24px;
    flex: 1;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--gold-accent-border);
    box-shadow: var(--shadow-card);
}

.timeline-content h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.timeline-week {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 6px;
    padding: 2px 12px;
    border: 1px solid var(--gold-accent-border);
    border-radius: 12px;
    background: var(--gold-accent-subtle);
}

.timeline-content p {
    font-size: 13px;
    color: var(--gray-mid);
    line-height: 1.6;
}

/* ===== QUALITY SECTION ===== */
.quality-section {
    background: var(--bg-secondary);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 48px;
}

.quality-card {
    background: var(--bg-card);
    border: 1px solid var(--dark-line);
    border-radius: var(--border-radius);
    padding: 36px 28px;
    transition: var(--transition);
}

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

.quality-icon {
    width: 56px;
    height: 56px;
    background: var(--gold-accent-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 20px;
}

.quality-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.quality-card ul li {
    padding: 6px 0;
    font-size: 13px;
    color: var(--gray-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.quality-card ul li i {
    color: var(--gold);
    margin-top: 3px;
    font-size: 10px;
    flex-shrink: 0;
}

.risk-item {
    padding: 12px 0;
    font-size: 13px;
    color: var(--gray-light);
    border-bottom: 1px solid var(--dark-line);
    line-height: 1.7;
}

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

.risk-item strong {
    color: var(--gold);
}

.safety-image-section {
    text-align: center;
}

.safety-image-section img {
    max-width: 700px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    border: 2px solid var(--dark-line);
}

.image-caption {
    font-size: 13px;
    color: var(--gray-dim);
    margin-top: 12px;
    font-style: italic;
}

/* ===== WHY US SECTION ===== */
.why-section {
    background: var(--bg-primary);
}

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

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--dark-line);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-accent-border);
    box-shadow: var(--shadow-card);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--gold-accent-subtle) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.why-card:hover::before {
    opacity: 1;
}

.why-number {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--gold-number-ghost);
    line-height: 1;
}

.why-icon {
    width: 56px;
    height: 56px;
    background: var(--gold-accent-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--gold);
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
}

.why-card h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.why-card p {
    font-size: 13px;
    color: var(--gray-mid);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    background: var(--bg-secondary);
}

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

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

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 16px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 85%;
    max-height: 85vh;
    border-radius: var(--border-radius);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 36px;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
}

.lightbox-close:hover {
    color: var(--gold);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--white);
    background: var(--gold-accent-bg);
    border: 1px solid var(--gold-accent-border);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--bg-primary);
}

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

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 15px;
    color: var(--gray-mid);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--gold-accent-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 16px;
}

.contact-item div strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}

.contact-item div span {
    font-size: 14px;
    color: var(--gray-mid);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--dark-line);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--white);
    background: var(--bg-primary);
    border: 1px solid var(--dark-line);
    border-radius: 6px;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-accent-bg);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-dim);
}

.form-group label {
    display: none;
}

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

.contact-form .btn {
    margin-top: 8px;
    font-size: 14px;
    padding: 16px;
}

.contact-form .btn i {
    margin-right: 8px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--footer-bg, rgba(8, 11, 20, 0.95));
    border-top: 1px solid var(--dark-line);
    padding: 48px 0 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--dark-line);
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--gray-dim);
}

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

.footer-links a {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--gray-mid);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--gray-dim);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--bg-primary);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px var(--gold-accent-border);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--gold-light);
}

/* ===== ANIMATIONS ===== */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

.delay-3 {
    animation-delay: 0.6s;
    opacity: 0;
}

.delay-4 {
    animation-delay: 0.8s;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .section-title {
        font-size: 34px;
    }

    .about-grid,
    .services-grid,
    .quality-grid,
    .contact-grid,
    .projects-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .leader-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .leader-highlights li {
        justify-content: center;
    }

    .hero-title-main {
        font-size: 56px;
        letter-spacing: 8px;
    }

    .hero-title-sub {
        font-size: 24px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item::before {
        left: -22px;
        width: 12px;
        height: 12px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: right 0.4s ease;
        box-shadow: var(--mobile-menu-shadow);
        border-left: 1px solid var(--dark-line);
    }

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

    .nav-link {
        font-size: 15px;
        padding: 12px 0;
    }

    .nav-link.active::after {
        display: none;
    }

    .hero-title-main {
        font-size: 40px;
        letter-spacing: 5px;
    }

    .hero-title-sub {
        font-size: 18px;
        letter-spacing: 4px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .hero-stats {
        padding: 20px;
        gap: 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-mission-vision {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title-main {
        font-size: 32px;
        letter-spacing: 3px;
    }

    .hero-title-sub {
        font-size: 15px;
        letter-spacing: 2px;
    }

    .hero-badge span {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .stat-number {
        font-size: 24px;
    }

    .gallery-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

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