
:root {
    --primary-color: #004E85;
    --secondary-color: #004E85;
    --accent-color: #004E85;
    --dark-color: #1d1d1d;
    --light-color: #ecf0f1;
}

/* Dark mode */
body.dark-mode {
    --primary-color: #004E85;
    --secondary-color: #004E85;
    --accent-color: #004E85;
    --dark-color: #ecf0f1;
    --light-color: #1d1d1d;
}

body.dark-mode {
    background-color: var(--light-color);
    color: white;
}

body.dark-mode .navbar,
body.dark-mode .footer,
body.dark-mode .card,
body.dark-mode .contact-form {
    background-color: var(--light-color) !important;
    color: white !important;
}

body.dark-mode .nav-item a {
    color: white !important;
}

body.dark-mode .bg-light
{
    background-color: #1d1d1d !important;
}

body.dark-mode  .btn-white {
    background: #ffffff;
}

body.dark-mode  .btn-white:hover {
    color: var(--light-color);
}

body.dark-mode  .navbar.scrolled .nav-item a {
    color: #ffffff !important;
}

body.dark-mode .navbar-toggler
{
    background: #ffffff;
} ;

/* ------------------ */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    font-family: 'Manrope', sans-serif;
    scroll-behavior: smooth;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

 .bg-white {
    background:var(--light-color);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#contact
{
    background: var(--primary-color);
}

.h-15 {
    height: 15% !important;
}

/* Navbar Style */

        .navbar {
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid #ffff;
            border-radius: 75px; 
            margin: 10px 50px 21px 50px;
        }

        .navbar.scrolled {
            background-color: rgba(255, 255, 255, 0.95) !important;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }

        /* Default nav item styles (white text) */
        .nav-item a {
            color: white;
            font-size: 11px;
            transition: color 0.3s ease;
            font-weight: 700;
        }

        .nav-item .active {
            color: white!important;
            font-weight: bolder;
        }

        .nav-item a:hover {
            color: white;
        }

        /* Styles when scrolled (dark text) */
        .navbar.scrolled .nav-item a {
            color: #333 !important;
        }

        .navbar.scrolled .nav-item .fa-solid {
            color: #333 !important;
        }

        .navbar.scrolled .nav-item a:hover {
            color: #555 !important;
        }

        .navbar.scrolled .nav-item .active {
            color: #000 !important;
            font-weight: bolder;
        }

        /* Navbar border styling */
        .navbar.scrolled .navbar-nav {
            border-color: #ddd !important;
        }

        .navbar-logo {
            height: 32px;
            margin-top: -10px; 
        }

/* --------------- */


.text-glow {
  color: var(--accent-color);
  font-weight: 800; 
  animation: pulseGlow 6s infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    text-shadow: 0 0 5px var(--accent-color);
  }
  50% {
    text-shadow: 0 0 10px var(--accent-color);
  }
}

.sub-heading
{
    color: var(--primary-color);
    font-weight: bolder;
    letter-spacing: 0.3px;
    margin: auto;
}


 .hero-section {
            height: 100vh;
            position: relative;
            display: flex;
            align-items:end;
            justify-content: end;
            padding: 0 80px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            transition: background-image 0.8s ease-in-out;
            background: url("../images/index_images/hero_image_lg.png");
            background-size: cover; 
            background-position: bottom;
        }

        .hero-content {
            position: relative;
            z-index: 2; 
            color: white;
            animation: fadeInUp 1s ease-out;
        }

        .hero-content h1 {
            font-size: 3.0rem;
            font-weight: 900; 
            line-height: 1.1;
            letter-spacing: -1px; 
            background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
            -webkit-background-clip: text; 
            background-clip: text; 
        }

        .hero-content p {
            font-size: 1.25rem;
            line-height: 1.6;
            margin-bottom: 2.5rem;
            opacity: 0.9;
            font-weight: 300;
        }

        .cta-button {
            display: inline-block;
            padding: 16px 40px;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
            border: 2px solid transparent;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
            background: linear-gradient(135deg, #5855f0 0%, #7c3aed 100%);
        }

        .image-cards {
            position: absolute;
            bottom: 40px;
            right: 40px;
            display: flex;
            gap: 15px;
            z-index: 3;
        }

        .hero-section .card {
            width: 120px;
            height: 80px;
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 3px solid transparent;
            box-shadow: 0 8px 25px rgba(0,0,0,0.3);
            position: relative;
        }

        .hero-section  .card:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 15px 35px rgba(0,0,0,0.4);
        }

        .hero-section  .card.active {
            border-color: var(--accent-color);
            box-shadow: 0 10px 30px var(--accent-color);
        }

        .hero-section  .card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .hero-section  .card:hover img {
            transform: scale(1.1);
        }

        .hero-section  .card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .hero-section  .card:hover::after {
            opacity: 1;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

         .hero-section .hero-btn
            {
                display: none;
            }

        @media (max-width: 768px) {
            .hero-section {
                padding: 0 40px;
                    align-items: center;
            }

            .hero-section::before { 
            background: linear-gradient(to top, rgb(0 0 0) 0%, rgb(0 0 0 / 60%) 60%, rgba(0, 0, 0, 0) 100%); 
            }

            .hero-section .hero-btn
            {
                display: inline;
            }
            
            .hero-content h1 {
                font-size: 45px;
                text-align: center;
            }
            
            .hero-content p {
                font-size: 1.25rem;
                 text-align: center;
            }
            
            .hero-section  .image-cards {
                bottom: 20px;
                right: 20px;
                gap: 10px;
            }

            .hero-content
            {
                text-align: center;
            }
            
            .hero-section  .card {
                 display: none; /* Hide cards on mobile */
            }

             .hero-section {
            height: 100vh;
            position: relative;
            display: flex; 
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            transition: background-image 0.8s ease-in-out;
            background: url("../images/index_images/hero_image_sm.png");
            background-size: cover; 
            background-position: bottom;
        }

            .hero-section::before {
            background: linear-gradient(to top, rgb(0 0 0 / 7%) 0%, rgb(0 0 0 / 0%) 60%, rgba(0, 0, 0, 0) 100%);
        }

        
    }

      

/* Hero Style */

        

        .hero-section-about-us {
            min-height: 50vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            background: url("../images/about_us_bg.png");  
        }

        .hero-section-gallery {
            min-height: 20vh; 
        }

        #team{
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            background: url("../images/the_team_bg.png");  
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0; 
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: end;
        }

        @media (max-width: 768px) {
        .hero-content { 
            text-align: center;
            margin-bottom: 250px;
        }
      }

