/* ==========================
   CSS VARIABLES & SETUP
   ========================== */
:root {
    /* Colors */
    --clr-primary: #0A2E73; /* Dark Blue */
    --clr-secondary: #E31E24; /* Red */
    --clr-white: #FFFFFF;
    --clr-dark: #111111;
    --clr-gray: #666666;
    --clr-light-bg: #F7F9FC;
    --clr-footer-bg: #0d1e3d;
    --clr-footer-bottom: #09152b;
    
    /* Typography */
    --font-main: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-pad: 5rem 0;
    
    /* Other */
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--clr-gray);
    line-height: 1.6;
    background-color: var(--clr-white);
}

ul {
    list-style: none;
}

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

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

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    color: var(--clr-primary);
    line-height: 1.2;
    font-weight: 700;
}

.text-primary-blue { color: var(--clr-primary); }
.text-primary-red { color: var(--clr-secondary); }
.text-white { color: var(--clr-white); }
.text-center { text-align: center; }

/* Layout Utility */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--clr-secondary);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: #c0181d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.4);
}

.btn-secondary {
    background-color: var(--clr-primary);
    color: var(--clr-white);
}

.btn-secondary:hover {
    background-color: #072154;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(10, 46, 115, 0.4);
}

/* ==========================
   HEADER & NAVIGATION
   ========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background-color: var(--clr-primary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.header.scrolled {
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 90px;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 70px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    color: var(--clr-white);
    justify-content: center;
}

.logo-main {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0px;
}

.logo-sub {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.navbar {
    margin-left: auto;
    margin-right: 0;
}

.navbar .nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: var(--clr-white);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-secondary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.7);
    transition: var(--transition);
}

.social-links a svg {
    width: 14px;
    height: 14px;
}

.social-links a:hover {
    background-color: var(--clr-secondary);
    border-color: var(--clr-secondary);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--clr-white);
    transition: var(--transition);
}

/* ==========================
   HERO SECTION
   ========================== */
.hero {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 850px;
    background-color: var(--clr-primary);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background: url('../images/hero.png') right bottom/cover no-repeat;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 60px; /* Offset for header */
}

.hero-content {
    max-width: 650px;
    color: var(--clr-white);
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    color: var(--clr-white);
    letter-spacing: -1px;
}

/* Wave divider is now handled inline in HTML via relative positioning to bridge the gap perfectly */

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* ==========================
   ABOUT SECTION
   ========================== */
.about {
    position: relative;
    background: var(--clr-white) url('../images/bg.png') center/cover no-repeat;
    overflow: hidden;
    margin-top: -60px; /* Pulls the section up to perfectly tuck behind the transparent wave */
    padding-top: 80px; /* Reduced to decrease the space between sections */
    z-index: 2;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    color: var(--clr-dark);
    font-weight: 500;
}

.about-image {
    position: relative;
    padding: 10px; /* Give room for the skew */
}

.floating-gallery {
    position: relative;
    width: 100%;
    height: 550px;
}

.float-item {
    position: absolute;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 15, 40, 0.15);
    border: 4px solid var(--clr-white);
    transition: box-shadow 0.4s ease, z-index 0s;
}

.float-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.float-item:hover {
    box-shadow: 0 35px 60px rgba(0, 15, 40, 0.25);
    z-index: 10 !important; /* Bring to front on hover */
}

.float-item:hover img {
    transform: scale(1.08); /* Cinematic zoom */
}

/* Main Image (Large, Center-Right) */
.main-img {
    top: 20px;
    right: 0;
    width: 70%;
    height: 85%;
    z-index: 2;
    animation: float1 6s ease-in-out infinite;
}

/* Accent 1 (Top Left Overlap) */
.accent-img-1 {
    top: 0;
    left: 0;
    width: 50%;
    height: 45%;
    z-index: 3;
    border-width: 6px;
    animation: float2 7s ease-in-out infinite reverse;
}

