/* --- COLOR THEME & RESET --- */
:root {
    --navy: #001529;
    --navy-light: #002b5e;
    --gold: #FFD700;
    --white: #ffffff;
    --gray: #f4f7f6;
    --dark-gray: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    scroll-behavior: smooth;
    overflow-x: hidden;
    color: var(--dark-gray);
}

/* --- STICKY HEADER --- */
header {
    background: rgba(0, 21, 41, 0.98);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.logo-area {
    display: flex;
    align-items: center;
    color: var(--gold);
    font-family: 'Montserrat';
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 1px;
    gap: 12px;
}

.logo-area img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    object-fit: cover;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.3s;
}

nav a:hover {
    background: var(--gold);
    color: var(--navy);
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--gold);
    cursor: pointer;
    user-select: none;
}

/* --- HERO SECTION WITH VIDEO --- */
.hero {
    height: 100vh;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,21,41,0.2) 50%, rgba(0,21,41,0.85) 85%, #001529 100%), url('images/hero-bg.webp') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding-bottom: 12vh;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-video {
        display: none;
    }
    .hero-video-overlay {
        display: none;
    }
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,21,41,0.25) 40%, rgba(0,21,41,0.75) 80%, rgba(0,21,41,0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    z-index: 5;
    max-width: 900px;
    width: 100%;
    margin-bottom: 6vh;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 25px 20px;
}

.tagline-single {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.3rem;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 500;
    text-shadow: 1px 1px 2px black;
}

/* Bubbles */
.bubbles {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -50px;
    border-radius: 50%;
    animation: rise linear infinite;
    opacity: 0.5;
}

@keyframes rise {
    0% { bottom: -50px; transform: translateX(0); opacity: 0.4; }
    100% { bottom: 110%; transform: translateX(80px); opacity: 0; }
}

/* Floating Images */
.floating-img {
    animation: floatImage 4s ease-in-out infinite;
    transition: transform 0.3s ease;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
    display: block;
    margin: 0 auto;
}

.floating-img:hover {
    transform: scale(1.02);
}

@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Pattern Backgrounds (Scroll Triggered) */
.pattern-bg {
    position: relative;
    overflow: hidden;
}

.pattern-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.15"><path fill="%23FFD700" d="M20,20 L30,10 L40,20 L30,30 Z M70,70 L80,60 L90,70 L80,80 Z M50,50 L60,40 L70,50 L60,60 Z" /><circle cx="50" cy="50" r="8" fill="none" stroke="%23FFD700" stroke-width="1.5"/><path d="M10,50 Q25,30 40,50 Q55,70 70,50 Q85,30 90,50" fill="none" stroke="%23FFD700" stroke-width="1.2"/><path d="M50,10 Q70,25 50,40 Q30,55 50,70 Q70,85 50,90" fill="none" stroke="%23FFD700" stroke-width="1.2"/></svg>');
    background-repeat: repeat;
    background-size: 60px 60px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease-out;
    z-index: 0;
}

.pattern-bg.pattern-visible::before {
    opacity: 1;
}

/* ===== DIRECTOR WAVE SECTION ===== */
.director-wave-section {
    position: relative;
    padding: 0 !important;
    overflow: hidden;
    background: #fffdf0;
    min-height: 600px;
}

.director-wave-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.director-wave-svg {
    width: 100%;
    height: 100%;
    display: block;
    animation: directorWavePulse 8s ease-in-out infinite alternate;
    transform-origin: left center;
}

@keyframes directorWavePulse {
    0%   { transform: scaleX(1) translateX(0px); }
    50%  { transform: scaleX(1.04) translateX(18px); }
    100% { transform: scaleX(1) translateX(0px); }
}

.director-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 600px;
    padding: 80px 8%;
    gap: 0;
}

.director-image-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.director-photo-img {
    max-width: 380px;
    width: 90%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border: 4px solid rgba(255, 255, 255, 0.8);
}

.director-text-area {
    flex: 1.2;
    padding-left: 60px;
    z-index: 2;
}

.director-text-area h2 {
    font-family: 'Montserrat';
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 900;
}

.director-text-area h2 span {
    color: var(--gold);
}

.director-text-area .role {
    color: #B8860B;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.director-text-area p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 15px;
    color: #444;
}

