/* Mobile Menu Styles */
#top-menu-nav {
  transition: all 0.3s ease;
}

#top-menu-nav.show {
  display: block !important;
  opacity: 1;
  visibility: visible;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
}

.hamburger.is-active {
  color: #ff0000; /* Change color when active */
}

/* Dropdown Menu Styles */
.sub-menu {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.sub-menu.show {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hamburger {
    display: block;
  }
  
  #top-menu-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #333;
    z-index: 1000;
  }
  
  #top-menu {
    flex-direction: column;
  }
  
  .menu-item {
    position: relative;
    width: 100%;
  }
  
  .sub-menu {
    position: static;
    width: 100%;
    box-shadow: none;
  }
  
  .sub-menu li {
    padding-left: 20px;
  }
}

/* Testimonial Slider Styles */
.testimonial-slider {
  position: relative;
  min-height: 300px;
}

.testimonial-card {
  display: none;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Gallery Responsive Styles */
.gallery-card {
  display: flex;
  margin-bottom: 30px;
}

@media (max-width: 991px) {
  .gallery-card {
    flex-direction: column;
  }
}



/* blogs style*/
/* Blog Page Specific Styles */
.blog-hero {
  height: 50vh;
  min-height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
  color: var(--white);
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: -120px;
  padding-top: 120px;
}

.blog-hero .container {
  position: relative;
  z-index: 2;
}

.blog-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.blog-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.blog-main {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* Featured Post */
.featured-post {
  margin-bottom: 60px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-post:hover .post-image img {
  transform: scale(1.05);
}

.post-category {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.post-content {
  padding: 30px;
  background-color: var(--white);
}

.post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.post-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

.featured-post h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.featured-post h2 a {
  color: inherit;
  transition: var(--transition);
}

.featured-post h2 a:hover {
  color: var(--secondary-color);
}

.post-excerpt {
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1.7;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--secondary-color);
  gap: 10px;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.blog-post {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.blog-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-post .post-image {
  height: 200px;
}

.blog-post .post-content {
  padding: 20px;
}

.blog-post h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.blog-post h3 a {
  color: var(--primary-color);
  transition: var(--transition);
}

.blog-post h3 a:hover {
  color: var(--secondary-color);
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-color);
  color: var(--text-color);
  font-weight: 600;
  transition: var(--transition);
}

.page-numbers.current {
  background-color: var(--primary-color);
  color: var(--white);
}

.page-numbers:hover:not(.current) {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

.next.page-numbers {
  width: auto;
  padding: 0 20px;
  border-radius: 20px;
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 140px;
  align-self: start;
}

.sidebar-widget {
  margin-bottom: 40px;
  padding: 25px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.3rem;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* Search Widget */
.search-form {
  position: relative;
}

.search-form input {
  width: 100%;
  padding: 12px 50px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.search-form button {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50px;
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
}

/* Categories Widget */
.categories-widget ul {
  list-style: none;
}

.categories-widget li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.categories-widget li:last-child {
  border-bottom: none;
}

.categories-widget a {
  display: flex;
  justify-content: space-between;
  color: var(--text-color);
  transition: var(--transition);
}

.categories-widget a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.categories-widget span {
  color: var(--text-light);
}

/* Recent Posts Widget */
.recent-posts ul {
  list-style: none;
}

.recent-posts li {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.recent-posts li:last-child {
  border-bottom: none;
}

.recent-posts a {
  display: block;
  color: var(--text-color);
  font-weight: 600;
  margin-bottom: 5px;
  transition: var(--transition);
}

.recent-posts a:hover {
  color: var(--primary-color);
}

.post-date {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Tags Widget */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags-container a {
  display: inline-block;
  padding: 5px 15px;
  background-color: var(--light-color);
  color: var(--text-color);
  border-radius: 20px;
  font-size: 0.8rem;
  transition: var(--transition);
}

.tags-container a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Newsletter Widget */
.newsletter-widget p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.newsletter-form input {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #714890;
  border-radius: 4px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-sidebar {
    position: static;
    margin-top: 50px;
  }
  
  .featured-post .post-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 2rem;
  }
  
  .blog-hero p {
    font-size: 1rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 576px) {
  .blog-hero {
    margin-top: -100px;
    padding-top: 100px;
    min-height: 350px;
  }
  
  .featured-post h2 {
    font-size: 1.5rem;
  }
  
  .blog-post h3 {
    font-size: 1.1rem;
  }
}




/* event style*/
/* Events Page Specific Styles */
.events-hero {
  height: 50vh;
  min-height: 400px;
  background: #714890;
  color: var(--white);
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: -120px;
  padding-top: 120px;
}

.events-hero .container {
  position: relative;
  z-index: 2;
}

.events-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.events-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.events-main {
  padding: 80px 0;
}

.events-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* Event Cards */
.upcoming-events {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.event-card {
  display: flex;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.event-card.featured {
  border: 2px solid var(--secondary-color);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 15px;
  background-color: var(--primary-color);
  color: var(--white);
}

.date-day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.date-month {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-image {
  width: 250px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-content {
  flex: 1;
  padding: 25px;
}

.event-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.event-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

.event-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.event-description {
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1.6;
}

.event-actions {
  display: flex;
  gap: 15px;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Events Sidebar */
.events-sidebar {
  position: sticky;
  top: 140px;
  align-self: start;
}

.sidebar-widget {
  margin-bottom: 40px;
  padding: 25px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.3rem;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* Categories Widget */
.categories-widget ul {
  list-style: none;
}

.categories-widget li {
  padding: 10px 0;
  border-bottom: 1px solid #714890;
}

.categories-widget li:last-child {
  border-bottom: none;
}

.categories-widget a {
  display: flex;
  justify-content: space-between;
  color: var(--text-color);
  transition: var(--transition);
}

.categories-widget a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.categories-widget span {
  color: var(--text-light);
}

/* Dates Widget */
.date-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.date-item:last-child {
  border-bottom: none;
}

.date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 5px;
  background-color: var(--light-color);
  border-radius: 4px;
  text-align: center;
}

.date-box .date-day {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.date-box .date-month {
  font-size: 0.8rem;
  color: var(--text-light);
}

.date-content h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.date-time {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Newsletter Widget */
.newsletter-widget p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.newsletter-form input {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid black;
  border-radius: 4px;
}

/* Events CTA */
.events-cta {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.events-cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.events-cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .events-container {
    grid-template-columns: 1fr;
  }
  
  .events-sidebar {
    position: static;
    margin-top: 50px;
  }
  
  .event-image {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .event-card {
    flex-direction: column;
  }
  
  .event-image {
    width: 100%;
    height: 200px;
  }
  
  .event-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn, .btn-outline {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .events-hero {
    margin-top: -100px;
    padding-top: 100px;
    min-height: 350px;
  }
  
  .events-hero h1 {
    font-size: 2rem;
  }
  
  .events-hero p {
    font-size: 1rem;
  }
  
  .event-date {
    min-width: 70px;
    padding: 10px;
  }
  
  .date-day {
    font-size: 1.5rem;
  }
  
  .date-month {
    font-size: 0.8rem;
  }
}
















/* contacts style*/
/* Contact Page Specific Styles */
.contact-hero {
  height: 60vh;
  min-height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
  color: var(--white);
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: -120px;
  padding-top: 120px;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.contact-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-main {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form-container {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
  margin-top: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-main);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(113, 72, 144, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info-container {
  padding: 20px;
}

.contact-info-card {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.contact-info-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-text h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-info-text p {
  color: var(--text-light);
  line-height: 1.6;
}

.contact-social {
  margin-top: 40px;
}

.contact-social h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.map-section {
  padding: 0 0 80px;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    height: 50vh;
    min-height: 350px;
  }
  
  .contact-hero h1 {
    font-size: 1.8rem;
  }
  
  .contact-hero p {
    font-size: 1rem;
  }
  
  .contact-form-container {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .contact-hero {
    margin-top: -100px;
    padding-top: 100px;
  }
  
  .contact-info-card {
    flex-direction: column;
    gap: 15px;
  }
  
  .contact-info-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}














/* Updated Color Variables */
:root {
    --primary-color: #714890; /* Purple */
    --secondary-color: #eab440; /* Gold */
    --accent-color: #8a6dae; /* Complementary purple */
    --dark-color: #333;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #777;
    --white: #fff;
    --black: #000;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Georgia', serif;
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 120px; /* Adjusted for header height */
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
  }
  
  ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .btn-primary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: 2px solid var(--secondary-color);
  }
  
  .btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
  }
  
  .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
  }
  
  .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
  }
  
  .btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
  }
  
  .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
  }
  
  .section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
  }
  
  /* Enhanced Header with Logo Matching Text Height */
  #main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
  }
  
  #main-header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .container.et_menu_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px; /* Perfect height for logo/text balance */
    transition: var(--transition);
  }
  
  /* Logo Container with Perfect Text Matching */
  .logo_container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  /* Logo Sized to Match Text Height */
  .logo_container img {
    height: 160px; /* Matches the text box height */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
  }
  
  /* Logo Text Box - Now Perfectly Aligned */
  .logo-text {
    display: inline-block;
    padding: 20px 30px;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    font-weight: bold;
    border-radius: 10px;
    font-size: 1.2rem;
    line-height: 1.4; /* Perfect vertical alignment */
    height: 80px; /* Explicit height to match logo */
    display: flex;
    align-items: center; /* Perfect vertical centering */
  }
  
  /* Scrolled State - Proportional Scaling */
  #main-header.scrolled .container.et_menu_container {
    height: 90px;
  }
  
  #main-header.scrolled .logo_container img {
    height: 60px; /* Proportional reduction */
  }
  
  #main-header.scrolled .logo-text {
    height: 60px;
    padding: 15px 25px;
    font-size: 1.1rem;
  }
  
  /* Navigation Styles */
  #et-top-navigation {
    display: flex;
    align-items: center;
  }
  
  .hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 10px;
  }
  
  #top-menu-nav {
    display: block;
  }
  
  #top-menu {
    display: flex;
  }
  
  #top-menu > .menu-item {
    position: relative;
    padding: 0 15px;
  }
  
  #top-menu > .menu-item > a {
    display: block;
    padding: 20px 0;
    font-weight: 600;
    color: var(--dark-color);
    position: relative;
  }
  
  #top-menu > .menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
  }
  
  #top-menu > .menu-item:hover > a::after {
    width: 100%;
  }
  
  /* Dropdown Menu Styles */
  .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 100;
  }
  
  .menu-item:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .sub-menu li {
    border-bottom: 1px solid #eee;
  }
  
  .sub-menu li:last-child {
    border-bottom: none;
  }
  
  .sub-menu li a {
    display: block;
    padding: 12px 15px;
    color: var(--text-color);
    transition: var(--transition);
  }
  
  .sub-menu li a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    padding-left: 20px;
  }
  
  /* Hero Section */
  .hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('Images/G 6.jpeg') no-repeat center center/cover;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: -120px;
    padding-top: 120px;
  }
  
  .hero .container {
    position: relative;
    z-index: 2;
  }
  
  .hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
  }
  
  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  /* Featured Programs */
  .featured-programs {
    padding: 80px 0;
    background-color: var(--light-color);
  }
  
  .programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
  
  .program-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
  }
  
  .program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .program-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
  }
  
  .program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
  }
  
  .program-card p {
    color: var(--text-light);
    margin-bottom: 20px;
  }
  
  .program-link {
    color: var(--accent-color);
    font-weight: 600;
  }
  
  .program-link i {
    margin-left: 5px;
    transition: var(--transition);
  }
  
  .program-link:hover i {
    transform: translateX(5px);
  }
  
  /* About Section */
  .about-section {
    padding: 80px 0;
  }
  
  .about-content {
    display: flex;
    align-items: center;
    gap: 50px;
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .about-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
  }
  
  .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
  }
  
  .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
  }
  
  /* Testimonials */
  .testimonials {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
  }
  
  .testimonials .section-title {
    color: var(--white);
  }
  
  .testimonials .section-title::after {
    background-color: var(--secondary-color);
  }
  
  .testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    margin-top: 40px;
  }
  
  .testimonial-card {
    min-width: 350px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    scroll-snap-align: start;
  }
  
  .testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
  }
  
  .testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -20px;
    left: -10px;
  }
  
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }
  
  .author-info p {
    font-size: 0.9rem;
    opacity: 0.8;
  }
  
  /* Scripture Gallery */
