* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.div {
  display: flex;
  flex-direction: column;
  width: 100vw;
  min-height: 100vh;
  background-color: #fff;
  font-family: Montserrat;
  position: relative;
  overflow: hidden;
}

/* Background Shapes */
.div-2 {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  border-radius: 9999px;
  background-color: #63c308;
  opacity: 0.1;
  filter: blur(80px);
}

.div-3 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 200px;
  height: 200px;
  border-radius: 9999px;
  background-color: #a8c7e1;
  opacity: 0.15;
  filter: blur(60px);
}

.div-4 {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 150px;
  height: 150px;
  background-color: #f0f0f0;
  opacity: 0.05;
  border-radius: 20px;
  transform: rotate(15deg);
}

.div-5 {
  position: absolute;
  bottom: 15%;
  right: 5%;
  width: 200px;
  height: 200px;
  background-color: #f0f0f0;
  opacity: 0.05;
  border-radius: 20px;
  transform: rotate(-10deg);
}

.div-6 {
  position: absolute;
  top: 40%;
  right: 20%;
  width: 100px;
  height: 100px;
  background-color: #f0f0f0;
  opacity: 0.05;
  border-radius: 15px;
  transform: rotate(25deg);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  padding: 53px 84px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
  justify-content: space-between;
}

.div-7 {
  display: flex;
  gap: 65px;
}

/* Common link styles */
.div-7 a {
  position: relative;
  font-size: 20px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 5px;
  transition: color 0.3s ease, transform 0.4s ease;
}

/* Underline effect */
.div-7 a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: red;
  box-shadow: 0 0 8px red;
  transition: width 0.4s ease;
  border-radius: 2px;
}

/* Hover styles */
.div-7 a:hover {
  color: red;
  transform: translateY(-5px); /* upward movement */
}

.div-7 a:hover::after {
  width: 100%;
}

.div-8 {
  display: flex;
  align-items: center;
  gap: 40px;
}

.a-5,
.a-6,
.a-7 {
  color: #564c4c; /* Initial color (blackish) */
  padding: 10px;
  transition: color 0.3s ease;
}

.svg {
  width: 24px;
  height: 24px;
}

/* Hover effect: Changes to a specific color when hovered */
.a-5:hover,
.a-6:hover,
.a-7:hover {
  color: #ff5733; /* New color when hovered */
}


/* Main Section */
.main {
  display: flex;
  padding: 84px 78px;
  background-color: #a8c7e1;
  position: relative;
  z-index: 1;
  overflow: hidden; /* 👈 add this */
}

/* image mobile view */
@media (max-width: 768px) {
  .img {
    width: 300px;
    right: 20px;
  }

  .h1 {
    font-size: 48px;
  }

  .p, .p-2 {
    font-size: 24px;
  }
}



.div-9 {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.div-10,
.div-11 {
  position: absolute;
  border-radius: 9999px;
  background-color: #fff;
  opacity: 0.05;
}

.div-10 {
  top: 10%;
  right: 5%;
  width: 200px;
  height: 200px;
}

.div-11 {
  bottom: 20%;
  left: 10%;
  width: 150px;
  height: 150px;
}

.div-12 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.p {
  font-size: 36px;
  font-weight: 300;
  color: #000;
}

.h1 {
  font-size: 96px;
  font-weight: 500;
  color: #3A9F0B;
  line-height: 1.2;
}

.p-2 {
  font-size: 36px;
  font-weight: 300;
  color: #000;
  margin-top: 20px;
  /* font-style: italic; */
}

.button {
  margin-top: 40px;
  background-color: #3A9F0B;
  color: #fff;
  font-weight: 600;
  padding: 10px 32px;
  border-radius: 25px;
  width: 189px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none; /* default state */
}

.button:hover {
  transform: translateY(-5px); /* uplift effect */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* shadow effect */
}


.img {
  position: absolute;
  width: 500px;
  height: auto;
  z-index: 2;
  right: 78px;
  top: 50%;
  transform: translateY(-50%);
}

/* Skills Section */
.section {
  padding: 60px 78px;
  background-color: #fff;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}

.h2 {
  font-size: 48px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  color: #000;
  font-family: "Playfair Display", serif;
}

.div-13 {
  width: 60px;
  height: 3px;
  background-color: #a8c7e1;
  margin: 0 auto 60px;
}

.div-14 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.div-15,
.div-16,
.div-17 {
  padding: 30px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15); /* semi-transparent */
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px); /* glass blur effect */
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: #000; /* ensure text is readable */
}

.div-15:hover,
.div-16:hover,
.div-17:hover {
  transform: none; /* remove lift effect */
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15); /* subtle shadow */
}



