/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header / Nav */
.nav {
  background-color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 50px;
  width: auto;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #360185;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  color: #fff;
  padding: 0 2rem;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background-color: #360185;
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #28013a;
}

/* Features Section */
.features {
  padding: 4rem 0 3rem 0;
  background-color: #fff;
}

.feature-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.feature-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  flex: 1 1 calc(33% - 1rem);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-card img.feature-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.feature-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.5rem;
  color: #360185;
}

.feature-card p {
  padding: 0 1rem 1.5rem;
  font-size: 1rem;
  color: #555;
}

/* Subtle Sections */
.section.subtle {
  padding: 3rem 0;
  text-align: center;
  background-color: #f0f4f8;
}

.section.subtle h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #360185;
}

.section.subtle p {
  font-size: 1.1rem;
  color: #555;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 1.5rem auto 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  cursor: pointer;
  border: none;
}

/* Footer */
.footer {
  background-color: #360185;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

/* About Section Cards */
.about-cards {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.about-card {
  flex: 1 1 calc(33% - 1rem);
  background-color: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.about-card h3 {
  color: #360185;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.about-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

/* Responsive About Section */
@media (max-width: 1024px) {
  .about-card {
    flex: 1 1 100%;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #360185;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-inner {
    flex-direction: row; /* logo left, hamburger right */
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 2rem;
    display: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;

    /* slide animation */
    max-height: 0;
    transition: max-height 0.35s ease-in-out;
  }

  .nav-links.open {
    display: flex;
    max-height: 500px; /* enough to show all links */
  }
}

/* Hamburger button animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}