/* 1 General */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100;200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Background Color */
    --primary-color: #004caa;
    --secondary-color: #fc5185;
    --bg-light-blue: #3672bc;
    --bg-dark: #666;
    --bg-white: #fff;

    /* Text Style */
    --primary-font: 'Roboto Slab', serif;
    --secondary-font: 'Josefin Sans', sans-serif;
    --primary-text: #004caa;
    --secondary-text: #fc5185;
    --text-white: #fff;
    --text-black: #222;
    --text-gray: #666;
    --text-light: #ddd;
}

body {
    font-family: var(--primary-font);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
}

::-webkit-scrollbar {
    width: .375rem;
}

::-webkit-scrollbar-track {
    background: var(--bg-light-blue);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
}


/* 2 Navbar */ 
.header_wrapper .navbar{
    padding:.3375rem 0;
    background-color:transparent;
    transition:0.3s ease-in-out;
}
.header_wrapper .navbar-toggler,
.header_wrapper .navbar-toggler:focus{
    border:0;
    box-shadow: none;
    color:var(--text-black);
    line-height: 2;
}

.header_wrapper .nav-item{
    margin:0 .625rem;
}
.header_wrapper .nav-item .nav-link{
    font-size: 1.125rem;
    font-weight: 400;
    color:var(--text-black);
    display:inline-block;
    font-family: var(--secondary-font);
}
.header_wrapper .nav-item .nav-link:hover,
.header_wrapper .nav-item .nav-link:focus,
.header_wrapper .nav-item .nav-link.active{
    color:#004caa;
}
.navbar.header-scrolled{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background-color:var(--bg-white);
    box-shadow: .5084rem 1.1419rem 2.5rem 0 rgb(0 0 0 / 8%);
    transition:0.3s ease-in-out;
}
.img1{
    width: 55px;
    height: 55px;
}

/* hero */

.home {
  position: relative;
  min-height: 550px;
  overflow: hidden;
}

/* Background image wrapper */
.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* same as background-size: cover */
 display: block;
}

/* Content above image */
.banner_wrapper {
  position: relative;
  z-index: 3;
  padding: 100px 0;
}

/* Optional dark overlay for readability */
.banner-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 2;
  pointer-events: none;
}

/* Text styling */
.banner_wrapper h3 {
  font-size: 1rem;
  color: #cf6b1c;
  font-weight: 600;
}

.banner_wrapper h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
}

.banner_wrapper p {
  max-width: 83%;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
}

/* Buttons */
    .btn-orange {
      background-color: #e67e22;
      color: #fff;
      border: none;
      border-radius: 30px;
      padding: 10px 20px;
      font-size: 1rem;
      font-weight: 500;
      transition: all 0.3s ease;
      cursor: pointer;
    }
    .btn-orange:hover {
      background-color: #cf6b1c;
    }
    .btn-outline-light {
      background-color: #1656b8;
      color: #fff;
      border: 1.5px solid transparent;
      border-radius: 30px;
      padding: 10px 20px;
      font-size: 1rem;
      font-weight: 500;
      transition: all 0.3s ease;
      cursor: pointer;
      
    }
    .btn-outline-light:hover {
        background-color: transparent;
        border: 1.5px solid #0d47a1;
        color: #0d47a1;
    }


    /*counter Design*/
    .counter-section{
        background-color:#0d47a1 ;
        padding:2rem 0;
        text-align: center;
        margin-bottom: 1rem;
    }
    .counter-section p{
        color:#e67e22;
        text-transform: uppercase;
    }
    .counter-section h2{
        font-size: 2rem;
        font-weight: 700;
        color: #fff;
    }


    /* ============================
   About Section
============================ */

.about-section{
  background: var(--white-color);
  margin-top: 60px;
}
.about-section .card,
.about-section .card img{
  border-radius: 0.625rem;
}
.about-section .text-sec{
  padding-left:2rem;
}
.text-sec h2{
    font-size: 2rem;
    font-weight: 700;
    color: #004caa;
}
.text-sec p{
    font-size: 1rem;
}
.text-sec ul{
    padding-left: 0px;
}

.text-sec ul li{
    list-style: none;
    line-height: 1.8rem;
    font-weight: 400;
    
}
.main-btn {
    background-color: #1656b8;
    color: #fff;
    border: 1.5px solid transparent;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer; 
}

.main-btn:hover {
    background-color: transparent;
    border: 1.5px solid #0d47a1;
    color: #0d47a1;
}

    /* feature*/
    /*Powerful Student Features*/
    .services-h2{
        font-size: 2.5rem;
        color: #1e3a8a;
    }
    /*Features-card*/
    .services-card{
        min-height: 250px;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background: #ffffff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-radius: 1.5rem;
        padding:30px 30px;
        margin-bottom: 2.3rem;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    .services-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    }
    .services-icon{
        background-color: #f4a261;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 25px;
        color: #fff;
    }
    h5{
        font-size: 1.3rem;
        font-weight: 700;
        color: #1e3a8a;
        margin-bottom: 10px;
    }
    .services-h2{
        font-size: 2.5rem;
        font-weight:700 ;
        color: #1e3a8a;
    }
    .text{
        font-size: 0.98rem;
        font-weight: 400;
        color: #54524F;
        max-width: 100%;
    }

    /* ============================
   Gallery Section
============================ */

