/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Crimson Text", serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #fafafa;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2.2rem;
}
h3 {
  font-size: 1.8rem;
}
h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(44, 62, 80, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #d4af37;
  clip-path: inset(0% 0% 5% 5%);
}

.brand-title {
  color: #d4af37;
  font-size: 1.5rem;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #d4af37;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #d4af37;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.2);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.8) 0%,
    rgba(52, 73, 94, 0.6) 100%
  );
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: #ecf0f1;
  max-width: 800px;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: #d4af37;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #2c3e50;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
  background: transparent;
  color: #d4af37;
  border-color: #d4af37;
}

.btn-secondary:hover {
  background: #d4af37;
  color: #2c3e50;
  transform: translateY(-3px);
}

.hero-decoration {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
}

.heraldic-element {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #d4af37, #b8941f);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  right: -20px;
}

.heraldic-element::before {
  content: "❤";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: #2c3e50;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  color: #2c3e50;
  margin-bottom: 1rem;
  position: relative;
}

.title-decoration {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #b8941f);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}

.title-decoration::before,
.title-decoration::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #d4af37;
  border-radius: 50%;
}

.title-decoration::before {
  left: -20px;
}

.title-decoration::after {
  right: -20px;
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #34495e;
  margin-bottom: 2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.2);
}

.stat-item i {
  font-size: 2.5rem;
  color: #d4af37;
  margin-bottom: 1rem;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #2c3e50;
  font-family: "Playfair Display", serif;
}

.stat-label {
  color: #7f8c8d;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-image {
  text-align: center;
}

.about-img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  clip-path: inset(0% 0% 5% 5%);
  transition: transform 0.3s ease;
}

.about-img:hover {
  transform: scale(1.05);
}

/* Programs Section */
.programs-section {
  padding: 6rem 0;
  background: #2c3e50;
  color: #ecf0f1;
}

.programs-section .section-title {
  color: #ecf0f1;
}

.programs-section .title-decoration {
  background: linear-gradient(90deg, #d4af37, #b8941f);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.program-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.program-card:hover {
  transform: translateY(-10px);
  border-color: #d4af37;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.program-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #d4af37, #b8941f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.program-icon i {
  font-size: 2rem;
  color: #2c3e50;
}

.program-title {
  color: #d4af37;
  margin-bottom: 1rem;
}

.program-description {
  color: #bdc3c7;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.program-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.feature {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* History Section */
.history-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #d4af37, #b8941f);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 45%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 55%;
  text-align: left;
}

.timeline-date {
  position: absolute;
  top: 0;
  background: #d4af37;
  color: #2c3e50;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.timeline-item:nth-child(odd) .timeline-date {
  right: -120px;
}

.timeline-item:nth-child(even) .timeline-date {
  left: -120px;
}

.timeline-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

.timeline-content h3 {
  color: #d4af37;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: #34495e;
  line-height: 1.6;
}

.timeline-image {
  width: 100%;
  border-radius: 10px;
  margin-top: 1rem;
  clip-path: inset(0% 0% 5% 5%);
  transition: transform 0.3s ease;
}

.timeline-image:hover {
  transform: scale(1.05);
}

/* Subscribe Section */
.subscribe-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  color: #ecf0f1;
}

.subscribe-section .section-title {
  color: #ecf0f1;
}

.subscribe-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.subscribe-text h3 {
  color: #d4af37;
  margin-bottom: 1.5rem;
}

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

.subscribe-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.benefit-item i {
  color: #d4af37;
  font-size: 1.2rem;
}

.newsletter-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(212, 175, 55, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ecf0f1;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #bdc3c7;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #d4af37;
  background: rgba(255, 255, 255, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: #ffffff;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 15px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d4af37, #b8941f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.5rem;
  color: #2c3e50;
}

.contact-details h3 {
  color: #d4af37;
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: #34495e;
  line-height: 1.6;
}

.contact-form {
  background: #f8f9fa;
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.contact-form:hover {
  border-color: #d4af37;
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.1);
}

.contact-form .form-input,
.contact-form .form-select,
.contact-form .form-textarea {
  background: #ffffff;
  color: #2c3e50;
  border-color: #e9ecef;
}

.contact-form .form-input:focus,
.contact-form .form-select:focus,
.contact-form .form-textarea:focus {
  border-color: #d4af37;
  background: #ffffff;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #d4af37;
  clip-path: inset(0% 0% 5% 5%);
}

.footer-brand h3 {
  color: #d4af37;
  font-size: 1.3rem;
}

.footer-description {
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-section h4 {
  color: #d4af37;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #d4af37;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-link:hover {
  background: #d4af37;
  color: #2c3e50;
  transform: translateY(-3px);
}

.footer-contact p {
  color: #bdc3c7;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact i {
  color: #d4af37;
}

.footer-bottom {
  border-top: 2px solid rgba(212, 175, 55, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-info p {
  color: #95a5a6;
  margin-bottom: 0.5rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #d4af37;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-content,
  .subscribe-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: calc(100% - 40px);
    left: 40px !important;
    text-align: left !important;
  }

  .timeline-date {
    left: -120px !important;
    right: auto !important;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}