/* --------------- */ 
 
    #about_us .card {
    position: relative;
    border-radius: 20px;  
    overflow: hidden;
    color: white;
    height: 300px!important;
    display: flex;
    align-items: center;
    justify-content: end;
    text-align: center;
    }

    #about_us .card p {
    position: relative;
    z-index: 2;
    font-size: 13px;
    padding: 0 15px;
    }

    /* Overlay */
    #about_us .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #004e85 -38%, transparent 100%);
    z-index: 1;
    } 

    #about_us .card-bg-1 {
    background: url("../images/index_images/about_us_imge_1.png") center/cover no-repeat;
    }

    #about_us .card-bg-2 {
    background: url("../images/index_images/about_us_imge_2.png") center/cover no-repeat;
    }  



    #about .btn-our-value-sm
    {
        display: none;
    }
   
 
    @media (max-width: 768px)

    {
        #about .btn-our-value-sm
        {
            display: inline-block;
        }

        #about .btn-our-value-md
        {
            display: none;
        }
    }





/* Objectives */

    .card-container {
            height: 300px;
            border-radius: 15px;
            position: relative;
            overflow: hidden; 
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .card-container:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }
        
        .card-1 {
              background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5)),url('..//images/gallery/corprate-7.DNG');
            background-size: cover;
            background-repeat: no-repeat;
        }
        
        .card-number {
            font-size: 23px;
            font-weight: 800;
            color: #fff;
            position: absolute;
           padding: 20px;
           
        }
        
        .card-3 .card-number {
            color:#fff; 
        }
        
        .card-4 .card-number {
            color: #fff;
        }
        
        .card-content {
            position: absolute;
            top: 50%;
            left: 30px;
            transform: translateY(-50%);
            color: white;
            z-index: 2;
        }
        
        .card-title {
            font-size: 1.1rem;
            font-weight: bold;
            margin-bottom: 15px;
        }
        
         #objectives .card-text {
            font-size: 0.9rem;
            line-height: 1.4;
            opacity: 0.9;
            max-width: 200px;
        }
        
        .card-footer {
            position: absolute;
            bottom: 20px;
            left: 30px;
            right: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            opacity: 0.8;
        }
        
        .read-more {
            color: #ffffff;
            font-weight: bold;
            text-decoration: none;
            cursor: pointer;
            text-align: end;
    display: contents;
        }
        
        .card-2 .card-footer,
        .card-3 .card-footer,
        .card-4 .card-footer {
            color: white;
        }


   .card-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px; /* optional */
  color: white;
}

.card-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* Makes video cover the entire card */
  z-index: 0;
  opacity: 0.4;        /* Adjust transparency for readability */
}

