@charset "utf-8";
/* CSS Document */

body{
    margin:0px;
    padding: 0px;
    background-color: #161616;
}
html{
    scroll-behavior: smooth;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
#main{
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    background-color: #edf1fd;
    position: relative;
    background-image: url("../images/bg.png  ");
    background-repeat: no-repeat;
    background-size: 1130px;
    background-position: right bottom;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 50px;
    background-color: #f4f7ff;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.menu {
    display: flex;
}
.menu li a{
    padding: 10px 15px;
    color: #6c707c;
    font-size: 12px; 
}
.lang{
    color: #292929;
    padding-left: 5px;
}
.logo{
    font-size: 25px;
    font-weight: bold;
    color: #292929;
    font-family: 'Poppins', sans-serif;
}
.menu li a:hover{
    background-color: #292929;
    color: #ffffff !important;
    font-weight: 700;
    transition: all ease 0.4s;
}
.name{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    width: 500px;
    position: absolute;
    left: 20%;
    top: 50%;
    transform: translate(-20%, -50%);
}
.name p:nth-child(1),
.name .details{
    color: #6c707c;
    font-size: 16px;
}
.name h1{
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    margin: 0px;
    letter-spacing: 2px;
    color: #292929; 
}
.cv-btn{
    width: 200px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #292929;
    color: #ffffff;
}
.cv-btn:hover{
    background-color: #131313;
    transition: all ease 0.5;
}
.social{
    position: absolute;
    left: 50px;
    bottom: 50px;
    display: flex;   
}
.social a{
    margin: 6px 12px;
}
.social i{
    color: rgba(18, 17, 17, 0.4);
    font-size: 14px ;
}
.social a:hover i{
    color: #17d1ac;
    transition: all ease 0.5s;
}
.arrow{
    align-self: end;
    width: 50%;
    height: 15%;
    margin-bottom: 4em;
    position: absolute;
    bottom: 0px;
    left: -3%;
    border-right: 1px solid rgba(41, 41, 41, 0.3);
}
.arrow::after{
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 11px 11px 0px 11px;
    border-color: #292929 transparent transparent transparent;
    right: -0.7em;
    bottom: -2px;
}
#about{
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 5% 0px 5%;    
}
.about-text{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    width: 50%;
}
.about-text h1{
    font-size: 5rem;
    color: #17d1ac;
}
.about-text h2{
    font-size: 3rem;
    color: #ffffff;
    font-weight: 400;
}
.about-text h1,h2{
    margin: 0;
    padding: 0;
}
.about-text p{
    font-size: 1.2rem;
    color: rgba(251, 251, 251, 0.90);
}
.about-text button{
    width: 180px;
    height: 40px;
    border-radius: 20px;
    border: none;
    outline:none;
    background-color: #17d1ac;
}
.about-text button:hover{
    background-color: #ffffff;
    transition: all ease 0.3s;
}
#services{
    width: 100%;
    height: 100vh;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
}
.s-heading h1{
    color: #ffffff;
    font-size: 3rem;
    margin: 0px;
    padding: 0px;
}
.s-heading p{
    color: rgba(249, 249, 249, 0.30);
    font-size: 1rem;
    margin: 0px;
    padding: 0px;
}
.s-heading{
    text-align: center;
    margin: 20px 0px;
}
.s-box{
    background-color: #2b2b2b;
    width: 350px;
    height: 500px;
    margin: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
    position: relative;

}
.s-b-container{
    display: flex;
    justify-content: center;
    align-items: center;
}
.s-b-img{
    width: 100%;
    height: 70%;
}
.s-b-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.s-b-text{
    width: 100%;
    height: 30%;
    background-color: #1e1e1e;
    display: flex;
    justify-content: center;
    align-items: center;
}
.s-b-text a{
    margin: 0px;
    color: #ffffff;
    font-size: 1.1rem;
    font-family: calibri;
    display: block;
    display: -webkit-box;
    max-width: 80%;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}
