/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  font-size: 16px;
}

/* Container with responsive behavior */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}
/* Header */
.site-header {
  background-color: #1a1a1a;
  color: white;
  padding: 0.4rem 0; /* Reduced vertical space */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Smaller logo */
.logo {
  height: clamp(50px, 10vw, 90px); /* Shorter logo height */
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Navigation links */
.site-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-size: 0.95rem; /* slightly smaller text */
  transition: background-color 0.3s ease;
}

.site-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Auth buttons */
.auth-buttons {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.auth-buttons button {
  padding: 0.45rem 1rem;
  border: none;
  background-color: #f04e31;
  color: white;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.auth-buttons button:hover {
  background-color: #d63a20;
  transform: translateY(-1px);
}


/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
  color: white;
  padding: clamp(2rem, 8vw, 4rem) 0;
  text-align: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-section p {
  font-size: clamp(1rem, 3vw, 1.3rem);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section button {
  padding: 1rem 2rem;
  background-color: #f04e31;
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(240, 78, 49, 0.3);
}

.hero-section button:hover {
  background-color: #d63a20;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 78, 49, 0.4);
}

.testimonial {
  margin-top: 2rem;
  font-style: italic;
  opacity: 0.9;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Section spacing */
section {
  padding: clamp(2rem, 6vw, 4rem) 0;
}
/* Headings for each section */
.services-section h2,
.portfolio-section h2,
.contact-section h2,
.legal-section h2,
.contact-details-section h2 {
  text-align: left;
  margin-bottom: 2rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #ffffff; /* White text for contrast on dark background */
}

/* Services layout container */
.services-flex {
  display: flex;
  align-items: center; /* Center image vertically */
  gap: 3rem;
  margin-top: 2rem;
  background: linear-gradient(to right, #4b6cb7, #182848); /* Blue to purple gradient */
  padding: 3rem 2rem;
  border-radius: 12px;
}

/* Image container */
.services-image {
  flex: 1;
  min-width: 280px;
  max-width: 800px;
  display: flex;
  justify-content: flex-start; /* Align image to the left */
  align-items: center;         /* Vertically center */
  text-align: left;
}

/* Image styling */
.services-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Service cards layout */
.services-cards,
.portfolio-cards,
.poster-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Individual service card style */
.service-card,
.portfolio-card,
.poster-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent card on dark bg */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
}

/* On hover effect */
.service-card:hover,
.portfolio-card:hover,
.poster-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Ensure text section is flexible */
.services-flex > div:last-child {
  flex: 2;
}

/* Adjust heading margin */
.services-flex h2 {
  margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services-flex {
    flex-direction: column;
  }

  .services-image {
    max-width: 100%;
    margin-bottom: 1.5rem;
    justify-content: center; /* Center image on small screens */
  }

  .service-card {
    background-color: rgba(255, 255, 255, 0.15);
  }
}

/* Portfolio Section */
.portfolio-section {
  padding: 4rem 2rem;
  background-color: #f9f9ff;
}

.portfolio-section h2 {
  text-align: left;
  margin-bottom: 2rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #2c3e50;
}

/* Grid Layout */
.portfolio-cards,
.poster-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Portfolio Cards */
.portfolio-card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #34495e;
}

.portfolio-card p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #555;
}

.portfolio-card a {
  display: inline-block;
  margin: 0.4rem 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #4b6cb7;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.portfolio-card a:hover {
  background-color: #3a54a0;
}

/* Poster Cards */
.poster-card {
  background-color: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.poster-card p {
  font-size: 1rem;
  color: #333;
}

/* Hover Effects */
.portfolio-card:hover,
.poster-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Responsive Enhancements (optional) */
@media (max-width: 768px) {
  .portfolio-section h2 {
    text-align: center;
  }

  .portfolio-card,
  .poster-card {
    padding: 1.5rem;
  }

  .portfolio-card a {
    font-size: 0.95rem;
    padding: 0.4rem 0.9rem;
  }
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4ca1af;
  box-shadow: 0 0 0 3px rgba(76, 161, 175, 0.1);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  padding: 1rem;
  border: none;
  background-color: #f04e31;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: #d63a20;
  transform: translateY(-1px);
}
/* Legal and Details sections */
.legal-section,
.contact-details-section {
  background: linear-gradient(135deg, #f7f9fc, #e6f0ff, #f7f9fc);
  padding: 3rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin: 2rem 0;
}

.legal-section h2,
.contact-details-section h2 {
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #00bcd4;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.legal-section p,
.contact-details-section p {
  color: #444;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.contact-details-section a {
  color: #0077cc;
  text-decoration: none;
}

.contact-details-section a:hover {
  text-decoration: underline;
}


/* News article */
.news-article h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: #2c3e50;
  line-height: 1.3;
}

.news-article p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Team section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-items: center;
}

.team-member {
  text-align: center;
  max-width: 220px;
}

.team-member img {
  width: 100%;
  max-width: 200px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid #ddd;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  
  .auth-buttons {
    order: 2;
    justify-content: center;
  }
  
  .hero-section {
    padding: 3rem 0;
  }
  
  .services-cards,
  .portfolio-cards,
  .poster-cards {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }
  
  .team-member img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95%;
    padding: 0.5rem;
  }
  
  .service-card,
  .portfolio-card,
  .poster-card {
    padding: 1.5rem;
  }
  
  .hero-section button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem;
  }
}
.about-section {
  background-color: #ffffff;
  padding: clamp(2rem, 6vw, 4rem) 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: #2c3e50;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

