@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@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&family=Sail&display=swap');

/* Global Reset */
*{margin: 0px;
  padding:0px;
  box-sizing: border-box;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Nunito", sans-serif;
}
html{
    font-size: 62.5%; /* 1rem = 10px */
}

body{
    width: 100vw;
    background:linear-gradient(90deg, #AFD3E2, #19A7CE);
    font-size: 1.6rem; /* 16px */
}



section{
    min-height: 100vh;
    width: 100vw;
    padding: 10rem 9% 2rem;
    display: flex;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 70px;
    background-color: #F6F1F1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
}
.logo{
    font-size: 3.5rem;
    color: #146C94;
    font-family: "sail";
    font-weight: 700;
}
.navbar{
    position: fixed;
    top: 0px;
    background-color: #F6F1F1;
    color: black;
    min-height: 70px;
    width: 100vw;
    font-size: 1.5rem;
    display: flex;
}
.navbar a{
    position: relative;
    top: 20px;
    font-size: 20px;
    font-weight: 500;
    color: black;
    margin-left: 4rem;
    text-decoration: none;
    transition: color 0.3s ease;
}
.navbar a:hover{
    color:#146C94;
}
.navbar .active::after{
    background: #146C94;
    height:5px ;
    border-radius: 3px;
    content: '';
    display: block;
    width:0;
    transition: width .3s;
}
.navbar .active:hover::after{
    color: #146C94;
    width: 100%;
}
 #menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
  }
.headings{
    position: relative;
    top: 10px;
    left: 700px;
    display: flex;
}

.navbar button:hover{
    background-color:#146C94;
    box-shadow: 0 0 1rem #146C94;
    color: #F6F1F1;
    border-color: #146C94;
}   
.chat{
    position: relative;
    left: 700px;
    background-color: #146C94;
  color: white;
  border-radius: 50px;
  border: none;
  padding: 10px 20px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(20, 108, 148, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.chat:hover {
    background-color: #0e5a7f;
    box-shadow: 0 0 15px rgba(20, 108, 148, 0.5);
  }
.home{
    display: flex;
    flex-direction: row;
    width: 100%;
}
.home-content{
    position:relative;
    top: 80px;
    width: 480px;
}
.home-content h1{
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}
.home-content h3{
    font-size: 3.2rem;
    font-weight: 700;
}
.home-content p{
    font-size:20px;
}
#image{
    position: relative;
    top: 80px;
    left: 250px;
    height: 500px;
    width: 500px;
    border-radius: 50%;
    border-style: solid;
    border-width:3px ;
    border-color:#146C94;
    box-shadow: 0 0 3rem #fdfefe;
    background-image: url("images/myphoto.jpg");
    background-size: contain;
    animation: floatimage 4s ease-in-out infinite;
}
@keyframes floatimage{
    0%{
        transform:translateY(0);
    }
    50%{
        transform: translateY(-2.4rem);
    }
    100%{
        transform: translateY(0);
    }
}
.social-media a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width:4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid #146C94;
    border-radius: 50%;
    font-size: 2rem;
    color: #146C94;
    margin: 3rem 0.5rem 3rem 0;
    transition: .5s ease;
    text-decoration: none;
}
.social-media a:hover{
    background-color: #146C94;
    color:#F6F1F1;
    box-shadow: 0 0 3rem #146C94;
}

.btn2{
    position: relative;
    top:15px;
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color:#146C94;
    border-radius:4rem;
    font-size: 1.6rem;
    box-shadow: 0 0 1rem #146C94;
    color:#F6F1F1;
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
    text-decoration: none;
}
/* Hover Effect */
.btn2:hover {
    transform: scale(1.1);
    box-shadow: 0 0 5px #146C94,
                0 0 15px #146C94,
                0 0 30px #146C94,
                0 0 45px #146C94;
    animation: pulse 1s infinite alternate;
}