/*8 Gallery Section */
    .gallery_wrapper{
        background-image: url('asset/g-img.jpg');
        background-repeat: no-repeat;
        background-position:center;
        background-size:cover;
    }
    .gallery_wrapper h3{
        color:#fff;
    }
    .gallery_wrapper img{
        border-radius: 0.9rem;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    .gallery_wrapper img:hover{
         transform: scale(1.05);
         box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
    }


/* 11 footer */
.footer_wrapper{
    background-color:#0d47a1;
    padding-bottom:0;
}
.footer_wrapper h5{
    color:#d46e14;
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer_wrapper .contact-info ul a {
    padding:0;
    text-decoration: none;
}
.footer_wrapper ul li{
    margin-bottom:.5rem;
    list-style: none;
    font-size: .875rem;
}
.footer_wrapper ul li a{
    color:#ffffff;
    text-decoration: none;
}
.footer_wrapper .link-widget li a,
.footer_wrapper p{
    color:#ffffff;
    font-size: .875rem;
    padding-left:1.5rem;
    position:relative;
    -webkit-transition:all 0.3s ease-out 0s;
    transition:all 0.3s ease-out 0s;
}

.footer_wrapper .link-widget li a::before{
    content:'\f105';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position:absolute;
    left:0.3rem;
    top:50%;
    -webkit-transform:translateY(-50%);
    transform:translateY(-50%);
}
.footer_wrapper .link-widget li a:hover{
    margin-left:.625rem;
    color:#FFFFFFA6;
}
.footer_wrapper .social-network a{
    width:2.1875rem;
    height:2.1875rem;
    margin:.5rem;
    line-height: 2rem;
    font-size: .875rem;
    display:inline-block;
    border:.125rem solid #ADD8E6;
    color:#ffffff ;
    text-align: center;
    border-radius: 100%;
    -webkit-transition:all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition:all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.footer_wrapper .social-network a:hover{
    background-color:#808080;
    border-color:#808080;
    color:#fff;
    transform:translateY(-0.1875rem);
}




/*Responsive design*/
    @media (max-width: 1199.5px) {
         /* header */ 
        .header_wrapper .navbar-nav .nav-link{
            font-size: 1rem;
        }
        .banner_wrapper h1{
            font-size: 2.4rem;
            max-width: 100%;
        }
        .services-h2{
            font-size: 2.4rem;
        }
        .services-card{
            width: 100%;
            height: auto;
            min-height: 220px;
        }
        .card img{
            height: 420px;
        }

        /*About Section*/

        .about-section .text-sec h2{
            font-size: 2rem;
            margin-bottom: 10px;
        }
        .about-section .text-sec p{
            font-size: 0.958rem;
        }
        .text-sec ul{
            margin-bottom: 0px;
            max-width: 100%;
        }
    }

    @media (max-width:991px) {
        /* custom css */ 
    .wrapper{
        padding:3.125rem 0;
    }
     /* 2 Navbar */ 
    .header-scrolled{
        height:auto;
    }
    .header_wrapper .menu-navbar-nav{
        text-align: center;
    }
    .header_wrapper .nav-item .nav-link{
        margin-top:.9375rem;
    }
      .container{
        max-width: 800px;
    }
    .banner_wrapper h1{
        font-size: 2.4rem;
    }
    .banner_wrapper p{
        max-width: 100%;
    }

    /*About Section*/
    .about-section .text-sec {
        padding-left: 15px;
    }
    .about-section .card {
        aspect-ratio: auto;      /* Natural height on smaller screens */
    }
    .about-section .card img {
        height: auto;
    }
    .about-section .text-sec h2{
        font-size: 2rem;
    }
    .about-section .text-sec p{
        padding-left: 0px;
    }
    .about-section{
    padding-top: 0px;
    padding-bottom: 0px;
}
   
}



/* Responsive */
@media (max-width: 768px) {
    .banner_wrapper h1{
        max-width: 480px;
        font-size: 2.2rem;
    }
    .banner_wrapper p{
        max-width:440px;
    }
    .gallery-item,
    .gallery-item.wide {
        aspect-ratio: auto;
  }

  /*About Section*/
  .about-section .text-sec {
    padding-left: 15px;
  }
  .about-section .text-sec h2{
    font-size: 2.2rem;
}
.about-section .text-sec p{
    font-size: 1rem;
    font-weight: 400;
}
}



/*Responsive design*/
@media (max-width:576px){
    .banner_wrapper h3{
        font-size: 0.9rem;
    }
     .banner_wrapper h1{
        font-size: 1.8rem;
        max-width: 350px;
    }
    .banner_wrapper p{
        font-size: 0.95rem;
        max-width: 320px;
    }
     .services-h2{
        font-size: 2rem;
    }
    .services-h2{
        font-size: 2rem;
    }

    /*About Section*/
    .about-section .text-sec h2{
        font-size: 2rem;
    }
    .about-section .text-sec p{
        font-size: 0.95rem;
        font-weight: 500;
    }
    .about-section .text-sec ul,
    .about-section .text-sec li{
        font-size: 0.9rem;
        font-weight: 410;
    }
    
}

@media (max-width:456px){
  .about-section .text-sec h2{
    font-size: 1.6rem;
  }
  .about-section .text-sec p{
    font-size: 0.85rem;
    font-weight: 400;
  }
   .about-section .text-sec ul,
    .about-section .text-sec li{
        font-size: 0.88rem;
        font-weight: 400;
    }
    
}
