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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
}

a {
  text-decoration: none;
}
ul {
  list-style: none;
}

.blue-full-stops {
  color: #2a8fc4;
}

.blue-headings {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2a8fc4;
  margin-bottom: 8px;
}

.section-headings {
  font-family: "Space Grotesk", sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 20px;
}

.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====================
       HEADER
====================*/

.header-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  padding: 25px 0;
  transition:
    background 0.4s ease,
    padding 0.4s ease,
    box-shadow 0.4s ease;
}

.header-section.scrolled {
  background: #fff;
  color: #737383;
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #111;
  transition: color 0.4s ease;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #2a8fc4;
}

.hamburger {
  display: none;
}

/* ====================
HERO SECTION 
================== */

.hero-section {
  min-height: 100vh;
  background: linear-gradient(to right, #131314, #16242b);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
}

.hero-content {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-tagline {
  font-size: 15px;
  font-weight: 450;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #2a8fc4;
}

.hero-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 75px;
  font-weight: 630;
  line-height: 75px;
  color: #ffffff;
  letter-spacing: -2px;
}

.hero-info {
  font-size: 18px;
  color: #b0bec5;
  max-width: 750px;
  line-height: 25px;
  margin-top: 8px;
}

.welcome-btn svg {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
}

.welcome-btn {
  display: inline-block;
  background: #2a8fc4;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 10px;
  margin-top: 18px;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.welcome-btn:hover {
  background: #145f87;
  transform: translateY(-5px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline,
.hero-name,
.hero-info,
.welcome-btn {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-tagline {
  animation-delay: 0.1s;
}

.hero-name {
  animation-delay: 0.25s;
}

.hero-info {
  animation-delay: 0.4s;
}

.welcome-btn {
  animation-delay: 0.55s;
}

/* ===============
ABOUT SECTION 
================= */

.about-section {
  background: #f5f5f5;
  padding: 80px 120px;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: start;
  gap: 20px;
  margin-bottom: 60px;
}

.about-img img {
  width: 200px;
  height: 225px;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid #c0d8ea;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.about-info p {
  font-size: 16px;
  color: #737383;
  line-height: 28px;
  margin-bottom: 20px;
  max-width: 800px;
}

.resume-btn svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

.resume-btn {
  display: inline-block;
  background: #2a8fc4;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 6px;
  margin-top: 15px;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.resume-btn:hover {
  background: #145f87;
  transform: translateY(-5px);
}

.glass-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.glass-cards {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 26px;
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.3s ease;
}

.glass-cards:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.glass-cards svg {
  width: 28px;
  height: 28px;
  color: #2a8fc4;
  margin-bottom: 10px;
}

.glass-cards h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 10px;
}

.glass-cards p {
  font-size: 14px;
  color: #737383;
  line-height: 20px;
}

/* ==============
PROJECTS SECTION
================ */

.projects-section {
  background: #ffffff;
  padding: 80px 120px;
}

.projects-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.project-card {
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  overflow: hidden;
}

.project-card-img img {
  width: 100%;
  height: 220px;
  display: block;
}

.project-card-info {
  padding: 26px;
}

.project-card-info h3 {
  font-size: 20px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-card-subtitle {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2a8fc4;
  margin-bottom: 6px;
}

.project-card-description {
  font-size: 14px;
  color: #737383;
  line-height: 20px;
  margin-bottom: 10px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.project-tags span {
  font-size: 12px;
  color: #2a8fc4;
  background: #deeff7;
  padding: 4px 12px;
  border-radius: 20px;
}

.view-project-btn {
  font-size: 15px;
  font-weight: 600;
  color: #2a8fc4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.view-project-btn:hover {
  color: #145f87;
}

.view-project-btn svg {
  width: 16px;
  height: 16px;
}

/*==============
SKILLS SECTION 
===============*/

.skills-section {
  background: #f5f5f5;
  padding: 80px 120px;
}

.skills-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.skill-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  border: 2px solid #e2e8f0;
  transition: box-shadow 0.3s ease;
}

.skill-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.skill-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 20px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tags span {
  font-size: 15px;
  color: #2a8fc4;
  background: #deeff7;
  padding: 8px 16px;
  border-radius: 20px;
}

/* ===================
CONTACT SECTION 
=================== */

.contact-section {
  background: #ffffff;
  padding: 80px 120px;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-intro {
  font-size: 20px;
  color: #737383;
  margin-bottom: 50px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Left: Contact Info */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: #deeff7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 20px;
  color: #2a8fc4;
}

.contact-label {
  font-size: 16px;
  color: #737383;
  margin-bottom: 4px;
}

.contact-item-text a {
  color: #111111;
  font-size: 15px;
  transition: color 0.3s ease;
}

.contact-item-text a:hover {
  color: #2a8fc4;
}

/* Right: Contact Form */

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group label {
  display: block;
  font-size: 15px;
  color: #131314;
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: #111111;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  outline: none;
  transition: border 0.3s ease;
  margin-bottom: 15px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #2a8fc4;
}

.form-group textarea {
  height: 140px;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  font-size: 14px;
  color: #9ca3af;
}

.send-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2a8fc4;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.send-btn svg {
  width: 16px;
  height: 16px;
}

.send-btn:hover {
  background: #145f87;
  transform: translateY(-5px);
}

/* ==============
FOOTER
================ */

.footer {
  background: #141414;
  padding: 30px 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-content p {
  font-size: 14px;
  color: #bfbfbf;
}

.footer-icons {
  display: flex;
  gap: 20px;
}

.footer-icons i {
  font-size: 18px;
  color: #bfbfbf;
  transition: color 0.3s ease;
}

.footer-icons i:hover {
  color: #2a8fc4;
}

/* ======================
Mobile Responsiveness
========================= */

@media (max-width: 768px) {
  /* ==========================
     HEADER & HAMBURGER MENU
     ========================= */

  .nav-site {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    padding: 20px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-site.open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 24px;
  }

  .nav-links a {
    font-size: 18px;
    color: #737383;
  }

  .nav-links a:hover {
    color: #2a8fc4;
  }

  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    color: #737383;
  }

  .hamburger svg {
    height: 25px;
    width: 25px;
  }

  .hamburger.open {
    color: #111;
  }

  .header-section.scrolled .hamburger {
    color: #111;
  }

  .header-content {
    padding: 0 24px;
  }

  /* ================
     HERO SECTION
     ================ */

  .hero-section {
    padding: 0 24px;
  }

  .hero-name {
    font-size: 45px;
    line-height: 58px;
  }

  .hero-tagline {
    font-size: 13px;
  }

  .hero-info {
    font-size: 15px;
  }

  .welcome-btn {
    padding: 15px 24px;
    font-size: 14px;
  }

  /* ===================
     ABOUT SECTION
     =================== */

  .about-section {
    padding: 60px 0;
  }

  .about-content {
    padding: 0 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-img {
    display: flex;
    justify-content: center;
  }

  .about-img img {
    width: 210px;
    height: 230px;
  }
  .glass-card-grid {
    grid-template-columns: 1fr;
  }

  .resume-btn {
    padding: 13px 24px;
    font-size: 14px;
  }

  /* ===================
     PROJECT SECTION
     =================== */

  .projects-section {
    padding: 60px 0;
  }

  .projects-content {
    padding: 0 16px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card-img img {
    height: 180px;
  }

  .project-card-info {
    padding: 18px;
  }

  .project-tags span {
    font-size: 12px;
    padding: 5px 10px;
  }

  /* ===================
     SKILLS SECTION
   =================== */

  .skill-card {
    padding: 20px;
  }

  .skills-tags span {
    font-size: 13px;
    padding: 6px 12px;
  }

  .skills-section {
    padding: 60px 0;
  }

  .skills-content {
    padding: 0 24px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  /* ===================
     CONTACT SECTION
   =================== */

  .contact-section {
    padding: 60px 0;
  }

  .contact-content {
    padding: 0 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .send-btn {
    padding: 15px 24px;
    font-size: 14px;
  }

  /* ===================
     FOOTER SECTION
   =================== */

  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 0 24px;
  }

  /* ===================
     SECTION HEADINGS
   =================== */

  .section-headings {
    font-size: 28px;
  }
}
