
:root {
    --brand-red: #eb1736;
    --brand-blue: #5252d4;
    --brand-lilac: #7575dd;
    --brand-magenta: #781a44;
    --white: #fff;
}

/* Base, container and responsive */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
body {
    color: var(--brand-magenta);
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
header {
    padding: 20px 0;
    background: #ffff;
    color: #005891;
    border-bottom: 4px solid var(--brand-red);
    background-image: url(https://marrs.in/newassets/header.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--brand-red);
}
nav ul {
    display: flex;
    list-style: none;
}
nav ul li {
    margin-left: 15px;
}
nav ul li a {
    text-decoration: none;
    color: #015790;
    font-weight: 500;
    transition: color 0.3s;
    font-family: 'Roboto Slab', serif;
    font-size: 16px;
    font-weight: bold; 
    text-transform: uppercase;
    
}
p{
  font-family: "Poppins", sans-serif;
}
h1,h2,h3,h4{
  font-family: "Poppins", sans-serif;
}
nav ul li a:hover {
    color: var(--brand-red);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.bar {
    width: 25px;
    height: 3px;
    background: var(--brand-red);
    margin: 4px 0;
}
.hero {
    text-align: center;
    background: #fff;
    color: var(--white);
    /*background: url(https://marrs.in/newassets/Sliderbg2.jpg) center / cover no-repeat;*/
    padding: 100px 20px;
    /*height:600px;*/
    
}
.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--brand-red);
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--white);
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--brand-red);
    background: var(--brand-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
}
.btn:hover {
    background: var(--brand-magenta);
    border-color: var(--brand-magenta);
}
.products {
    padding: 60px 0;
/*    background-color: var(--brand-lilac);*/
}
h2.product-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    font-weight: bold;
}
h2.regular-program {
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    font-weight: bold;
    background: #198d76;
    padding: 12px;
    color: #fff;
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
    background: #1c8e77;
    padding: 12px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.product-icon {
    width: 60px;
    height: 60px;
    background: var(--brand-lilac);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--brand-magenta);
}
.product-card h3 {
    color: var(--brand-blue);
}
.product-card p {
    color: var(--brand-magenta);
}
h2.learning-program {
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    font-weight: bold;
    background: #198d76;
    color: #fff;
    padding: 12px;
    margin-bottom:60px;
}

.two-column-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.invite-school h2,
.rediscover-moments h2 {
    color: var(--brand-red);
}
.invite-school ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand-blue);
}
.invite-school ul {
    list-style: none;
    margin: 20px 0;
    padding-left: 0;
}
.invite-school ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
p.text-justify {
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.8;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}
.gallery-item {
   
    background: var(--brand-magenta);
    border-radius: 4px;
}
.rediscover-moments .btn {
    background: var(--brand-blue);
    border-color: var(--brand-red);
    color: var(--white);
}
.three-column {
    padding: 60px 0;
    background-color: #0056a2;
/*    background: linear-gradient(90deg, rgba(0, 212, 255, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(2, 0, 36, 1) 100%);*/
    color: var(--white);
}
.three-column-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.latest-updates h2,
.winners-announcement h2,
.become-partner h2 {
    color: #FFD700;
}
.latest-updates .update-item h3,
.partner-benefits h3 {
    color: #fff;
}
.latest-updates .update-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    line-height: 1.8;
}
.winners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}
.winner-item {
    height: 100px;
    background: var(--brand-lilac);
    border-radius: 4px;
    color: var(--brand-magenta);
}
.partner-form .form-group {
    margin-bottom: 15px;
}
.partner-form input,
.partner-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--brand-lilac);
    border-radius: 4px;
    font-size: 1rem;
}
.partner-benefits h3 {
    color: var(--brand-blue);
}
.partner-benefits p {
    color: var(--white);
}
 .carousel-item {
      position: relative;
      height: 500px; /* Adjust height */
    }

    .carousel-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(60%);
    }
       .carousel-inner {
    position: relative;
    width: 800px !important;
    height: 500px;
    
}
    /* Text Content over Image */
    .carousel-caption {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      color: #fff;
      text-align: left;
      left: 10%;
      right: 10%;
    }

    .carousel-caption h2 {
      font-size: 2.5rem;
      font-weight: 700;
    }

    .carousel-caption p {
      font-size: 1.1rem;
      max-width: 600px;
    }

    .btn-learn {
      background-color: #ffcc00;
      color: #000;
      font-weight: bold;
      border: none;
      padding: 10px 20px;
      border-radius: 5px;
    }

    .btn-learn:hover {
      background-color: #ffd84a;
      color: #000;
    }

.notice-banner{
    background: #1c8e77; color:#fff; padding:12px; display:flex; justify-content:center; align-items:center;
  }
  .footer-banner{
   color:#000; padding:18px; display:flex; justify-content:center; align-items:center;border-top: 4px solid var(--brand-red);
  }
  .footer-links a{ color:#000; margin:0 8px; text-decoration:none; font-size:.95rem; }
.slide.full-bg {
    background-size: cover;
    background-position: center;
    color: var(--text);
  }
  .slide .overlay {
    position:absolute;inset:0;background:var(--dark-overlay);z-index:1;
  }
  .slide .slide-content { z-index:2; max-width:1100px; width:100%; }

  /* Navigation (global) */
  .global-arrows {
    position:absolute; left:50%; transform:translateX(-50%); top:12px; z-index:5; display:flex; gap:.5rem;
  }
  .slider-controls{
    position:absolute; z-index:6; width:100%; top:50%; transform:translateY(-50%);
    pointer-events:none;
  }
/* === Product Slider with 3 Slides === */
.slider {
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slide {
  display: flex;
  justify-content: center;
  gap: 30px;
  min-width: 100%;
}
.product-card img {
 
  object-fit: contain;
  transition: transform 0.3s ease;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--brand-red);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 20px;
  transition: background 0.3s;
}
a.btn.enroll {
    background: #ff0040;
    border: none;
    padding: 14px 50px;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: 0.3s;
        color: #fff;
}

.prev:hover, .next:hover {
  background-color: var(--brand-magenta);
}

.prev { left: 10px; }
.next { right: 10px; }
.our-products {
    background: linear-gradient(135deg, #1E3A8A, #0F172A);
    color: white;
    padding: 100px 20px;
    background: url('/newassets/background.jpg');
}

.our-products .products-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--brand-red);
}