/* Keyframe Animation for Glow */
@keyframes pulse {
    0% {
        box-shadow: 0 0 5px #146C94, 0 0 15px #146C94;
    }
    100% {
        box-shadow: 0 0 10px #146C94, 0 0 25px #146C94, 0 0 50px #146C94;
    }
}
/* ABOUT SECTION */
.about{
    height: 100vh;
    position:relative;
    right: 0px;
    width: 100vw;
    display:flex;
    margin-right:800px ;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background:linear-gradient(90deg,#1679AB,#074173);
}
/* PROFILE IMAGE */
.about-img img{
    position: relative;
    bottom: 50px;
    height: 450px;
    width: 450px;
    border-radius: 20%;
    border: 5px solid #F6F1F1;
    box-shadow: 0 0 20px rgba(246, 241, 241, 0.8);
    background-image: url("black_saree.jpeg");
    background-size: contain; 
    margin-right: 200px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
/* Image Hover Effect */
.about-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(246, 241, 241, 1);
}
/* CONTENT STYLING */
.about-content{
    max-width: 600px;
    text-align: left;  
}
/* HEADING */
.heading1{
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 10px;
}
.heading1 span{
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.5);
    color:#F6F1F1;
}
/* SUBHEADING */
.about-content h3 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}
/* PARAGRAPH */
.about-content p{
    font-size: 20px;
    line-height: 1.6;
    color: #F6F1F1;
    margin-bottom: 20px;
}
/* BUTTON */
.about .btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #146C94;
    background-color: #F6F1F1;
    border-radius: 30px;
    letter-spacing: .1rem;
    box-shadow: 0 0 10px rgba(246, 241, 241, 0.7);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

/* Button Hover */
.btn:hover {
    background-color: #fff;
    color: #146C94;
    box-shadow: 0 0 20px rgba(246, 241, 241, 1);
    transform: scale(1.05);
}
/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .about {
        flex-direction: column;
        text-align: center;
        height: auto;
    }

    .about-img img {
        height: 300px;
        width: 300px;
    }

    .about-content {
        text-align: center;
    }

    .about .btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

