@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
 *{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
} 
html, body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

.container, .footer, .social-links {
  max-width: 100%;
  overflow-x: hidden;
}

/* Global Section Padding Fix */
section, .hero-slider, .welcome-to-profenaa, .why-section, .achievements-section, .virtual-section, .dual-card-section, .video-carousel-section, .Placement-Assist, .ecad-style-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (max-width: 768px) {
  section, .hero-slider, .welcome-to-profenaa, .why-section, .achievements-section, .virtual-section, .dual-card-section, .video-carousel-section, .Placement-Assist, .ecad-style-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media (max-width: 480px) {
  section, .hero-slider, .welcome-to-profenaa, .why-section, .achievements-section, .virtual-section, .dual-card-section, .video-carousel-section, .Placement-Assist, .ecad-style-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* Specific overrides for major sections */
.hero-slider {
  margin-bottom: 40px !important;
}

.why-section {
  margin-top: 40px !important;
}

.footer {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

.footer-bottom {
  margin-top: 20px !important;
  padding-top: 10px !important;
}

.dual-card-section {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

.video-carousel-section {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

.virtual-section {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

.ecad-style-section {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

.Placement-Assist {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

/* Navbar */
.navbar {
  background-color: crimson;
  border-bottom: 2px solid black;
  position: fixed;
  width: 100%;
  z-index: 1000;
  font-family: 'Segoe UI', sans-serif;
  animation: slideDown 0.6s ease-in-out;
  top: 0;
  left: 0;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.navbar-logo {
  width: 45px;
  height: 45px;
  margin-right: 0px;
  margin-bottom:0.4px;
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text {
  font-size: 1rem;
  font-weight: bold;
  color: white;
  margin-bottom: 3px;
}

.brand-subtext {
  font-size: 0.75rem;
  color: white;
}

/* Navbar Links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.navbar-links a {
  text-decoration: none;
  color: white;
  padding: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-links a:hover {
  color: black;
  transform: translateY(-2px);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 0.95rem;
  color: white;
  transition: color 0.3s ease;
}

.dropdown-btn:hover {
  color: black;
}

.dropdown-content {
  position: absolute;
  background-color: #fffbea;
  top: 25px;
  left: 0;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid black;
  border-radius: 4px;
  overflow: hidden;
  min-width: 250px;
  z-index: 1001;
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    transform: scaleY(0.8);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.dropdown-content a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #ffe066;
  color: #ff0000;
}

/* Enroll Now button */
.login-btn {
  background-color: #8B0A23;
  color: #000;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.login-btn:hover {
  background-color: #ffc107;
  color: #ff0000;
  transform: scale(1.05);
}

/* Hamburger Menu */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .navbar-links {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 1rem;
    display: none;
    gap: 1rem;
    z-index: 999;
    border-top: 1px solid black;
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar-links a,
  .dropdown-btn,
  .login-btn {
    width: 100%;
    text-align: center;
    padding: 0.4rem 0.8rem;
    color: crimson;
  }

  .login-btn {
    font-size: 0.9rem;
    padding: 6px 16px;
    margin: 0 auto;
    display: block;
  }

  .dropdown-content {
    position: relative;
    top: 0;
    left: 0;
    border: none;
    box-shadow: none;
    background-color: transparent;
    width: 100%;
    padding-left: 0;
    display: none;
  }

  .dropdown-content.active {
    display: block;
  }

  .dropdown-content a {
    padding: 0.5rem 0;
    color: #333;
  }

  .brand-subtext {
    font-size: 0.6rem;
    color: white;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .login-btn {
    font-size: 0.9rem;
    padding: 6px 16px;
    margin: 0 auto;
    display: inline-block;
    width: auto;
    max-width: 200px;
  }
}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}


/* slider */

/* ===== Slider Container ===== */


.hero-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 100vh;
  margin-bottom: 60px; /* ✅ Added bottom spacing */
  z-index: 1;           /* ✅ Ensure slider is behind next sections */
}

.slides-wrapper {
  display: flex;
  width: 500%; /* 5 slides */
  height: 100%;
  transition: transform 0.8s ease-in-out;
}


.slide {
  position: relative;
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

/* Slide Backgrounds */
.slide:nth-child(1) { background: var(--crimson); }
.slide:nth-child(2) { background: var(--crimson-dark); }
.slide:nth-child(3) { background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-dark) 100%); }
.slide:nth-child(4) { background: var(--crimson); }
.slide:nth-child(5) { background: var(--crimson-dark); }

.slide h1 {
  /* font-size: clamp(2rem, 5vw + 1rem, 4rem); */
  margin-bottom: 0.5em;
  line-height: 1.1;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  border: #a1122b;
  color: crimson;
}
.slide h1 {
  font-size: 50px;
  border: 4px solid var(--crimson);     /* ✅ Add this */
  padding: 10px 20px;                   /* ✅ Add this */
  display: inline-block;                /* ✅ Add this */
  border-radius: 12px;                  /* ✅ Optional for rounded look */
}


.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0; /* ✅ Lower than .slide-content */
}


.slide p {
  font-size: 20px;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.slide-content {
  position: relative;
  z-index: 2;
}


/* ===== Arrow Controls (Desktop) ===== */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: crimson;
  font-size: 2rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: background 0.3s;
}

.arrow:hover { background: rgba(0, 0, 0, 0.55); }

.arrow.prev { left: 20px; }
.arrow.next { right: 20px; }

@media (max-width: 767px) {
  .arrow { display: none; }
}

/* ===== Pagination Dots ===== */
.dots {
  position: absolute;
  bottom: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: crimson;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active { background: var(--white); }

/* === Welcome Section === */
.welcome-to-profenaa {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: stretch; /* ✅ Equal height */
  padding: 60px 20px;
}

.welcome-to-profenaa__image-container {
  flex: 1 1 400px;
  max-width: 500px;
  height: 200%; /* ✅ Match content height */
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.welcome-to-profenaa__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

.welcome-to-profenaa__content {
  flex: 1 1 400px;
  max-width: 550px;
  background: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.04);
}

.welcome-to-profenaa__heading {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: crimson;
}

.welcome-to-profenaa__paragraph {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 5px;
  text-align: justify;
}

.welcome-to-profenaa__button {
  padding: 10px 20px;
  background-color: crimson;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: start;
}

.welcome-to-profenaa__button:hover {
  background-color: darkred;
}

/* === Responsive === */
@media (max-width: 768px) {
  .welcome-to-profenaa {
    flex-direction: column;
  }

  .welcome-to-profenaa__image-container,
  .welcome-to-profenaa__content {
    max-width: 100%;
    height: auto;
  }

  .welcome-to-profenaa__image {
    height: auto;
  }
}

/* ===== Why Choose Profenaa Section ===== */
.why-section {
  background-color: #fff; /* Changed from #f9f9ff to white */
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  margin-top: 5px; /* Reduced top margin */
  position: relative;
  z-index: 2;
}

/* Flex wrapper if used above the section */
.welcome-to-profenaa {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  padding: 1px 20px;
}

.why-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.why-heading {
  font-size: 36px;
  margin-bottom: 40px;
  color: crimson;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.why-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  max-width: 300px;
  margin: auto;
  height: 360px;
}

.why-card a {
  text-decoration: none;
  color: inherit;
}

.why-card:hover {
  transform: translateY(-5px);
}

.why-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.why-title {
  font-size: 20px;
  font-weight: 600;
  margin: 20px 0 10px;
  color: crimson;
}

.why-desc {
  font-size: 16px;
  color: #333;
  padding: 0 20px;
  flex-grow: 1;
}

.why-btn {
  margin-top: auto;
  margin-bottom: 25px;
  padding: 8px 20px;
  background-color: crimson;
   color: #fff !important;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.3s;
  width: fit-content;
  align-self: center;
}

.why-btn:hover {
  background-color: #8B0A23;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .why-heading {
    font-size: 30px;
  }
  .why-card {
    height: auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .why-heading {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .why-desc {
    font-size: 15px;
    padding: 0 15px;
  }

  .why-card {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .why-heading {
    font-size: 24px;
  }

  .why-section {
    padding: 40px 10px;
  }

  .why-title {
    font-size: 18px;
  }

  .why-desc {
    font-size: 14px;
    padding: 0 10px;
  }

  .why-btn {
    font-size: 14px;
    padding: 6px 16px;
  }
}





/* === Achievements Section === */
.achievements-section {
  padding: 40px 15px; /* reduced vertical padding */
  text-align: center;
  background: linear-gradient(135deg, #f3f4f6, #ffffff);
  margin-top: -20px; /* removes excess space from above section */
}

.section-title {
  font-size: 2.2rem; /* slightly smaller title */
  font-weight: bold;
  margin-bottom: 25px; /* reduced gap below title */
  color: crimson;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* smaller min size */
  gap: 20px; /* reduced space between cards */
  padding: 10px;
}

.achievement-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px 15px; /* smaller padding */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.6s ease forwards;
}

.achievement-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(106, 13, 173, 0.15);
}

.icon {
  font-size: 2rem; /* smaller icon */
  color: crimson;
  margin-bottom: 10px;
}

.number {
  font-size: 1.6rem;
  font-weight: bold;
  color: #222;
}

.label {
  font-size: 0.9rem;
  color: #555;
  margin-top: 6px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }

  .number {
    font-size: 1.5rem;
  }

  .achievement-card {
    padding: 18px 12px;
  }
}


/* virtual*/


.virtual-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.section-title-inline {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: bold;
  white-space: nowrap;
  color: crimson;
}

.highlight {
  color: crimson;
  border-bottom: 2px solid black;
  padding-bottom: 2px;
  margin-right: 5px;
}

.learning-box {
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  gap: 20px;
}

.learning-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.learning-text {
  flex: 1;
}

.learning-text h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: crimson;
}

.learning-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.learning-img {
  width: 320px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  border: 10px;
   border: 1.5px solid black;
}

.know-more {
  margin-top: 15px;
  background-color:crimson;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.know-more:hover {
  background-color: #8B0A23;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.delay {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .learning-box {
    flex-direction: column;
    text-align: left;
  }

  .learning-text {
    order: 1;
  }

  .learning-img {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin-top: 15px;
  }

  .know-more {
    order: 3;
    align-self: flex-start;
    margin-top: 15px;
  }

  .section-title-inline {
    font-size: 1.4rem;
    white-space: normal;
    text-align: center;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .virtual-section {
    padding: 30px 15px;
  }

  .learning-box {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 15px;
  }

  .learning-text {
    width: 100%;
    margin: 0;
    order: 1;
  }

  .learning-text h3 {
    font-size: 1.4rem;
  }

  .learning-text p {
    font-size: 0.95rem;
  }

  .learning-img {
    width: 100%;
    max-width: 100%;
    margin-top: 15px;
    order: 2;
  }

  .know-more {
    width: fit-content;
    padding: 10px 20px;
    margin-top: 15px;
    order: 3;
  }
}

@media (max-width: 576px) {
  .section-title-inline {
    font-size: 1.4rem;
    white-space: normal;
    text-align: center;
  }

  .learning-text h3 {
    font-size: 1.2rem;
  }

  .learning-text p {
    font-size: 0.9rem;
  }

  .know-more {
    font-size: 0.95rem;
    padding: 8px 16px;
  }
}


/* Certification and Placement Section */

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  color: whitesmoke;
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
}

.dual-card-section {
  background: linear-gradient(to right, #b01630, #7a1b1b);
  padding: 60px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-card {
  background-color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  gap: 15px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.text-side {
  flex: 1;
}

.text-side h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  color: #111;
}

.text-side p {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.4;
}

.text-side button {
  background-color: #c8102e;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.text-side button:hover {
  background-color: #a00e25;
}

.image-side img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
}
.cert-course-btn {
  display: inline-block;
  padding: 5px 7px;
  background-color: crimson;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cert-course-btn:hover {
  background-color: darkred;
}


/* Responsive */
@media (max-width: 992px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .info-card {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }

  .image-side img {
    margin-top: 10px;
  }
}

/*video-carousel-section  */

.video-carousel-section {
  padding: 50px 20px;
  text-align: center;
}

.carousel-heading {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color:crimson;
}

.carousel-container {
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
}

.video-card {
  min-width: 25%;
  box-sizing: border-box;
  border: 3px solid crimson;
  border-radius: 10px;
  padding: 5px;
}

.video-card iframe {
  width: 100%;
  height: 200px;
  border-radius: 6px;
  border: none;
}

/* Navigation Buttons Below Carousel */
.carousel-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.nav-btn {
  background-color: crimson;
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.nav-btn:hover {
  background-color: #a1122b;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .video-card {
    min-width: 50%;
  }

  .carousel-heading {
    font-size: 2rem;
  }

  .video-card iframe {
    height: 180px;
  }
}

@media (max-width: 600px) {
  .video-card {
    min-width: 100%;
  }

  .nav-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .video-card iframe {
    height: 160px;
  }
}

/* Placement Assist */

.Placement-Assist {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 5%;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.text-content {
  flex: 1 1 300px;
  max-width: 500px;
}

.text-content h3 {
  color: black;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.text-content h1 {
  font-size: 3rem;
  color: crimson;
  line-height: 1.2;
}

.text-content h1 span {
  color:black;
   font-size: 2.5rem;
}

.btn {
  margin-top: 20px;
  display: inline-block;
  padding: 12px 24px;
  background: crimson;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #8B0A23;
}

.image-collage {
  flex: 1 1 500px;
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 in a row */
  grid-template-rows: repeat(2, 150px);  /* 2 rows */
  gap: 10px;
  margin-top: 30px;
 
}


.grid-item {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  transition: transform 0.3s ease;
  border: 1.5px solid black; /*  Add black border */
}

.grid-item:hover {
  transform: scale(1.05);
  
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.grayscale {
  filter: grayscale(100%);
}
@media (max-width: 768px) {
  .image-collage {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
}

/* Amenities Section */
.ecad-style-section {
  background-color: #fff;
  padding: 60px 20px 80px;
  font-family: 'Poppins', sans-serif;
}

.ecad-style-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.ecad-style-image-box {
  flex: 1;
  min-width: 320px;
  border: 2px solid crimson;
  padding: 5px;
}

.ecad-style-image-box img {
  width: 100%;
  display: block;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.ecad-style-image-box img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.ecad-style-content-box {
  flex: 1.2;
  min-width: 320px;
}

.ecad-style-content-box h2 {
  font-size: 2.2rem;
  color: crimson;
  margin-bottom: 10px;
}

.ecad-subtitle {
  font-size: 1.1rem;
  color: #777;
  margin-bottom: 30px;
}

.ecad-style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.ecad-feature {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 10px;
}

.ecad-feature img {
  width: 40px;
  height: 40px;
  filter: hue-rotate(330deg);
}

.ecad-feature h3 {
  margin: 0;
  font-size: 1.1rem;
  color: crimson;
}

.ecad-feature p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .ecad-style-wrapper {
    flex-direction: column;
  }

  .ecad-style-content-box h2 {
    font-size: 1.8rem;
  }

  .ecad-subtitle {
    font-size: 1rem;
  }

  .ecad-feature h3 {
    font-size: 1rem;
  }

  .ecad-feature p {
    font-size: 0.85rem;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
    margin: 20px 0;
  }
}

/* Default visibility */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}


/* footer */

.footer {
  background-color: #1c1c22;
  color: white;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 200px;
}

/* Fix logo spacing */
.footer-logo-img {
  width: 100px;
  margin: -25px 0; /* adds top and bottom spacing */
}

/* Make the paragraph justified */
.footer-col p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;  /* <-- this makes it align full */
}


.footer-logo-text {
  font-size: 20px;
  color: crimson;
  margin-bottom: 15px; /* increased from 10px */
}


.footer-col h3 {
  color: crimson;
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: crimson;
}

.footer-col p,
.footer-col a {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  text-align: left;
}
.location-link {
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.6;
  display: inline-block;
}

.location-link:hover {
  color: crimson;
  text-decoration: underline;
}


.social-icons a {
  display: inline-flex;                  /* Centers icon in circle */
  align-items: center;
  justify-content: center;
  width: 36px;                           /* Fixed width */
  height: 36px;                          /* Same height = circle */
  border-radius: 50%;                   /* Makes it a circle */
  border: 1px solid crimson;
  background-color: transparent;
  color: white;
  font-size: 16px;
  margin-right: 8px;
  transition: 0.3s ease;
}

.social-icons a:hover {
  background-color: crimson;
  color: white;
}


.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  color: #aaa;
  font-size: 13px;
}
/* Normal-looking link */
.plain-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.plain-link:hover {
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
.footer-container {
  gap: 0px !important;
}

.footer-col {
  margin-bottom: 10px !important;
}


  .footer-col h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .footer-col ul li {
    margin-bottom: 4px;
  }

  .footer-logo-img {
    width: 80px;
  }

  .footer-logo-text {
    font-size: 18px;
  }

  .social-icons {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .footer-bottom {
    text-align: left;
    margin-top: 20px;
  }
}
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Scroll-to-Top Floating Button using ID */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #007bff;
  color: white;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 1000;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Tablet View */
@media screen and (max-width: 1024px) {
  .whatsapp-float {
    left: 12px;
    bottom: 70px;
    width: 52px;
    height: 52px;
    font-size: 24px;
  }

  #scrollTopBtn {
    right: 55px;
    bottom: 70px;
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
}

/* Mobile View */
@media screen and (max-width: 600px) {
  .whatsapp-float {
    left: 10px;
    bottom: 80px; /* Adjust if navbar is present */
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  #scrollTopBtn {
    right: 30px;
    bottom: 80px;
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
}



/* Enroll Button */
.enroll-btn {
  background-color: crimson;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.enroll-btn:hover {
  background-color: darkred;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Form Container */
.form-container {
  background: #fff;
  padding: 5px 20px;         /* 🔻 Reduced padding */
  border-radius: 12px;
  width: 90%;
  max-width: 400px;           /* 🔻 Reduced width too */
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}



.form-container h2 {
  margin-bottom: 20px;
  color: crimson;
  text-align: center;
}

/* Close Button */
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  color: crimson;
  cursor: pointer;
}

/* Form Fields */
.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: crimson;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: crimson;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background-color: darkred;
}

/* Responsive */
@media (max-width: 600px) {
  .form-container {
    padding: 20px;
  }

  .enroll-btn {
    width: 100%;
  }
}



/* Enroll Button */
.enroll-btn {
  background-color: crimson;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.enroll-btn:hover {
  background-color: darkred;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Form Container */
.form-container {
  background: #fff;
  padding: 5px 20px;         /* 🔻 Reduced padding */
  border-radius: 12px;
  width: 90%;
  max-width: 400px;           /* 🔻 Reduced width too */
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}



.form-container h2 {
  margin-bottom: 20px;
  color: crimson;
  text-align: center;
}

/* Close Button */
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  color: crimson;
  cursor: pointer;
}

/* Form Fields */
.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: crimson;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: crimson;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background-color: darkred;
}

/* Responsive */
@media (max-width: 600px) {
  .form-container {
    padding: 20px;
  }

  .enroll-btn {
    width: 100%;
  }
}