*{
    margin: 0px;
    padding: 0px;
}

.cards-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
}

.hyperLinks{
    color: black;
    text-decoration: none;
}

input:focus{
    outline: none;
}

/* #HamburgerNavList{
    position:absolute;
    display: none;
    flex-direction: column;
    justify-content:space-around;
    align-items:flex-start;
    top:60px;
    left: 20px;
    width: 100%;
    background-color: rgb(242, 242, 242);
    padding: 10px 50px;
    z-index: 21;
    height: 500px;
    border-radius: 20px;
} */

#HamburgerNavList {
    position: absolute;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    top: 60px;
    left: 20px;
    width: 100%;
    max-width: max-content;
    background-color: rgb(242, 242, 242);
    padding: 20px 40px;
    z-index: 21;
    border-radius: 25px;

    /* NEW STUFF BELOW */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
}


#HamburgerNavList #closeButton{
    cursor: pointer;
    position: right;
    top: 10px;
    right: 20px;
    font-size: 10px;
    width: 10px;
    height: 10px;
    margin-left: auto;
    border-radius: 100%;
    flex-direction: row;
    align-items: flex-end;
    
}
#HamburgerNavList #closeButton img{
    width: 30px;
    height: 30px;
    right: 100px;
    align-items: flex-end;
}

#HamburgerNavList #navLogo{
    height: 50px;
    display: flex;
}

#HamburgerNavList #navLogo img{
    max-width: 100%;
    max-height: 100%;
}

#HamburgerNavList .navListItems a{
    font-size: x-large;
    color: #000000;
}

#navbar{

    position: sticky;
    top: 0px;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(242, 242, 242, 0.8);
    backdrop-filter: blur(30px);
    padding: 10px 0px;
    width: 99.5vw;
}

#navbar #Hamburger {
    display: none;
    max-width: 40px;
    min-width: 30px;
    margin: 0px 30px;
    padding: 0%;
}

#navbar #Hamburger .Hamburger-Stripes {
    height: 3px;
    border-radius: 3px;
    width: 100%;
    background-color: #35a7c1;
    z-index: inherit;
}

#navbar #navLogoDiv{
    display: flex;
    align-items: center;
    width: 10%;
    padding: 0px 8px;
}

#navbar #navLogoDiv .navLogoItems{
    margin: 0px 0px 0px 12px;
}

#navbar #navLogoDiv #navLogo1{
    height: 23px;
}
#navbar #navLogoDiv #navLogo2{
    height: 15px;

}
#navbar #navList {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 65%;
}

#navbar #navList .navListItems, #HamburgerNavList .navListItems{
    list-style: none;
    margin: 0px 10px;
}

#navbar #navList a, #HamburgerNavList a{
    list-style: none;
    padding: 5px 8px;
}

#navbar #navSearchDiv{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 25%;
}

#navbar #navSearchDiv #navSearch{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    padding: 6px 5px;
    border-radius: 19px;
}

#navbar #navSearchDiv input{
    border: none;
    outline: none;
    padding: 0px 10px;
}


#navbar #navSearchDiv #navSearchImg{
    padding: 0px 10px;
    height: 20px;
    border-right: 1px solid #2B91A7;
}

/* Add this at the END of your current CSS */

#HamburgerNavList {
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

/* Show menu with animation */
#HamburgerNavList.open {
    max-height: 500px; /* Same as original height */
    opacity: 1;
}

/* Fully hide it again */
#HamburgerNavList.hidden {
  /* No display:none! Let JS control display for animation timing */
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden;
}



/* hero section */
#hero{
    display: flex;
    justify-content:center ;
    align-items: center;
    padding: 30px 10px 0px 10px;
    margin: 30px 10px 0px 10px;
}

#hero .heroDivs{
    margin: 0px 50px;
}

#hero #heroDiv1 {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    max-width: 50%;

}

#hero #heroDiv1 .heroDiv1Childeren{
    margin: 10px 0px;
}

#hero #heroDiv1 #heroLogo {
    display: flex;
    justify-content: left;
    align-items: center;
    height: 100px;
}

#hero #heroDiv1 #heroLogo p{
    font-size: 70px;
    color: #2B91A7;
}
#hero #heroDiv1 #heroLogo img{
    max-height: 100%;
}

#hero #heroDiv1 #heroArticle{
    font-size: 28px;
}

#hero #heroDiv1 button{
    padding: 14px 30px;
    border-radius: 35px;
    font-size: 23px;
    color: white;
    background-color: #2B91A7;
    cursor: pointer;
    border: none;
    transition: background-color .13s, box-shadow .13s;
}

#hero #heroDiv1 button:hover{
    background-color: #35a7c1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#hero #heroDiv1 button:active{
    background-color: #13829b;
}

#hero #heroDiv2{
    max-width: 40%;
}
#hero #heroDiv2 img{
    height: 350px;
}