/* SERVICES SECTION */
.services{
    position: relative;
    right: 0px;
    height: 100vh;
    width: 100vw;
    display: block;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.heading2{
    position: relative;
    top: 20px;
    font-size: 40px;
    font-weight: 700;
}
.services-container{
    display: flex;
    margin-top: 50px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.services-box{
    height: 400px;
    min-height: 200px;
    flex:1 1 30rem;
    background-color:#F6F1F1;
    padding: 3rem 2rem 4rem;
    border-radius: 30px;
    border-style: solid;
    border-color:#F6F1F1 ;
    text-align: center;
    border:2rem solid #AFD3E2;
    transition: .5s ease;
}
.services-box .btn{
    background-color:#146C94;
    border-radius:4rem;
    font-size: 1.6rem;
    box-shadow: 0 0 1rem #146C94;
    color:#F6F1F1; 
    height: 50px;
    width: 120px; 
    text-decoration: none;
    padding: 1rem 2.8rem;
    letter-spacing: .1rem;
    font-weight: 600;
}
.services-container .services-box:hover{
    border-color: #146C94;
    transform: scale(1.02);
}
.services-box i{
    font-size: 7rem;
    color:#146C94 ;
}
.services-box h3{
    font-size: 2.6rem;
}
.services-box p{
    font-size: 14px;
    margin: 1rem 0 3rem;
}
.portfolio{
    display: block;
    background:linear-gradient(90deg,#1679AB,#074173);
    height: 100vh;
    width: 100vw;
}
.portfolio h2{
    text-align: center;
    font-size: 40px;
    font-weight: 700;
}
/*.portfolio-container{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    align-items: center;
    gap: 2.5rem;
    justify-content: center;
    grid-template-rows: auto;
}
.portfolio-box a {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.portfolio-box {
    position: relative;
    border-radius: 1rem;
    box-shadow: 0 0 1rem #F6F1F1;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
#img1{
       background-image: url("images/App.jpg");
       background-size: cover;
       background-position: center;
       height:250px;
       width:450px;
       transition:.5s ease;
       opacity: 0.7;
}
#img2{
    background-image: url("images/UIUX.png");
    background-size: cover;
    background-position: center;
    height:250px;
    width:450px;
    transition:.5s ease;
    opacity: 0.7;
}
#img3{
    background-image: url("images/Website.jpg");
    background-size: contain;
    height:250px;
    width:450px;
    transition:.5s ease;
    opacity: 0.7;
}
#img4{
    background-image: url("images/scene-with-business-person-working-futuristic-office-job.jpg");
    background-size: contain;
    height:250px;
    width:450px;
    transition:.5s ease;
    opacity: 0.7;
}
#img5{
    background-image: url("images/ai-nuclear-energy-background-future-innovation-disruptive-technology.jpg");
    background-size: contain;
    height:250px;
    width:450px;
    transition:.5s ease;
    opacity: 0.7;
}
#img6{
    background-image: url("images/programming-background-collage\ \(1\).jpg");
    background-size: contain;
    height:250px;
    width:450px;
    transition:.5s ease;
    opacity: 0.7;
}

.portfolio-box:hover img{
     transform: scale(1.1);
}
.portfolio-box .portfolio-layer{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9)) ;
    display: flex;
    color:#fff;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: transform .5s ease;
}
.portfolio-box:hover .portfolio-layer{
    transform: translateY(0);
}
.portfolio-layer h4{
    font-size: 3rem;
}
.portfolio-layer p{
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
}
.portfolio-layer a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background-color: black;
    border-radius: 50%;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}
.portfolio-layer a:hover {
    background-color: #074173;
}
.portfolio-layer a i{
    font-size: 2rem;
    color:#AFD3E2;
}*/
/* General Contact Section Styling */
.contact{
    display: block;
    height: 100vh;
    padding: 6rem 10%;
    position: relative;
}
/* Contact Container (Main Flexbox Wrapper) */
.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}
/* Heading */
.heading4{
    position: relative;
    top: 20px;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 3rem;
}
.heading3 span{
    color:#F6F1F1;
}
.contact-details {
    margin-bottom: 3rem;
}
.contact-details p {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}
#contact-image{
    background-image: url("images/Contact\ us-rafiki.png");
    background-size:contain;
    height:400px;
    width:400px;
}
.contact-details ul {
    list-style-type: none;
    padding: 0;
}
.contact-details li{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    display: block;
    color: black;
    font-size: 18px;
    font-weight: 600;
}
.contact-details li i {
    margin-right: 1rem;
    color: #146C94;
}
.contact form{
    position: relative;
    top:15px;
    padding-right: 10px;
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}
.contact form .input-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-left: 5px;
}
.contact form .input-box input{
    width:340px;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: black;
    background-color: #F6F1F1;
    border-radius: .8rem;
    margin: .7rem 0;
    margin-top: 5px;
}
.contact form textarea{
    width:700px;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: black;
    background-color: #F6F1F1;
    border-radius: .8rem;
    margin: .7rem 0;
    resize: none;
}
.contact form .input-box input:focus,
.contact form textarea:focus {
    border: 1px solid #146C94;
    outline: none;
}
/* Submit Button */
.contact form .btn{
    height: 50px;
    width: 200px;
    border-radius: 30px;
    margin-top:10px;
    cursor: pointer;
    background-color: #146C94;
    color: #F6F1F1;
    font-size: 1.6rem;
    box-shadow: 0 0 1rem #146C94;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
    border: none;
}
/* Button Hover Effect */
.contact form .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #146C94, 0 0 30px #146C94;
}
span{
    color: #146C94;
}
/* Footer Styling */
.footer {
    position: relative;
    background-color: #222; /* Dark background */
    color: #fff; /* White text */
    text-align: center;
    padding: 15px 0;
    font-size: 16px;
    font-family: Arial, sans-serif;
    position: relative;
    bottom: 0;
    width: 100vw;
}
/* Footer Container */
.footer-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}
/* Footer Text */
.footer-text {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer Sections */
.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer-section h2 {
    font-size: 22px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
    color: #19A7CE; /* Highlight color */
}

/* Footer Links */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
    display: inline-block;
}
.footer-section ul li a:hover {
    color: #19A7CE;
}


