* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Sticky Navbar */
.sticky-navbar {
    margin: auto;
    background-color: rgba(255, 255, 255,0.8);
    width:100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0px 2px 13px black;
    position: fixed;
    top:0;
    z-index:99;
    display: none;
}


/* Container */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("https://thewaybibleschool.in/wp-content/uploads/2024/11/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  font-family: "Montserrat", sans-serif;
  position:relative;
}

/* Navbar */
.navbar {
    z-index: 1;
  display: flex;
  width: 100%;
  padding: 1rem 1.5rem 0;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
}

.logo-img {
  width: 4rem;
}

.desktop-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom:0px;
}

.desktop-menu li a,
.mobile-menu li a {
  color: #333;
  text-decoration: none;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: indigo;
  color: white;
  font-size: 0.5rem;
  border-radius: 50%;
  padding: 2px 6px;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
}

.hamburger-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  min-width:150px;
  top: 4rem;
  right: 0;
  background-color: rgba(255, 255, 255);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  display: none;
  z-index:99;
}

.mobile-menu ul {
  list-style: none;
  font-size:1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-left:0;
  padding:0 1rem 0 0;
  margin-bottom:0;
}

/* Hero Content */
.hero-content {
    z-index: 1;
  max-width: 1600px;
  display: flex;
  width: 100%;
  padding: 0 2rem;
  text-align: center;
  align-items: center;
  justify-content: space-between;
}

.text-content {
  flex: 1;
  text-align: left;
}

.main-title {
  font-size: 3.5rem;
  font-weight: 500;
  color: maroon;
  text-shadow: 3px 3px 2px gray;
}

.subtitle {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
}

.break-lg {
  display: none;
}

.description {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 1px 2px 1px white;
}

.image-content {
  flex: 1;
  justify-content: center;
  align-items: center;
}

@keyframes upDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); } /* Adjust this value for the height of the bounce */
  100% { transform: translateY(0); }
}

.hero-image {
  width: 100%;
  max-width: 400px;
  animation: upDown 4s ease-in-out infinite;
}

.quote {
  margin:0;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 1px 2px 1px white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column-reverse;
  }

  .text-content {
    text-align: center;
  }

  .description {
    font-size: 1.75rem;
  }

  .hamburger-menu {
    display: block;
  }

  .desktop-menu {
    display: none;
  }

  .break-lg {
    display: inline;
  }
}


/* Products Section */

/* Container for products */
.products-grid {
    display: flex;
    overflow: hidden;
    gap: 20px;
    padding: 20px;
    max-width: 1600px;
    margin: auto;
    position: relative;
}

/* Individual product card */
.product {
    display: flex;
    min-width:380px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    padding: 0 0 1rem 0;
}

/* Scale up and add shadow on hover */
.product:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Image styling */
.product a img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

.product a:hover img {
    opacity: 0.9;
}

/* Product title */
.product h2 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin: 16px;
    text-align: center;
    transition: color 0.3s;
}

.product h2 a {
    text-decoration: none;
    color: inherit;
}

.product h2 a:hover {
    color: #106CB5; /* Highlight color on hover */
}

/* Product price */
.product .price {
    font-size: 1.2rem;
    color: #106CB5;
    margin: 8px 0;
    text-align: center;
    display: block;
    font-weight: bold;
}


/* Add to Cart */
.add_to_cart_button {
    padding:10px;
}

/* Hide the View Cart link after 'Adding to Cart' */
.added_to_cart, .wc-forward{
    display: none;
}


/* Carousel Try */

.left-arrow, .right-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #106CB5; /* Primary modern blue color */
    color: #ffffff; /* White arrow text */
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06); /* Subtle shadow for depth */
    border: none; /* Removes border for clean look */
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease; /* Only transition relevant properties */
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-arrow:hover, .right-arrow:hover {
    background-color: #0a4c8a; /* Slightly darker blue on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Enhance shadow on hover */
    transform: translateY(-50%) scale(1.1); /* Slight scaling for hover effect */
}

.left-arrow:active, .right-arrow:active {
    transform: translateY(-50%) scale(0.95); /* Subtle press effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reduced shadow for pressed state */
}

