

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

/* ---- COMMON LAYOUT ---- */

.container {
  display: flex;
}
.par{
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
/* ---- NAVBAR ---- */

.navbar {
  justify-content: space-between;
  height: 7vh;
  align-items: center;
  padding: 0 140px;
  font-size: larger;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  position: fixed;
  background-color: white;
  width: 95%;
  background-color: rgb(234, 233, 233);
  border-radius: 22px;
  top: 0; 
  transform: translateY(20px);
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms;
  will-change: transform;
   transform: translateY(20px); 
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms;
  will-change: transform;
}
.navbar.stuck {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.navbar.hidden {
  transform: translateY(-120%); 
}
.list {
  justify-content: center;
  display: flex;
  list-style-type: none;
  gap: 50px;
}

li a {
  text-decoration: none;
  color: black;
}

a {
  cursor: pointer;
}
.menu li {
  position: relative;
}

/* dropdown menu */
.dropdown{
  position: relative;
}
.dropdown-menu {
    position: absolute;
    left: -34px;
    background: #e7e7e7;
    list-style: none;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    transform: translateY(-10px);
    top: 93px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}



.dropdown:hover .dropdown-menu {
  display: block;
}


.menu a:hover {
  background: #444;
}

.dropdown-menu a:hover {
  background: #555;
  
}
.dropdown-menu li a {
  display: block;
  padding: 12px 16px;
  color: #333;
  background: transparent;
}

.dropdown-menu li a:hover {
  background: blue;
  color: white;
}



.dropdown:hover .dropdown-menu {
  top: 100%;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


.hamburger {
  display: none;              
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 24px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: #000;
  transition: 0.3s ease;
}


.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
  




/* ==== HAMBURGER & MOBILE MENU ==== */

.hamburger {
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  margin-left: 16px;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: black;
  border-radius: 2px;
}


.mobile-menu {
  display: none;
  position: fixed;
  top: 7vh;             
  left: 0;
  right: 0;
  background: white;
  list-style: none;
  padding: 16px 0 24px;
  margin: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 9;
  flex-direction: column;
  align-items: center;   
  gap: 16px;
  text-align: center;
}

.mobile-menu li a {
  text-decoration: none;
  color: black;
  font-size: 1rem;
  font-weight: 400;
}


.mobile-menu.open {
  display: flex;
}



/* ---- HERO SECTION ---- */

#hero {
  margin-top: 7vh;      
  min-height: 65vh;
}

#hero .container {
  justify-content: space-between;
  align-items: center;
  padding: 0 140px;
}

.details {
  width: 50%;
  padding-left: 0;
  font-size: -webkit-xxx-large;
  font-weight: 600;
  padding-top: 0;
  margin-left: 0;
}

.photo {
  width: 50%;
  display: flex;
  justify-content: center;
  position: relative;
  right: -150px;
}

.border {
  margin-top: 10%;
}

.del {
  width: 60%;
  border-radius: 50%;
}

.btn {
  background-color: blue;
  color: white;
  border-style: none;
  border-radius: 7%;
  height: 40px;
  width: 140px;
  font-weight: 700;
  font-size: medium;
  cursor: pointer;
}

.btn:active {
  background-color: #0362fc;
}

.logo {
  height: 25px;
  filter: invert(50%) sepia(0%) saturate(0%) brightness(80%) contrast(90%);
}

.hjk {
  margin-top: 5%;
}

.ftg {
  gap: 30px;
}

.ftg {
  display: flex;
  flex-direction: row;
  align-items: center;
  /* justify-content: center; */
  gap: 30px;
}

/* ---- SKILL SECTION ---- */

#skill {
  margin-top: 40px;  
}

.skll {
  justify-content: center;
}

.skll img {
  width: 40rem;
   mix-blend-mode: darken;
}


/* ---- ABOUT SECTION ---- */

.para {
  font-size: medium;
  width: 39%;
  padding-top: 30px;
  font-weight: 300;
}

.about-photo {
  width: 40%;
}

.thd {
  width: 300px;
}

.child3 {
  width: 20%;
  padding-top: 90px;
}

.details2 {
  padding-left: 70px;
  font-size: -webkit-xxx-large;
  font-weight: 600;
  padding-top: 90px;
  margin-left: 5%;
}