/* Social Links */
.social-links a {
    display: flex;
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: #19A7CE;
}
.social-links li i {
    margin-right: 8px;
    font-size: 18px;
}
/* Copyright Text */
.footer-text p {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.8;
}

.projects-section{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    align-items: center;
    gap: 2.5rem;
    justify-content: center;
    grid-template-rows: auto;
     position: relative;
        bottom: 150px;
}

/*.projects-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}*/

.project-card {
  background-color: #F6F1F1;
  border-radius: 20px;
  overflow: hidden;
  width: 300px;
  margin: 20px;
  cursor: pointer;
  box-shadow: 0 0 1rem #F6F1F1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /*box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;*/
}
.project-card:hover {
  transform: scale(1.05);
}
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-content {
  padding: 20px;
}
.card-content h3 {
  font-size: 2rem;
  color: #146C94;
  margin-bottom: 10px;
}
.card-content p {
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.view-btn {
  padding: 10px 20px;
  background-color: #146C94;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  transition: background 0.3s ease;
}
.view-btn:hover {
  background-color: #0e5a7f;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #F6F1F1;
  margin: 10% auto;
  padding: 30px;
  border-radius: 20px;
  width: 80%;
  max-width: 600px;
  text-align: center;
  position: relative;
}
.close-btn {
  color: #146C94;
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 30px;
  cursor: pointer;
}
.visit-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #146C94;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
}
.visit-btn:hover {
  background-color: #0e5a7f;
}

/* Responsive */
@media (max-width: 600px) {
  .modal-content {
    width: 90%;
  }
  .section-title {
    font-size: 2.2rem;
  }
}

#app{
    background-color: black;
}