#servicesSection #offer{
    text-align: center;
    font-size: 40px;
    color: #2B91A7;

    margin: 40px 5px 25px 5px;
}

#servicesSection #servicesCardsSection{
    margin-left: 40px;
    
}

#servicesSection #servicesCardsSection .servicesCard {
    background: #ffffff;
    height: 320px;
    width: 300px;
    padding: 20px;
    padding-bottom: 15px;
    text-align: left;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: none;
    position: relative;
    z-index: 1;
    transition: box-shadow .2s ease-in-out 0s;
    border-radius: 44px;
}

#servicesSection #servicesCardsSection .servicesCard:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
    
}

#servicesSection #servicesCardsSection #servicesCard1::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;  
    opacity: .8; 
    border-radius: 44px;
    z-index: -1;
    background-image: url('../static/webDevVectorGraphicsTransparent34.png');
    background-size: 400px;
    background-position: 133% -538%;
    background-color: #F2F2F2;
    background-repeat: no-repeat;
}

#servicesSection #servicesCardsSection #servicesCard1 .servicesCardText p{
    width: 70%;
    color: black;
}

#servicesSection #servicesCardsSection #servicesCard2::before{
    content: "";
    position: absolute;
    border-radius: 44px;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;  
    opacity: .8; 
    z-index: -1;
    background-color: #F2F2F2;
    background-repeat: no-repeat;
    background-image: url('../static/Software\ Dev\ Vector\ Illustration\ 34.jpg');
    background-size: 600px;
}

#servicesSection #servicesCardsSection #servicesCard2 .servicesCardText p{
    color: white;
    width: 95%;
}
#servicesSection #servicesCardsSection #servicesCard3::before{
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;  
    border-radius: 44px;
    opacity: .8; 
    z-index: -1;
    background-color: #F2F2F2;
    background-repeat: no-repeat;
    background-image: url('../static/Graphic\ Designing\ Vector\ Illustration.png');
    background-size: 364px;
    background-position: 196% -1254%;
}

#servicesSection #servicesCardsSection #servicesCard3 .servicesCardText p{
    color: black;
}

#servicesSection #servicesCardsSection .servicesCard .servicesCardText .serviceCardTitle {
    font-size: 18px;
    
    margin: 0;
    color: #333;
}

#servicesSection #servicesCardsSection .servicesCard .servicesCardText .serviceCardSubtitle {
    font-size: 20px;
    color: #555;
    margin: 10px 0;
}

#servicesSection #servicesCardsSection .servicesCard .serviceCardImageContainer, .CardImageContainer{
    width: 100%;
    display: flex;
    justify-content: right;
}

#servicesSection #servicesCardsSection .servicesCard .serviceCardImageContainer div, .CardImageContainer div{
    position: relative;
    z-index: 10;
}

#servicesSection #servicesCardsSection .servicesCard .serviceCardImageContainer div::before , .CardImageContainer div::before{
    color: white;
    content: "Read More";
    position: absolute;
    top: 0; 
    right: 0px;
    font-size: 19px;
    width: 40%; 
    height: 30px;  
    z-index: 11;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    background-color: #2B91A7;
    text-align: left;
    padding: 0px 8px;
    transition: width .3s ease-in-out 0s, content .7s ease-in-out 1s, background-color .2s ease-in-out 0s;
}

#servicesSection #servicesCardsSection .servicesCard .serviceCardImageContainer div:hover::before , .CardImageContainer div:hover::before{
    content: "Read More";
    width: 415%;
}


#servicesSection #servicesCardsSection .servicesCard .serviceCardImageContainer div .plus-icon , .CardImageContainer div .plus-icon{
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    z-index: 12;
}

/* footer */

footer {
    color: #808080;
    background-color: #f2f2f2;
    padding: 40px 20px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* Sections */
.about,
.quick-links,
.contact {
    flex: 1 1 300px;
    min-width: 280px;
}

.about p {
    line-height: 1.6;
    font-size: 15px;
}

/* Quick Links */
.quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links ul li {
    margin: 10px 0;
}

#links-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.quick-links,
.contact {
    flex: 1 1 45%;
    min-width: 250px;
    padding: 0 10px;
}


.hyperedLinks {
    text-decoration: none;
    color: #808080;
    transition: color 0.3s ease;
}

.hyperedLinks:hover {
    color: #000;
}

/* Contact Info */
.contact p {
    margin: 8px 0;
    line-height: 1.5;
}

/* Copyright */
.copyright {
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #ddd;
}


@media (max-width: 1024px) {
    #navbar #navLogoDiv, #navbar #navList, #navbar #navSearchDiv {
        width: auto;
        padding: 0px 4px;
    }
    #navbar #navList {
        width: 50%;
    }
    #navbar #navSearchDiv {
        width: 30%;
    }
    #hero .heroDivs {
        margin: 0px 20px;
    }
    #hero #heroDiv2 img {
        height: 250px;
    }
    #servicesSection #servicesCardsSection {
        margin-left: 0;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    #HamburgerNavList {
        display: none;
        width: 50%;
    }
    #navbar {
        padding: 8px 0px;
    }
    #navbar #Hamburger{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 20px;
    }
    #navbar #navLogoDiv, #navbar #navList, #navbar #navSearchDiv {
        width: 100%;
        justify-content: center;
        padding: 4px 0;
    }
    #navbar #navList {
        display: none;
        font-size: 15px;
    }
    #hero {
        flex-direction: column;
        padding: 20px 4px 0 4px;
        margin: 10px 4px 0 4px;
    }
    #hero #heroDiv1, #hero #heroDiv2 {
        max-width: 100%;
        width: 100%;
    }
    #hero #heroDiv2 img {
        display: none;
    }
    #servicesSection #servicesCardsSection {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }
    #servicesSection #servicesCardsSection .servicesCard {
        width: 90vw;
        max-width: 350px;
        margin: 16px 0;
    }
    .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .about, .quick-links, .contact {
        width: 100%;
        padding: 0;
        float: none;
    }
    #links-container {
        width: 100%;
    }
}