.scripture-gallery {
  padding: 80px 0;
  background-color: #f9f5ed;
}

.section-subtitle {
  text-align: center;
  max-width: 400px;
  margin: 0 auto 50px;
  color: var(--text-light);
  font-size: 1.1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Fixed 2 columns */
  gap: 30px;
  max-width: 1200px; /* Optional: constrain overall width */
  margin: 0 auto; /* Center the grid */
}

.gallery-card {
  display: flex; /* Make card a flex container */
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.gallery-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-image {
  flex: 1; /* Take up equal space */
}

.gallery-image img {
  width: 100%;
  height: 100%; /* Full height of card */
  object-fit: cover;
  display: block;
}

.gallery-content {
  flex: 1; /* Take up equal space */
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.gallery-content blockquote {
  font-style: italic;
  color: var(--text-light);
  border-left: 3px solid var(--secondary-color);
  padding-left: 15px;
  margin: 15px 0;
}

.gallery-content cite {
  display: block;
  text-align: right;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-top: 5px;
}

.gallery-content p {
  margin-top: 15px;
  color: var(--text-color);
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* Stack on mobile */
  }
  
  .gallery-card {
    flex-direction: column; /* Stack image and content vertically on mobile */
  }
  
  .gallery-image img {
    height: 250px; /* Fixed height on mobile */
  }
}
  
  /* Events Section */
  .events-section {
    padding: 80px 0;
  }
  
  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
  }
  
  .view-all {
    color: var(--accent-color);
    font-weight: 600;
  }
  
  .view-all:hover {
    text-decoration: underline;
  }
  
  .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .event-card {
    display: flex;
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
  }
  
  .event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .event-date {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
  }
  
  .date-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
  }
  
  .date-month {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .event-details {
    padding: 20px;
    flex: 1;
  }
  
  .event-details h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
  }
  
  .event-time {
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .event-desc {
    color: var(--text-light);
    margin-bottom: 15px;
  }
  
  .event-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  
  .event-link:hover {
    text-decoration: underline;
  }
  
  :root {
    --purple: #714890;
    --gold: #eab440;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-purple: #5a3a72;
  }
  
  :root {
    --purple: #714890;
    --gold: #eab440;
    --white: #ffffff;
    --light-gold: #f8e8c0;
    --dark-purple: #5a3a72;
  }
  
  /* Shared Section Styling */
  .ministry-actions-container {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  .ministry-action-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .ministry-action-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 1;
  }
  
  .action-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
  }
  
  .action-content h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    line-height: 1.3;
  }
  
  .action-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  /* Primary Action Section */
  .action-primary {
    background: linear-gradient(135deg, var(--purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
  }
  
  .action-primary::before {
    background: url('https://www.transparenttextures.com/patterns/always-grey.png');
  }
  
  /* Secondary Action Section */
  .action-secondary {
    background: linear-gradient(135deg, var(--gold) 0%, #d9a53b 100%);
    color: var(--purple);
  }
  
  .action-secondary::before {
    background: url('https://www.transparenttextures.com/patterns/cream-paper.png');
  }
  
  /* Button Styles */
  .action-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    min-width: 200px;
    font-size: 0.95rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
  }
  
  .btn-gold {
    background-color: var(--gold);
    color: var(--purple);
    box-shadow: 0 4px 15px rgba(234, 180, 64, 0.3);
  }
  
  .btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(234, 180, 64, 0.4);
    color: var(--purple);
  }
  
  .btn-outline {
    background-color: transparent;
    color: var(--gold);
    border-color: var(--gold);
  }
  
  .btn-outline:hover {
    background-color: var(--gold);
    color: var(--purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(234, 180, 64, 0.4);
  }
  
  .btn-purple {
    background-color: var(--purple);
    color: var(--gold);
    box-shadow: 0 4px 15px rgba(113, 72, 144, 0.3);
  }
  
  .btn-purple:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(113, 72, 144, 0.4);
    color: var(--gold);
  }
  
  /* Decorative Elements */
  .action-primary .action-content::after,
  .action-secondary .action-content::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 30px auto;
    opacity: 0.7;
  }
  
  .action-secondary .action-content::after {
    background: var(--purple);
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .ministry-action-section {
      padding: 80px 0;
    }
    
    .action-content h2 {
      font-size: 2rem;
    }
    
    .action-buttons {
      flex-direction: column;
      align-items: center;
    }
    
    .action-btn {
      width: 100%;
      max-width: 280px;
    }
  }
  
  /* Footer */
