* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
  }
  
  /* Navbar Section */
  #navbar {
    max-width: 100%;
    height: 10vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1002;
    position: fixed; 
    top: 0;
    left: 0;
    transition: 0.3s ease;
    width: 100%; 
  }
  
  #navbar.scrolled {
    background: white; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
  }
  
  .logo {
    color: white;
    transition: 0.3s ease; 
  }
  
  #navbar.scrolled .logo {
    color: black; 
  }
  
  .logo span {
    color: red;
  }
  
  .nav-opt a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition:0.3s ease-in-out; 
  }
  
  #navbar.scrolled .nav-opt a {
    color: black; 
  }
  
  .nav-opt a.active {
    color: red;
    font-weight: bold;
  }
  
  .nav-opt a:hover {
    color: darkred;
  }
  
  .menu-toggle {
    display: none;
    background-color: #D1002C;
    color: white;
    padding: 10px 20px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    z-index: 1003; 
  }
  
  
  /* nav ends */
  
  
  
  
  
  
  
  
  
  
  /* Hero Section */
  .hero {
    position: relative;
    max-width: 100vw;
    height: 99vh;
    margin: auto;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 65% 100%, 0 85%);
  }
  
  /* hero img */
  .hero-main {
    height: 100vh;
    background-image: url('./images/hero3.jpg');
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
}
  
  
  /* hero img ends */
  
  
  
  /* Flex Content */
  .flex-content {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    position: absolute;
    bottom: 10%;
    color: white;
    margin: 80px 60px;
  }
  
  .left-content {
    width: 30%;
  }
  .left-content a{
    text-decoration: none;
    color: gray;
    font-size: 18px;
  }
  #color{
    color: #D1002C;
    font-size: 13px;
    padding-right: 10px;
  }
  .left-content h1 {
    font-size: 40px;
    line-height: 2.6rem;
    margin-top: 20px;
    text-transform: uppercase;
  }
  

  /* content ends */




/* about section */
#about{
    margin: 100px 200px;
    
  }
  .heading1{
    width: 100%;
    text-align: center;
    font-size: 30px;
  }
  
  .programs{
    margin: 80px 0PX;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
  }
  
  .program-design{
    width: 20%;
    text-align: center;
  }
  
  .program-design img{
    height: 61px;
    margin-bottom:20px;
  }
  
  .program-design h3{
    font-size: 15px;
    color: #333;
  }
  
  
  
  
  .text-plus-img{
    display: flex;
    justify-content: center;
    gap: 20px;
  
  }
  .txt-left{
    width: 60%;
    text-align: right;
    line-height: 1.5rem;
  }
  .txt-left h1{
  line-height: 2.5rem;
  }
  .txt-left p{
    color: gray;
  }
  .txt-right{
    width: 60%;
    line-height: 1.5rem;
  
  }
  .txt-right p{
    color: gray;
  }
  .txt-right button{
    margin-top: 20px;
    padding: 10px;
    background-color: #D1002C;
    color: white;
    border: none;
  }
  
  .center-img img{
    max-width: 25vw;
    height: 100%;
    object-fit: cover;
  }
  
  
  
  .bottom-img-txt{
    margin-top: 60px;
    display: flex;
    justify-content: space-around;
  }
  .bottom-txt{
    display: flex;
  }
  .number h1{
    font-size: 40px;
    border-bottom: 1px solid gray;
    color: maroon;
  }
  
  .tech-txt{
    margin: 5px;
  }
  .tech-txt h5{
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 5px;
    line-height: 1.2rem;
  }
  
  .tech-txt p{
    color: gray;
    line-height: 2rem;
  }
  /* about ends */


/* box starts */
.box{
    color: white;
    margin: 50px auto;
    background-image: url("./images/hero.jpg");
    background-position: center;
    background-size: cover;
    width: 70vw;
    height: 50%;
  }
  
  .box-content{
    width: 50%;
    padding: 50px;
  }
  .box-content h5{
    color: #D1002C;
  }
  .box-content h1{
    line-height: 2rem;
    margin: 10px 0px;
    font-size: 24px;
  }
  
  .box-content p{
    line-height: 1.5rem;
    color: gray;
  }
  
  
  .box-content button {
    margin-top: 20px;
    padding: 10px;
    background-color: #D1002C;
    border: none;
    color: white;
  }
  
  /* box ends */



