@import url('https://fonts.googleapis.com/css2?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&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

*{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.header{
    min-height: 100vh;
    width: 100%;
    /* background-image: linear-gradient(rgba(39, 38, 38, 0.7),rgba(56, 56, 56, 0.7)),url("images/4.jpg"); */
    background-image: url("images/2.jpg");
    background-position: center;
    background-size: cover;
    /* background-repeat: no-repeat;
    background-attachment: fixed; */
    position: relative;
    font-family: "Josefin Sans", sans-serif;
}

nav{
    display: flex;
    padding: 0.8% 3%;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

nav img{
    width: 200px;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 10px 10px 0;
    position: relative;
}

.nav-links ul li a{
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 1.5px;
    background: rgb(51, 173, 255);
    display: block;
    margin: auto;
    transition: 0.5s;
} 

.nav-links ul li:hover::after{
    width: 100%;
} 

.nav-links ul li a.active {
    color: #29b7f0;
    font-weight: bold;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1{
    font-size: 12px;
    /* font-weight: 400; */
}

.text-box h1 img{
    width: 350px;
    margin-bottom: 105px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 16px;
    color: #fff;
}

nav .fa-solid{
    display: none;
}


@media(max-width: 700px){
    .text-box h1 img{
        width: 270px;
    }

    .nav-links ul li{
        display: block;
    }

    .nav-links{
        position: absolute;
        background: #fff;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
        
    }

    .nav-links ul li::after{
        background: #fff;        
    }
    
    .nav-links ul li a.active {
        color: #29b7f0;
        /* border: 2px solid black; */
        font-weight: bolder;
    }

    nav .fa-solid{
        display: block;
        color: #29b7f0;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    nav .fa-bars{
        color: #29b7f0  ;
        margin-left: 60px;
    }

    .nav-links ul{
        padding: 30px;
    }

    .nav-links ul li{
        margin-top:8px;
    }
}




.about_section {
    width: 80%;
    padding: 60px 120px;
    background-color: #f8f9fa;
  }
  
  .row {
    display: flex;
    align-items: center; /* Center content vertically */
  }
  
  .img-box img {
    width: 540px;
    height: 340px;
    border-radius: 10px; /* Optional: Rounded corners */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); Optional: Subtle shadow */
    padding:30px;
  }
  
  
  .detail-box {
    padding-bottom: 110px;
    padding-right: 30px;
    /* background-color: #ffffff; */
    border-radius: 10px;
    width: 570px;  
    overflow-wrap: break-word; /* Ensure long words or URLs break to the next line */
    box-sizing: border-box;
  }
  
  
  .heading_container h2{
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    color: #000000;
    margin-bottom: 5px;
  }
  
  
  .detail-box p {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    color: #29b7f0;
    line-height: 1.4;
    margin-bottom: 10px;
    font-weight: bolder;
    overflow-y: hidden;
    text-align: justify;
  }


  /* Media query for tablets (portrait mode) */
@media (max-width: 1024px) {
    .about_section {
        padding: 40px 80px;
    }
  
    .img-box img {
        width: 480px;
        height: 300px;
    }
  
    .detail-box {
        padding-bottom: 80px;
        width: 480px;
    }
  
    .detail-box p {
        font-size: 14px;
    }
  
    .heading_container h2 {
        font-size: 1.8rem;
    }
  
    
}

/* Media query for large smartphones (landscape mode) */
@media (max-width: 768px) {
    .about_section {
        padding: 30px 60px;
    }
  
    .row {
        flex-direction: column;
    }
  
    .img-box img {
        width: 100%;
        height: auto;
        padding: 20px;
    }
  
    .detail-box {
        padding-bottom: 60px;
        padding-right: 0;
        width: 100%;
    }
  
    .detail-box p {
        font-size: 13px;
        text-align: justify;
        padding: 15px;
    }
  
    .heading_container h2 {
        font-size: 1.6rem;
        text-align: center;
    }
  
    
}

/* Media query for small smartphones (portrait mode) */
@media (max-width: 480px) {
    .about_section {
        padding: 20px 35px;
    }
  
    .img-box img {
        width: 90%;
        height: auto;
        padding: 10px;
    }

    .heading_container h2 {
        text-align: center;
        font-size: 1.4rem;
    }

    .detail-box {
        padding-bottom: 10px;
        width: 100%;
    }

    .detail-box p {
        font-size: 12px;
        text-align: justify;
        padding: 15px;
    }
  
    
}
  

  

.about-us {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
    text-align: center;
}

.about-us h1{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 50px;
    padding-bottom: 20px;
    color: #29b7f0;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: #f1f1f1;
    margin-bottom: 30px;
}

.about-col {
    flex-basis: 50%;
    padding: 30px 15px; 
    box-sizing: border-box;
    text-align: center;
}

.about-col img {
    height: 480px;
    width: 100%;
}

.about-col h1{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 50px;
    margin-bottom: 10px;
    color: #29b7f0;
}

.about-col h2{
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-size: 28px;
    margin-bottom: 40px;
    margin-top: -25px;
}


@media(max-width: 700px) {
    .row {
        flex-direction: column; /* Stacks the columns vertically */
        width: 100%;
        margin-left: 5px;
    }

    .about-col {
        flex-basis: 100%; /* Each column now takes up the full width */
        text-align: center; /* Optional: center text for better aesthetics on mobile */
    }

    .about-col img {
        height: 280px;
        width: 100%;
    }

    .about-col h1{
        font-size: 30px;
    }
    
    .about-col h2{
        font-size: 18px;
    }

}



footer {
    background-color: #111;
    color: #fff;
    padding: 60px 0 20px;
    font-family: "Josefin Sans", sans-serif
}

.footer-container {
    width: 85%;
    margin: auto;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    
}

.footer-col {
    flex-basis: 25%;
    margin-bottom: 20px;
    
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #29b7f0;
    
}

.footer-col p, 
.footer-col ul, 
.footer-col .contact-info {
    font-size: 16px;
    line-height: 24px;
    
}

.footer-col ul {
    list-style: none;
    padding: 0;
    
}

.footer-col ul li {
    margin-bottom: 10px;
    
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    
}

.footer-col ul li a:hover {
    color: #29b7f0;
}

.footer-bottom-text {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    
}

@media (max-width: 700px) {
    .footer-row {
        flex-direction: column;
        align-items: center;
    }

    .footer-col {
        flex-basis: 100%;
        text-align: center;
    }
}