.main-footer {
  background-color: var(--gold); /* Changed to gold color */
  color: var(--white);
}

.footer-top {
  padding: 10px 0 1px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-logo {
  height: 120px; /* Matches header logo proportions */
  margin-bottom: 20px;
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 5px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  opacity: 1;
  color: var(--secondary-color);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.contact-info i {
  color: var(--secondary-color);
  margin-top: 3px;
}

.newsletter-form {
  display: flex;
  gap: 5px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  height: 50px; /* Add fixed height */
  box-sizing: border-box; /* Include padding in height calculation */
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
  background-color: #714890; /* Purple color */
  color: var(--white);
  border: none;
  padding: 15px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  height: 50px; /* Match input height */
  box-sizing: border-box; /* Include padding in height calculation */
}

.newsletter-form button:hover {
  background-color: #5d3a7a; /* Darker purple on hover */
  opacity: 0.9;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.footer-legal {
  display: flex;
  gap: 5px;
}

.footer-legal a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-legal a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

/* Footer Contact Icons */
.footer-contact .fa-map-marker-alt,
.footer-contact .fa-phone,
.footer-contact .fa-envelope,
.footer-contact .fa-clock {
  color: #ffffff; /* White color */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-text, .about-image {
    flex: none;
    width: 100%;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  #top-menu-nav {
    position: fixed;
    top: 120px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 120px);
    background-color: var(--white);
    transition: var(--transition);
    overflow-y: auto;
  }
  
  #top-menu-nav.active {
    left: 0;
  }
  
  #top-menu {
    flex-direction: column;
    padding: 20px;
  }
  
  #top-menu > .menu-item {
    padding: 0;
    border-bottom: 1px solid #eee;
  }
  
  #top-menu > .menu-item > a {
    padding: 15px 0;
  }
  
  #top-menu > .menu-item > a::after {
    display: none;
  }
  
  .sub-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-left: 20px;
  }
  
  .menu-item:hover .sub-menu {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-buttons, .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
  }
  
  /* Make newsletter form stack vertically on mobile */
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form button {
    width: 100%;
    padding: 12px;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 100px;
  }
  
  .container.et_menu_container {
    height: 100px;
  }
  
  .logo_container {
    flex-direction: row;
    align-items: center;
  }
  
  .logo_container img {
    height: 20px;
  }
  
  .logo-text {
    height: auto;
    padding: 12px 15px;
    font-size: 0.9rem;
    line-height: 1.2;
  }
  
  #main-header.scrolled .container.et_menu_container {
    height: 80px;
  }
  
  #main-header.scrolled .logo_container img {
    height: 50px;
  }
  
  #main-header.scrolled .logo-text {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
  
  #top-menu-nav {
    top: 100px;
    height: calc(100vh - 100px);
  }
  
  .hero {
    margin-top: -100px;
    padding-top: 100px;
    min-height: 500px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .stats {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
  
  .footer-logo {
    height: 80px;
  }
}


/* Prevent scrolling when menu is open */
body.no-scroll {
    overflow: hidden;
}

/* Responsive tables */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table th {
    display: none;
}

.responsive-table td {
    display: block;
    padding: 8px 10px;
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
}

.responsive-table td:before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    width: 45%;
    padding-right: 10px;
    font-weight: bold;
    text-align: left;
}

/* Mobile menu styles */
@media (max-width: 992px) {
    #top-menu-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        z-index: 1000;
        overflow-y: auto;
        padding-top: 80px;
    }
    
    #top-menu-nav.show {
        display: block;
    }
    
    .menu-item.has-children .sub-menu {
        display: none;
        padding-left: 20px;
    }
    
    .menu-item.has-children.open .sub-menu {
        display: block;
    }
}

/* Mobile-only and desktop-only elements */
[data-mobile-only] {
    display: none;
}

[data-desktop-only] {
    display: block;
}

@media (max-width: 768px) {
    [data-mobile-only] {
        display: block;
    }
    
    [data-desktop-only] {
        display: none;
    }
}