.h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  font-family: Georgia, serif;
  border-bottom: 2px solid #a8c7e1;
  padding-bottom: 10px;
}

.ul {
  list-style: none;
}

.li {
  margin: 12px 0;
  color: #555;
}

/* Projects Section */
.section-2 {
  padding: 60px 78px;
  background-color: #f8f8f8;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.h2-2 {
  font-size: 48px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 60px;
  color: #000;
}

.div-18 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.div-19,
.div-21,
.div-23 {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #eaeaea;
}

.div-19:hover,
.div-21:hover,
.div-23:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: #63c308;
}

.img-2,
.img-3,
.img-4 {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.div-20,
.div-22,
.div-24 {
  padding: 20px;
}

.h3-2,
.h3-3,
.h3-4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #000;
  font-weight: 600;
}

.p-3,
.p-4,
.p-5 {
  color: #666;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.5;
}

.a-8,
.a-9,
.a-10 {
  color: #63c308;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.a-8:hover,
.a-9:hover,
.a-10:hover {
  text-decoration: underline;
}

/* About Section */
.section-3 {
  padding: 60px 78px;
  position: relative;
  background-image: url("https://i.postimg.cc/mgjbCW8y/aboutme-wall.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.section-3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.h2-3 {
  font-size: 48px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.div-25 {
  width: 60px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 auto 60px;
  position: relative;
  z-index: 2;
}

.div-26 {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.div-27,
.div-30 {
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  height: 100%;
  transition: all 0.3s ease;
}

.div-27:hover,
.div-30:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.div-28,
.div-29,
.div-31 {
  margin-bottom: 30px;
}

.h3-5,
.h3-6,
.h3-7,
.h3-8 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 15px;
}

.p-6,
.p-7,
.p-8,
.p-9 {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Contact Section */
.section-4 {
  padding: 60px 78px;
  position: relative;
  background-color: #fff;
}

.h2-4 {
  font-size: 48px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
  color: #000;
  font-family: "Playfair Display", serif;
}

.p-10 {
  text-align: center;
  color: #666;
  font-size: 18px;
  margin-bottom: 30px;
}

.div-32 {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.div-33 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.a-11,
.a-12,
.span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  background-color: #f5f5f5;
  transition: all 0.3s ease;
}

.a-11:hover,
.a-12:hover {
  background-color: #a8c7e1;
  color: #fff;
  transform: translateY(-2px);
}

.svg-2 {
  fill: currentColor;
}
/* Hover effect for location link */
.span:hover {
background-color: #a8c7e1;
color: #fff;
transform: translateY(-2px);
}

/* Font Awesome icon style */
.a-11 i,
.a-12 i,
.span i {
font-size: 18px;
color: inherit;
transition: color 0.3s ease;
}


.div-34 {
  display: flex;
  gap: 20px;
}

.a-13,
.a-14,
.a-15,
.a-16 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  border: 2px solid #a8c7e1;
  transition: all 0.3s ease;
}

.a-13:hover,
.a-14:hover,
.a-15:hover,
.a-16:hover {
  background-color: #a8c7e1;
  color: #fff;
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .nav {
    padding: 30px 20px;
  }

  .div-7 {
    gap: 30px;
  }

  .main {
    padding: 60px 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .img {
    position: relative;
    width: 300px;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 40px;
  }

  .section,
  .section-2,
  .section-3,
  .section-4 {
    padding: 40px 20px;
  }

  .div-14,
  .div-18,
  .div-26 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .h1 {
    font-size: 64px;
  }

  .p-2 {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .div-7 {
    gap: 15px;
  }

  .a,
  .a-2,
  .a-3,
  .a-4 {
    font-size: 16px;
  }

  .div-8 {
    gap: 20px;
  }

  .div-33 {
    flex-direction: column;
  }

  .div-34 {
    justify-content: center;
 
  }
}

/* smooth scrolling */
html {
  scroll-behavior: smooth;
}

section {
  padding: 20px;
}




/* making responsive */
/* styles.css */

/* Existing styles */

/* Mobile (small screens) */
@media (max-width: 600px) {
.social-icons {
  font-size: 1.2rem; /* Smaller size for social icons */
}

#button-1 {
  font-size: 1rem; /* Adjust button font size for mobile */
  padding: 10px 20px;
}
}

/* Tablet (medium screens) */
@media (max-width: 1024px) and (min-width: 601px) {
.social-icons {
  font-size: 1.5rem;
}

#button-1 {
  font-size: 1.2rem;
  padding: 15px 25px;
}
}

/* Desktop (large screens) */
@media (min-width: 1025px) {
.social-icons {
  font-size: 2rem;
}

#button-1 {
  font-size: 1.5rem;
  padding: 20px 30px;
}
}

