/*common css*/
html {
    scroll-behavior: smooth;
}

:root {
    --blue: #006376;
    --grey: #E0E1DD;
    --black: #000000;
}

*{
    margin: 0;
    padding: 0;
}

body::-webkit-scrollbar{width: 10px;}
body::-webkit-scrollbar-thumb{
    background: var(--blue);
    border-radius: 10px;
}

header {
    position: relative;
    background-color: var(--grey);
}

img.logo {
    height: 10%;
    width: 10%;
}
body {
    max-width: 1500px;
    margin: 0 auto;
}
.contactBtn {
    padding-right: 10px;
    padding-left: 10px;
    border: 2px solid var(--blue);
    background: transparent;
    letter-spacing: 1px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    font-weight: bold;
}
.contactBtn:hover{
    background-color: var(--blue);
    color: white;
}

#mainHeader {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
    width: 100%;
    z-index: 9999;
    max-height: 60px;
}

.mainSection{
    padding-top: 60px;
}

#mainHeader{transition: all 0.3 ease;;}

/* Container: logo left, nav right */
header .container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo: image + text side by side */
.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* space between image and text */
}

.logo-img {
    height: 60px; /* adjust to your design */
    width: auto;
}

/* Two-line text */
.logo-text {
    display: flex;
    flex-direction: column; /* stack the two lines */
    font-size: 20px;
    font-weight: bolder;
    line-height: 1.2;
}

.logo-text span {
    color: var(--blue); /* keep your highlight color */
}

/* Right side: LinkedIn + nav */
.right-side {
    display: flex;
    align-items: center;
    gap: 20px; /* space between LinkedIn and nav */
}

.linkedin-nav-bar a {
    font-size: 22px;
    color: var(--blue);
}


nav {
    display: flex;
    gap: 30px;
}

nav a{
    color: var(--blue);
    text-decoration: none;
    font-size: 20px;
    line-height: 40px;
    font-family: "Open Sans";
}
.menu-toggle {
    display: none; /* hidden on big screens */
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--blue);
  }

