* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #0117E0;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: #f7f3f3;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1; /* Ensure the icon aligns properly */
}

/* Hero Section */
/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 900px;           /* ← adjust this to control max width */
  margin: 1.5rem auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.carousel-container {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Arrows */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 12px 18px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Dots (optional) */
.carousel-dots {
  text-align: center;
  padding: 12px 0;
}

.carousel-dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dot.active {
  background-color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-carousel {
    max-width: 100%;
    margin: 1rem auto;
  }

  .carousel-prev, .carousel-next {
    font-size: 1.6rem;
    padding: 10px 14px;
  }
}

/* Graphics Section */
.graphics {
  padding: 50px 20px;
  text-align: center;
  background-color: #f9f9f9; /* Adjust to match your theme */
}

.graphics h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.graphics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.graphic-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: left;
}

.graphic-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
}

.graphic-item h3 {
  font-size: 1.5rem;
  margin: 10px 0;
}

.graphic-item p {
  font-size: 1rem;
  color: #666;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero .intro-video iframe {
    width: 100%;
    height: auto;
  }

  .graphics-grid {
    grid-template-columns: 1fr;
  }

  .graphic-item {
    padding: 10px;
  }

  .graphic-item img {
    max-height: 200px;
    object-fit: cover;
  }
}
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  text-align: center;
  padding-top: 60px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: #21384e;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1rem;
}

/* Portfolio Section */
.portfolio {
  padding: 5rem 5%;
  background: #fff;
  color: #595b5b;
}

.portfolio h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  text-align: center;
}

.portfolio-item iframe {
  width: 100%;
  height: 200px;
  border-radius: 5px;
  aspect-ratio: 16 / 9; /* Ensures proper video ratio */
}

.portfolio-item h3 {
  margin: 1rem 0 0.5rem;
}

/* About Section */
.about {
  padding: 5rem 5%;
  background: #98EAA9;
  color: #595b5b;
}

.about h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 1.5rem; /* Replaces <br><br> for spacing */
}

/* Contact Section */
.contact {
  padding: 5rem 5%;
  text-align: center;
}

.contact form {
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.contact textarea {
  min-height: 150px;
}

.contact button {
  padding: 1rem;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Modal (Popup) Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 2rem;
  border-radius: 5px;
  width: 80%;
  max-width: 400px;
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #333;
  color: white;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 100%; /* Position below the nav */
    left: 0;
    width: 100%;
    background: #fff;
    padding: 0; /* Remove padding to avoid extra space */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 999; /* Ensure it appears above other elements */
  }

  .nav-links.active {
    display: flex; /* Show when active */
  }

  .nav-links li {
    margin: 0; /* Reset margin for mobile */
    padding: 1rem 0; /* Add padding to each item for better spacing */
    text-align: center;
    border-bottom: 1px solid #eee; /* Optional: divider between items */
  }

  .nav-links li:last-child {
    border-bottom: none; /* Remove divider from last item */
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
  }

  .portfolio {
    padding: 3rem 3%;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .portfolio-item iframe {
    height: 180px;
  }

  .about {
    padding: 3rem 3%;
  }

  .contact {
    padding: 3rem 3%;
  }

  .contact form {
    max-width: 100%;
    padding: 0 1rem;
  }

  .modal-content {
    width: 90%;
    margin: 20% auto;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 0.5rem 1rem;
  }

  .portfolio h2 {
    font-size: 1.5rem;
  }

  .portfolio-item iframe {
    height: 150px;
  }

  .portfolio-item h3 {
    font-size: 1.2rem;
  }

  .portfolio-item p {
    font-size: 0.9rem;
  }

  .about h2 {
    font-size: 1.5rem;
  }

  .contact h2 {
    font-size: 1.5rem;
  }

  footer {
    padding: 1rem;
    font-size: 0.9rem;
  }
}