/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.6;
}

/* HEADER STYLING */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #0a0a0a;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

/* LOGO */
.logo img {
  height: 40px;
  transition: transform 0.2s ease, filter 0.3s ease; /* Added filter transition */
}

.logo img:hover {
  transform: scale(1.05);
  /* This combination forces the image to pure white and adds a glow */
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

/* MAIN NAVIGATION */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #2cb67d;
}

/* DROPDOWN MENU */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  min-width: 200px;
  display: none;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  padding: 0.5rem 0;
  z-index: 100;
}

.dropdown-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #ddd;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.dropdown-menu a:hover {
  background: #222;
  color: #2cb67d;
}

/* SHOW DROPDOWN ON HOVER (Desktop) */
.dropdown:hover > .dropdown-menu {
  display: flex;
}

/* CTA BUTTON */
.nav-cta .btn-primary {
  display: inline-block;
  background: #2cb67d;
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.3rem;
  border-radius: 6px;
  transition: background 0.3s ease;
  text-decoration: none;
}

.nav-cta .btn-primary:hover {
  background: #259968;
}

/* MOBILE TOGGLE */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
}


/* ===========================
   Hero Section
=========================== */
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-slideshow .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slideshow .slide.active {
    opacity: 1;
    z-index: 2;
}

/* Video slide in hero */
.hero-slideshow .slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    animation: fadeUp 1s ease forwards;
}

/* Hero Animations */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px);}
    100% { opacity: 1; transform: translateY(0);}
}

/* Update your existing body style */
body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.6;
  /* Adds a tiny bit of breathing room on mobile devices */
  padding: 0 15px; 
}

/* New Global Container */
.container {
  max-width: 1100px; /* Limits how wide the text can go */
  margin: 0 auto;    /* Centers the content */
  padding: 0 20px;   /* Internal padding so text doesn't touch the container edge */
}



/* ===========================
   Sections
=========================== */
.section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px);}
    100% { opacity: 1; transform: translateY(0);}
}

/* ===========================
   Products
=========================== */
.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.card {
    background: #f1f5f9;
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===========================
   Footer
=========================== */
.main-footer {
    background: #0b1120;
    color: #cbd5e1;
    padding-top: 60px;
    font-size: 14px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-column h3,
.footer-column h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-column p {
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    text-decoration: none;
    color: #cbd5e1;
    transition: 0.3s;
}

.footer-column a:hover {
    color: #38bdf8;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    background: #070d1a;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal a {
    margin-left: 20px;
    text-decoration: none;
    color: #cbd5e1;
}

.footer-legal a:hover {
    color: #38bdf8;
}

/* RESPONSIVE DESIGN (Combined and Cleaned) */
@media (max-width: 900px) {
    
    /* 1. Show the hamburger button */
    .mobile-toggle {
        display: block !important; /* Force visibility on mobile */
        z-index: 1001;
    }

    /* 2. Setup the slide-down menu */
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #0a0a0a;
        flex-direction: column;
        align-items: center;
        z-index: 1000;
        
        /* Hide it off-screen initially */
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        display: flex; /* Ensure it's a flex container */
    }

    /* 3. The "Active" state triggered by JS */
    .main-nav.active {
        transform: translateY(0);
    }

    /* 4. Link Styling */
    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 0;
        width: 100%;
        text-align: center;
    }

    /* 5. Dropdown behavior on mobile */
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        width: 100%;
    }

    .dropdown.open > .dropdown-menu {
        display: flex;
        flex-direction: column;
    }

    /* 6. Hide CTA on mobile to save space */
    .nav-cta {
        display: none;
    }

    /* 7. Footer - stack columns on top of each other */
    .footer-container {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
}

/* ===========================
   Contact Page
=========================== */

.contact-section h2 {
    margin-bottom: 10px;
}

.contact-section p {
    margin-bottom: 40px;
    color: #555;
}

.contact-form {
    background: #f8fafc;
    padding: 40px;
    border-radius: 8px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.full-width {
    margin-top: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #38bdf8;
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
}

.alert.success {
    background: #dcfce7;
    color: #166534;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
}

/* ===========================
   Overview Hero
=========================== */

.overview-hero {
    background: linear-gradient(rgba(15,23,42,0.50), rgba(15,23,42,0.50)),
                url('../images/overview_bg.webp') center/cover no-repeat;
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.overview-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.overview-hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* ===========================
   Overview Section
=========================== */

.overview-section {
    padding: 80px 0;
    background: #f8fafc;
}

.overview-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.overview-intro h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #0f172a;
}

.overview-intro p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ===========================
   Grid Cards
=========================== */

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.overview-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
}

.overview-card h3 {
    margin-bottom: 10px;
    color: #1e293b;
}

.overview-card p {
    color: #64748b;
}

/* ===========================
   CEO Section
=========================== */

.ceo-section {
    background: #0f172a;
    color: #ffffff;
    padding: 60px;
    border-radius: 10px;
    margin-bottom: 80px;
}

.ceo-content h2 {
    margin-bottom: 10px;
}

.ceo-content h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.ceo-content span {
    display: block;
    margin-bottom: 20px;
    opacity: 0.8;
}