.card-container > *:not(.card-bg-video) { 
  z-index: 1; /* Keeps text above the video */
}

       
/* ----------------- */

 
/* --------------- */


     #services .main-card p
    {
        position: relative;
        z-index: 2;
        font-size: 13px;
        padding: 0 15px;color: rgb(255, 255, 255)!important;
    }

      /* Overlay */
    #services .main-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #004e85 -38%, transparent 100%);
    z-index: 1;
    } 
 
  
        .service-title { 
            font-weight: 600;
            color: var(--dark-color);
            margin: 0;
        }
        
        .services-grid {
            margin-top: 40px;
        }
        
        @media (max-width: 768px) {
            .banking-section {
                padding: 40px 20px;
                margin: 20px 0;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .services-grid {
                margin-top: 30px;
            }
            
            .service-card {
                margin-bottom: 20px;
            }

            #services
            {
                text-align: center;
            }
        }

  .service-card {
  display: flex;
  flex-direction: row;   /* ensures icon left, text right */
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 15px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.icon-box {
  width: 50px;
  height: 50px;
  background: #1a3e80; /* dark blue */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px; /* space between icon and text */
  flex-shrink: 0;
}

.icon-box i {
  color: white;
  font-size: 22px;
}

.service-title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
text-align: center;
}

 #services .main-card  {
    position: relative;
    border-radius: 20px;  
    overflow: hidden; 
    height: 270px!important;
    display: flex;
    align-items: center; 
    justify-content: end!important;
    text-align: center;
      flex-direction: column; 
    }


     #services .main-card {
    background: url("../images/index_images/services_img_1.png") center/cover no-repeat;
    }  
    

/* --------------- */





@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.section-padding {
    padding: 80px 0;
}

.card {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 2rem;
}



.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
     font-size: 11px;
}



.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-dark {
    background: #1d1d1d;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
     font-size: 11px;
}

.btn-white {
    background: var(--light-color);
    border: none;
    color: black;
    padding: 12px 30px;
    border-radius: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
     font-size: 11px;
}

.btn-white:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 20px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.footer {
    background: var(--dark-color);
    color: white;
    padding: 50px 0 0px;
}

.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    margin: 0 10px;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: white;
}


    .split-section {
        min-height: 100vh;
    }
    
    .image-half {
        background-image: url('../images/porfolio-bg.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
        
    .black-half {
        background-color: #1d1d1d;
        display: flex;
        align-items: center; 
        color: white;
    }
    
    .black-half-2 {   
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }
    
    .content-wrapper {
        text-align: center;
        padding: 2rem;
    }
    
    @media (max-width: 768px) {
        .split-section {
            min-height: 50vh;
        }
    }



@media (max-width: 768px) {
   
}


.navbar-toggler
{
    font-size: 10px;
    background: white;

}

#cta
{
    height: 97vh;
    background: url("../images/index_images/cta_bg.png");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover; 
}

#cta img
{
    z-index: -1;
}

@media (max-width: 1160px) {
   #cta img
   {
     
   }

     #cta 
     {
        background-color: #f6f6f6;
        text-align: center;
        background:none;
            height: 80vh;

             background: url("../images/index_images/cta_bg-sm.png");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover; 
     }
   


}

/* Footer */
        .footer-section {
            background: #222222;
            padding: 60px 0 30px;
            position: relative;
            z-index: 1;
        }
        
        .footer-logo {
            font-size: 24px;
            font-weight: bold;
            color: var(--dark-color);;
            text-decoration: none;
        }
         
        
        .footer-title {
            font-size: 18px;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 20px;
        }

        .footer-link {
            color: #ffffff9e;
            text-decoration: none;
            display: block;
            margin-bottom: 10px;
            transition: color 0.3s ease;
        }

        .footer-link:hover { 
            color: var(--accent-color); 
        }
         
        
        .footer-bottom {
            border-top: 1px solid #d3d3d4;
            padding-top: 30px;
            margin-top: 30px;
            color: #6c757d;
            font-size: 14px;
        }
        
        .footer-bottom a {
            color: #6c757d;
            text-decoration: none;
            margin-left: 20px;
        }
        
        .footer-bottom a:hover {
            color: var(--accent-color);
        }

         .social-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 50%;
            color: #6c757d;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .social-icon:hover {
            background: var(--accent-color);
            color: white;
            border-color: var(--light-color);
            transform: translateY(-2px);
        }
        
        
        @media (max-width: 768px) {
           
            .footer-section {
                padding: 40px 0 20px;
            }
            
            .footer-bottom a {
                margin-left: 0;
                margin-right: 20px;
                display: inline-block;
                margin-bottom: 10px;
            }
        }

/* ---------- */

@media (max-width: 1000px) {
    .contact-image
    {
        display: none;
    }

    .navbar.scrolled .navbar-nav {
    border-color: #ffffff00 !important;
    }

    #objectives
    {
        height:auto !important;
    }

    .footer-image
    {
         display: none;
    } 

    .copyright
    {
       display: none;
    }  

    .footer-image-sm
    {
        display: block;
    }
    
    .display-4 
    {
        font-size: revert;
    }

    .border-white  {
         border-color: #ffffff00!important;
    }

    .navbar {
        border: inherit;
        border-radius: inherit;
        margin: inherit;
    }
}