.our-products .products-content h3 {
    font-size: 1.6rem;
    font-weight: 500;
    
    margin-bottom: 20px;
}

.our-products .products-content p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.our-products .btn.explore-btn {
    background-color: #facc15;
    color: #0F172A;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.our-products .btn.explore-btn:hover {
    background-color: #fde047;
}

.two-column-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  padding: 80px 20px;
}

.student-section {
  background-color: #f9fafb;
  color: #0f172a;
}

.student-info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e3a8a;
}

.student-info h5 {
  font-size: 1.2rem;
  color: #334155;
  margin-bottom: 20px;
}

.student-info p {
  color: #475569;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.single-image-section {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height */
  overflow: hidden;
}

.single-image-section img {
  width: 100%;
  object-fit: cover; /* Ensures image covers section without distortion */
  display: block;
  
}

/* Optional: Overlay Text */
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.overlay-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.overlay-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.overlay-text .btn {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  background-color: #1E3A8A;
  color: #fff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
}

.overlay-text .btn:hover {
  background-color: #facc15;
  color: #000;
}
.btn-outline-primary {
  border-color: #1e3a8a;
  color: #1e3a8a;
  font-weight: 600;
  border-radius: 25px;
  padding: 10px 25px;
  transition: 0.3s;
}

.btn-outline-primary:hover {
  background-color: #1e3a8a;
  color: #fff;
}
.student-info p {
    margin: 0;
}
.logo-content-section {
  background-color: #f8f9fa;
}

.logo-content-container {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: center;
  align-items: flex-start;
}

.logo-item {
  width: 48%;              /* Each logo + content block width */
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.logo-item img {
  max-width: 100px;
  height: auto;
  margin-bottom: 15px;
}

.logo-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.logo-item p {
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
}
i.fa-brands {
    padding-left: 15px;
}

.logo-item:hover {
  transform: translateY(-5px);
}
.three-logos-section {
  background-color: #f8f9fa; /* Light background */
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px; /* Space between logos */
  flex-wrap: wrap; /* Wrap on small screens */
}

.logo-item img {
  max-width: 150px; /* Adjust size */
  height: auto;
  transition: transform 0.3s;
}
.about-slide-section {
  position: relative;
  width: 100%;
      background: #fafafa;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-slide-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
  z-index: 1;
}

.about-slide-section .about-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.about-slide-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.about-slide-section p {
  font-size: 1.2rem;
  line-height: 1.8;
}

.about-slide-section .btn {
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  border-radius: 5px;
}
@media (max-width: 768px) {
  .about-slide-section h1 {
    font-size: 2rem;
  }

  .about-slide-section p {
    font-size: 1rem;
  }
   .carousel-inner {
        width: 100% !important;
        height: auto;
    }
  
  
   .carousel {
    margin-top: 15px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 45px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 35px;
    height: 35px;
  }
  
}
@media (max-width: 768px) {
  .logo-item {
    width: 100%;           /* Stack on mobile */
  }
}

/* Responsive */
/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .slide {
    flex-direction: row;
    align-items: center;
    gap: 25px;
    min-width:auto;
  }

.slide { min-width: 100%; 
display: flex; flex-direction: column; gap: 15px; }
  .product-card {
    width: 80%;
    max-width: 280px;
    height: auto;
    padding: 20px;
  }

  .product-card img {
    width: 180px;
    height: auto;
  }

  .prev,
  .next {
    font-size: 20px;
    padding: 8px 12px;
  }
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  .product-card {
    width: 90%;
    padding: 15px;
  }

  .product-card img {
    width: 150px;
  }

  .product-card .btn h3 {
    font-size: 0.9rem;
  }
}
@media (max-width: 991px) {
  .two-column-container {
    grid-template-columns: 1fr;
  }
  .student-gallery {
    text-align: center;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Responsive adjustments */
@media (max-width: 992px) {
  .slide {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .slide {
    grid-template-columns: 1fr;
  }
}

/* Responsive Design */
@media (max-width: 1000px) {
    .product-grid,
    .two-column-container,
    .three-column-container {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .product-grid,
    .two-column-container,
    .three-column-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .gallery-grid,
    .winners-grid {
        grid-template-columns: 1fr 1fr;
    }
    .header-container nav ul {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background: var(--brand-lilac);
        width: 180px;
        box-shadow: 0 8px 26px rgba(0,0,0,0.07);
        border-radius: 8px;
        display: none;
    }
    .header-container.open nav ul {
        display: flex;
    }
    .nav-toggle {
        display: flex;
    }
}
@media (max-width: 500px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.35rem; }
    .container { padding: 0 8px;}
    .btn { font-size: 1rem; padding: 7px 12px;}
    .product-card { padding: 15px; }
}