/* Accent 2 (Bottom Left Overlap) */
.accent-img-2 {
    bottom: 20px;
    left: 10%;
    width: 45%;
    height: 40%;
    z-index: 4;
    border-width: 6px;
    animation: float3 8s ease-in-out infinite;
}

/* Ambient Floating Animations */
@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}


/* ==========================
   SERVICES SECTION
   ========================== */
.services {
    background-color: var(--clr-primary);
    background-image: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    color: var(--clr-white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--clr-white);
    color: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--clr-secondary);
    color: var(--clr-white);
}

.service-title {
    font-size: 1.1rem;
    color: var(--clr-white);
    margin-bottom: 15px;
    min-height: 52px;
}

.service-divider {
    width: 40px;
    height: 2px;
    background-color: var(--clr-secondary);
    margin: 0 auto 15px;
    transition: var(--transition);
}

.service-card:hover .service-divider {
    width: 60px;
}

.service-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================
   TRACK RECORD SECTION
   ========================== */
.track-record {
    background-color: var(--clr-white);
}

.track-record-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.track-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--clr-light-bg);
    padding: 20px 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: var(--transition);
    border-left: 4px solid var(--clr-secondary);
}

.track-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.track-icon {
    color: var(--clr-secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.track-item p {
    color: var(--clr-dark);
    font-weight: 500;
    font-size: 1.05rem;
    margin: 0;
}

/* ==========================
   GALLERY SECTION
   ========================== */
.gallery {
    background-color: var(--clr-light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 2rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    aspect-ratio: 1 / 1;
}

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

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

/* ==========================
   CTA SECTION
   ========================== */
.cta {
    background: var(--clr-primary) url('../images/cta.png') center/cover no-repeat;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-content {
    flex: 1;
    padding-left: 15%; /* Indent text to avoid overlapping the silhouette area on the left */
}

.cta-title {
    color: var(--clr-white);
    font-size: 2rem;
    margin-bottom: 5px;
    font-weight: 800;
}

.cta-text {
    color: var(--clr-white);
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 400;
}

.cta-silhouette {
    display: none; /* Silhouette is presumably built into cta.png, or we don't need this separate element */
}

.cta-action {
    padding-right: 5%;
}

.cta-action .btn {
    font-size: 1rem;
    padding: 12px 30px;
}

/* ==========================
   FOOTER
   ========================== */
.footer {
    background-color: var(--clr-footer-bg);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo-img {
    height: 70px;
    display: block;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    color: var(--clr-white);
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    color: var(--clr-white);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-desc {
    font-size: 0.95rem;
}

.footer-title {
    color: var(--clr-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--clr-secondary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact svg {
    color: var(--clr-secondary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    background-color: var(--clr-footer-bottom);
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    align-items: center;
}

.footer-social span {
    margin-right: 10px;
}

.footer-social a {
    border-color: transparent;
    background: rgba(255,255,255,0.1);
}

/* ==========================
   ABOUT US PAGE STYLES
   ========================== */

/* About Hero */
.about-hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(to right, rgba(2, 12, 38, 0.95) 0%, rgba(2, 12, 38, 0.7) 40%, rgba(2, 12, 38, 0.2) 100%), url('../images/hb.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-top: 180px;
    overflow: hidden;
}

.about-hero-container {
    position: relative;
    z-index: 2;
}

.about-hero-content {
    max-width: 600px;
}

.about-hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--clr-secondary);
    margin: 15px 0 25px;
}

.about-hero-subtitle {
    font-size: 1.8rem;
    color: var(--clr-white);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.about-hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.about-hero-actions {
    display: flex;
    gap: 15px;
}

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

.btn-outline:hover {
    border-color: var(--clr-white);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.about-hero-wave {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 100" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 C300,100 800,0 1440,50 L1440,100 L0,100 Z" fill="%23FFFFFF"/><path d="M0,50 C300,100 800,0 1440,50" fill="none" stroke="%23E31E24" stroke-width="8"/></svg>') bottom/100% 100% no-repeat;
    z-index: 2;
}

/* Common Text Utilities */
.section-sub-title {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.title-line {
    width: 60px;
    height: 3px;
    background-color: var(--clr-secondary);
    margin: 0 auto 25px;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.bg-light { background-color: var(--clr-light-bg); }
.bg-primary-red { background-color: var(--clr-secondary); }
.bg-primary-blue { background-color: var(--clr-primary); }

/* Our Story */
.story-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--clr-dark);
    max-width: 800px;
    margin: 0 auto 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

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

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(0,0,0,0.1);
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(10, 46, 115, 0.2);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.stat-desc {
    font-size: 0.95rem;
}

.story-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.05rem;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Our Mission */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.mission-item {
    text-align: center;
    padding: 10px;
    position: relative;
}

.mission-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(0,0,0,0.1);
}

.mission-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    min-height: 45px;
}

.mission-desc {
    font-size: 0.9rem;
}

/* Development Pathway */
.stepper-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.step-item {
    text-align: center;
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    position: absolute;
    top: -10px;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(10, 46, 115, 0.2);
    position: relative;
}

.step-arrow {
    display: flex;
    align-items: center;
    height: 80px;
    color: rgba(10, 46, 115, 0.3);
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.9rem;
}

/* Bottom CTA Banner */
.bottom-cta {
    background: linear-gradient(90deg, rgba(2, 12, 38, 1) 0%, rgba(10, 46, 115, 0.9) 100%), url('../images/bg.png') center/cover;
    padding: 3rem 0;
}

.bottom-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}

.cta-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(227, 30, 36, 0.1);
    border: 2px solid var(--clr-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-text-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.cta-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 200px;
}


/* ==========================
   SERVICES PAGE STYLES
   ========================== */

/* Services Hero */
.services-hero {
    background: linear-gradient(to right, rgba(2, 12, 38, 1) 0%, rgba(2, 12, 38, 0.6) 50%, rgba(2, 12, 38, 0.1) 100%), url('../images/os.png') center/cover no-repeat;
}

/* What We Offer */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.offer-item {
    text-align: center;
    position: relative;
    padding: 10px;
}

.offer-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(0,0,0,0.1);
}

.offer-icon {
    color: var(--clr-primary);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.offer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.offer-desc {
    font-size: 0.9rem;
    color: var(--clr-dark);
}

/* Core Services - Image Style */
.core-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.core-card-with-img {
    background: var(--clr-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
}

.core-card-with-img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.core-img-wrap {
    position: relative;
    height: 220px;
    width: 100%;
}

.core-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.core-num-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--clr-primary);
    color: var(--clr-white);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 10px 20px;
    border-bottom-right-radius: 12px;
}

.core-card-body {
    padding: 40px 30px 30px;
    position: relative;
    text-align: center;
    flex: 1;
}

.core-icon-float {
    width: 70px;
    height: 70px;
    background: var(--clr-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.core-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--clr-primary);
}

.core-desc {
    font-size: 0.95rem;
    color: var(--clr-gray);
    line-height: 1.5;
}


/* ==========================
   GALLERY PAGE STYLES
   ========================== */

/* Gallery Hero Banner */
.gallery-hero-banner {
    background: linear-gradient(to right, rgba(2, 12, 38, 1) 0%, rgba(2, 12, 38, 0.8) 40%, rgba(2, 12, 38, 0.2) 100%), url('../images/hg.png') center/cover no-repeat;
    padding: 180px 0 100px;
    color: var(--clr-white);
    position: relative;
}

.gallery-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.gallery-breadcrumb a {
    color: var(--clr-white);
    text-decoration: none;
    transition: color 0.3s;
}

.gallery-breadcrumb a:hover {
    color: var(--clr-secondary);
}

.gallery-hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.gallery-title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--clr-secondary);
    margin-bottom: 20px;
}

.gallery-hero-desc {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Gallery Filters */
.gallery-filters {
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
    padding: 8px 24px;
    margin: 0 10px 10px 0;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--clr-primary);
    color: var(--clr-white);
}

/* Gallery Grid */
.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-page-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.gallery-item-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2, 12, 38, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item-icon {
    color: var(--clr-white);
    transform: translateY(20px);
    transition: var(--transition);
}

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

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

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

/* Horizontal CTA Banner */
.horizontal-cta-banner {
    background: #020C26 url('../images/cta.png') center/cover no-repeat;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.h-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.h-cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 300px;
}

.h-cta-icon-box {
    position: relative;
    display: flex;
    align-items: center;
}

.h-cta-red-slash {
    width: 25px;
    height: 4px;
    background-color: var(--clr-secondary);
    transform: rotate(-45deg);
    position: absolute;
    left: -15px;
    top: -5px;
}

.h-cta-circle {
    width: 70px;
    height: 70px;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
}

.h-cta-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(255,255,255,0.2);
}

.h-cta-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.h-cta-outline-btn {
    border-color: rgba(255,255,255,0.5);
    color: var(--clr-white);
}
.h-cta-outline-btn:hover {
    background: var(--clr-white);
    color: var(--clr-primary);
}

@media (max-width: 992px) {
    .h-cta-container {
        flex-direction: column;
        text-align: center;
    }
    .h-cta-left {
        flex-direction: column;
        text-align: center;
    }
    .h-cta-red-slash { display: none; }
    .h-cta-divider {
        width: 100px;
        height: 1px;
    }
    .h-cta-right {
        flex-direction: column;
        width: 100%;
    }
    .h-cta-right .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================
   CONTACT PAGE STYLES
   ========================== */

/* Contact Hero Banner */
.contact-hero-banner {
    background: linear-gradient(to right, rgba(2, 12, 38, 0.95) 0%, rgba(2, 12, 38, 0.8) 40%, rgba(2, 12, 38, 0.2) 100%), url('../images/hc.png') center/cover no-repeat;
    position: relative;
    padding: 180px 0 150px;
}

/* Contact Grid Layout */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: flex-start;
}

/* Contact Info Cards */
.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--clr-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: var(--clr-light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--clr-primary);
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 1.2rem;
    color: var(--clr-primary);
    margin-bottom: 5px;
}

.contact-info-card p, .contact-info-card a {
    color: var(--clr-gray);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-card a:hover {
    color: var(--clr-secondary);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--clr-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form-header {
    margin-bottom: 30px;
}

.contact-form-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-form-header p {
    color: var(--clr-gray);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--clr-dark);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--clr-dark);
    transition: var(--transition);
    background: #f9f9fa;
}

.form-control:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(10, 46, 115, 0.1);
    background: var(--clr-white);
}

textarea.form-control {
    resize: vertical;
}

.form-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 992px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 25px 20px;
    }
    
    .contact-info-card {
        padding: 20px 15px;
        gap: 15px;
    }

    .contact-info-card p, .contact-info-card a {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* ==========================
   ANIMATIONS
   ========================== */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards;
    animation-delay: var(--delay, 0s);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    animation: zoomIn 0.8s forwards;
    animation-delay: var(--delay, 0s);
}

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

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    to { opacity: 1; transform: scale(1); }
}

