* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #A0002C;
  --primary-dark: #800025;
  --secondary-color: #0B1E3D;
  --accent-color: #5b9cd6;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2d4d 100%);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
  min-width: 200px;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo-text h1 {
  font-size: 1.2rem;
  font-weight: 700;
}

.logo-text p {
  font-size: 0.75rem;
  opacity: 0.9;
  font-weight: 300;
}

nav {
  display: flex;
  gap: 0;
  align-items: center;
}

nav a {
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== HERO SECTION ==================== */
.hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding: 120px 2rem;
  text-align: center;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin-bottom: 2rem;
  opacity: 0.95;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(160, 0, 44, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

/* ==================== MAIN CONTENT ==================== */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

section {
  margin: 4rem 0;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 0.5rem;
  display: inline-block;
}

section h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--secondary-color);
}

section p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* ==================== CARDS GRID ==================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card h3 {
  margin-top: 0;
  color: var(--primary-color);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* ==================== CONTACT FORM ==================== */
.contact-section {
  background-color: var(--bg-light);
  padding: 3rem 2rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info-item {
  margin-bottom: 1.5rem;
}

.contact-info-item strong {
  color: var(--secondary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(160, 0, 44, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-group button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-group button:hover {
  background-color: var(--primary-dark);
}

/* ==================== FOOTER ==================== */
footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #ddd;
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.9rem;
}

/* ==================== UTILITY CLASSES ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background-color: var(--secondary-color);
    gap: 0;
    display: none;
    width: 100%;
    min-height: auto;
    overflow-y: auto;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav a::after {
    display: none;
  }

  .header-container {
    flex-wrap: wrap;
    padding: 1rem;
    gap: 1rem;
  }

  .logo {
    flex: 0;
    min-width: auto;
  }

  .logo-text {
    display: none;
  }

  .logo img {
    height: 50px;
  }

  .logo-text h1 {
    font-size: 1rem;
  }

  .logo-text p {
    font-size: 0.7rem;
  }

  .hero {
    padding: 60px 1rem;
    min-height: 350px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section h2 {
    font-size: 1.8rem;
  }

  section h3 {
    font-size: 1.2rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  main {
    padding: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .btn {
    display: block;
    text-align: center;
    padding: 1rem;
    width: 100%;
    margin-left: 0 !important;
    margin-bottom: 1rem;
  }
}
