/* Base Styles */
:root {
  --navy: #14294F;
  --gold: #D4AF37;
  --cream: #F5F0E6;
  --brown: #5E3B1B;
  --white: #FFFFFF;
  --light-gold: #F0E68C;
  --dark-gold: #B8860B;
  --light-cream: #FFF8E7;
  --text-color: #333333;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --transition-quick: all 0.2s ease;
  --transition-medium: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --border-radius-sm: 4px;
  --b/* Education Section */
.education-section {
  padding: 80px 0;
  background-color: var(--light-cream);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.education-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.education-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--gold);
}

.education-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.education-icon i {
  font-size: 32px;
  color: var(--gold);
}

.education-title {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--navy);
}

.education-text {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color);
}

.education-features {
  list-style-type: none;
  margin-bottom: 24px;
  margin-top: 16px;
}

.education-features li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.education-features li i {
  color: var(--gold);
  margin-right: 8px;
  font-size: 18px;
}

.btn-education {
  display: inline-block;
  background-color: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition-medium);
  text-align: center;
  margin-top: auto;
  border: 2px solid var(--navy);
}

.btn-education:hover {
  background-color: transparent;
  color: var(--navy);
}

.education-cta {
  text-align: center;
  margin-top: 40px;
  padding: 24px;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.education-cta p {
  margin-bottom: 16px;
  font-size: 16px;
}

@media (min-width: 768px) {
  .education-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .education-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--navy);
  color: var(--white);
}

.testimonials-section .section-title {
  color: var(--gold);
}

.testimonials-slider {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.testimonial-item {…}x;
  --border-radius-lg: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Raleway', sans-serif;
  background-color: var(--cream);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--navy);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-medium);
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-medium);
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--dark-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--navy);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* Header & Navigation */
.header {
  position: relative;
  padding-top: 102px; /* Space for fixed navbar + extra margin */
}

.navbar {
  background-color: var(--navy);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo-image {
  height: 70px;
  border-radius: var(--border-radius-sm);
}

.desktop-nav {
  display: none;
}

.nav-link {
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  margin-left: 30px;
  position: relative;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

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

.mobile-menu-btn {
  display: block;
}

.mobile-menu-btn button {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 16px 0;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover {
  color: var(--light-gold);
  padding-left: 5px;
}

/* Hero Section */
.hero-section {
  background-color: var(--navy);
  background-image: linear-gradient(rgba(20, 41, 79, 0.85), rgba(20, 41, 79, 0.85)), url('https://pixabay.com/get/gae38e600ff2609bbbc99571a001b1cd875903af867aeb3e9370275bb2474388d108d09a694e71d1b56e7ce5dc095bce5_1280.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding: 120px 0;
  text-align: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-title {
  font-size: 42px;
  margin-bottom: 16px;
  color: var(--gold);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 32px;
  font-weight: 300;
}

/* Menu Header */
.menu-header {
  background-color: var(--navy);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.menu-title {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--gold);
}

.menu-description {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Sections */
.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 12px;
  color: var(--navy);
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--gold);
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
  font-weight: 300;
  font-size: 16px;
}

.categories-section {
  padding: 60px 0;
  background-color: var(--cream);
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

.category-card {
  position: relative;
  height: 180px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-medium);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-card.active {
  box-shadow: 0 0 0 3px var(--gold), var(--shadow-md);
  transform: scale(1.02);
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

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

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(20, 41, 79, 0.9), transparent);
  padding: 20px;
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.category-name {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.products-section {
  padding: 60px 0;
  background-color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition-medium);
}

.product-card:hover .product-image {
  transform: scale(1.03);
}

.product-details {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.product-name {
  font-size: 20px;
  color: var(--navy);
  margin-right: 8px;
  flex: 1;
}

.product-price {
  color: var(--gold);
  font-weight: bold;
  font-size: 18px;
  background-color: rgba(212, 175, 55, 0.1);
  padding: 4px 8px;
  border-radius: var(--border-radius-sm);
  white-space: nowrap;
}

.product-description {
  font-size: 15px;
  color: var(--text-color);
  opacity: 0.9;
  margin-top: auto;
}

.empty-selection {
  text-align: center;
  padding: 60px 0;
}

.empty-text {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 16px;
}

.arrow-up {
  font-size: 32px;
  color: var(--gold);
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: var(--light-cream);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 30px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  width: 100%;
  max-width: 500px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.rounded-image {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-medium);
}

.image-container:hover .rounded-image {
  transform: scale(1.03);
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--navy);
  color: var(--white);
}

.testimonials-section .section-title {
  color: var(--gold);
}

.testimonials-slider {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.testimonial-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--gold);
}

.rating {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-weight: bold;
  font-size: 14px;
  opacity: 0.9;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: var(--cream);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 30px;
}

.contact-info {
  flex: 1;
}

.contact-item {
  display: flex;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-item i {
  font-size: 24px;
  color: var(--gold);
  margin-right: 16px;
  margin-top: 4px;
}

.contact-text h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.contact-text p {
  font-size: 15px;
  margin-bottom: 4px;
  opacity: 0.9;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  font-size: 20px;
  transition: var(--transition-medium);
}

.social-link:hover {
  background-color: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

.contact-form-container {
  flex: 1;
}

.contact-form {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  transition: var(--transition-quick);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Footer */
.footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 60px 0 20px;
  position: relative;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}

/* Animation for elements */
.hero-content, .section-title, .about-content, .contact-content, .footer-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-content.animated, .section-title.animated, .about-content.animated, 
.contact-content.animated, .footer-content.animated {
  opacity: 1;
  transform: translateY(0);
}

.footer-logo {
  text-align: center;
}

.footer-logo-image {
  height: 80px;
  border-radius: var(--border-radius-sm);
  border: 3px solid var(--gold);
  background-color: white;
  padding: 3px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-title {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--gold);
}

.footer-link {
  color: var(--light-gold);
  margin-bottom: 10px;
  font-weight: 500;
  transition: var(--transition-quick);
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--border-radius-sm);
}

.footer-link:hover {
  background-color: rgba(212, 175, 55, 0.2);
  color: var(--gold);
  transform: translateX(3px);
}

.footer-newsletter {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: var(--border-radius-md);
  border-top: 3px solid var(--gold);
}

.footer-text {
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--light-cream);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input {
  padding: 12px 15px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius-sm);
  font-family: 'Raleway', sans-serif;
  color: var(--navy);
  font-size: 15px;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  margin-top: 20px;
  padding-top: 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.2);
}

.copyright {
  font-size: 14px;
  color: var(--light-gold);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-medium);
  box-shadow: var(--shadow-md);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--dark-gold);
  transform: translateY(-5px);
}

/* Media Queries */
@media (min-width: 576px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .newsletter-form {
    flex-direction: row;
  }
  
  .newsletter-form input {
    flex: 1;
  }
  
  .testimonials-slider {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 20px;
  }
  
  .testimonial-item {
    min-width: 300px;
    flex: 0 0 auto;
  }
}

@media (min-width: 768px) {
  .navbar-content {
    padding: 10px 0;
  }
  
  .desktop-nav {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .product-image {
    height: 240px;
  }
  
  .about-content {
    flex-direction: row;
  }
  
  .contact-content {
    flex-direction: row;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .footer-links {
    align-items: flex-start;
  }
  
  .footer-newsletter {
    text-align: left;
  }
  
  .footer-text {
    margin-left: 0;
  }
  
  .newsletter-form {
    margin: 0;
  }
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 48px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .menu-title {
    font-size: 42px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .testimonials-slider {
    gap: 20px;
  }
  
  .testimonial-item {
    min-width: 320px;
  }
}