@import url("https://font.goggleleapis.com/css2?famly=Poppins:wght@300;400;500;600;700;800;900&display=swap");

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; 
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  scroll-behavior: smooth; /* smooth scrolling for nav links */
  color: #293449;
}

/* Header */
.header {
  
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;               /* slightly wider */
  max-width: 1300px;         /* allow a bigger pill */
  padding: 20px 40px;        /* more height + space inside */
  background: white;
  border-radius: 60px;       /* rounder pill */
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.logo {
    font-family: 'Poppins', sans-serif;
  text-decoration: none; 
  /* removes underline */
}
.logo h2 {
  font-size: 1.5rem;
  color: #293449;
  
  text-decoration:none;

}

.logo span {
  color: #ebab54;
  text-decoration:none;
  

}


.navbar a {
  margin-left: 40px;
  text-decoration: none;
  color: #293449;
  font-weight: 100;
  transition: color 0.3s;
  font-family: 'Poppins', sans-serif;  /* ensure fallback */
  font-size: 18px;
}
/* Hide hamburger on desktop */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Mobile navbar styles */
.navbar {
  display: flex;
  gap: 20px;
}

.close-btn {
  display: none;
}

/* MOBILE VERSION */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #293449;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Navbar desktop */
.navbar {
  display: flex;
  gap: 20px;
}

/* Mobile styles */
@media (max-width: 830px) {
  .hamburger {
    display: flex;
  }

  .navbar {
    position: absolute;
    top: 80px;
    left: 5%;
    width: 90%;
    background: white;
    border-radius: 20px;
    flex-direction: column;
    align-items: center;
    padding: 0 20px; /* no padding until open */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);

    /* hidden state */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
  }

  .navbar a {
    margin: 15px 0;
    font-size: 20px;
  }

  /* active = open state */
  .navbar.active {
    max-height: 500px;       /* enough to fit links */
    padding: 30px 20px;
    opacity: 1;
    transform: translateY(0);
  }

  /* Hamburger animation to X */
  .hamburger.active span:nth-child(1) {
    transform: rotate(50deg) translate(7px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-50deg) translate(8px, -6px);
  }
}

.navbar a:hover {
  color: #ebab54;
}
.svg_topo {
  position: absolute;   /* take it out of normal flow */
  top: 0;               /* stick to the top of hero */
  left: 0;
  width: 100%;
  height: 150px;        /* adjust as you need */
  overflow: hidden;
  z-index: 1;           /* behind navbar, above hero bg */
}
/* Sections */
.section {
  min-height: 100vh;   /* full viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
  text-align: center;
}

/* Give each section different background for contrast */
.hero {
  background: #293449;
  color: #ebab54;
     position: relative;   /* allows absolute positioning inside */
  overflow: hidden;  
}
.hero-logo {
  margin-top: -300px;        /* pushes logo below the navbar */
  display: flex;
  justify-content: center;  /* centers horizontally */
}

.hero-logo img {
  max-width: 800px;         /* controls logo size */
  width: 100%;
  height: auto;
}
.hero-divider {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;          /* full width */
  display: flex;
  justify-content: center;
}


.hero-divider img {
  width: 100%;          /* responsive */
  max-width: 900px;    /* prevents overgrowing */
  height: auto;

}

.about {
  background: white;
  color: #293449;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* image left, text right */
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  padding: 50px;
  align-items: center;
}

.about-image {
  width: 500px;              /* adjust size as needed */
  height: 500px;
  border-radius: 50%;        /* makes it a circle */
  overflow: hidden;          /* hides corners outside circle */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;            /* centers the whole circle div */
  background: #ffbd59;          /* optional fallback background */
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* fills circle without distortion */
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;   /* bold */
  margin-bottom: 15px;
  color: #000;        /* solid black for strong emphasis */
}

.about-text h3 {
  font-size: 1.5rem;
  font-weight: 500;   /* medium */
  margin-bottom: 20px;
  color: #333;        /* dark gray */
}

.about-text p {
  font-size: 1rem;
  font-weight: 400;   /* normal */
  line-height: 1.6;
  color: #555;        /* lighter gray */
}
/* Make it stack on smaller screens */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image img {
    margin: 0 auto;
  }
}
@media (max-width: 500px) {
  .about-image {
    width: 80vw;  
    height: 40vw;           /* a bit bigger relative to small screens */
    max-width: 180px;
  }
}

.services {
  background: #ebab54;   /* orange background */
  color: #293449;
  text-align: center;
}

.services h2 {
  top:40px;
  margin-bottom: 4rem;
  font-size: 2.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-grid a:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.portfolio-grid img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
}

.portfolio-grid p {
  margin-top: 10px;
  font-weight: 600;
  color: #293449;
}

.contact {
  min-height: 100vh;          /* make it fill the viewport */
  display: flex;
  flex-direction: column;
  justify-content: center;    /* center vertically */
  align-items: center;        /* center horizontally */
  background: #f4f4f4;
  padding: 50px 20px;
  text-align: center;
}

.contact h2 {
  margin-bottom: 30px;
  font-size: 2.5rem;
  color: #293449;
}

 .contact form {
  max-width: 800px;       /* wider form */
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;            /* more spacing between fields */
  padding: 20px;          /* breathing room inside */
}

.contact input,
.contact textarea {
  padding: 1rem;          /* bigger input boxes */
  font-size: 1.1rem;      /* larger text */
  border: 1px solid #ccc;
  border-radius: 8px;
}

.contact button {
  background: #ff6600;
  color: white;
  border: none;
  padding: 1rem;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover {
  background: #e65c00;
}
.footer {
  background: #293449;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #ebab54;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ff6600;
}

.footer-socials {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.footer-socials a {
  color: #ebab54;
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.2s;
}

.footer-socials a:hover {
  color: #ff6600;
  transform: scale(1.2);
}
@media (max-width: 640px){
  .svg_topo {
  position: absolute;   /* take it out of normal flow */
  top: 0;               /* stick to the top of hero */
  left: 0;
  width: 100%;
  height: 150px;        /* adjust as you need */
  overflow: hidden;
  z-index: 1;           /* behind navbar, above hero bg */
}
@media (max-width: 600px) {
  .logo h2 {
    font-size: 1rem;   /* smaller font for mobile */
  }
}
}