/*
 Theme Name:   Euro Universe School
 Theme URI:    https://edupress.thimpress.com/
 Description:  EduPress Child Theme
 Author:       Rohit 
 Author URI:   https://thimpress.com
 Template:     edupress
 Version:      1.0.0
 Text Domain:  edupress-child
*/


@media (max-width: 767px) {
     .width-logo {
        width: 80px !important;
    }
}


/* ==============================
   EUS Home Slider Styling
   ============================== */

.mySwiper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden; 
  z-index: 99;
  /* border-radius: 12px; */
}

/* Desktop image size */
.mySwiper .swiper-slide img {
  width: 100%;
  height: 640px !important;
  object-fit: cover;
  display: block;
}

/* Swiper navigation styling */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.8;
}

.swiper-pagination-bullet-active {
  background: #ff007a; /* You can match your school color */
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .mySwiper .swiper-slide img {
    height: 570px !important ;/* Mobile slider height */
    object-fit: cover;
  }
  .mySwiper {
    max-width: 100%;
  }
}


/* Outer purple background */
.franchise-form-section {
  padding: 60px 15px;
  /* background: #8c46ff; */
  display: flex;
  justify-content: center;
}

/* White card */
.franchise-form-card {
  max-width: 960px;
  width: 100%;
  background: #ffffff;
  border-radius: 28px;
  border: 3px solid #ffbf1f;
  padding: 40px 40px 32px;
  box-sizing: border-box;
}

/* Title */
.franchise-form-title {
  font-size: 24px;
  text-align: center;
  margin: 0 0 28px;
  font-weight: 600;
  color: #222;
}

/* Form layout */
.franchise-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ff-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ff-row-full {
  grid-template-columns: 1fr;
}

/* Field wrapper */
.ff-field {
  width: 100%;
}

/* Labels */
.ff-label {
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
  display: block;
}

/* Inputs & selects */
.franchise-form input[type="text"],
.franchise-form input[type="email"],
.franchise-form input[type="tel"],
.franchise-form select {
  width: 100%;
  border-radius: 999px;
  border: none;
  background: #f3f7fb;
  padding: 14px 20px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.franchise-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Budget radios */
.ff-budget {
  padding: 6px 0 0;
}

.ff-budget .wpcf7-list-item {
  margin-right: 18px;
}

.ff-budget .wpcf7-list-item label {
  font-size: 14px;
}

/* Acceptance (I am human) */
.ff-row-bottom {
  align-items: center;
}

.ff-captcha-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid #e0e5f0;
  padding: 12px 16px;
  background: #f9fafc;
  font-size: 14px;
  color: #555;
}

.ff-captcha-placeholder .wpcf7-list-item-label {
  margin-left: 6px;
}

/* Submit button */
.ff-submit-wrap {
  display: flex;
  justify-content: flex-end;
}

.ff-submit-btn {
  border: none;
  border-radius: 999px;
  background: #ffb400;
  color: #000;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 40px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.ff-submit-btn:hover {
  background: #ff9900;
  transform: translateY(-1px);
}
.navigation .width-navigation ul.navbar-main-menu>li.current_page_item a {
    color: #DC3B3B;
}

/* Responsive */
@media (max-width: 767px) {
  .franchise-form-card {
    padding: 28px 20px 24px;
  }

  .franchise-form-title {
    font-size: 20px;
  }

  .ff-row {
    grid-template-columns: 1fr;
  }

  .ff-row-bottom {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ff-submit-wrap {
    justify-content: center;
  }
}




/* ===================================================================== */


/* Franchise Campus Strip – Layout
   -------------------------------- */

.eus-franchise-strip-wrapper {
    padding: 20px 0 0 0;
}

.eus-franchise-strip-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 30px;
}

/* Responsive grid */
.eus-franchise-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 8px;
}

/* Item + thumb */
.eus-franchise-item {
    overflow: hidden;
}

.eus-franchise-thumb {
    position: relative;
    width: 100%;
    height: 230px;           /* need ho to change kar sakte ho */
    overflow: hidden;
}

.eus-franchise-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
}

/* Overlay (default thoda transparent, hover pe dark) */
.eus-franchise-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);   /* light black */
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 14px 18px;
    opacity: 0;                        /* default hidden */
    transition: opacity 0.3s ease;
}

/* Text inside overlay */
.eus-franchise-text h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.eus-franchise-text span {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    color: #f5f5f5;
}

/* Hover effects: image dark + overlay visible */
.eus-franchise-item:hover .eus-franchise-thumb img {
    transform: scale(1.04);
    filter: brightness(0.65);  /* image over black jaisa feel */
}

.eus-franchise-item:hover .eus-franchise-overlay {
    opacity: 1;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .eus-franchise-strip-title {
        font-size: 30px;
    }

    .eus-franchise-thumb {
        height: 190px;
    }

    .eus-franchise-text h5 {
        font-size: 14px;
    }

    .eus-franchise-text span {
        font-size: 12px;
    }
}


/* Location button inside image */
.eus-franchise-location-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    margin-top: 4px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.15);
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.eus-franchise-location-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* Outer wrapper spacing */
.eus-franchise-strip-wrapper {
    padding: 20px 0;
}

/* Title styling (optional, jo tumhe pasand ho) */
.eus-franchise-strip-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
}

/* Grid layout */
.eus-franchise-strip {
    display: grid;
    gap: 20px;
}

/* Desktop column options from Elementor control */
.eus-franchise-strip.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eus-franchise-strip.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.eus-franchise-strip.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.eus-franchise-strip.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* Card basic style */
.eus-franchise-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.eus-franchise-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark overlay like tumhe chahiye */
.eus-franchise-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.eus-franchise-item:hover .eus-franchise-overlay {
    opacity: 1;
}

/* Text inside overlay */
.eus-franchise-text {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    color: #fff;
}

.eus-franchise-text h5 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
}

/* Location button (map link) */
.eus-franchise-location-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.15);
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.eus-franchise-location-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* RESPONSIVE */

/* Tablet: max 991px – force 2 columns */
@media (max-width: 991px) {
    .eus-franchise-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile: max 767px – 1 column full-width */
@media (max-width: 767px) {
    .eus-franchise-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