.s-type{
    font-family: calibri;
    color: #ffffff;
    background-color: #151515;
    padding: 10px 15px;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    border-radius: 0px 0px 10px 10px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
}
.s-box:hover{
    transform: translateY(-10px);
    transition: all ease 0.3s;
}
.s-b-text a:hover{
    color: rgba(255, 255, 255, 0.50);
}
#portfolio{
    width: 100%;
    box-sizing: border-box;
    font-family: Calibri, 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 2% 20px 2%;
    margin-bottom: 20px;
}
.p-heading{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.7rem;
    text-align: center;
    color: #ffffff;
    font-weight: 400;
    padding: 10px 20px;
    background-color: #292929;
    letter-spacing: 2px;
    border-radius: 3px;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.1);
}
.p-box{
    background-color: #1f1f1f;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 2px 2px 13px rgba(0, 0, 0, 0.3);
    position: relative;
}
.p-b-container{
    width: 90%;
    height: 70vh;
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 10px;
}
.text-overlay{
    font-family: calibri;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(23, 209, 172, 0.89);
    display: none;
}
.text-overlay h1, p{
    color: #ffffff;
}
.text-overlay h1{
    font-size: 2.2rem;
    margin: 0px;
    padding: 0px;
    letter-spacing: 2px;
}
.text-overlay p{
    font-size: 1.2rem;
    margin: 0px;
}
.p-box:hover .text-overlay{
    display: flex;
}
.p-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#contact-form{
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
#contact-form form{
    display: flex;
    width: 70%;
    height: 60vh;
    background-color: #1a1a1a;
    box-shadow: 2px 12px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.01);
}
.contact-left{
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

}
.contact-right{
    width: 60%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.c-l-heading{
    font-family: calibri;
    color: #ffffff;
    font-size: 3rem;
    letter-spacing: 2px;
    font-weight: 400;
}
.f-email, .f-name{
    display: flex;
    flex-direction: column;
    font-family: calibri;
}
.f-email font,
.f-name font{
    color: #bfbfbf;
    font-size: 22px;
}
 .f-email input,
 .f-name input{
     height: 30px;
     width: 250px;
     border: none;
     outline: none;
     background-color: transparent;
     border-bottom: 1px solid #929292;
     color: #ffffff;
     margin: 10px 0px;
 }
.f-email input::placeholder,
.f-name  input::placeholder{
    opacity: 0.5;
    letter-spacing: 1px;
}
.f-email input:focus,
.f-name input:focus{
    border-bottom: 1px solid #17d1ac;
    transition: all ease 0.5s;
}
.message font{
    font-size: 18px;
    color: #4e4e4e;
    font-family: calibri;
}
.message{
    margin: 20px 20px 0px 20px;
    display: flex;
    flex-direction: column;
}
.contact-right textarea{
    width: 100% !important;
    height: 280px !important;
    border: none;
    outline: none;
    background-color: transparent;
    box-sizing: border-box;
    color: #ebebeb;
    font-size: 16px;
}
.contact-right textarea::placeholder{
    color: #ebebeb;
    font-size: 18px;
    letter-spacing: 2px;
    font-family: calibri;
}
.contact-right button{
    width: 100%;
    height: 50px;
    background-color: #1ed98b;
    font-weight: bold;
    outline: none;
    border: none;
    margin: 0px;
    color: #1b1b1b;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-section{
    background-color:  #edf1fd;
    width: 50%;
    height: 300px;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    border-bottom: 1px solid rgb(234, 234, 234);
    padding: 0px 25%;
    font-weight: 700;
    font-size: larger;
    font-family: Calibri, 'Trebuchet MS', sans-serif;
}
.contact-heading{
    display: flex;
    flex-direction: column;
    text-align: left;
    padding-left: 100px;
}
.contact-button{
    padding-top: 15px;
    color: rgb(255, 255, 255);
    background: rgb(255, 0, 120);
    border: none;
    width: 200px;
    height: 45px;
    margin: 0px;
    font-weight: 350;
    font-size: 14px;
    border-radius: 5px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
}
.footer{
    box-sizing: border-box;
    width: 100%;
    height: 200px;
    background-color: #edf1fd;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
}
.footer-div{
    width: 1200px;
    max-width: 100%;
    padding: 0px 5%;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
}

/* ---------- Responsive Navbar ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }
  
  .hamburger span {
    width: 25px;
    height: 3px;
    background: #292929;
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  /* Mobile view */
  @media (max-width: 768px) {
    nav {
      padding: 10px 20px;
    }
  
    .menu {
      position: absolute;
      top: 60px;
      right: 0;
      width: 100%;
      background-color: #f4f7ff;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      display: none;
    }
  
    .menu.active {
      display: flex;
    }
  
    .menu li {
      width: 100%;
      text-align: center;
      margin: 10px 0;
    }
  
    .hamburger {
      display: flex;
    }
  }
  
  /* Animate hamburger into an X */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
  
/* ---------- Remove background image on small screens ---------- */
@media (max-width: 768px) {
    #main {
      background-image: none !important; /* hides the image */
      background-color: #edf1fd; /* fallback color (keeps section visible) */
      width: 100%;
      top: 70%;
      height: 380px;
      padding-top: 30px;
      padding-bottom: 50px;
    }
  
    .name {
      position: relative;
      height: ;
      width: 90%;
      left: 5%;
      top: 59%;
      transform: translateY(-50%);
      text-align: left;
      color: #000; /* ensure text is readable on light background */
    }
  
    .name h1 {
      font-size: 1.8rem;
      line-height: 1.4;
    }
  
    .name p,
    .name .details {
      font-size: 0.95rem;
      line-height: 1.6;
    }
  
    .cv-btn {
      background-color: #17d1ac;
      color: #fff;
      margin-top: 20px;
      margin-bottom: 0px;
      padding-bottom: 0px;
    }
  
    .arrow {
      display: none; /* Hide arrow for mobile view */
    }

  }
