@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;900&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
  overscroll-behavior: none;
  font-family: 'Poppins', sans-serif;
  height: 100%;
  overflow-y: auto;
}

/* Scroll Snap Settings */
body {
  scroll-snap-type: y mandatory;
}

/* Full-Screen Section Layout */
.section {
  height: 100vh;
  width: 100vw;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Home Section */
.home {
  background-color: white;
  color: #1e1e1e;
  flex-direction: column;
}

/* Shared Container */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

/* Text Elements */
.intro-text {
  font-size: 2rem;
  font-weight: 400;
}

.logo {
  width: 160px;
  height: auto;
}

.location {
  font-size: 1.1rem;
  color: #555;
}

/* Arrow Icon */
.arrow {
  font-size: 3rem;
  margin-top: 2rem;
  opacity: 0.2;
  animation: bounce 1.5s infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.arrow:hover {
  transform: translateY(5px);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Point Section */
.point-section {
  background-color: #000;
  color: #fff;

  text-align: left;
}

.point-content {
  font-size: 2.5rem;
  line-height: 1.5;
  font-weight: 300;
  margin: 0;
}

.point-content strong {
  display: block;
  font-weight: 600;
  color: #fff;
}

.projects-section {
  background-color: #ffffff;
  color: #1e1e1e;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2rem;
}

.projects-header h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-top: 5rem;
  margin-left: 5rem;
}

.projects-carousel-wrapper {
  width: 100%;
  position: relative;
}

.projects-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 4rem;
  padding-top: 7rem;
  scrollbar-width: none; /* Firefox */
}

.projects-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.project-card {
  min-width: 400px;
  height: 400px;
  flex-shrink: 0;
  background-color: white;
  border-radius: 20px;
  display: flex;
  flex-direction: column; /* stack image and text vertically */
  align-items: center;
  justify-content: flex-start; /* align items to the top */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden; /* prevent overflow of image */
}

.project-image {
  width: 100%;      /* full width of card */
  height: 90%;      /* take 70% of card height */
  object-fit: cover; /* crop/scale image nicely */
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.project-text {
  height: 20%;       /* remaining height */
  width: 100%;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 1.2rem;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem; 
}

.carousel-arrow {
  font-size: 3rem;
  cursor: pointer;
  user-select: none;
  opacity: 0.2;
  transition: transform 0.3s ease;
}

.carousel-arrow:hover {
  color: #000;
  transform: scale(1.2);
}

.hire-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}

.hire-description {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 2;
  color: #ddd;
}
/* Packages Section */
.packages-section {
  background-color: #fff;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  flex-direction: column;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
}

/* Individual Card */
.card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-heading {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #000;
}

.card-details {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #333;
}

.card-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
}


/* Contact Section */
.contact-section {
  background-color: #fff;
  color: #000;
  display: flex;
  justify-content: center;         /* center content horizontally */
  align-items: center;             /* center content vertically */
  flex-direction: row;
  flex-wrap: wrap;
  height: 100vh;
  padding: 4rem 5%;
}

.contact-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center; 
  gap: 2rem;
  max-width: 960px;                /* control total width */
  width: 100%;
  justify-content: space-between;
}


/* Left Side (Text + Icons + Info) */
.contact-left {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start; /* Align everything to the left */
  text-align: left;        /* Ensure text is aligned left */
}


.message-me {
  font-size: 3rem;
  font-weight: 600;
  color: #000;
  line-height: 1.2  ; /* or try 1.1, 1.2 if it's too tight */
}

.message-me strong {
  font-size: 5rem;
  font-weight: 600;
  color: #000;
  display: block;
  margin-top: -0.5rem; /* decrease space after <br> */
}


/* Social Icons */
.social-icons {
  display: flex;
  gap: 1.5rem;
  font-size: 1.75rem;
}

.social-icons a {
  color: #000;
  transition: opacity 0.2s ease;
}

.social-icons a:hover {
  opacity: 0.6;
}

/* Contact Info */
.contact-info p {
  font-size: 1rem;
  text-align: left;
  color: #111;
  line-height: 1.6;
}

/* Right Side (Form) */
.contact-right {
  flex: 1;
  min-width: 300px;
  max-width: 480px; /* ✅ Set a max width */
  background-color: #fff;
  padding: 2rem 2rem; /* Optional: tighten padding */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-left: auto;
  margin-right: auto;
}


/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}


.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  color: #000;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #000;
}

