/* ====== RESET / BASE STYLES ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #07010e;
}

/* Reusable container to limit width */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Simple link style reset */
a {
  text-decoration: none;
  color: inherit;
}

/* ====== HEADER / NAVBAR ====== */
.header {
  background-color: #00adb5;
  border-bottom: 1px solid #e1e1e1;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo {
  font-weight: 600;
  font-size: 1.3rem;
  color: #333;
}

.nav a {
  margin-left: 1.5rem;
  font-size: 0.95rem;
  color: #010a13;
  
}

.nav a:hover {

  /* display: inline-block; */
  padding: 1.1rem 1.1rem;
  background-color: #011516;
  color: #fff;
  font-size: 0.85rem; 
  border-radius:3px ; 
  gap: 15px;
  cursor: pointer;
  transition: background-color 0.1s, transform 0.1s;   
}

/* ====== HERO SECTION ====== */
.hero {
  padding: 3rem 0;
  background: linear-gradient(135deg, #ffffff, #e7f1ff);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 280px;
}

.hero-text h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.hero-text h1 span {
  color: #0077ff;
}

.hero-text h2 {
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 1rem;
}

.hero-text p {
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.hero-image {
  text-align: center;
  overflow: hidden;
  border: 4px solid #c3d6f0;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.hero-image img {
  max-width: 300px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  transform: scale(1.2);
}

.hero-image img:hover {
  cursor: pointer;
  transform: scale(1.5);
}

/* ====== BUTTON STYLE ====== */
.btn {
  display: inline-block;
  padding: 1.1rem 1.3rem;
  background-color: #00adb5;
  color: #fff;
  border-radius: 999px;
  font-size: 0.95rem;
  border-radius:5% ;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
  background-color: #007a80;
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* ====== SECTIONS ====== */
.section {
  padding: 3rem 0;
  background-color: #f5f5f7;
}

.section-alt {
  background-color: #ffffff;
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* ====== ABOUT SECTION ====== */

.skills {
    padding: 60px 20px;
    background: #eaeaea;
}

.skills-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    transition: shadow 0.3s, transform 0.3s;
    cursor: pointer;
}


.skill:hover {
    background: #007a80;
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.skill {
    background: #00adb5;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
}

/* ====== PROJECTS SECTION ====== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.project-card {
  background-color: #f9fafc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding-bottom: 1rem;
}

.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.project-card h3 {
  font-size: 1.1rem;
  margin: 0.8rem 1rem 0.3rem;
}

.project-card p {
  font-size: 0.9rem;
  margin: 0 1rem 0.8rem;
  color: #555;
}

.project-link {
  display: inline-block;
  margin: 0 1rem;
  font-size: 0.9rem;
  color: #0077ff;
}

/* ====== CONTACT SECTION ====== */
.contact-form {
  max-width: 500px;
  margin: 1.5rem auto 0;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 4px;
  border: 1px solid #cccccc;
  font-size: 0.95rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0077ff;
  box-shadow: 0 0 0 2px #0077ff22;
}

/* ====== FOOTER ====== */
 .footer {
  background-color: #00adb5;
  border-top: 1px solid #e1e1e1;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #0c0000;
 }

.footer1 {
  background-color: #00adb5;
  color: #010a13;
  text-align: center;
  padding: 20px 0;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer-content h3 {
  margin: 5px 0;
  font-size: 20px;
}

.footer-content p {
  margin: 3px 0;
  font-size: 14px;
  color: #040000;
}


/* ====== RESPONSIVE (MOBILE) ====== */
@media (max-width: 768px) {
  .hero {
    padding-top: 2rem;
  }

  .header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    margin-top: 0.5rem;
  }

  .nav a {
    margin-left: 0;
    margin-right: 1rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text h2 {
    font-size: 1.1rem;
  }
}