/* ---------- Fix social icons visibility ---------- */
@media (max-width: 768px) {
    .social {
      position: relative;
      left: 0;
      bottom: 0;
      margin-top: 10px;
      display: none;
      justify-content: flex-start; /* align with text */
      z-index: 10; /* make sure it's above background */
    }
  
    .social a {
      margin: 6px 10px;
    }
  
    .social i {
      font-size: 18px;
      color: #000; /* dark icons on light background */
    }
  }

@media (max-width: 480px) {
    .social i {
        display: none; /* Hide arrow for mobile view */
      }
  }
  
/* ---------- Responsive About Section ---------- */
@media (max-width: 768px) {
    #about {
      flex-direction: column;         /* stack content vertically */
      justify-content: center;
      align-items: flex-start;
      padding: 40px 20px;             /* comfortable padding */
      height: auto;                   /* adjust height dynamically */
    }
  
    .about-text {
      width: 100%;
      text-align: left;
    }
  
    .about-text h1 {
      font-size: 2.5rem;
    }
  
    .about-text h2 {
      font-size: 1.5rem;
    }
  
    .about-text p {
      font-size: 1rem;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.95);
    }
  
    .about-text button {
      width: 160px;
      height: 40px;
      font-size: 0.9rem;
    }
  
    /* Hide the image on mobile */
    .about-model {
      display: none !important;
    }
  }
 
 /* ---------- Responsive Contact Section ---------- */