#about {
  position: relative;
  display: flex;
  height: 80vh;
  margin-top: 50px;
}

.child2 {
  position: absolute;
  top: 0;
  right: 740px;
  z-index: 1;
  pointer-events: none;
}

.child2 img {
  width: 60rem;
}

.child3 img {
  width: 3rem;
}

.card {
  width: 400px;
  gap: 20px;
  margin-top: 46px;
}

.nlk {
  width: 14px;
}

.pat {
  display: flex;
  gap: 8px;
  width: 120px;
}

.klk {
  margin-top: 20px;
  gap: 24px;
}

.cpp {
  color: black;
  font-weight: 400;
}

.ch1 {
  font-size: 20px;
}

.ch2 {
  color: blue;
  font-weight: 300;
  font-size: 20px;
}

p {
  font-weight: 300;
  font-size: 20px;
  color: black;
}

/* footer */

.footer-5-column {
  padding-top: 3rem;
  margin-top: 2rem;
  background-color: #dbdada;
}
.footer-5-column p {
  color: black;
}
.footer-5-column .footer-container {
  max-width: 1320px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}
.footer-5-column .footer-container .footer-navbar-container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  margin-right: auto;
  margin-left: auto;
}

.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details {
  width: 35%;
  max-width: 100%;
  flex: 0 0 auto;
  padding-right: 2rem;
  line-height: 1.428;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-logo {
  width: 60px;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-logo
  img {
  max-width: 100%;
  height: auto;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-logo
  svg {
  width: 100%;
  height: auto;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-content {
  margin-top: 1rem;
  font-size: 16px;
  line-height: 1.8;
  padding-right: 1rem;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-icons {
  margin-top: 1.5rem;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-icons
  ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-icons
  ul
  li {
  list-style: none;
  display: flex;
  flex-direction: row;
  margin-right: 14px;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-icons
  ul
  li
  a {
  width: 30px;
  padding: 6px;
}
.footer-5-column .footer-navbar {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  flex-grow: 1;
  line-height: 1.428;
}

.footer-5-column .footer-navbar > .footer-navbar-col {
  width: 25%;
  flex: 0 0 auto;
}
.footer-5-column .footer-navbar .footer-navbar-col h5 {
  margin-bottom: 1.5rem;
  color: #000;
  overflow-wrap: break-word;
  padding: 0 0.5rem 0 0;
}
.footer-5-column .footer-navbar .footer-navbar-col ul {
  padding: 0 0.5rem 0 0;
  margin: 0;
}
.footer-5-column .footer-navbar .footer-navbar-col ul li {
  list-style: none;
}
.footer-5-column .footer-navbar .footer-navbar-col ul li:not(:last-child) {
  margin-bottom: 1rem;
}
.footer-5-column .footer-navbar .footer-navbar-col ul li a {
  font-size: 16px;
  text-decoration: none;
  color: black;
  overflow-wrap: break-word;
}
.footer-5-column .footer-navbar .footer-navbar-col ul li a:hover {
  color: blue;
}

.footer-5-column .footer-copyright {
  padding: 2rem 0;
  border-top: 1px solid rgb(219, 215, 215);
}
.footer-5-column .footer-copyright p {
  font-size: 14px;
  margin-bottom: 0;
}



#getInTouch {
  max-width: 1100px;
  margin: 40px auto;
  padding: 48px;
  font-family: "Poppins", sans-serif;
  color: #111;
}


.content-header h1 {
  text-align: center;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 32px;
  text-transform: none;
}


.content-from {
  display: block;
  width: 100%;
}


.content-from .row {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}


.content-from .field {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.content-from label {
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
  font-weight: 500;
}

/* Inputs */
.content-from input,
.content-from textarea {
  padding: 16px;
  font-size: 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  outline: none;
  transition: 0.2s ease;
  background: #f3f3f3;
}

.content-from input::placeholder,
.content-from textarea::placeholder {
  color: #bdbdbd;
  font-weight: 400;
}


.content-from input:focus,
.content-from textarea:focus {
  border-color: rgba(0,0,0,0.25);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}


.content-from textarea {
  resize: vertical;
  min-height: 160px;
}


.sub-btn {
  background: blue;
  color: white;
  padding: 14px 34px;
  border-radius: 50px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: 0.2s ease;
  width: 140px;
}

.sub-btn:active {
  transform: translateY(1px);
}

/* Status message */
.status {
  font-size: 14px;
  margin-left: 12px;
  color: #444;
}

.actions{
  display:flex;
  flex-direction: column;
  gap:16px;
  margin-top: 24px;
}


/* =========================
   RESPONSIVE DESIGN
   ========================= */

/* Tablet & below */
@media (max-width: 992px) {
  .navbar {
    padding: 0 24px;
  }

  #hero {
    margin-top: 7vh;
    min-height: auto;      
    padding: 40px 20px 20px;
  }

  #hero .container {
    flex-direction: column-reverse;
    padding: 0;
    text-align: center;
    gap: 24px;
  }

  .details {
    width: 100%;
    font-size: 2.2rem;
    margin: 0;
    padding: 0;
  }

  .photo {
    width: 100%;
    justify-content: center;
  }

  .border {
    margin-top: 0;
  }

  .del {
    width: 220px;
  }

  .hjk {
    margin-left: 0;
    padding-left: 0;
    margin-top: 12px;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
 
  #skill {
    margin-top: 20px;
  }

  .skll img {
    width: 90%;
    max-width: 400px;
  }

  #about {
    position: static;
    flex-direction: column;
    height: auto;
    margin-top: 40px;
    padding: 0 20px 40px;
    gap: 24px;
  }

  .details2 {
    padding-left: 0;
    margin-left: 0;
    padding-top: 0;
    font-size: 2rem;
  }

  .para {
    width: 100%;
  }

  .about-photo,
  .child2 {
    position: static;
    width: 100%;
    pointer-events: auto;
    display: flex;
    justify-content: center;
    margin: 0;
  }

  .child2 img,
  .about-photo img {
    width: 260px;
  }

  .child3 {
    width: 100%;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 400px;
  }

  .navbar .list {
    gap: 20px;
    font-size: 0.9rem;
  }
  #getInTouch {
    padding: 24px;
  }

  .content-header h1 {
    font-size: 36px;
  }

  .content-from .row {
    flex-direction: column;
  }

  .sub-btn {
    width: fit-content;
    padding: 12px 28px;
  }

  .status {
    margin: 12px 0 0;
  }

  .about-photo.child2 {
    display: none;
  }
}



@media (max-width: 768px) {


  .navbar .list {
    display: none;    
  }

  .hamburger {
    display: flex;    
  }

  .hamburger {
    display: flex;
  }


  .navbar {
    padding: 0 16px;
  }


  .navbar .list {
    position: absolute;
    top: 7vh;               
    right: 0;
    left: 0;
    margin: 0;
    padding: 12px 24px;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    display: none;          
    z-index: 9;
  }

  .navbar .list li {
    width: 100%;
  }

  .navbar .list li a {
    display: block;
    width: 100%;
  }

  
  .navbar .list.active {
    display: flex;
  }

  
}




/* Mobile  */
@media (max-width: 576px) {
  .navbar {
    padding: 0 12px;
  }

  .navbar .list {
    gap: 12px;
    font-size: 0.8rem;
  }

  .details {
    font-size: 1.8rem;
  }
  .photo{
    right: 0px;
  }
  .btn {
    width: 120px;
    height: 38px;
    font-size: 0.9rem;
  }

  .card {
    margin-top: 30px;
  }
  .ftg {
    gap: 18px;
    justify-content: center;
    margin-top: 1rem;
  }
  .about-photo.child2 {
    display: none;
  }
  .card{
    background-color: rgb(242, 241, 241);
    border-radius: 3%;
    padding: 12px;
  }
  .card p{
    font-size: 14px;
  }
  .card h3{
    font-size: 17px;
  }
}

@media all and (max-width: 1140px) {
  .footer-5-column .footer-container .footer-navbar-container,
  .footer-5-column .footer-navbar {
    row-gap: 3rem;
  }
  .footer-5-column
    .footer-container
    .footer-navbar-container
    .footer-company-details,
  .footer-5-column .footer-container .footer-navbar-container .footer-navbar {
    padding: 0;
    width: 100%;
  }
}
@media all and (max-width: 992px) {
  .footer-5-column .footer-navbar .footer-navbar-col {
    width: 50%;
  }
}