.ceo-content p {
    line-height: 1.8;
}

/* ===========================
   Mission Section
=========================== */

.mission-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-section h2 {
    margin-bottom: 20px;
    color: #0f172a;
}

.mission-section p {
    color: #475569;
    line-height: 1.8;
}

/* ===========================
   Products Page
=========================== */

.products-hero {
    background: linear-gradient(rgba(15,23,42,0.85), rgba(15,23,42,0.85)),
                url('/assets/images/products_background.webp') center/cover no-repeat;
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.products-hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.products-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.product-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding-bottom: 20px;
    transition: 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.product-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 20px;
    color: #0f172a;
    margin: 15px 20px 10px;
}

.product-description {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 0 20px;
}

.product-description.long {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #cbd5e1;
    /* Animation start state */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

/* This class will be toggled by JS */
.product-description.long.show-text {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.btn-readmore {
    margin: 15px 20px;
    background: #0f172a;
    color: #fff;
    padding: 8px 15px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-readmore:hover {
    background: #1e293b;
}

/* Hero Compact Version */
.hero-compact {
    height: 60vh !important; /* Reduces size from full screen to 60% of viewport */
    min-height: 450px;
}

/* Value Prop Section */
.section-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 10px;
    font-weight: 500;
    color: #0f172a;
}

/* Mini Product Cards */
.product-cards-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card-mini {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: 0.3s;
}

.card-mini:hover {
    border-color: #0f172a;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.bg-light { background-color: #f8fafc; }
.text-center { text-align: center; }
.btn-link { color: #0f172a; font-weight: bold; text-decoration: none; }

/* Oil Trading Specific Styles */
.oil-trading-hero {
    background: linear-gradient(rgba(15,23,42,0.8), rgba(15,23,42,0.8)), 
                url('../images/trading-bg.webp') center/cover no-repeat;
}

.trading-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.trading-specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.spec-card {
    background: #f1f5f9;
    padding: 20px;
    border-left: 4px solid #0f172a;
    border-radius: 4px;
}

/* Trading Table */
.trading-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: #fff;
    font-size: 0.95rem;
}

.trading-table th {
    background: #0f172a;
    color: #fff;
    padding: 15px;
    text-align: left;
}

.trading-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
}

/* Procedure Accordion */
.procedure-toggle {
    width: 100%;
    padding: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    text-align: left;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    transition: 0.3s;
}

.procedure-toggle:hover {
    background: #f8fafc;
}

.procedure-content {
    display: none; /* Controlled by JS */
    padding: 20px;
    background: #fdfdfd;
    border: 1px solid #e2e8f0;
    border-top: none;
}

/* Terminology */
.terminology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.badge {
    background: #3b82f6;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .trading-grid { grid-template-columns: 1fr; }
}
/* Logistics Grid */
.logistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.logistics-card {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.icon-circle {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Procedure Cards */
.proc-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
}

.proc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.badge-red { background: #fee2e2; color: #b91c1c; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; }
.badge-blue { background: #dbeafe; color: #1e40af; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; }

.detailed-list {
    padding-left: 20px;
    line-height: 1.8;
    color: #475569;
}

.detailed-list li {
    margin-bottom: 10px;
}

/* Refinery Page Styles */
.refinery-hero {
    background: linear-gradient(rgba(15,23,42,0.8), rgba(15,23,42,0.8)), 
                url('../images/refinery-banner.webp') center/cover no-repeat;
}

.refinery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.refinery-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.refinery-card:hover {
    transform: translateY(-8px);
}

.refinery-thumb {
    height: 200px;
    overflow: hidden;
}

.refinery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.refinery-card:hover .refinery-thumb img {
    transform: scale(1.1);
}

.refinery-info {
    padding: 25px;
    flex-grow: 1;
}

.location-tag {
    background: #f1f5f9;
    color: #334155;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
}

.refinery-info h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #0f172a;
}

.refinery-info p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.card-footer {
    padding: 15px 25px;
    border-top: 1px solid #f1f5f9;
}

.site-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.site-link:hover {
    text-decoration: underline;
}

/* Standards Section */
.standard-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.std-item {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
}

/* Partnership Page Styles */
.partnership-hero {
    background: linear-gradient(rgba(15,23,42,0.85), rgba(15,23,42,0.85)), 
                url('../images/partnership-bg.webp') center/cover no-repeat;
}

.model-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.m-feature {
    margin-top: 30px;
    padding-left: 20px;
    border-left: 3px solid #3b82f6;
}

.m-feature h4 { margin-bottom: 5px; color: #0f172a; }

.flow-box {
    background: #0f172a;
    color: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Regional Blocks */
.partner-regions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.region-block {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border-top: 5px solid #0f172a;
}

.partner-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.partner-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

/* Logo Grid */
.logo-section {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
    opacity: 0.6; /* Makes them look more professional and less distracting */
    filter: grayscale(100%);
}

.logo-item span {
    font-weight: 800;
    font-size: 1.5rem;
    color: #64748b;
    letter-spacing: 2px;
}

@media (max-width: 900px) {
    .model-grid { grid-template-columns: 1fr; }
}

/* Mission Styling */
.mission-hero {
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8)), 
                url('../images/mission-hero-bg.webp') center/cover no-repeat;
    text-align: center;
    padding: 120px 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #3b82f6;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

/* Split Rows */
.split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0;
}

.split-row.reverse {
    direction: ltr; /* Ensures text stays left on mobile */
}

.split-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.split-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.split-image:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    padding: 15px;
    font-size: 0.85rem;
    text-align: center;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.mission-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.mission-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* Milestone Grid */
.milestones {
    background: #0f172a;
    color: #fff;
}

.milestone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    margin-top: 50px;
}

.milestone-item .number {
    font-size: 3rem;
    font-weight: 800;
    color: #3b82f6;
    display: block;
    margin-bottom: 10px;
}

.mission-footer-cta {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* Responsive */
@media (max-width: 900px) {
    .split-row, .split-row.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .split-image {
        order: -1; /* Image always on top on mobile */
    }
}

/* Finance Page Styling */
.finance-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), 
                url('../images/finance-bg.webp') center/cover no-repeat;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border-bottom: 4px solid #3b82f6;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Content Grid */
.finance-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-top: 40px;
}

.strategy-block {
    margin-top: 30px;
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
}

.strategy-block h4 {
    color: #0f172a;
    margin-bottom: 10px;
}

/* Download Center */
.download-center {
    background: #0f172a;
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    height: fit-content;
}

.download-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.download-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    margin-bottom: 12px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-item:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.file-info {
    font-weight: 600;
}

.file-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 5px;
}

/* Compliance Bar */
.compliance-bar {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 900px) {
    .finance-content-grid { grid-template-columns: 1fr; }
}

/* Careers Styling */
.careers-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), 
                url('../images/careers-bg.webp') center/cover no-repeat;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.benefit-item h4 {
    color: #3b82f6;
    margin-bottom: 5px;
}

