/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.8;
  color: #2c3e50;
  background-color: #f5f5dc;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1b365d;
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.8rem;
}
h3 {
  font-size: 2rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Navigation - Traditional English Style */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(135deg, #1b365d, #2c3e50);
  padding: 1.2rem 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(27, 54, 93, 0.3);
  border-bottom: 3px solid #d4af37;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  width: 120px;
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
  border: 3px solid #d4af37;
}

.logo-text {
  color: white;
  font-weight: 700;
  font-size: 1.4rem;
  font-family: "Playfair Display", serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.nav-link:hover {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 3px;
  background: #d4af37;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 30px;
  height: 4px;
  background: white;
  margin: 4px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section - Elegant Traditional Style */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1b365d, #2e8b57, #1b365d);
  background-image: url('background.jpg');
  background-size: 100% 100%;
  
}

@keyframes elegantShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  font-weight: 400;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons - Traditional English Style */
.btn {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #1b365d;
  border: 2px solid #d4af37;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, #b8860b, #d4af37);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 3px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #1b365d;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Section Headers - Traditional Style */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
  padding: 2rem 0;
}

.section-header h2 {
  color: #1b365d;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-header p {
  color: #5d6d7e;
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section - Elegant Card Design */
.about {
  padding: 6rem 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text {
  display: grid;
  gap: 2.5rem;
}

.about-card {
  background: linear-gradient(135deg, #f8f9fa, #e8f4f8);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(27, 54, 93, 0.1);
  transition: all 0.4s ease;
  border-left: 6px solid #2e8b57;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #d4af37, #b8860b);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(27, 54, 93, 0.15);
}

.about-card i {
  font-size: 3rem;
  color: #2e8b57;
  margin-bottom: 1.5rem;
}

.about-card h3 {
  color: #1b365d;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.about-image {
  text-align: center;
}

.about-img {
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  clip-path: inset(0% 0% 5% 5%);
  border: 5px solid white;
}

/* Activities Section - Traditional Grid */
.activities {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa, #e8f4f8);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.activity-card {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(27, 54, 93, 0.1);
  transition: all 0.4s ease;
  border-top: 6px solid #2e8b57;
  position: relative;
  overflow: hidden;
}

.activity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #d4af37, #b8860b);
}

.activity-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(27, 54, 93, 0.2);
}

.activity-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #2e8b57, #1b365d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 4px solid #d4af37;
}

.activity-icon i {
  font-size: 2.5rem;
  color: white;
}

.activity-card h3 {
  color: #1b365d;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.activity-time {
  display: inline-block;
  background: linear-gradient(135deg, #1b365d, #2e8b57);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  margin-top: 1.5rem;
  font-weight: 600;
  border: 2px solid #d4af37;
}

/* Programs Section - Elegant Timeline */
.programs {
  padding: 6rem 0;
  background: white;
}

.programs-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.programs-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(to bottom, #1b365d, #2e8b57, #d4af37);
  transform: translateX(-50%);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: 65%;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 65%;
  margin-right: 0;
  text-align: left;
}

.timeline-content {
  background: linear-gradient(135deg, #f8f9fa, #e8f4f8);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(27, 54, 93, 0.1);
  position: relative;
  border: 2px solid #e8f4f8;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 25px;
  height: 25px;
  background: #d4af37;
  border-radius: 50%;
  transform: translateY(-50%);
  border: 4px solid white;
  box-shadow: 0 0 0 4px #1b365d;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -70px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -70px;
}

.timeline-content h3 {
  color: #1b365d;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.program-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.program-features span {
  background: linear-gradient(135deg, #1b365d, #2e8b57);
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  border: 2px solid #d4af37;
}

/* Gallery Section - Elegant Grid */
.gallery {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa, #e8f4f8);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  border: 3px solid white;
}

.gallery-item:hover {
  transform: scale(1.08);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.gallery-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  clip-path: inset(0% 0% 5% 5%);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(27, 54, 93, 0.95));
  color: white;
  padding: 2.5rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  color: #d4af37;
}

.gallery-overlay p {
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}

/* Subscribe Section - Traditional Form */
.subscribe {
  padding: 6rem 0;
  background: white;
}

.subscribe-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

input,
select,
textarea {
  padding: 1.2rem;
  border: 3px solid #e8f4f8;
  border-radius: 10px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  font-family: "Georgia", serif;
  background: #f8f9fa;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #2e8b57;
  background: white;
  box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.subscribe-info h3 {
  color: #1b365d;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.subscribe-info ul {
  list-style: none;
}

.subscribe-info li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #2e8b57;
}

.subscribe-info i {
  color: #2e8b57;
  font-size: 1.4rem;
}

/* Contact Section - Elegant Layout */
.contact {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa, #e8f4f8);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.contact-card {
  background: white;
  width: 250px;
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(27, 54, 93, 0.1);
  transition: all 0.4s ease;
  border: 2px solid #e8f4f8;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #d4af37, #b8860b);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(27, 54, 93, 0.15);
}

.contact-card i {
  font-size: 3rem;
  color: #2e8b57;
  margin-bottom: 1.5rem;
}

.contact-card h3 {
  color: #1b365d;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(27, 54, 93, 0.1);
  border: 2px solid #e8f4f8;
}

/* Footer - Traditional English Style */
.footer {
  background: linear-gradient(135deg, #1b365d, #2c3e50);
  color: white;
  padding: 4rem 0 2rem;
  border-top: 4px solid #d4af37;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  color: #d4af37;
  font-size: 1.6rem;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: #d4af37;
  border-radius: 2px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.8rem;
  padding: 0.5rem 0;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 5px;
}

.footer-section a:hover {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 2px solid rgba(212, 175, 55, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: linear-gradient(135deg, #1b365d, #2c3e50);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    border-top: 3px solid #d4af37;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-title {
    font-size: 3rem;
  }

  .about-content,
  .subscribe-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin: 0 0 0 0;
    text-align: center;
  }

  .programs-timeline::before {
    left: 30px;
  }

  .timeline-content::before {
    left: -50px !important;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .activities-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .about-card,
  .activity-card,
  .contact-card {
    padding: 2rem;
  }

  .btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .btn-primary {
    background: #000;
    color: #fff;
    border: 3px solid #000;
  }

  .nav-link:hover {
    color: #000;
    background: #fff;
    padding: 0.8rem;
    border-radius: 5px;
  }

  .section-header h2::after {
    background: #000;
  }
}