/* blog section */
#blog{
    background-color: #f4f4f4;
    clip-path: polygon(0% 10%, 30% 0%, 100% 10%, 100% 90%, 65% 100%, 0% 90%);
    padding: 200px 0px;
  }
  .heading4{
    text-align: center;
    margin: 50px 0px;
  }
  
  
  
  .blog-boxes{
    display: flex;
    justify-content: space-around;
    gap: 20px;
    width: 70%;
    margin: auto;
    flex-wrap: wrap;
  }
  .blog-box{
    width: 22%;
  }
  .blog-box h2{
    font-size: 18px;
    line-height: 1.8rem;
  }
  .blog-box h4{
    color: #D1002C;
  }
  .blog-box img{
    width: 100%;
    height: 50vh;
    margin: 10px 0px;
    object-fit: cover;
  }
  
  /* blog ends */
  

  .testimonial-container {
    margin: 100px auto;
    max-width: 800px;
    position: relative;
  }
  
  .testimonial-slider {
    display: flex;
    overflow: hidden;
  }
  
  .testimonial-slide {
    flex: 0 0 33.33%;
    box-sizing: border-box;
    padding: 20px;
    transition: transform 0.5s ease;
  }
  
  .testimonial {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
  }
  
  .quote {
    font-size: 2rem;
    color: #e63946;
  }
  
  .author {
    display: flex;
    align-items: center;
    margin-top: 20px;
    justify-content: center;
  }
  
  .author img {
    width: 40%;
    border-radius: 50%;
    margin-right: 10px;
  }
  
  .author-info h3 {
    margin: 0;
    font-size: 1.2rem;
  }
  
  .author-info p {
    margin: 0;
    color: #777;
    font-size: 0.9rem;
  }
  
  .navigation {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
  
  .testimonial-dot {
    height: 12px;
    width: 12px;
    margin: 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
  }
  
  .testimonial-dot.active {
    background-color: #e63946;
  }
  /* testimonial ends */















/* footer section */
#footer {
    background-color: black;
    color: #fff;
    padding: 40px 20px;
  }
  
  .foot-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .foot-content,
  .foot-content-right {
    flex: 1; 
    min-width: 200px; 
  }
  
  .foot-content h3,
  .foot-content-right h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .foot-content a
  {
    display: block;
    margin-bottom: 8px;
    color: #aaa;
    text-decoration: none;
  }
  .foot-content-right p{
     display: block;
    margin-bottom: 8px;
    color: #aaa;
    text-decoration: none;
    font-size: 15px;
  }
  .input-div {
    display: flex;
    align-items: center;
    margin-top: 10px;
  }
  
  .input-div input {
    padding: 18px 0px;
    flex: 1;
    border: none;
    background-color: black;
    outline: none;
    color: white;
  }
  
  .input-div i {
    margin-right: 60px;
    color: #aaa;
    cursor: pointer;
    font-size: 20px;
  }
  
  /* Footer Bottom Section */
  .foot-last {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    border-top: 1px solid #444;
    padding-top: 20px;
    gap: 10px; 
    text-align: center;
  }
  
  .foot-last p {
    flex: 1;
    color: #aaa;
  }
  
  .foot-last .icons i {
    margin: 0 8px;
    cursor: pointer;
  }
  
  /* footer ends */







  @media(max-width:1024px){
    #about{
      margin: 200px 100px;
    }


    /* box section */
.box-content{
    width: 70%;
  }
  .box-content h1{
    line-height: 1.6rem;
  }
  }






  @media (max-width: 960px) {
    /* navbar */
     #navbar{
       justify-content: space-between;
       padding: 40px;
     }
     
     .nav-opt {
       color: black;
       display: none; 
       width: 100%;
       flex-direction: column; 
       background-color: white; 
       position: absolute;
       top: 10vh;
       left: 0;
       padding: 20px;
       z-index: 1001;
     }
     .nav-opt a{
       color: black;
     }
     .menu-toggle {
       display: block;
     }
   
     .nav-opt.active {
       display: flex;
     }
   
     .nav-opt a {
       padding: 10px;
       text-align: left;
       width: 100%;
     }
   
   /* nav ends */
   
   
   /* hero section */
   .hero {
       height: 90vh; 
     }
   
     .flex-content {
       justify-content: flex-start;
       margin: 80px 60px;
     
     }
   
     .left-content {
       width: 100%;
       margin-bottom: 20px;
     }
     .left-content p{
       width: 90%;
     }
   /* hero ends */


/* about section */
#about{
    margin: 100px 50px;
  }
/* about ends */



/* blog section */
  #blog{
    background-color: #f4f4f4;
    clip-path: polygon(0% 2%, 30% 0%, 100% 2%, 100% 98%, 65% 100%, 0% 98%);
    padding: 100px 0px;
  }
  
    .blog-boxes{
        width: 90%;
        flex-wrap: wrap;
    }
    .blog-box{
      margin: auto;
      width: 40%;
    }
    }


    

    @media(max-width:768px){
        /* about section */
        #about{
          margin: 200px 10px;
        }
        
        .programs{
          flex-direction: column;
          width: 100%;
        }
        .program-design{
          width: 100%;
        }
      
      
        .text-plus-img{
          flex-direction: column;
          
        }
        .txt-left{
          width: 100%;
          text-align: left;
        }
        .txt-left h1{
        text-align: center;
        }
        .txt-right{
          width: 100%;
          line-height: 1.5rem;
        
        }
          
        .center-img img{
          max-width: 100%;
        }
        
      
      
      
        .bottom-img-txt{
          flex-direction: column;
          gap: 20px;
        }
        /* about ends */




        /* box section */
  .box{
    width: 90vw;
  }

  .box-content{
    width: 100%;
  }
/* box ends */




/* reviews section */
.testimonial-slide {
    flex: 0 0 50%;
  }

 
    
    }      
















    @media (max-width: 450px){
        /* hero section */
        .flex-content {
          margin: 60px 30px;
        }
        
        .left-content h1 {
          font-size: 25px;
        }
        
      
      /* flex ends */
.menu-toggle {
        padding: 10px 15px;
        font-size: 14px;
      }

/* box section */
.box-content h1{
    font-size: 19px;
  }
  .box-content p{
    font-size: 14px;
    line-height: 1.1rem;
  }

  .box-content button {
    margin-top: 8px;
  }
/* box ends */


.blog-boxes{
    width: 90%;
    flex-wrap: wrap;
}
.blog-box{
  margin: auto;
  width: 90%;
}

/* reviews section */
.testimonial-slide {
    flex: 0 0 100%;
  }





















      /* footer */
  .foot-container {
    flex-direction: column; 
    text-align: center;
}

.foot-content,
.foot-content-right {
    margin-bottom: 20px;
}

.foot-last {
    flex-direction: column;
    gap: 10px; 
}

.foot-last .icons {
    margin-top: 10px;
}
/* footer ends */
    }
