/* CSS Reset & Variable Definitions */
:root {
    /* Color Palette */
    --primary-bg: #060d1a;
    --navy-dark: #030814;
    --blue-accent: #3b82f6;
    --blue-glow: #60a5fa;
    --blue-light: #2563eb;
    --white: #ffffff;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    --border-light: rgba(255, 255, 255, 0.08);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(rgba(3, 8, 20, 0.55), rgba(6, 13, 26, 0.68)), url('assets/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--navy-dark);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--blue-accent);
}

/* ==========================================================================
   Top Navigation Bar
   ========================================================================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

.top-bar-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 1.5rem 0 0.35rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-area {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    height: 65px;
    overflow: visible;
}

.logo-img {
    height: 76px;
    width: auto;
    object-fit: contain;
    transform: scale(2.72);
    transform-origin: left center;
}
.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-item {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: var(--blue-light);
}

/* Navigation Underline Micro-animation */
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--blue-light);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
    left: 0;
}

.nav-item.active {
    color: var(--blue-light);
}

.cta-button {
    background: linear-gradient(135deg, var(--blue-light), var(--blue-accent));
    color: var(--white);
    text-decoration: none;
    padding: 0.55rem 1.35rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, var(--blue-accent), #60a5fa);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 125px 5% 40px 5%;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-tag {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(96, 165, 250, 0.15);
    padding: 0.55rem 1.6rem;
    border-radius: 20px;
    border: 1px solid rgba(96, 165, 250, 0.25);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, var(--white) 30%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==========================================================================
   Division Containers Grid
   ========================================================================== */
.divisions-section {
    min-height: calc(100vh - 65px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 40px 5%;
    box-sizing: border-box;
}

.divisions-section .section-container {
    width: 100%;
    max-width: 900px;
}

.section-container {
    max-width: 1300px;
    margin: 0 auto;
}

.divisions-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    margin-top: 1.5rem;
}

.division-card {
    position: relative;
    display: block;
    text-decoration: none;
    height: 240px;
    border-radius: 24px;
    overflow: hidden;
    background-color: rgba(11, 21, 39, 0.28);
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
}

/* Card Video Styling */
.card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

/* Dark Bottom Gradient Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(180deg, 
        rgba(3, 8, 20, 0) 30%, 
        rgba(3, 8, 20, 0.34) 60%,
        rgba(3, 8, 20, 0.72) 100%);
    transition: background 0.5s ease;
}

/* Card Content Styling */
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.2rem 2rem 1.6rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    box-sizing: border-box;
    transition: var(--transition-smooth);
}

.card-header {
    margin-bottom: 1rem;
}

.division-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-glow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.division-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.division-desc {
    font-size: 0.98rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    opacity: 0.9;
    max-width: 500px;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.card-footer-action {
    display: flex;
    align-items: center;
}

.explore-link {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.explore-link i {
    transition: transform 0.3s ease;
}

/* ==========================================================================
   Hover Effects / Interactions
   ========================================================================== */
.division-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.18);
    border-color: rgba(96, 165, 250, 0.35);
    background-color: #0b1527;
}

/* Scale video slightly on hover */
.division-card:hover .card-video {
    transform: scale(1.06);
    opacity: 1;
}

/* Make bottom gradient darker and richer on hover */
.division-card:hover .card-overlay {
    background: linear-gradient(180deg, 
        rgba(3, 8, 20, 0) 42%,
        rgba(3, 8, 20, 0.35) 68%,
        rgba(3, 8, 20, 0.82) 100%);
}

/* Slide description and arrow on hover */
.division-card:hover .explore-link {
    color: var(--blue-glow);
}

.division-card:hover .explore-link i {
    transform: translateX(8px);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
    padding: 90px 5%;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
}

.feature-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(96, 165, 250, 0.15);
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--blue-glow);
    margin-bottom: 1.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.main-footer {
    background-color: var(--navy-dark);
    padding: 80px 5% 40px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem;
}
.footer-branding {
    flex: 2;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 0;
    margin-top: -40px;
}

.footer-logo {
    height: 210px;
    object-fit: contain;
    margin-bottom: -25px;
}

.footer-branding p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    width: 300px;
    margin-top: 0;
}
.footer-links {
    flex: 3;
    display: flex;
    justify-content: flex-end;
    gap: 6rem;
    min-width: 280px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.link-group h4 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.link-group a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--blue-glow);
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 2rem;
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #475569;
    font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .divisions-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin: 0 auto;
        gap: 2.5rem;
    }
    
    .division-card {
        height: 520px;
    }
}

@media (max-width: 768px) {
    .top-bar-container {
        width: 95%;
    }
    
    .nav-menu {
        display: none; /* Hide standard nav on mobile */
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .features-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        justify-content: flex-start;
        gap: 4rem;
    }
    
    .card-content {
        padding: 2.5rem 2rem;
    }
    
    .division-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .division-card {
        height: 460px;
    }
    
    .card-content {
        padding: 2rem 1.5rem;
    }
    
    .division-title {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-section {
    padding: 125px 5% 100px 5%;
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-container {
    width: 100%;
    max-width: 680px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4rem 3.5rem;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: border-color 0.3s ease;
}

.contact-container:hover {
    border-color: rgba(96, 165, 250, 0.2);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    background: linear-gradient(180deg, var(--white) 30%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue-glow);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem;
    background: rgba(3, 8, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #4b5563;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-accent);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
    background: rgba(3, 8, 20, 0.8);
}

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

.submit-button {
    background: linear-gradient(135deg, var(--blue-light), var(--blue-accent));
    color: var(--white);
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
    background: linear-gradient(135deg, var(--blue-accent), #60a5fa);
}

.submit-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .contact-container {
        padding: 3rem 2rem;
    }
    
    .contact-header h1 {
        font-size: 2.2rem;
    }
}