/*home section*/
.home-section{
    padding: 1rem 5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.home-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.home-left{
    padding: 2rem;
}
.home-left h1{
    font-size: 50px;
    font-weight: bold;
    width: 100%;
    padding-bottom: 30px;
    font-family: "Montserrat";
}
.home-left h2{
    font-size: 28px;
    max-width: 800px;
    font-family: "Montserrat";
}
.home-left h4{
    font-size: 20px;
    font-family: "Open Sans";
    font-weight: 400;
}

.home-right{
    padding: 2rem;
}
.home-right img{
    resize: both;
    padding: auto;
    max-width: 500px;
    max-height: 500px;
    object-fit: cover;
    filter: grayscale(10%);
}


/* About Me Section*/
.aboutMeSection h1{
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    font-family: "Montserrat";
    padding: 3rem;
}
.aboutMeSection h3{
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    font-family: "Montserrat";
    padding-bottom: 1rem;
}
.aboutMe-container{
    flex-wrap: wrap;
    padding: 1rem 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-self: center;
}
.aboutMe-container .description{

    max-width: 65%;
}
.aboutMe-container .description ul,
.aboutMe-container .description p{
    font-size: 18px;
    font-family: "Open Sans";
    line-height: 1.6;
}
.aboutMe-container .description ul{
    padding-left: 30px;
}
.aboutMe-container .description span{
    font-weight: bold;
}
.aboutMe-container-right {
    max-width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* pushes top/bottom apart */
    align-items: center;            /* center horizontally */
    flex: 1;                        /* let it grow to fill height */
    padding: 1rem;
}
.aboutMe-container .certificates{
    max-width: 300px;
    align-items: center;
    display: flex;
    gap: 30px;
    justify-content: center;
}
.aboutMe-container .certificates img{
    max-width: 100%;
    width: 200px;
    height: 150px;
    object-fit: contain;
}
.aboutMe-container .certificates img:hover{
    scale: 1.05;
}
.aboutMe-container .certificates h5{
    text-align: center;
    font-size: 20px;
    font-family: "Montserrat";
}
.aboutMe-container .contactBtn{
    color: black;
    text-decoration: none;
    font-size: 20px;
    padding: 15px;
    font-family: "Open Sans";
}
.aboutMe-container .contactBtn:hover{
    background-color: var(--blue);
    color: white;
}


/*Service Section*/
.serviceSection{
    padding: 1rem 3rem;
}
.serviceSection h1{
    text-align: center;
    font-family: "Montserrat";
    font-size: 50;
    padding: 3rem;
}
.service-container{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}
.service-container .card{
    border: 2px solid var(--blue);
    max-width: 325px;
    padding: 2rem;
    border-radius: 10px;
}
.service-container .card h2{
    color: var(--blue);
    font-weight: bold;
    font-size: 30px;
    font-family: "Montserrat";
}
.service-container .card h4{
    font-family: "Montserrat";
    font-weight: bold;
    font-size: 22px;
    padding-bottom: 10px;
}
.service-container .card p{
    font-family: "Open Sans";
    font-size: 18px;
    line-height: 1.6;
}

.service-container .heading{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.service-container .service-icon {
    font-size: 60px;
    color: var(--blue);
    padding: 15px;
}
.serviceSection .CTA{
    display: flex;
    font-size: 30px;
    padding: 3rem;
    justify-items: center;
    font-weight: bold;
    gap: 50px;
    align-items: center;
    font-family: "Montserrat";
}
.serviceSection .CTA .contactBtn{
    color: black;
    text-decoration: none;
    font-size: 20px;
    padding: 15px;
    font-family: "Open Sans";
}
.serviceSection .CTA .contactBtn:hover{
    background-color: var(--blue);
    color: white;
}



/* stats Section */
.stats{
    text-align: center;
}
.stats-intro{
    justify-content: space-evenly;
    display: flex;
    padding: 3rem;
    gap: 50px;
}
.stats-intro .stats-left img{
    max-width: 250px;
    padding-bottom: 10px;
}
.stats-intro .stats-left p{
    font-family: "Montserrat";
    font-size: 20px;
    max-width: 350px;
}
.stats-intro .stats-right p{
    font-family: "Open Sans";
    font-size: 24px;
    max-width: 500px;
}
.stats .statsBG{
    max-width: 90%;         /* or whatever width you prefer */
    margin: 0 auto;            /* center horizontally */
    padding: 2rem;             /* space inside the box */
    border-radius: 30px;       /* rounded corners */
    background: var(--black);       /* optional: light background for contrast */
}
.stats h1{
    font-size: 50px;
    font-family: "Montserrat";
    padding: 1rem;
    font-weight: bold;
}
.stats-container{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 1rem 3rem;
    padding-bottom: 20px;
    justify-content: center;
}
.stats-container .stat{
    position: relative;
    background-color: white;
    border-radius: 25px;
    padding: 25px;
    width: 200px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.stats-container .stat a {
    position: absolute;
    top: 5px;
    right: 5px;
    display: none; /* hidden until hover */
  }
  
  .stats-container .stat:hover a {
    display: block;
  }
.stats-container .stat h2{
    font-family: "Montserrat";
    font-size: 50px;
    top: 50%;
}
.stats-container .stat i{
    height: 40px;
    width: 40px;
    color: var(--blue);
    font-size: 20px;
    padding: 5px;
    background: white;
    border-radius: 50%;
    display: none;
}
.stats-container .stat h4{
    font-family: "Open Sans";
    font-size: 18px;
    font-weight: 600;
}
.stats-container .stat p{
    display: none;
    text-align: left;
}
.stats-container .stat #link{
    rotate: -45deg;
} 
.stats-container .stat:hover{
    background-color: var(--blue);
    width: 250px;
}
.stats-container .stat:hover h2,
.stats-container .stat:hover h4,
.stats-container .stat:hover p{
    color: white;
    text-align: left;
}
.stats-container .stat:hover i{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 25px;
    right: 25px;
}
.stats-container .stat:hover p{
    display: block;
    font-family: "Open Sans";
}
/* Project Section*/
.projectSection{
    padding: 1rem;
}
.projects-container{
    padding-top: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    display: flex;
    gap: 50px;
}

.projects-text{
    max-width: 500px;
}
.projects-text span,
.projects-text h1{
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    font-family: "Montserrat";
    padding: 1rem;
}
.projects-text span{
    color: var(--blue);
}
.projects-text p{
    font-size: 20px;
    font-family: "Open Sans";
    line-height: 1.6;
}


.downloadResume{
    text-align: center;
    flex: auto;
    padding: 2rem;
}
.downloadResume button{
    font-size: 30px;
    text-decoration: none;
    color: white;
    background-color: var(--blue);
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-right: 10px;
    font-family: "Montserrat";
    border: none;
}
.downloadResume button:hover{
    font-size: 32;
    transition: all 0.3s;
}
.downloadResume p{
    padding-top: 10px;
    font-size: 18px;
    font-family: "Open Sans";
}


.projectGallery{
    position: relative;
    border: 2px solid var(--blue);
    border-radius: 10px;
    padding: 2rem;
    max-width: 700px;
}
.projectGallery h4{
    font-family: "Montserrat";
    font-size: 40px;
    font-weight: bold;
    padding-bottom: 0.5rem;
    padding-left: 0.5rem;
}
.projectGallery h5{
    font-family: "Montserrat";
    font-size: 30px;
    font-weight: bold;
    padding: 0.5rem;
}
.projectGallery table{
    padding: 1rem;
}
.projectGallery .c1{
    border: none;
    border-right: 2px solid var(--blue);
    color: var(--blue);
    font-weight: bold;
    padding: 5px;
    padding-right: 15px;
}
.projectGallery td{
    font-family: "Open Sans";
    font-size: 20px;
    padding: 5px;
    padding-left: 15px;
}





/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: black;
  font-weight: bold;
  font-size: 26px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

.next {
  right: 0;
  border-radius: 0 3px 3px 0;
}
/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
  display: none; /* Hide all slides by default */
}

/* Show first slide by default */
.fade:first-child {
  display: block;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}



/* Testimonial Section */
.testimonialSection{
    margin: 0 auto;
    justify-content: center;
    max-width: 1100px;
}
.testimonialSection h1{
    font-size: 50px;
    font-family: "Montserrat";
    padding: 3rem;
    font-weight: bold;
    text-align: center;
}
.testimonial-container{
    position: relative;
    padding: 1rem 3rem;
    border: solid 2px var(--blue);
    border-radius: 10px;
}

.mySlides2 .description {
    font-family: "Open Sans";
    font-size: 18px;
    text-align: justify;
    padding: 10px;
    line-height: 1.6;

}
.mySlides2 .name{
    font-family: "Open Sans";
    font-size: 22px;
    text-align: right;
    color: var(--blue);
    font-weight: bold;
}
.mySlides2 .position{
    font-family: "Open Sans";
    font-size: 16px;
    text-align: right;
    color: var(--blue);
}


/* Testimonial & Workshop section */
.workshop-container{
    padding: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 85%;
    margin: auto;
    background-color: rgb(243, 243, 243);
    border-radius: 50px;
}
.workshop-container-left{
    max-width: 65%;
}
.workshop-container-left h1{
    font-size: 40px;
    font-family: "Montserrat";
    font-weight: bold;
    color: var(--blue);
    padding: 1rem;
}
.workshop-container-left h3{
    font-size: 24px;
    font-family: "Montserrat";
}
.workshop-container-left p{
    font-size: 16px;
    font-family: "Open Sans";
    line-height: 1.6;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.workshop-container-left ul{
    padding-left: 2rem;
}
.workshop-container-left li{
    font-size: 16px;
    font-family: "Open Sans";
    padding: 0.5rem;
}
.workshop-container-left span{
    font-weight: bold;
    font-size: 20px;
}
.workshop-container-right {
    max-width: 30%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;       /* makes quote position relative to the image */
    display: inline-block;    /* shrink-wrap around image & quote */
    width: 100%;
    margin-bottom: 3rem;
}

.image-wrapper img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.image-wrapper p {
    position: absolute;
    bottom: -20px;            /* 👈 slightly below the image */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;               /* controls quote box width */
    padding: 1rem;
    background-color: white;
    font-family: "Open Sans";
    font-size: 16px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.workshop-container-right .contactBtn{
    color: var(--blue);
    text-decoration: none;
    font-size: 20px;
    padding: 15px;
    font-family: "Open Sans";
}
.workshop-container-right .contactBtn:hover{
    background-color: var(--blue);
    color: white;
}


#backToTop{
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--grey);
    color: black;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    display: none;
    transition: all 0 ease;
}

footer{
    background: var(--grey);
    padding: 40px 20px 20px;
}

.footer-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding: 1rem 1rem;
    padding-bottom: 20px;
}

