* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 10%;
  background-color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 2.2rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo span {
  color: #38bdf8; 
}

.logo-pic {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #38bdf8;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.navbar ul li a {
  font-size: 1.1rem;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.navbar ul li a:hover {
  color: #38bdf8;
}

body {
  padding-top: 80px; 
}


.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  background-color: #0f172a;
  color: #ffffff;
  min-height: 80vh;
}

.hero-content {
  max-width: 50%;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  color: #38bdf8;
}

.hero-content h2 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #cbd5e1;
}

.btn {
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-right: 15px;
  transition: 0.3s;
}

.primary-btn {
  background-color: #38bdf8;
  color: #0f172a;
}

.primary-btn:hover {
  background-color: #0ea5e9;
}

.secondary-btn {
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

.secondary-btn:hover {
  background-color: #38bdf8;
  color: #0f172a;
}

.hero-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
}

.container {
  width: 85%;
  margin: 0 auto;
  max-width: 1100px;
}

.about-section {
  padding: 100px 0;
  background-color: #0f172a;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #38bdf8;
  margin-bottom: 60px;
  position: relative;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px; 
}


.about-text {
  flex: 1;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7; 
  color: #cbd5e1; 
  margin-bottom: 20px;
}


.about-highlights {
    list-style: none; 
    padding: 0;
    margin-top: 30px;
}

.about-highlights li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    font-weight: bold;
    color: #ffffff;
}


.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}


.placeholder-box {
    width: 300px;
    height: 300px;
    background-color: #1e293b;
    border: 3px solid #38bdf8;
    border-radius: 20px; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-weight: bold;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.15); 

}
@media (max-width: 850px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .placeholder-box {
        margin-top: 40px;
        width: 250px;
        height: 250px;
    }
}

/* ============ SKILLS SECTION STYLES ============ */

.skills-section {
  padding: 100px 0;
  background-color: #1e293b; 
}

.skills-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.skill-card {
  background-color: #0f172a;
  padding: 40px 30px;
  border-radius: 15px;
  border-bottom: 4px solid #38bdf8;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.skill-card:hover {
  transform: translateY(-10px); 
}

.skill-card h3 {
  color: #38bdf8;
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.skill-list {
  list-style: none;
  padding: 0;
}

.skill-list li {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.skill-list li::before {
  content: '▹'; 
  color: #38bdf8;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* ============ PROJECTS SECTION STYLES ============ */

.projects-section {
  padding: 100px 0;
  background-color: #0f172a; 
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background-color: #1e293b;
  border-radius: 15px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #334155;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(56, 189, 248, 0.1);
  border-color: #38bdf8; 
}

.project-card h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.project-card p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.tech-stack span {
  background-color: #0f172a;
  color: #38bdf8;
  padding: 5px 12px;
  border-radius: 20px; 
  font-size: 0.85rem;
  font-weight: bold;
}

.project-link {
  display: inline-block;
  color: #38bdf8;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.project-link:hover {
  color: #ffffff;
}
/* ============ CONTACT SECTION STYLES ============ */

.contact-section {
  padding: 100px 0;
  background-color: #1e293b; 
}

.contact-content {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-top: 40px;
}

.contact-info, .contact-form {
  flex: 1;
}

.contact-info h3 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.contact-info p {
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.info-item {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.info-item strong {
  color: #38bdf8;
  margin-right: 10px;
}

/* ================= Form Design ================= */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background-color: #0f172a; 
  border: 1px solid #334155; 
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #38bdf8;
}

.contact-form button {
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  width: fit-content; 
}

@media (max-width: 850px) {
  .contact-content {
    flex-direction: column; 
  }
}
/* ============ FOOTER STYLES ============ */
.footer {
  background-color: #0f172a;
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid #334155;
}

.footer-content p {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 15px;
}

.social-links a {
  color: #38bdf8;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #ffffff; 
}

/* ============ RESPONSIVE DESIGN on phone and tablet ============ */
@media (max-width: 768px) {

  body, html {
    background-color: #081b29 !important;
    overflow-x: hidden;
  }

  .header {
    flex-direction: column;
    padding: 15px 5%;
    gap: 10px;
    background-color: #081b29;
  }

  .logo { font-size: 1.8rem; }
  .logo-pic { width: 35px; height: 35px; }

  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .navbar ul li a { font-size: 14.5px; }

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 150px;
    padding-bottom: 20px;
    background-color: #081b29;
    margin-top: 0;
  }
  
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; 
  }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content h2 { font-size: 1.4rem; margin-bottom: 20px; }
  
  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px; 
    width: 100%;
  }
  .btn { margin: 0; }

  .hero-image {
    margin-top: 10px;
    display: flex;
    justify-content: center;
  }
  .hero-image img { max-width: 100%; width: 280px; }


  .about-section, .skills-section, .projects-section, .contact-section {
    padding: 50px 5%; 
    background-color: #081b29;
  }
  
  .contact-content { flex-direction: column; }
}