@media (max-width: 768px) {
    .contact-section {
      width: 100%;
      height: auto;
      flex-direction: column;         /* Stack content vertically */
      justify-content: center;
      align-items: center;
      padding: 40px 20px;
      text-align: center;
      background-color: #edf1fd;
      gap: 20px;                      /* space between heading & button */
    }
  
    .contact-heading {
      padding: 0;
      text-align: center;
    }
  
    .contact-heading h1 {
      font-size: 1.8rem;
      margin-bottom: 10px;
      color: #292929;
    }
  
    .contact-section a {
      width: 100%;
      display: flex;
      justify-content: center;
    }
  
    .contact-button {
      width: 70%;
      max-width: 250px;
      height: 45px;
      font-size: 15px;
      border-radius: 6px;
    }
  }
  
  /* ----------contact smaller screens (phones) ---------- */
  @media (max-width: 480px) {
    .contact-heading h1 {
      font-size: 1.5rem;
    }
  
    .contact-button {
      width: 80%;
      height: 42px;
      font-size: 14px;
    }
  }
  
/* ---------- Responsive Contact Form Section ---------- */
@media (max-width: 768px) {
    #contact-form {
      height: auto;
      padding: 40px 0;
    }
  
    #contact-form form {
      flex-direction: column;           /* Stack items vertically */
      align-items: center;              /* Center align */
      justify-content: center;
      width: 90%;                       /* Reduce width for smaller screens */
      height: auto;                     /* Auto height for stacking */
      padding: 20px;
    }
  
    .contact-left,
    .contact-right {
      width: 100%;                      /* Full width per section */
      border: none;                     /* Remove border between them */
    }
  
    .c-l-heading {
      font-size: 2rem;
      text-align: center;
      margin-bottom: 20px;
    }
  
    .f-name, 
    .f-email, 
    .message {
      width: 100%;
      max-width: 400px;
      margin: 0 auto 20px auto;         /* Center inputs */
    }
  
    .f-name input,
    .f-email input,
    .contact-right textarea {
      width: 100%;
      font-size: 1rem;
    }
  
    .contact-right textarea {
      height: 150px !important;
    }
  
    .contact-right button {
      width: 100%;
      max-width: 400px;
      height: 45px;
      margin-top: 10px;
      font-size: 1rem;
      background-color: #1ed98b;
      color: #1b1b1b;
    }
  
    .contact-right button:hover {
      background-color: #17c27c;
      transition: all 0.3s ease;
    }
  }
  
  /* ---------- For very small screens ---------- */
  @media (max-width: 480px) {
    .c-l-heading {
      font-size: 1.6rem;
    }
  
    .f-name input,
    .f-email input,
    .contact-right textarea {
      font-size: 0.9rem;
    }
  
    .contact-right button {
      font-size: 0.9rem;
      height: 42px;
    }
  }

/* ---------- Responsive Footer ---------- */
@media (max-width: 768px) {
    .footer {
      height: auto;
      padding: 20px 0;
    }
  
    .footer-div {
      flex-direction: column;        /* stack items vertically */
      text-align: center;
      gap: 15px;                     /* spacing between elements */
    }
  
    .footer-div h2 {
      font-size: 20px !important;
      justify-content: center;
      align-items: center;
      display: flex;
      flex-wrap: wrap;
    }
  
    .mob-social {
      display: flex;

      align-items: left;
      gap: 15px;
    }
  
    .mob-social a i {
      font-size: 18px;
      color: #000;                   /* dark icons for light footer */
      transition: color 0.3s ease;
    }
  
    .mob-social a:hover i {
      color: #17d1ac;
    }
  
    .footer-div small {
      font-size: 13px;
      color: #000;
    }
  }
  
  /* ---------- Even smaller phones ---------- */
  @media (max-width: 480px) {
    .footer-div h2 {
      font-size: 18px !important;
    }
  
    .mob-social a i {
      font-size: 16px;
    }
  
    .footer-div small {
      font-size: 12px;
    }
  }

  /* Swiper default adjustments */
.swiper {
    width: 100%;
    padding: 20px 0;
  }
  
  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .s-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  /* Hide arrows on very small screens if desired */
  @media (max-width: 480px) {
    .swiper-button-prev,
    .swiper-button-next {
      display: none;
    }
  }
  
  