/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
    /* Brand Colors */
    --color-blue: #0056b3;
    --color-blue-light: #337ab7;
    --color-blue-dark: #003d82;
    --color-blue-vibrant: #2196f3;
    
    --color-yellow: #ffc107;
    --color-yellow-light: #ffcd38;
    --color-yellow-dark: #e0a800;

    /* Backgrounds & Text (Minimalist Dark Theme) */
    --bg-darker: #0b0f19;
    --bg-dark: #111827;
    --bg-card: rgba(30, 41, 59, 0.7);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-main: 'Segoe UI', Arial, Helvetica, sans-serif;
    --font-logo: 'Arial Black', Impact, sans-serif;
    
    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(33, 150, 243, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-primary);
}

.section-title span {
    color: var(--color-yellow);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-blue-vibrant), var(--color-blue));
    color: white;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: white;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    padding: 1.25rem 0;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(11, 15, 25, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-family: var(--font-logo);
    font-weight: 900;
    font-style: italic;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.logo span {
    color: var(--color-blue-vibrant);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

/* Hover underline effect */
ul .nav-link:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-yellow);
    transition: var(--transition);
}

ul .nav-link:not(.btn-primary):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 15, 25, 0.8), rgba(11, 15, 25, 0.95));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--color-yellow);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30%;
    bottom: 5px;
    left: 0;
    background-color: rgba(33, 150, 243, 0.3);
    z-index: -1;
    transform: skewX(-15deg);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 193, 7, 0.3); /* Yellow hint on hover */
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-vibrant);
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.about-card ul {
    color: var(--text-secondary);
}

.about-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-yellow);
    font-weight: bold;
}

.about-card li strong {
    color: var(--text-primary);
}

/* ==========================================================================
   BRANCHES SECTION
   ========================================================================== */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.branch-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--color-blue-vibrant);
}

.branch-card h3 {
    margin: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.branch-card p {
    margin: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.map-container {
    width: 100%;
    height: 250px;
    margin-top: auto;
    background-color: #e5e5e5; /* Loading placeholder */
}

.map-container iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(80%) contrast(90%);
    transition: var(--transition);
}

.branch-card:hover .map-container iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(100%) contrast(100%);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: #05080e;
    padding: 4rem 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-info p {
    color: var(--text-secondary);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.footer-links a {
    color: var(--text-secondary);
}

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

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact a {
    color: var(--text-secondary);
}

.footer-contact a:hover {
    color: var(--color-blue-vibrant);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   ANIMATIONS (Scroll Reveal)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE (Mobile)
   ========================================================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        text-align: center;
        top: 70px;
        left: -100%;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }

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

    .section-padding {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}