@media (max-width: 530px) {
    #navbar #navLogoDiv {
        display: none;
    }
}

@media (max-width: 480px) {
    #navbar #navSearchDiv {
        justify-content: center;
    }
    #navbar #Hamburger {
        margin: 0px 10px;
    }
    #hero {
        flex-direction: column;
        padding: 10px 2vw 0 2vw;
        margin: 5px 2vw 0 2vw;
    }
    #hero #heroDiv1, #hero #heroDiv2 {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
    #hero #heroDiv1 #heroLogo p, #servicesSection #offer {
        font-size: 2rem;
    }
    #hero #heroDiv1 #heroArticle, #servicesSection #servicesCardsSection .servicesCard .servicesCardText .serviceCardSubtitle {
        font-size: 1rem;
    }
    #hero #heroDiv1 button {
        font-size: 1rem;
        padding: 10px 18px;
    }
    #hero #heroDiv2 img {
        max-width: 95vw;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    #servicesSection #servicesCardsSection .servicesCard {
        min-width: 0;
        margin: 10px auto;
    }
    #servicesSection .servicesCard, #clientsSection .clientCard, #why-choose-us .card {
        max-width: 90vw;
    }
    .copyright {
        font-size: 0.9rem;
    }
}

/* Improved fix for screens <= 420px */
@media (max-width: 420px) {
    #navbar #navSearchDiv {
        width: 60%;
        padding: 0 2px;
    }
    #navbar #navLogoDiv {
        display: none;
    }
    #navbar #Hamburger {
        max-width: 28px;
        min-width: 22px;
        margin: 0 2px;
    }
    #servicesSection #servicesCardsSection .servicesCard,
    #clientsSection .clientCard {
        width: 90vw;
        max-width: 220px;
        min-width: 0;
        height: 200px;
        padding: 8px;
        border-radius: 24px;
    }
    #navbar {
        padding: 6px 0px;
        width: 100%;
        /* Remove flex-direction: column and width: 100vw to prevent layout break */
    }
    #navbar #navLogoDiv,
    #navbar #navList,
    #navbar #navSearchDiv {
        width: 100%;
        padding: 2px 0;
        justify-content: center;
    }
    #navbar #navList {
        display: none;
    }
    #navbar #Hamburger {
        margin: 0px 6px;
    }
    #hero {
        padding: 6px 1vw 0 1vw;
        margin: 3px 1vw 0 1vw;
    }
    #hero #heroDiv1 #heroLogo p,
    #servicesSection #offer {
        font-size: 1.3rem;
    }
    #hero #heroDiv1 #heroArticle,
    #servicesSection #servicesCardsSection .servicesCard .servicesCardText .serviceCardSubtitle {
        font-size: 0.95rem;
    }
    #hero #heroDiv1 button {
        font-size: 0.95rem;
        padding: 8px 12px;
    }
    #servicesSection #servicesCardsSection .servicesCard {
        width: 100%;
        max-width: 100%;
        margin: 8px auto;
        padding: 10px;
        box-sizing: border-box;
    }
    .container,
    .about,
    .quick-links,
    .contact,
    #links-container {
        width: 100%;
        padding: 0;
        float: none;
    }
    .copyright {
        font-size: 0.8rem;
    }
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 390px) {
    #ourProjects .projectCard::before {
        border-radius: 0px;
    }
}

@media (max-width: 300px) {
    #navbar #navSearchDiv {
        justify-content: end;
        padding: 0px 20px;
    }

    #navbar #navSearchDiv #navSearch{
        display: none;
    }

    #navbar #navSearchDiv #navSearch {
        display: none;
    }

    #navbar #navLogoDiv {
        display: flex;
    }
}

@media (max-width: 220px) {
    #navbar #navLogoDiv .navLogoItems {
        margin-left: 2px;
    }
}