.left-arrow {
    left: 0.5rem; /* Slight padding from the left */
}

.right-arrow {
    right: 0.5rem; /* Slight padding from the right */
}


@media (max-width: 768px) {
    .products-grid {
        overflow:auto;
    }

    .left-arrow, .right-arrow {
        display: none;
    }
}


/* What WE do section */

.what-we-do-section, .shop-section {
    padding: 2rem 1rem;
    background-color: white;
    text-align: center;
}

.container {
    width: 100%;
}

.title {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.features {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: scale(1.05);
}

.icon-container {
    width: 200px;
    height: 200px;
    background-color: #e5e7eb; /* Slate 200 */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.feature-icon {
    width: 100%;
    height: auto;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 1rem;
    margin-bottom:0rem;
}

.feature-description {
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive Layout for Larger Screens */
@media (min-width: 768px) {
    .features {
        flex-direction: row;
        justify-content: space-around;
    }

    .feature-description {
        font-size: 1.125rem;
    }
}

/* Curriculum Section */

.curriculum-container {
    padding: 2rem 1rem;
    text-align: center;
}

.curriculum-title {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.curriculum-description {
    width: 66.6%;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.75;
    margin-top: 1rem;
}

.curriculum-section {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.curriculum-image{
    flex:1;
}

.curriculum-image img {
    max-width: 100%;
    height: auto;
}

.curriculum-list {
    flex:1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-top: 1.5rem;
}

.curriculum-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.curriculum-item:hover {
    transform: scale(1.05);
}

.curriculum-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding:20px;
    background-color: #2d3748; /* Slate 800 */
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: normal;
}

.curriculum-details {
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive Layout for Larger Screens */
@media (max-width: 1600px) {
    .curriculum-section {
        flex-direction: column;
    }

    .curriculum-list {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* Trainings Section */

.trainings-section {
    padding: 3rem 6rem;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.section-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.trainings-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem;
    margin-top: 2rem;
}

.training-card {
    background-color: #2d3748;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    width: 350px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.training-card:hover {
    transform: scale(1.05);
}

.training-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.training-title {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: white;
    margin-bottom:0rem;
}

/* Support Section */

.support-section {
    padding: 3rem;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(112.1deg, rgb(32, 38, 57) 11.4%, rgb(63, 76, 119) 70.2%);
}

.support-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    margin-bottom: 1.5rem;
}

.support-description {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2rem;
    padding: 0 1rem;
    line-height: 1.8;
}

.donate-button-container {
    margin-top: 3rem;
}

.donate-button {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    background-color: #2d3748; /* slate-800 */
    color: white;
    font-weight: 600;
    border-radius: 9999px; /* Fully rounded */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: none;
}

.donate-button:hover {
    background-color: #f1f5f9; /* slate-100 */
    color: #000;
    transform: scale(1.05);
}

.donate-button:focus {
    outline: none;
    ring: 4px solid #cbd5e0; /* slate-300 */
}


/* Contact Us Section */

.contact-container {
    padding: 2rem;
    margin: 0 auto;
}

.contact-wrapper {
    max-width: 1600px;
    margin: auto;
    padding: 0 1.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    background-image: url('https://thewaybibleschool.in/wp-content/uploads/2024/11/contact.jpg');
    background-position: top;
    background-size: cover;
    padding: 2rem;
    border-radius: 0.5rem;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width:768px) {
    .contact-info {
        padding:1rem;
    }
}

.contact-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}

.contact-phone, .contact-email {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.contact-icon {
    width: 2rem;
    height: 2rem;
    color: white;
}

.contact-text {
    margin-left: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.contact-email a {
    color: white;
    text-decoration: none;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-label {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    background-color: #f9f9f9;
    color: #333;
    font-weight: 600;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #6c63ff;
}

.submit-btn {
    background-color: #6c63ff;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #5a54d7;
}

.submit-btn:focus {
    outline: none;
}


/* Footer Section */

/* Footer Styles */
.footer {
    background-color: #2d3748; /* Dark background */
    color: white;
    margin-top: 2rem;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    font-size: 0.875rem; /* Small font */
}

.footer-link {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-privacy {
    font-size: 0.875rem;
    color: #a0aec0; /* Light grey */
}
