@import url('https://fonts.googleapis.com/css2?family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: 0.2s linear;
    -webkit-transition: 0.2s linear;
    -moz-transition: 0.2s linear;
    -ms-transition: 0.2s linear;
    -o-transition: 0.2s linear;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}

body {
    font-family: "Source Sans 3", sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}
p{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.1rem;
}
/* Nav Info */
.nav-info {
    display: block !important;
    background-color: #005f9f;
    color: #ffffff;
    padding: 15px 40px !important;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.nav-info .info-desc {
    display: flex;
    flex: 1;
    gap: 20px;
    align-items: center;
    font-size: 14px;

}

.nav-info .info-social a {
    color: #ffffff;
    text-decoration: none;
    padding: 0 10px;
    float: right;
}
.nav-info .info-social a:hover {
    color: #adb5bd;
}
.info-social i {
    font-size: 16px;
    float: right !important;
    padding: 0 10px;
}

.navbar .main{
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky !important;
}
.nav-item a{
    color: #005f9f;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
}
.nav-item a:hover{
    color: #4a95cf;
}

a.container.btn.btn-primary.btn-small.login-btn{
    width: 100px;
    border-radius: 20px;
    font-size: 18px;
    color: #ffffff;
    background-color: #005f9f;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    border: none;
}
/* sticky navbar */
    .nav-container {
        background-color: #ffffff;
        transition: all 0.3s ease;
        width: 100%;
        z-index: 1000;
    }
    .nav-container.sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
/* sticky navbar ends */

/* Navbar ends */

/* pages header */

.pages-header{
    /* background: url('../img/happy-family.png'); */
    /* background: linear-gradient(135deg, rgba(0, 123, 255, 0.6) 0%, rgba(59, 130, 246, 0.3) 100%);
    background: linear-gradient(110deg, rgba(0, 123, 255, 0.6) 0%, rgba(59, 130, 246, 0.3) 100%), url('../img/happy-family.png'); */
    background: linear-gradient(110deg, rgba(0, 123, 255, 0.7) 0%, rgba(59, 130, 246, 0.4) 100%), url('../img/global-bg.jpg') center/cover no-repeat;
    background-blend-mode: overlay;
    /* background-size:cover; */
    background-attachment: fixed;
    object-fit:fill;
    height: 250px;
    position: relative;
}

/* pages header ends */

/* carousel */

    .carousel-item {
        background: #212529;
        background: url('../img/ocaceentherobg.png');
        /* background: linear-gradient(135deg, rgba(0, 123, 255, 0.6) 0%, rgba(59, 130, 246, 0.3) 100%); */
        /* background: linear-gradient(110deg, rgb(255, 255, 255) 0%, rgba(152, 68, 124, 0.663) 100%), url('../img/happy-family.png'); */
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        height: 470px;
    }

    .hero-bg{
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        max-width: 1100px;
        margin: 0 auto;
    }

    .hero-overlay {
        flex: 1;
    }
    .hero-overlay h1 {
      font-size: 3rem;
      font-weight: 700;
      /* color: #000; */
      color: #fff;
      line-height: 1.2;
    }
    .hero-overlay p {
      font-size: 1.125rem;
      color: #fff;
      margin: 1.25rem 30px 1.25rem 0px;
    }
    .hero-overlay .btn {
      border-radius:50px;
      padding: .75rem 2rem;
    }
    .hero-overlay .contact-btn {
      background-color: #ffa060;
      border: none;
    }
    .hero-overlay .contact-btn:hover {
      background-color: #fff;
      color: #ffa060;
      border: none;
    }

    a.btn-outline-primary{
        --bs-btn-border-color: #ffa060;
        color: #fff;
    }
    a.btn-outline-primary:hover{
        background-color: #ffa060;
        border-color: #fff;
    }
    .hero-illustration {
        flex: 1;
        width: 450px !important;
        border-radius: 30px;
    }

/* carousel ends*/

/* About summary and service */
    .section-title{
        text-align: center;
        padding: 3rem 0;
        margin: 0 auto;
    }
    .section-title h2{
        font-size: 2rem;
        font-weight: 700;
        color: #005f9f;
    }
    .section-title p{
        /* font-size: 1rem; */
        color: #333;
    }

/* service section */
    .service-wrapper{
        background-color: #ffa060;
        background: url('../img/ocaceentherobg.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        padding-bottom: 30px;
        opacity: 0.9;
}
    .service-header h2 {
        color: #fff !important;
        padding: 25px;
}

/* .service-content{

} */
.service-content-row{
    justify-content: center;
}

.service-item{
    width: 22rem !important;
    height: auto;
    background-color: #fff;
    border-radius: 20px;
    padding: 0 !important;
    box-shadow: 0 4px 6px rgba(27, 89, 182, 0.6);
    transition: transform 0.3s ease;
}
.service-image img{
    width: 100%;
    height: 200px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 30px;
}

.service-item h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #005f9f;
    padding-bottom: 15px;
    text-align: center;

}
.service-item p {
    padding: 0 15px 20px 15px; ;
    text-align: justify;
}
/* service section ends */


/* WHy Choose */
.why-choose {
    width: 100%;
    height: 400px !important;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(27, 89, 182, 0.6);
    transition: transform 0.3s ease;
}
/* WHy Choose End */

/* buttons */
    .yellow-btn {
      background-color: #ffa060 !important;
      border: none !important;
    }
    .yellow-btn:hover {
      background-color: #fff !important;
      color: #ffa060 !important;
      border:#ffa060 1px solid !important;
    }

    .white-btn {
      background-color: #ffffff !important;
      color: #ffa060 !important;
      border:#ffa060 1px solid !important;

    }
    .white-btn:hover {
      background-color: #ffa060 !important;
      color: #fff !important;
      border: none !important;

    }

/* buttons end*/


/* portfolio */

    .portfolio img{
        height: 400px;
        object-fit: cover;
    }

/* portfolio ends */

/* counter */
.counter-wrapper{
    background: url('../img/infotech-bg-4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 1.5rem;
    padding: 5rem 9%;
    margin-top: 1rem;
    position: relative;
}
.counter-wrapper::before{
    position: absolute;
    content: '';
    content: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1;
}
.counter{
   text-align: center;
   color: #ddd;
   z-index: 2;
   position: relative;
}
.counter::before{
    position: absolute;
    content: '';
    bottom: -2rem;
    left: 50%;
    width: 20%;
    height: .2rem;
    background: #005f9f;
    border-radius: .5rem;
    -webkit-border-radius: .5rem;
    -moz-border-radius: .5rem;
    -ms-border-radius: .5rem;
    -o-border-radius: .5rem;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}
.counter .count{
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.counter p{
    font-size: 1.2rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 700;
}
/* counter ends */

/* Testimonial */

.testimonial{
    width: 100px;
    height: 100px !important;
}

/* Testimonial Ends */


/* Back to top */

.back-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: none;
      width: 40px;
      height: 40px;
      background-color: #ffa060;
      border-radius: 50%;
      justify-content: center;
      align-items: center;
      text-decoration: none;
      transition: opacity 0.3s;
    }
    .back-to-top.show {
      display: flex;
    }
    .back-to-top:hover {
      opacity: 0.8;
    }
    .back-to-top::after {
      content: "↑";
      color: white;
      font-size: 20px;
    }

/* Back to top Ends */

/* heading colors */
.text-sec{
    color:#c0362c !important;
}


/* ABOUT US BEGINS HERE */

.about-bg{
    background: url('../img/estate.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 600px;
    object-fit: cover;
}

/* TIMELINE CSS */
.timeline-with-icons {
  border-left: 2px solid hsl(0, 0%, 80%);
  position: relative;
  list-style: none;
}

.timeline-with-icons .timeline-item {
  position: relative;
}

.timeline-with-icons .timeline-item:after {
  position: absolute;
  display: block;
  top: 0;
}

.timeline-with-icons .timeline-icon {
  position: absolute;
  left: -48px;
  background-color: hsl(217, 88.2%, 90%);
  color: hsl(217, 88.8%, 35.1%);
  border-radius: 50%;
  height: 31px;
  width: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-section{
    background: url('../img/real-estate.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-size: 2.3rem;
}
/* TIMELINE CSS ENDS*/


/* ABOUT US BEGINS HERE ENDS */

/* Savings and Loan Page */

h1, h2, h3 { color: #c0362c; }
.btn-custom { background-color: #ffa060; border: none; color: #fff; }
.btn-custom:hover { background-color: #e68c4c; }
.bg-theme { background-color: #005f9f; color: #fff; }
.scheme-card { border-radius: 15px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.scheme-card img { width: 100%; height: 200px; object-fit: cover; }
.about-card i { font-size: 2rem; color: #c0362c; margin-bottom: 10px; }

/* Savings and Loan Page ends */


/* Mobile Design Begins */

@media (max-width: 1024px) {
     .hero-illustration {
        right:5%;
    }
    .hero-overlay h1 {
        font-size: 2.5rem;
    }
    .hero-overlay {
        left: 5%;
    }

}

@media (max-width: 768px) {
    .nav-info {
        display: none !important;
    }
    .carousel-item {
        height: 100%;
    }
     .hero-bg{
        /* position: relative;
        top: 10%; */

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        width: 80%;
        margin: 0 auto;
    }

     .hero-overlay {
        text-align: center;
        padding: 70px 0 0 0;
    }

    .hero-illustration {
        text-align: center !important;
         padding: 30px 0;
         border-radius: 30px;
    }

    .hero-overlay h1 {
      font-size: 2rem;
      font-weight: 700;
      color: #000;
      line-height: 1.2;
    }
    .hero-overlay p {
      font-size: 1.1rem;
      color: #fff;
      margin:1.25rem 0;
    }
    .hero-overlay .btn {
      border-radius:50px;
      padding: 5px 1rem;
    }

    /* counter */
    .counter-wrapper{
       grid-template-columns: repeat(2, 1fr);
       grid-row-gap: 8rem;
   }

}

@media (max-width: 576px) {
    .nav-info {
        display: none;
    }

    .video-container video{
            max-width: 280px !important;
        }
}

@media (max-width: 450px) {
    .counter-wrapper{
        grid-template-columns: 1fr;
    }
}

@media (min-width: 425px) {
    .nav-info {
        display: none;
    }

}

@media (min-width: 375px) {
    .nav-info {
        display: none;
    }

}

@media (min-width: 320px) {
    .nav-info {
        display: none;
    }
    

}