.experience-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #3b82f6;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Job Cards */
.job-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.job-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    transition: 0.3s;
}

.job-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.job-main h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.job-loc {
    font-size: 0.85rem;
    color: #64748b;
}

.job-tags {
    display: flex;
    gap: 10px;
}

.job-tags span {
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.btn-outline-sm {
    border: 2px solid #0f172a;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    color: #0f172a;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-outline-sm:hover {
    background: #0f172a;
    color: #fff;
}

/* Graduate Program Section */
.graduate-program {
    padding: 80px 0;
    background: linear-gradient(45deg, #9aadda 30%, #1e293b 100%);
}

.check-list-white {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.check-list-white li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}

.check-list-white li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

.general-application {
    margin-top: 40px;
    padding: 30px;
    border-top: 1px dashed #cbd5e1;
}

@media (max-width: 768px) {
    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Career Modal Styles */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.9); /* Dark overlay */
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #64748b;
    cursor: pointer;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.modal-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 20px 0;
}

.modal-email {
    display: inline-block;
    font-size: 1.2rem;
    color: #3b82f6;
    font-weight: 700;
    margin: 15px 0;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.modal-email:hover {
    border-bottom-color: #3b82f6;
}

.modal-note {
    font-size: 0.85rem;
    color: #64748b;
    font-style: italic;
}

/* Policy Page Specifics */
.policy-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), 
                url('../images/sustainability-bg.webp') center/cover no-repeat;
}

.policy-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.policy-sidebar {
    flex: 1;
    max-width: 250px;
}

.sticky-nav {
    position: sticky;
    top: 100px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.sticky-nav h4 { font-size: 0.9rem; margin-bottom: 15px; color: #0f172a; }

.sticky-nav ul { list-style: none; padding: 0; }

.sticky-nav ul li a {
    display: block;
    padding: 8px 0;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.sticky-nav ul li a:hover { color: #3b82f6; }

.policy-main-text {
    flex: 3;
    line-height: 1.8;
    color: #334155;
}

.policy-main-text h2 {
    margin-top: 40px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    color: #0f172a;
}

.policy-sub-block {
    background: #f8fafc;
    padding: 25px;
    margin: 20px 0;
    border-radius: 8px;
}

.signature-block {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #cbd5e1;
    font-style: italic;
}

@media (max-width: 768px) {
    .policy-wrapper { flex-direction: column; }
    .policy-sidebar { display: none; }
}

/* Leadership Page Styling */
.leadership-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), 
                url('../images/boardroom-bg.webp') center/cover no-repeat;
}

.leader-row {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #e2e8f0;
    align-items: flex-start;
}

.leader-row:last-child {
    border-bottom: none;
}

.leader-image {
    flex: 1;
    max-width: 300px;
}

.leader-image img {
    width: 100%;
    border-radius: 4px;
    filter: grayscale(20%); /* Gives it a serious, uniform look */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.leader-info {
    flex: 2;
}

.leader-role {
    display: block;
    color: #3b82f6;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.leader-info h2 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 20px;
}

.leader-bio p {
    line-height: 1.7;
    color: #475569;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .leader-row {
        flex-direction: column;
        gap: 30px;
    }
    .leader-image {
        max-width: 100%;
    }
}