/* Class to trigger animation when visible */
.animate {
    animation-play-state: running;
}
.paused {
    animation-play-state: paused;
}

/* ==========================
   ACHIEVEMENTS PAGE STYLES
   ========================== */
.achievements-hero-banner {
    background: linear-gradient(to right, rgba(2, 12, 38, 0.95) 0%, rgba(2, 12, 38, 0.8) 40%, rgba(2, 12, 38, 0.2) 100%), url('../images/os.png') center/cover no-repeat;
    position: relative;
    padding: 180px 0 150px;
}

.achievements-hero-banner .about-hero-title {
    font-size: 3.5rem;
    letter-spacing: 2px;
}

.achievements-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.achievement-card {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px 30px;
    border-left: 5px solid var(--clr-secondary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.achievement-icon {
    flex-shrink: 0;
    margin-right: 20px;
    color: var(--clr-secondary);
}

.achievement-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--clr-dark);
    line-height: 1.5;
}

@media (max-width: 576px) {
    .achievement-card {
        padding: 20px 15px;
    }
    .achievement-text {
        font-size: 1rem;
    }
}

/* ==========================
   TEAM PAGE STYLES
   ========================== */
.team-hero-banner {
    background: linear-gradient(to right, rgba(2, 12, 38, 0.95) 0%, rgba(2, 12, 38, 0.8) 40%, rgba(2, 12, 38, 0.2) 100%), url('../images/hc.png') center/cover no-repeat;
    position: relative;
    padding: 180px 0 150px;
}

