/* Google Font*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

*{box-sizing: border-box;padding: 0;margin: 0;scroll-behavior: smooth;}
body{font-family: Montserrat, sans-serif;font-size: .938rem;background-color: #f2f3f2;}

/*Header*/
.header{background-color: #f9e401;position: fixed;top: 0;left: 0;width: 100%;box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);z-index: 100;}
.nav{height: 7rem;}
.container{
    max-width: 1300px;
    margin-inline: 1.5rem;
}
.nav__data{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav__logo img{
    width: 350px;
    height: 110px;
    display: flex;
    position: relative;
}
.nav__toggle{
    position: relative;
    width: 32px;
    height: 32px;
}
.nav__burger,.nav__close{
    color: black;
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
}
.nav__close{
    opacity: 0;
}
.nav__link{
    color: black;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .3s;
}
.nav__link:hover{background-color: grey;}
.dropdown__item{
   
    cursor: pointer;
}
.dropdown__item:hover .dropdown__menu{
    max-height: 1000px;
    transition: max-height .4s ease-in;
}
.dropdown__item:hover .dropdown__arrow{
    transform: rotate(180deg);
}
.dropdown__arrow{
    font-size: 1.25rem;
    font-weight: initial;
    transition: transform .4s;
}
.dropdown__menu{
    max-height:0 ;
    overflow: hidden;
    transition: max-height .4s ease-out;
}
.dropdown__link{
    padding: 1.25rem 1.25rem 1.25rem 2.5rem;
    color: black;
    background-color: grey;
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-weight: 600;
    transition: background-color .3s;
}
.dropdown__link i{
    font-size: 1.25rem;
    font-weight: initial;
}
.dropdown__link:hover{
    background-color: #0056b3;
}
.dropdown__subitem:hover > .dropdown__submenu{
    max-height: 1000px;
    transition: max-height .4s ease-in;
}
.dropdown__add{
    margin-left: auto;
}
.dropdown__submenu{
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease-out;
}
.dropdown__sublink{
    background-color: gray;
    padding: 1.25rem 1.25rem 1.25rem 2.5rem;
    color: black;
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-weight: 600;
    transition: background-color .3s;
}
.dropdown__sublink i{
    font-size: 1.25rem;
    font-weight: initial;
}
.dropdown__sublink:hover{
    background-color: #0056b3;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}

@media screen and (max-width: 1118px) /* Mobile View*/
{
    .nav__menu{
        position: absolute;
        left: 0;
        top: 2.5rem;
        width: 100%;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }
    .nav__menu::-webkit-scrollbar{
        width: 0;
    }
    .nav__logo img{
        width: 200px;
        height: 75px;
        display: flex;
        position: relative;
        left: 10px;
    }
    .nav__list{
        background-color: gray;
        padding: top 1rem;
    }
    .dropdown__link{
        color: black;
    }
    .dropdown__sublink{
        color: black;
    }
}

.show-menu{
    opacity: 1;
    top: 5.2rem; /* Menu Gap*/
    pointer-events: initial;
}

.show-icon .nav__burger{
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav__close{
    opacity: 1;
    transform: rotate(90deg);
}

@media screen and (max-width: 340px){
    .container{
        margin-inline: 1rem;
    }
    .nav__link{
        padding-inline: 1rem;
    }
}

@media screen and (min-width:1118px){ /* Large Screen Eg Laptop*/
    .container{
        margin-inline:auto ;
    }
    .nav{
        height: calc(4rem)+2rem;
        display: flex;
        justify-content: space-between;
    }
    .nav__toggle{
        display: none;
    }
    .nav__list{
        height: 100%;
        display: flex;
        column-gap: 3rem;
    }
    .nav__link{
        height: 100%;
        padding: 0;
        justify-content: initial;
        column-gap: .25rem;
    }
    .nav__link:hover{
        background-color: transparent;
    }
    .dropdown__item,.dropdown__subitem{
        position: relative;
    }
    .dropdown__menu, .dropdown__submenu{
        max-height: initial;
        overflow: initial;
        position: absolute;
        left: 0;
        top: 6rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s, top .3s;
    }
    .dropdown__link, .dropdown__sublink{
        padding-inline: 1rem 3.5rem;
    }
    .dropdown__subitem .dropdown__link{
        padding-inline: 1rem;
        color: black;
    }
    .dropdown__submenu{
        position: absolute;
        left: 100%;
        top: .5rem;
    }
    .dropdown__item:hover .dropdown__menu{ /* menu gap here*/
        opacity: 1;
        top: 7rem;
        pointer-events: initial;
        transition: top .3s;
    }
    .dropdown__subitem:hover > .dropdown__submenu{
        opacity: 1;
        top: 0;
        pointer-events: initial;
        transition: top .3s;
    }
}

.about-section{
    margin-top: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 20px;
}
.about-container{
    display: flex;
    flex-wrap: center;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}
.about-image{
    flex: 1;
    text-align: center;
    margin-right: 30px;
}
.about-image img{
    max-width: 70%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4x 8px rgba(0, 0, 0, 0.1);
}
.about-caption{
    margin-top:10px ;
    font-style: italic;
    color: #007bff;
}
.about-content{
    flex:1;
    padding: 20px;
}
.about-content h2{
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}
.about-content p{
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}
.read-more-btn{
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.read-more-btn:hover{
    background-color: #0056b3;
}
@media(max-width:768px){
    .about-container{
        flex-direction: column;
    }
    .about-image{
        margin-right: 0;
        margin-top:100px;
        align-items: center;
        text-align: center;
    }
    .about-content h2{
        font-size: 20px;
        text-align: center;
        align-items: center;
        position: relative;
    }
    .about-content p{
        font-size: 1rem;
    }
}
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
  }
  
  .footer p {
    margin: 0;
    font-size: 1rem;
  }
  
  .developer-info {
    margin-top: 5px;
    font-size: 0.85rem; 
    color: #ccc; 
  }

  /* New Section */
.new-section {
    background-color: #f2f3f2;
    padding: 4rem 2rem;
    text-align: center;
}

.new-section-content {
    max-width: 800px;
    margin: 0 auto;
}

.new-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.new-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .new-section {
        padding: 3rem 1.5rem;
    }

    .new-section h2 {
        font-size: 1.8rem;
    }

    .new-section p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .new-section {
        padding: 2rem 1rem;
    }

    .new-section h2 {
        font-size: 1.5rem;
    }

    .new-section p {
        font-size: 0.85rem;
    }
}