.footer-left{
    flex: 1;
    min-width: 150px;
}

.footer-left img{
    width: 80px;
    margin-bottom: 0px;
}
.footer-left {
    display: flex;
    flex-direction: column; /* stack the two lines */
    font-size: 20px;
    font-weight: bolder;
    line-height: 1.2;
}

.footer-left span {
    color: var(--blue); /* keep your highlight color */
}


.footer-middle{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-middle a{
    color: var(--blue);
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
    font-family: "Open Sans";
}
.footer-right{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 40px;
}    
.footer-right a{
    color: var(--blue);
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
    font-family: "Open Sans";
}

.copyright{
    text-align: center;
    color: var(--blue);
    font-size: 16px;
    padding-bottom: 10px;
}


.contactSection{
    padding: 4rem 10rem;
}
.contact-container{
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-form{
    flex: 1;
    min-width: 280px;
}
.contact-form h2{
    font-size: 40px;
    margin-bottom: 10px;
    font-family: "Montserrat";
}
.contact-form p{
    margin-bottom: 30px;
    font-family: "Open Sans";
}
.contact-form input,
.contact-form textarea{
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: solid 2px var(--blue);
    margin-bottom: 20px;
    padding: 10px;
    font-size: 16px;
    outline: none;
}
.contact-form textarea[placeholder="Message"]{
    border-top: solid 2px var(--blue);
    margin-top: 10px;
}
.contact-form textarea{
    resize: vertical;
    height: 100px;
}
.contact-form form p{
    font-family: "Open Sans";
    color: var(--black);
    margin-bottom: 0px;
    padding: 10px;
    padding-top: 0px;
}

/* Hide the default radio */
.contact-form input[type="radio"] {
    display: none;
}

/* Custom radio container */
.contact-form label {
    position: relative;
    padding-left: 30px; /* space for circle */
    cursor: pointer;
    font-family: "Open Sans";
    font-size: 16px;
    margin-left: 10px;

}

/* Custom circle */
.contact-form label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 14px;
    height: 14px;
    border: 2px solid var(--blue);
    border-radius: 50%;
    background: transparent;
}

/* Filled dot when selected */
.contact-form input[type="radio"]:checked + label::before {
    background: var(--blue);
}


.contact-info{
    flex: 1;
    min-width: 280px;
}
.contact-info h3{
    font-size: 40px;
    margin-bottom: 20px;
    position: relative;
    font-family: "Open Sans";
}
.contact-info p{
    color: var(--blue);
    margin-bottom: 20px;
    font-family: "Open Sans";
    font-size: 20px;
}
.contact-info span{
    display: block;
    margin-bottom: 5px;
    font-size: 25px;
    font-weight: bold;
    font-family: "Open Sans";
}
.contact-info h4{
    font-family: "Open Sans";
    font-size: 20px;
    font-weight: normal;
}
.contact-info a{
    text-decoration: none;
    color: black;
}
.contact-info a:hover{
    color: var(--blue);
    font-weight: bold;
}
.social-icons{
    margin-top: 50px;
}
.social-icons-contact a{
    margin-top: 20px;
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
    color: var(--blue);
    font-size: 40px;
    background: white;
    padding: 10px;
    border-radius: 50%;
    transition: 0.3s ease;
}

.linkedin-nav-bar a{
    margin-top: 6px;
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
    color: var(--blue);
    font-size: 30px;
    background: var(--grey);
    padding: 10px;
    border-radius: 50%;
    transition: 0.3s ease;
}

.resume-modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll */
    background-color: rgba(0, 0, 0, 0.4);
}
.resume-modal-content{ 
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    width: 40%;
    border: 2px solid #006376;
    border-radius: 5px;
}
.resume-modal-content h2{
    padding: 1rem;
    font-family: "Montserrat";
    font-size: 40px;
}
.resume-modal-content h5{
    padding-left: 1rem;
    font-family: "Open Sans";
    font-size: 20px;
}
.resume-modal-content form{
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.resume-modal-content input{
    width: 80%;
    font-size: 18px;
    font-family: "Open Sans";
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid var(--blue);
    border-radius: 5px;
    display: block;
}
.resume-modal-content button{
    margin-top: 10px;
    padding: 10px;
    font-family: "Open Sans";
    font-size: 18px;
    font-weight: bold;
    color: var(--grey);
    background-color: var(--blue);
    border: none;
    border-radius: 10px;
    align-self: flex-end;
}
.resume-modal-content button:hover{
    cursor: pointer;
    color: white;
}
/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
  
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.mainSection .impressum{
    padding: 3rem;
}
.mainSection .impressum h1{
    font-family: "Montserrat";
    font-size: 50px;
    font-weight: bold;
    padding: 3rem;
}
.mainSection .impressum h2{
    font-family: "Montserrat";
    font-size: 40px;
    font-weight: bold;
    padding: 1rem 3rem;
}
.mainSection .impressum p{
    font-family: "Open Sans";
    font-size: 20px;
    padding-left: 3rem;
    line-height: 1.6;
}
/*==================*/
/* Tablet Layout (1024px) */
/*==================*/
@media (max-width: 1024px) {

    /* General containers */
    body {
        max-width: 100%;
        padding: 0 1rem;
    }

    .mainSection, .home-section, .aboutMeSection, .serviceSection,
    .stats, .projectSection, .workshop-container,
    .contactSection {
        padding: 1rem;
    }

    /* nav bar in the header*/
    nav a {
        font-size: 16px;
    }
    .logo-text {
        font-size: 16px;
    }
    .linkedin-nav-bar a {
        font-size: 18px;
    }
    .logo-img {
        height: 40px;
    }


    /* Home Section */
    .home-left h1 {
        font-size: 42px;
    }
    .home-left h2 {
        font-size: 24px;
    }
    .home-left h4 {
        font-size: 16px;
    }
    .home-right img {
        max-width: 300px;
        max-height: 300px;
    }

    /* About Me Section */
    .aboutMeSection h1 {
        font-size: 42px;
        padding: 2rem 0;
    }
    .aboutMeSection h3 {
        font-size: 32px;
        padding-bottom: 1rem;
    }
    .aboutMe-container .description p,
    .aboutMe-container .description ul,
    .aboutMe-container .description li {
        font-size: 16px;
    }
    .aboutMe-container-right {
        max-width: 25%;
        padding: 1rem;
    }
    .certificates{
        flex-wrap: wrap;
    }
    .aboutMe-container .certificates img {
        width: 180px;
        height: 135px;
    }

    /* Service Section */
    .serviceSection h1 {
        font-size: 42px;
        padding: 2rem 0;
    }
    .service-container {
        gap: 20px;
    }
    .service-container .card {
        max-width: 580px;
        padding: 1.5rem;
    }
    .service-container .card h2 {
        font-size: 26px;
    }
    .service-container .card h4 {
        font-size: 20px;
    }
    .service-container .card p {
        font-size: 16px;
    }
    .serviceSection .CTA {
        font-size: 26px;
        gap: 30px;
    }

    /* Stats Section */
    .stats h1 {
        font-size: 42px;
    }
    .stats-intro .stats-left p,
    .stats-intro .stats-right p {
        font-size: 18px;
    }
    .stats .statsBG{
        max-width: 90%;    
    }
    .stats-container .stat:hover{
        max-width: 40%;
    }
    .stats-container .stat h2 {
        font-size: 42px;
    }
    .stats-container .stat h4 {
        font-size: 16px;
    }

    /* Project Section */
    .projects-text span,
    .projects-text h1 {
        font-size: 42px;
    }
    .projects-text p {
        font-size: 18px;
    }
    .projectGallery h4 {
        font-size: 32px;
    }
    .projectGallery h5 {
        font-size: 24px;
    }
    .projectGallery td {
        font-size: 18px;
    }

    /* Workshop Section */
    .workshop-container-left h1 {
        font-size: 36px;
    }
    .workshop-container-left h3 {
        font-size: 22px;
    }
    .workshop-container-left p,
    .workshop-container-left li {
        font-size: 16px;
    }
    .image-wrapper p {
        font-size: 15px;
    }
    .workshop-container-right .contactBtn {
        font-size: 18px;
    }

    /* Testimonial Section */
    .testimonialSection h1 {
        font-size: 36px;
    }
    .mySlides2 .description {
        font-size: 16px;
    }
    .mySlides2 .name {
        font-size: 20px;
    }
    .mySlides2 .position {
        font-size: 14px;
    }
    /* Contact Section */
    .contactSection {
        padding: 2rem;
    }
    .contact-form h2 {
        font-size: 36px;
    }
    .contact-form p {
        font-size: 16px;
    }
}

/*==================*/
/* Mobile Layout (768px) */
/*==================*/
@media (max-width: 768px) {

    /* General containers */
    body {
        padding: 0 0.5rem;
    }

    .home-section, .aboutMeSection, .serviceSection,
    .stats, .projectSection, .workshop-container, .testimonialSection,
    .contactSection {
        padding: 0.5rem;
    }

    /* nav bar in the header*/
    nav {
        display: none; /* hidden until toggled */
        flex-direction: column;
        gap: 15px;
        background: white;
        position: absolute;
        top: 70px;   /* adjust depending on your header */
        right: 20px;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    nav.active {
        display: flex; /* shows when JS toggles */
    }

    .menu-toggle {
        display: block; /* button only visible on small screens */
    }
    #navLinks {
        display: none;
        flex-direction: column; /* stack links vertically */
        position: absolute;
        top: 70px; /* just below header */
        right: 20px;
        background: white;
        border: 1px solid var(--blue);
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    /* Show nav when .active is toggled */
    #navLinks.active {
        display: flex;
    }
    
    nav a {
        font-size: 16px;
    }
    .logo-text {
        font-size: 10px;
    }
    .linkedin-nav-bar a {
        font-size: 12px;
    }


    .logo-img {
        height: 24px;
    }
    /* Home Section */
    .home-left h1 {
        font-size: 32px;
    }
    .home-left h2 {
        font-size: 18px;
    }
    .home-left h4 {
        font-size: 14px;
    }
    .home-right img {
        max-width: 300px;
        max-height: 300px;
    }
    /*Home/Hero*/
    .home-right img{
        display: none;
    } 
    /* About Me Section */
    .aboutMeSection h1 {
        font-size: 32px;
        padding: 1rem 0;
    }
    .aboutMeSection h3 {
        font-size: 26px;
        padding-bottom: 1rem;
    }
    .aboutMe-container {
        flex-direction: column;
        align-items: center;
    }
    .aboutMe-container .description {
        max-width: 100%;
        text-align: center;
    }
    .aboutMe-container .description p,
    .aboutMe-container .description ul,
    .aboutMe-container .description li {
        font-size: 14px;
    }
    .aboutMe-container-right {
        max-width: 100%;
        margin-top: 2rem;
    }
    .aboutMe-container .certificates {
        flex-direction: column;
        gap: 15px;
    }
    .aboutMe-container .certificates img {
        width: 150px;
        height: 110px;
    }

    /* Service Section */
    .serviceSection h1 {
        font-size: 32px;
        padding: 1.5rem 0;
    }
    .service-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .service-container .card {
        max-width: 240px;
        padding: 1rem;
    }
    .service-container .card h2 {
        font-size: 22px;
    }
    .service-container .card h4 {
        font-size: 18px;
    }
    .service-container .card p {
        font-size: 14px;
    }
    .serviceSection .CTA {
        font-size: 22px;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    /* Stats Section */
    .stats h1 {
        font-size: 32px;
    }
    .stats-intro{
        flex-wrap: wrap-reverse;
    }
    .stats-intro .stats-left p,
    .stats-intro .stats-right p {
        font-size: 16px;
    }
    .stats-container {
        flex-direction: column;
        padding: 0rem;
        gap: 20px;
        max-width: 90%;
    }
    .stats-container .stat:hover{
        max-width: 90%;
    }
    .stats-container .stat:hover i{
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 5px;
        right: 5px;
    }
    .stats-container .stat h2 {
        font-size: 36px;
    }
    .stats-container .stat h4 {
        font-size: 14px;
    }

    /* Project Section */
    .projects-text span,
    .projects-text h1 {
        font-size: 32px;
    }
    .projects-text p {
        font-size: 16px;
    }
    .projectGallery h4 {
        font-size: 28px;
    }
    .projectGallery h5 {
        font-size: 22px;
    }
    .projectGallery td {
        font-size: 12px;
        padding-left: 5px;
    }
    .projectGallery .c1{
        padding-right: 5px;
    }

    /* Workshop Section */
    .workshop-container {
        flex-direction: column;
        align-items: center;
        padding: 0rem;
        max-width: 98%;
    }
    .workshop-container-left{
        max-width: 95%;
    }
    .workshop-container-left h1 {
        font-size: 28px;
    }
    .workshop-container-left h3 {
        font-size: 18px;
    }
    .workshop-container-left p,
    .workshop-container-left li {
        font-size: 14px;
    }
    .image-wrapper{
        display: none;
    }
    .image-wrapper p {
        font-size: 14px;
        width: 90%;
    }
    .workshop-container-right .contactBtn {
        font-size: 16px;
        padding: 10px;
    }

    /* Testimonial Section */
    .testimonialSection h1 {
        font-size: 28px;
    }
    .mySlides2 .description {
        font-size: 14px;
    }
    .mySlides2 .name {
        font-size: 18px;
    }
    .mySlides2 .position {
        font-size: 14px;
    }

    /* Contact Section */
    .contact-form h2 {
        font-size: 28px;
    }
    .contact-form p {
        font-size: 14px;
    }
    .contact-container {
        flex-direction: column;
        gap: 20px;
    }



    .resume-modal-content{ 
        width: 65%;
    }
}