.team-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.team-card {
    width: calc(25% - 22.5px);
    background: var(--clr-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding-bottom: 20px;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 15px;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.team-info h3 {
    font-size: 1.25rem;
    color: var(--clr-primary);
    margin-bottom: 5px;
    padding: 0 10px;
}

.team-info p {
    font-size: 0.95rem;
    color: var(--clr-gray);
    font-weight: 500;
    padding: 0 10px;
}

@media (max-width: 992px) {
    .team-card {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .team-card {
        width: calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .team-card {
        width: 100%;
    }
}

/* ==========================
   RESPONSIVE
   ========================== */
/* Laptop */
@media (max-width: 1200px) {
    .hero-title { font-size: 3.5rem; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet */
@media (max-width: 992px) {
    .about-container { grid-template-columns: 1fr; gap: 2rem; }
    .about-image { order: -1; }
    
    /* Mobile Adjustments for Floating Gallery */
    .floating-gallery {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .float-item {
        position: relative;
        width: 100% !important;
        height: 300px !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: none !important;
        animation: none !important; /* Disable floating on mobile to prevent layout jitter */
    }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .cta-container,
    .bottom-cta-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-content {
        padding-left: 0;
    }

    .cta-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .cta-action,
    .cta-right {
        padding-right: 0;
        width: 100%;
    }

    .cta-action .btn,
    .cta-right .btn {
        width: 100%;
    }

    .cta-silhouette { display: none; }
}

/* Mobile */
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    
    .bento-grid {
        display: flex;
        flex-direction: column;
    }
    .bento-item {
        height: 250px;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--clr-primary);
        padding: 80px 20px 20px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .navbar.active { right: 0; }
    
    .nav-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links a { font-size: 1.1rem; }
    
    .header-social { display: none; }
    
    .hero {
        aspect-ratio: auto;
        min-height: 100vh;
    }

    .hero-title, .about-hero-title, .gallery-hero-title { 
        font-size: 2.4rem !important; 
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .hero-content, .about-hero-content, .gallery-hero-content {
        margin: 0 auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-desc p, .about-hero-desc, .gallery-hero-desc {
        text-align: center;
    }
    
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-container { flex-direction: column; gap: 15px; text-align: center; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title, .about-hero-title, .gallery-hero-title { font-size: 2.0rem !important; }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .collage { grid-template-columns: 1fr; }
    .collage-side { flex-direction: row; }
    .cta-title,
    .cta-text-content h2,
    .h-cta-text h2 {
        font-size: 1.5rem !important;
    }
}

/* ==========================
   LIGHTBOX
   ========================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 50px 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(2, 12, 38, 0.95);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    animation: lightboxZoomIn 0.3s ease;
    object-fit: contain;
}

@keyframes lightboxZoomIn {
    from {transform: scale(0.95)} 
    to {transform: scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #E31E24;
    text-decoration: none;
    cursor: pointer;
}