@media(max-width:1200px){
    html{
        font-size: 55%;
    }
}
@media(max-width:991px){
    .header{
        padding: 2rem 3%;
    }
    section{
        padding:10rem 3%;
    }
    .services{
        padding: 7rem;
    }
    .portfolio{
        padding-bottom:7rem;
    }
    .contact{
        min-height: auto;
    }
    .footer{
        padding:2rem 3%;
    }
}
@media(max-width:768px){
     .headings,
    .chat {
      display: none; /* hide by default */
    }

    #menu-icon {
     position :relative;
     left: 350px;
     display: block;
    }
    .logo{
        font-size: 1.5rem;
    }
    .navbar{
        position: absolute;
        height: 50px;
        top: 0px;
        left: 0px;
        z-index: 100;
    }
     /* When menu active, show headings and chat vertically */
    .navbar.active .headings,
    .navbar.active .chat {
      display: flex;
      flex-direction: column;
      width: 100%;
      margin-top: 0.5rem;
    }
     .headings a {
      margin: 0.5rem 0;
      font-size: 1.2rem;
    }

    .chat {
      margin: 0.5rem 0;
      width: 100%;
      text-align: center;
    }
    button{
        position: relative;
        top: 15px;
        left: 80px;
        margin-left:10px ;
        height: 30px;
        width: 50px;
        font-size: 10px;
        border-style: solid;
        background-color:#F6F1F1;
        border-color: black;;
        color:black;
        border-radius:30px ;
    }
    #image{
        position: relative;
        top: 20px;
        left: 150px;
        height: 300px;
        width:300px;
    }
    .home{
        width: 100vw;
        flex-direction: column-reverse;
    }
    #image{
    position: relative;
    left: 0px;
    justify-content: center;
    align-items: center;
    height: 300px;
    width: 300px;
    border-radius: 50%;
    border-style: solid;
    border-width:3px ;
    border-color:#146C94;
    box-shadow: 0 0 3rem #fdfefe;
    background-size: contain;
    animation: floatimage 4s ease-in-out infinite;
}
    .home-content h3{
        font-size: 2.6rem;
    }
    .home-content h1{
        font-size: 4rem;
    }
    .home-content p{
        font-size: 20px;
    }
    .services h2{
        margin-bottom: 3rem;
    }
    .portfolio h2{
        margin-bottom: 3rem;
    }
    .portfolio-container{
        grid-template-columns: repeat(2,1fr);
    }
    .home-content{
        display: flexbox;
        flex-direction: column-reverse;
        position: relative;
        top: 40px;
    }
    .about{
        width: 100vw;
        flex-direction: column;
    }
    .about-img img{
        position: relative;
        left: 40px;
        height: 300px;
        width: 300px;
        border-radius: 150px;
    }
    .about-content{
        position: relative;
        top: auto;
        height: 300px;
        width: 500px;
    }
    .about-content h2{
        font-size: 5rem;
    }
    .about-content h3{
        font-size: 3rem;
    }
    .about-content p{
        font-size: 2rem;
    }
    .about-content .btn{
        font-size: 10px;
    }
    .heading2{
        position: relative;
        left: 50px;
        top: 10px;
        font-size: 30px;

    }
    .services{
        display:inline-block;
        width: 100vw;
        height: 100vh;

    }
    .services-box{
        height: 300px;
        width: 450px;
        flex:1 1 20rem;
        padding: 2rem 0.5rem 3rem;
    }
    .services-box i{
        font-size: 3rem;
    }
    .services-container{
        position: relative;
        top: 10px;
        left: 5px;
        margin: 5px;
    }
    .services-box h3{
        font-size: 1.5rem;
    }
    .services-box p{
        font-size: 1rem;
        margin: 1rem 0 3rem;
    }
    .services-box .btn{
        border-radius:4rem;
        font-size: 1rem;
        height: 25px;
        width: 50px; 
        text-decoration: none;
        padding: 1rem 2.8rem;
        letter-spacing: .1rem;
        font-weight: 600;
    }
    .portfolio-container .portfolio-box{
        height: 160px;
        width: 250px;
    }
    #img1{
        height: 160px;
        width: 250px;
    }
    #img2{
        height: 160px;
        width: 250px;
    }
    #img3{
        height: 160px;
        width: 250px;
    }
    #img4{
        height: 160px;
        width: 250px;
    }
    #img5{
        height: 160px;
        width: 250px;
    }
    #img6{
        height: 160px;
        width: 250px;
    }
    .heading3{
        font-size: 40px;
        font-weight: 700;
        position: relative;
        bottom: 60px;
    }
    .portfolio-container{
        position: relative;
        bottom: 50px;
        left: 50px;
    }
    .portfolio-layer h4{
        font-size: 1.5rem;
    }
    .portfolio-layer p{
        font-size: 1rem;
        margin: .1.5rem 0 .8rem;
    }
    .heading4{
        font-size: 40px;
        font-weight: 700;
        position: relative;
        bottom: 60px;
    }
    .contact{
        width: 100vw;
        height: 100vh;
    }
    .contact-container{
        flex-direction: column;
    } 
    #contact-image{
        height: 200px;
        width: 200px;
    }
    .contact form textarea{
        width:200px;
        font-size: 1.2rem;
    }  
    .contact form .input-box input{
        width:200px;
        margin-left: 20px;
        margin-right: 100px;
        padding: 1.3rem;
        font-size: 1.2rem;
    }
    .contact form{
        padding-right: 3px;
        margin-left:100px;
    }
    .contact form .btn{
        height: 30px;
        width: 120px;
        font-size: 10px;
    }
}
@media (max-width: 480px) {
    .header{
        height: 30px;
    }
    .home{
        display: flex;
        flex-direction: column-reverse;
        width: 100vw;
        align-items: center;
        justify-content: center;
    }
    .home-content{
        width: 90%;
    }
    .home-content h1 {
        font-size: 4rem;
    }

    .home-content h3 {
        font-size: 2.5rem;
    }
    .home-content p{
       font-size: 15px; 
    }
    .about{
        width: 100vw;
    }
    .about-content{
        width: 80%;
    }
    .about-content p {
        font-size: 15px;
    }
    .heading2{
        font-size: 20px;
        font-weight: 600;
        position: relative;
        top : 0px;
        margin-bottom: 0px;
    }
    .services{
        width: 100vw;
        height: 100vh;
    }
     .services-container {
        position: relative;
        top: 0px;
        display: flex;
        flex-direction: column;
    }
    .services-box{
        height: 150px;
        width: 300px;
        flex:1 1 20rem;
        padding: 2rem 1rem 3rem;
    }
    .services-box i{
        font-size: 3rem;
    }
    .services-box h3{
        font-size: 1.5rem;
    }
    .services-box p{
        font-size: 1rem;
        margin: 1rem 0 1rem;
    }
    .services-box .btn{
        border-radius:4rem;
        font-size: 1rem;
        height: 20px;
        width: 40px; 
        text-decoration: none;
        padding: 0.8rem 2.8rem;
        margin-top: 20px;
        letter-spacing: .1rem;
        font-weight: 600;
    }
    
    .heading3{
        padding-bottom: 0px;
        margin-bottom: 0px;
    }

    .navbar a {
        font-size: 18px;
        margin: 5px 0;
    }

  .projects-section {
    padding-top: 0px;
    grid-template-columns: 1fr; /* Stack cards vertically */
    gap: 1rem;
    row-gap: 0.5rem;
    bottom: 50px; /* Less bottom offset on small screens */
  }

  .project-card {
    display: flex;
    flex-direction: row;
    max-width: 300px; /* Make cards responsive */
    max-height: 250px;
    margin: 0px auto; /* Center cards */
  }

  .project-card img {
  max-width: 150px;
  height: 100px;
  align-items: center;
  object-fit: cover;
}
.card-content{
    padding-bottom: 10px;
}

  .card-content h3 {
    font-size: 1.5rem; /* Reduce heading size */
    margin-bottom: 2px;
  }

  .card-content p {
    font-size: 1.2rem; /* Reduce paragraph size */
    margin-bottom: 0px;
    padding-bottom: 0px;
  }

  .view-btn {
    width: 100px;
    margin: 0px;
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  .modal-content {
    width: 90%; /* Almost full width */
    padding: 20px;
  }

  .close-btn {
    font-size: 25px;
    top: 10px;
    right: 15px;
  }

  .visit-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  .heading4{
    align-self: center;
  }
  .contact-container{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact form .input-box{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    width: 200px;
  }
   .contact form .input-box input{
    margin-left:  0px;
    margin-right: 0px;
   }
  .contact form textarea{
    width:200px;
    padding: 1.5rem;
    font-size: 1.6rem;
    border-radius: .8rem;
    margin: .7rem 0;
    resize: none;
}
.contact{
    flex-direction: column;
}
#contact-image{
    align-self: center;
}
.contact-details{
    margin:0px;
    padding: 0px;
}
  .contact form{
    margin-top:0px;
    align-items: center;
    justify-content: center;
    align-items: center;
    padding-right: 3px;
    margin: 0px;
    }
.contact form .btn{
    align-self: center;
    display: flex;
    height: 40px;
    width: 100px;
    border-radius: 30px;
    font-size: 1rem;
    margin: 10px auto;
}
.project-card img{
    display:inline;
}    
}