@media (max-width: 900px) {
    .director-wave-section {
        min-height: auto;
    }
    .director-content {
        flex-direction: column;
        padding: 60px 5%;
        gap: 40px;
        min-height: auto;
    }
    .director-text-area {
        padding-left: 0;
        text-align: center;
        order: 2;
    }
    .director-image-area {
        order: 1;
    }
    .director-wave-bg {
        display: none;
    }
    .director-wave-section {
        background: linear-gradient(160deg, #FFD700 45%, #fffdf0 45%);
    }
    .director-photo-img {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .director-text-area h2 {
        font-size: 1.8rem;
    }
}

/* ===== PSARA WAVE SECTION ===== */
.psara-wave-section {
    position: relative;
    padding: 0 !important;
    overflow: hidden;
    background: #f0f4f8;
    min-height: 600px;
}

.psara-wave-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.psara-wave-svg {
    width: 100%;
    height: 100%;
    display: block;
    animation: psaraWavePulse 8s ease-in-out infinite alternate;
    transform-origin: right center;
}

@keyframes psaraWavePulse {
    0%   { transform: scaleX(1) translateX(0px); }
    50%  { transform: scaleX(1.04) translateX(-18px); }
    100% { transform: scaleX(1) translateX(0px); }
}

.psara-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 600px;
    padding: 80px 8%;
    gap: 0;
}

.psara-text-area {
    flex: 1.2;
    padding-right: 60px;
    z-index: 2;
}

.psara-text-area h2 {
    font-family: 'Montserrat';
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 900;
}

.psara-text-area h2 span {
    color: var(--gold);
}

.psara-text-area .role {
    color: #1565C0;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.psara-text-area p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 15px;
    color: #444;
}

.psara-image-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.psara-cert-img {
    max-width: 380px;
    width: 90%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    border: 4px solid rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
    .psara-wave-section {
        min-height: auto;
    }
    .psara-content {
        flex-direction: column;
        padding: 60px 5%;
        gap: 40px;
        min-height: auto;
    }
    .psara-text-area {
        padding-right: 0;
        text-align: center;
        order: 2;
    }
    .psara-image-area {
        order: 1;
    }
    .psara-wave-bg {
        display: none;
    }
    .psara-wave-section {
        background: linear-gradient(160deg, #f0f4f8 45%, #1565C0 45%);
    }
    .psara-cert-img {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .psara-text-area h2 {
        font-size: 1.8rem;
    }
}

/* General Sections */
section:not(.hero) {
    padding: 100px 8%;
}

.section-title {
    font-family: 'Montserrat';
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 50px;
    text-transform: uppercase;
    text-align: center;
}

.section-title span {
    color: var(--gold);
}

/* Card Showcase */
.card-showcase {
    background: var(--gray);
    padding: 80px 8%;
}

.split-card {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.split-card .image-box {
    flex: 1;
    text-align: center;
}

.split-card .text-box {
    flex: 1.5;
}

.card-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.card-badge {
    background: var(--navy);
    color: var(--gold);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Statistics Section */
.stats-section {
    background: white;
    padding: 80px 8% !important;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 120px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    flex: 1;
    min-width: 220px;
    text-align: center;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: 2px;
}

.stat-plus {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.stat-label::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.stat-item:hover .stat-label::after {
    width: 60px;
}

/* Service Cards with Wave Backgrounds */
.service-cards-section {
    background: linear-gradient(135deg, #e8e8e8 0%, #f0f0f0 40%, #fce8ee 70%, #f8c8d4 100%);
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}

.svc-wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.svc-wave-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .svc-wave-bg {
        display: none;
    }
}

.svc-wave-anim1 {
    animation: svcWaveMove1 7s ease-in-out infinite alternate;
    transform-origin: center;
}

.svc-wave-anim2 {
    animation: svcWaveMove2 9s ease-in-out infinite alternate;
    transform-origin: center;
}

@keyframes svcWaveMove1 {
    0%   { transform: translateY(0px) scaleX(1); }
    50%  { transform: translateY(-28px) scaleX(1.03); }
    100% { transform: translateY(0px) scaleX(1); }
}

@keyframes svcWaveMove2 {
    0%   { transform: translateY(0px) scaleX(1); }
    50%  { transform: translateY(24px) scaleX(0.97); }
    100% { transform: translateY(0px) scaleX(1); }
}

.svc-content {
    position: relative;
    z-index: 2;
    padding: 80px 8%;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 20px;
}

.svc-row2 {
    margin-top: 28px;
}

.service-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 36px rgba(0,0,0,0.13);
    border-bottom-color: var(--gold);
}

.service-img {
    width: 100%;
    overflow: hidden;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-info {
    padding: 20px 18px 24px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-info h3 {
    font-family: 'Montserrat';
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.service-info p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 16px;
}

.explore-btn {
    display: inline-block;
    background: var(--navy);
    color: var(--gold);
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: auto;
    border: 2px solid var(--navy);
}

.explore-btn:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    transform: scale(1.05);
}

/* Gallery */
.gallery {
    background: var(--gray);
}

.g-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.g-item {
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    border: 6px solid white;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.g-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.g-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--gold);
    color: var(--navy);
    padding: 8px 20px;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 5px;
    text-transform: uppercase;
}

/* Clients Marquee */
.clients-section {
    padding: 80px 0;
    background: white;
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.marquee-track {
    display: flex;
    width: max-content;
}

.client-pill {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--gray);
    padding: 15px 35px;
    margin: 0 15px;
    border-radius: 50px;
    white-space: nowrap;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.client-pill:hover {
    background: var(--navy);
    color: var(--gold);
    transform: scale(1.05);
}

.marquee-left {
    animation: scrollLeft 40s linear infinite;
}

.marquee-right {
    animation: scrollRight 35s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Infrastructure */
.infra {
    background: var(--navy);
    padding: 80px 5%;
    text-align: center;
}

.infra-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.infra-grid img {
    width: 40%;
    min-width: 300px;
    border-radius: 15px;
    border: 4px solid var(--gold);
    transition: 0.3s;
}

.infra-grid img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #000812;
    color: #aaa;
    padding: 70px 8% 20px;
    border-top: 5px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.f-col h4 {
    color: white;
    margin-bottom: 25px;
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-size: 1.2rem;
}

.f-col h4 span {
    border-bottom: 2px solid var(--gold);
    padding-bottom: 5px;
}

.f-col p, .f-col li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    list-style: none;
    line-height: 1.6;
}

.f-col li a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.f-col li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.f-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: white;
}

.f-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid #222;
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    section:not(.hero) {
        padding: 70px 5%;
    }
    .hero {
        padding-bottom: 8vh;
    }
    .hero-content {
        margin-bottom: 3vh;
        padding: 18px 15px;
        backdrop-filter: blur(2px);
    }
    .tagline-single {
        font-size: 1.2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .menu-toggle {
        display: block;
    }
    nav {
        position: fixed;
        top: 78px;
        left: -100%;
        width: 75%;
        height: calc(100vh - 78px);
        background: rgba(0, 21, 41, 0.98);
        backdrop-filter: blur(10px);
        transition: left 0.3s ease;
        z-index: 999;
        padding: 30px 20px;
        border-radius: 0 20px 20px 0;
    }
    nav.active {
        left: 0;
    }
    nav ul {
        flex-direction: column;
        gap: 25px;
    }
    nav a {
        font-size: 1rem;
        display: block;
    }
    .floating-img {
        max-width: 100%;
    }
    .split-card {
        flex-direction: column;
        text-align: center;
    }
    .stats-container {
        gap: 50px;
    }
    .stat-number {
        font-size: 3rem;
    }
    .stat-plus {
        font-size: 2rem;
    }
    .stat-label {
        font-size: 0.9rem;
    }
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .svc-content {
        padding: 60px 5%;
    }
    .g-item {
        height: 320px;
    }
    .infra-grid img {
        width: 90%;
    }
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }
}

@media (max-width: 480px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .service-card {
        border-radius: 14px;
    }
    .service-info {
        padding: 12px 10px 14px;
    }
    .service-info h3 {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    .service-info p {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }
    .explore-btn {
        padding: 6px 14px;
        font-size: 0.72rem;
    }
    .svc-content {
        padding: 50px 4%;
    }
    .client-pill {
        font-size: 0.8rem;
        padding: 10px 18px;
    }
    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
    .stat-number {
        font-size: 3.5rem;
    }
}