/* Base Styles and Variables */
:root {
  --primary: #0d9488;
  --primary-dark: #00574e;
  --secondary: #05668d;
  --accent: #02c39a;
  --background: #ffffff;
  --foreground: #1a1a1a;
  --muted: #666666;
  --border: #e5e7eb;
  --card: #f9fafb;
  --yellow: #ffd700;
  --dark-blue: #0a192f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Utility Classes */
.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-yellow {
  background-color: var(--yellow);
}

.badge {
  display: inline-block;
  padding: 7px 10px !important;
  font-size: 11px !important;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 50px !important;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 1.1rem 1.6rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.375rem;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  font-size: 15px;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-light {
  background-color: white;
  border-color: white;
  color: var(--primary);
}

.btn-light:hover {
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  font-size: 15px;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-icon {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.25rem;
}

.btn-icon:hover {
  color: var(--primary);
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--primary-dark);
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.announcement-bar p {
  margin: 0;
}

/* Header */
header {
  background-color: #212529;
  padding: 0.7rem;
}
.edu-header .header-mainmenu{
    background-color:#212529 !important;
}
.mainmenu-nav .mainmenu > li > a{
    color:#fff !important;
}
.header-action li.icon a{
    color:#fff !important;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.logo i {
  color: var(--primary);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 500;
  color: var(--muted);
  position: relative;
}

.nav-link.active {
  color: var(--foreground);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

.nav-link:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-icon {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background-color: var(--primary);
  color: white;
  font-size: 0.75rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.25rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-top: 130px;
}
input {
    height: 55px !important;
}
.hero h1 {
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 5.5rem;
}

.hero p {
  font-size: 2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: #fff;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Countdown Section */
.countdown-section {
  background-color: var(--primary);
  color: white;
  padding: 3rem 0;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.countdown-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 0.5rem;
  min-width: 5rem;
  text-align: center;
}

.countdown-item .number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.countdown-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* Categories Section */
.categories-section {
  padding: 5rem 0;
  background-color: var(--card);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.category-card {
  position: relative;
  height: 270px;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  color: white;
}

.category-icon {
  background-color: var(--primary);
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.category-icon i{
  font-size: 20px;
}

.category-content h3 {
  margin-bottom: 0.25rem;
  font-size: 21px;
  color: #fff;
}

.category-content p {
  opacity: 0.9;
  margin-bottom: 0;
  font-size: 15px;
  color: #fff;
}

/* Bestsellers Section */
.bestsellers-section {
  padding: 5rem 0;
}

.bestsellers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.bestsellers-title h2 {
  margin-bottom: 0.5rem;
}

.bestsellers-title p {
  color: var(--muted);
}

.view-all {
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.view-all:hover {
  color: var(--primary-dark);
}

.product-tabs {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  font-size: 16px;
}

.product-tab {
  background: none;
  border: none;
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0;
  position: relative;
}

.product-tab.active {
  color: var(--primary);
}

.product-tab.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

.product-card {
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.product-card a{
  width: 100%;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  height: 250px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary);
  color: white;
  padding: 0.40rem 0.90rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
}

.product-details {
  padding: 1.6rem;
}

.product-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-description {
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.product-price-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0rem;
}

.product-price {
  font-size: 1.76rem;
  font-weight: 700;
  color: var(--foreground);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-rating .stars {
  color: var(--yellow);
  display: flex;
}

.product-rating .count {
  color: var(--muted);
}

/* Featured Collection */
.featured-collection {
  background-color: var(--dark-blue);
  color: white;
  padding: 5rem 0;
}

.featured-collection h2 {
  margin-bottom: 1.5rem;
  color: #fff;
}

.featured-collection p {
  margin-bottom: 2rem;
  opacity: 0.9;
  color: #ffffff;
}

.featured-list {
  list-style-type: none;
  margin-bottom: 2rem;
  padding-left: 0px;
}

.featured-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #ffffff;
}

.featured-list li i {
  color: var(--accent);
  margin-right: 1rem;
}

.featured-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

.secondary-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.secondary-images img {
  width: 100%;
  height: calc(50% - 0.5rem);
  object-fit: cover;
  border-radius: 0.75rem;
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: var(--card);
}

.about-image {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  border-radius: 0.75rem;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--primary);
  color: white;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.play-button:hover {
  background-color: var(--primary-dark);
}

.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--primary);
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--primary);
}

.timeline-item h3 {
  margin-bottom: 0.5rem;
  font-size: 20px;
}

.timeline-item p {
  color: var(--muted);
}

/* Events Section */
.events-section {
  padding: 5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.event-card {
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.event-image {
  position: relative;
  height: 200px;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-details {
  padding: 2rem;
  margin-bottom: 0px !important;
}

.event-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.event-info {
  margin-bottom: 1.5rem;
}

.event-info-item {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.event-info-item i {
  color: var(--primary);
  margin-right: 1rem;
  width: 1rem;
  text-align: center;
}

/* Blog Section */
.blog-section {
  padding: 5rem 0;
  background-color: var(--card);
}

.blog-card {
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-image {
  height: 200px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-details {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-excerpt {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.blog-meta {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.read-more:hover {
  color: var(--primary-dark);
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
}

.testimonial-card {
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  height: 100%;
}

.testimonial-rating {
  color: var(--yellow);
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background-color: var(--card);
}

.faq-item {
  background-color: white;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #000;
  font-size: 17px;
  font-weight: 600;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Newsletter Section */
.newsletter-section {
  background-color: var(--primary-dark);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  margin-bottom: 1rem;
  color: #ffffff;
}

.newsletter-content p {
  margin-bottom: 2rem;
  opacity: 0.9;
  color: #ffffff;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
}
.newsletter-form .btn{
  font-size: 15px;
  padding: 1rem 1.8rem;
}
.privacy-note {
  opacity: 0.8 !important;
}

.privacy-note i {
  margin-right: 0.5rem;
}



@media (max-width: 991.98px) {
  
  .featured-images {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  
  .hero {
    height: 500px;
  }
  
  .hero-content {
    padding-top: 100px;
  }
  
  .countdown-timer {
    flex-wrap: wrap;
  }
  
  .countdown-item {
    min-width: calc(50% - 0.5rem);
    margin-bottom: 1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form button {
    width: 100%;
    margin-top: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  
  .hero {
    height: 400px;
  }
  
  .hero-content {
    padding-top: 80px;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--card);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}