/* Submit Button */
.contact-form button {
  background-color: #000;
  color: #fff;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #333;
}
.modal {
  display: flex; /* keep flex for centering */
  align-items: center;
  justify-content: center;
  
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  
  opacity: 0;
  pointer-events: none;       /* ignore clicks when hidden */
  transform: scale(1.1);      /* slightly zoomed out */
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Modal content image */
.modal-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}


/* Close button */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.close:hover {
  color: #bbb;
}
/* ===== RESPONSIVE MEDIA QUERIES - 3 BREAKPOINTS ===== */


/* ===== Laptop (1024px - 1439px) ===== */
@media (min-width: 1024px) and (max-width: 1439px) {
  /* Typography */
  .intro-text {
    font-size: 1.9rem;
  }

  .point-content {
    font-size: 2.2rem;
  }

  
.projects-header h2 {
  font-size: 2.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-left: 2.5rem;
}

  .projects-carousel {
    padding-top: 2rem;  /* less space above cards */
    padding-bottom: 3.5rem;
  }
  

  .project-text {
    font-size: 1.1rem;
  }

  .message-me {
    font-size: 2.5rem;
  }

  .message-me strong {
    font-size: 4.2rem;
  }

  .hire-title {
    font-size: 2.2rem;
  }

  .hire-description {
    font-size: 1.15rem;
  }

  .card-heading {
    font-size: 1.4rem;
  }

  .card-details {
    font-size: 0.95rem;
  }

  .card-price {
    font-size: 1.2rem;
  }

  /* Project Card Resizing */
  .project-card {
    min-width: 360px;
    height: 360px;
  }

}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  /* Font Size Reductions */
  .intro-text {
    font-size: 1.7rem;
  }
  
  .point-content {
    font-size: 2rem;
  }
  
  .projects-header h2 {
    font-size: 2rem;
  }
  
  .project-text {
    font-size: 1rem;
  }
  
  .message-me {
    font-size: 2.2rem;
  }
  
  .message-me strong {
    font-size: 3.8rem;
  }
  
  .hire-title {
    font-size: 2rem;
  }
  
  .hire-description {
    font-size: 1.1rem;
  }
  
  .card-heading {
    font-size: 1.3rem;
  }
  
  .card-details {
    font-size: 0.9rem;
  }
  
  .card-price {
    font-size: 1.1rem;
  }
  
  /* Card Size Reductions */
  .project-card {
    min-width: 320px;
    height: 320px;
  }
  
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
}

 
/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
  /* Font Size Reductions */
  /* Text Elements */
.intro-text {
  font-size: 1.8rem;
}

.logo {
  width: 140px;
}

.location {
  font-size: 0.95rem;
}

  
  .point-content {
    font-size: 1.5rem;
  }

  
.projects-section {
  background-color: #ffffff;
  color: #1e1e1e;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2rem;
}

.projects-header h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-left: 2rem;
}

.project-image {
  width: 100%;      /* full width of card */
  height: 80%;      /* take 70% of card height */
}

.project-text {
  height: 20%;       /* remaining height */
  font-size: 1rem;
}

.carousel-controls {
  gap: 2rem;
  margin-top: 1rem; 
}

.carousel-arrow {
  font-size: 2rem;
}

  .message-me {
    font-size: 1.5rem;
  }
  
  .message-me strong {
    font-size: 2.5rem;
  }
  
  .hire-title {
    font-size: 1.5rem;
  }
  
  .hire-description {
    font-size: 0.9rem;
  }
  
  /* Packages Section */
.packages-section {
  background-color: #fff;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  flex-direction: column;
}

.cards-container {

  gap: 1rem;
}

/* Individual Card */
.card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-details {
  font-size: 0.75rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.card-price {
  font-size: 1rem;
}
  
  /* Card Size Reductions */
  .project-card {
    min-width: 275px;
    height: 275px;
  }
  
 /* Contact Section */
.contact-section {
  background: #fff;
  color: #000;
  padding: 2rem 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Wrapper */
.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 500px;
}

/* Left Side */
.contact-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.message-me {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.message-me strong {
  font-size: 2rem;
  margin-top: 0.5rem;
  display: block;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 2rem;
}

/* Contact Info */
.contact-info p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Right Side */
.contact-right {
  padding: 2rem;
  width: 100%;
  max-width: 480px;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
}
.contact-form textarea {
  height: 80px;
  resize: vertical; /* or none, or both */
}


.contact-form button {
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
}


}