/* ---------- FONTS (UNCHANGED — exactly as you provided) ---------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Syne:wght@400..800&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');


/* ---------- COLORS (only) ---------- */
:root {
    --primary-color: #032A63;
    --dark-blue: #01132D;
    --accent-color: #4f4f4f;
    --transition: 0.3s ease;
}


body{
    font-family: Montserrat, sans-serif;
    background-color: var(--primary-color);
}

.hero-section {
    background: url('/assets/epf-hero.webp') no-repeat center center;
    background-size: cover;
}

.navbar {
    height: 100px;
}

.focus-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.stat-number {
    font-size: 1.5rem;
}

.navbar-nav .nav-item:first-child {
    border-left: 2px solid var(--accent-color);
    padding-left: 10px;
    height: 50px;
}

.logo {
    gap: 10px; /* Space between image and text */
}

.logo img {
    height: 50px; /* Adjust the height to fit nicely */
}

.logo-title {
    font-size: 15px;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 7px;
}

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

.about-background{
    background-color: var(--primary-color);
}

.nav-link{
    font-size: 13px;
}

.info{
    font-size: 12px;
}

button{
    font-size: 11px !important;
    font-weight: bold !important;
}

.blue-button{
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.sector-card {
    transition: all var(--transition);
}

.sector-card:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.sector-card:hover .text-dark {
    color: white !important;
}

.sector-card:hover .text-secondary {
    color: grey !important;
}

.sector-card:hover .icon-circle {
    background-color: white !important;
    color: var(--primary-color) !important;
}

.icon-circle{
    width: 50px; 
    height: 50px;
}

.sector-card:hover .btn-primary {
    background-color: white !important;
    color: var(--primary-color) !important;
    border-color: white !important;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, white 10%, var(--primary-color) 90%) !important;
    padding: 70px 0 20px;
    color: black;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-link {
    display: block;
    color: var(--text-light);
    margin-bottom: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--primary-color);
}

.social-links {
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.partners-section{
    height: 260px;
}

.navbar-bg-transparent {
  background: transparent;
  transition: background-color var(--transition), box-shadow var(--transition);
}

.navbar-bg-transparent.scrolled {
  background-color: var(--primary-color);
}

/* When navbar is scrolled */
.navbar-bg-transparent.scrolled .blue-button {
    background-color: white !important;
    color: var(--primary-color) !important;
    border-color: white !important;
}

.hero-content{
    z-index: 10; 
    padding-top: 12rem;
}

.hero-carousel{
    width: 650px;
    z-index: 15;
}

.icon-circle-two{
    background-color: var(--primary-color);
    width: 50px;
    height: 50px;
}

.about-nav{
    background-color: var(--primary-color);
}

.about-hero{
    background: url('/assets/about-hero.webp') center/cover;
}

/* CSI PAGE */ 
.hero-section-csi {
    color: var(--text-light);
    padding: 80px 0 50px;
    margin-bottom: 50px;
}

.hero-section-csi::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 100px;
    background: #f5f7fa;
    bottom: -50px;
    left: -25%;
    border-radius: 100%;
}

/* CSI Initiatives Container */
.csi-container {
    max-width: 1000px;
    margin: 0 auto 70px;
    padding: 0 20px;
}

.card-csi {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: var(--transition);
}

.card-csi:hover {
    transform: translateY(-5px);
}

.card-header-csi {
    padding: 20px 25px;
    cursor: pointer;
}

.card-header-csi h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin: 0;
    padding-right: 30px;
}

.card-header-csi .icon {
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    transition: var(--transition);
}

.card-body-csi {
    padding: 25px;
    background-color: #f9fafc;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.highlight-csi {
    color: var(--accent-color);
    font-weight: 600;
}

.initiative-img-csi {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card-list-csi {
    padding-left: 20px;
}

.card-list-csi li {
    margin-bottom: 10px;
    position: relative;
}

.card-list-csi li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: -20px;
}

/* For the dropdown functionality */
.collapse-csi:not(.show) {
    display: none;
}

.collapse.show {
    display: block;
}

.hero-section-csi{
    background-color:  #032963f4
}

@media (width < 768px) {
    .hero-title-csi {
        font-size: 2.2rem;
    }

    .footer-col {
        margin-bottom: 30px;
    }

    .hero-section-csi{
        margin-top: 100px;
    }
}

.carousel-overlay {
    top: 0;
    left: 0;
    background: #0000008c;
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
}

.custom-control-icon {
    background-color: var(--primary-color);
    padding: 25px;
    background-size: 50% 50%;
    background-position: center;
    background-repeat: no-repeat;
}

.youtube-section{
    background: linear-gradient(180deg, var(--primary-color) 0%, white 100%);
    height: 600px;
}

.mobile-navigation{
    background-color: var(--primary-color);
}

.mobile-title{
    font-size: 0.75rem; 
    line-height: 1.2;
}

.mobile-subtitile{
  font-size: 0.4rem; 
  opacity: 0.8;  
}

.mobile-logo{
  height: 40px; 
  width: auto;
}

.mobile-menu{
  background: var(--primary-color); 
  width: 85% !important;
}

.hero-section-mobile{
    min-height: 100vh; 
    background: url('/assets/epf-hero.webp') no-repeat center center;
    background-size: cover;
}

.altenative-nav{
    background-color: var(--primary-color);
}

.blog-hero{
    margin-top: 110px !important;
    margin: 10px;
    height: 60vh;
    background-image: linear-gradient(#000000bf, #000000bf), url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?w=1200&h=400&fit=crop'); 
    background-size: cover; 
    background-position: center;
}

::placeholder{
    font-size: 14px;
}

.form-control{
    font-size: 14px;
}

 .contact-section {
    background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/consultant_image.png');
    background-size: cover;
    background-position: center;
    min-height: 70vh; /* allow the section to grow on small screens */
    padding: 80px 0; /* give breathing room so fixed header doesn't overlap */
    box-sizing: border-box;
    display: flex;
    align-items: stretch; /* allow columns to flow naturally */
    justify-content: center;
  }

  .partner-logo{
    height: 90px;
  }