/**
* Template Name: Yummy
* Template URL: https://bootstrapmade.com/yummy-bootstrap-restaurant-website-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Amatic SC",  sans-serif;
  --nav-font: "Inter",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #37373f; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #ce1212; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #7f7f90;  /* The default color of the main navmenu links */
  --nav-hover-color: #ce1212; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #7f7f90; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ce1212; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f2f2f2;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #1f1f24;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #37373f;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
 
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}


/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Base Styles */
.header {
  background-color: #fff;
  padding: 10px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 50px;
  width: 428px;
}
.btn-getstarted{
  font-weight: bold;
  font-size: 20px;
}

.navmenu {
  display: flex;
  gap: 20px;
}

.btn-getstarted {
  background-color: #004aad;
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 25px;
  text-decoration: none;
}

/* Mobile Toggle Icon */
.mobile-nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .navmenu {
    display: none; /* Hide menu initially on small screens */
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    width: 200px;
  }

  .navmenu.active {
    display: flex;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .logo img {
    height: 50px;
    width: 191px;
  }

  .btn-getstarted {
    font-size: 12px;
    padding: 8px 12px;
  }
}


.college-banner {
  position: relative;
  background: center center/cover no-repeat;
  padding: 80px 0;
  min-height: 100vh;
  color: #fff;
  z-index: 1;
  overflow: hidden;
}

.college-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(37, 25, 207, 0.6); /* ← transparent overlay color */
  z-index: 0;
}

.banner-content {
  position: relative;
  z-index: 2; /* ← Ensures content appears above the overlay */
}


.text-section {
  padding: 20px;
}

.college-title {
  font-size: 27px;
  font-weight: 700;
  color: #fff;
}

.form-box {
  background-color: #06244b;
  backdrop-filter: blur(6px);
  border-radius: 10px;
  border: 1px solid #ddd;
  width: 400px;
  margin-left: 195px;
  margin-top:-70px;
}

.form-control {
  background: rgba(255, 255, 255, 0.8);
  border: none;
}

.form-control:focus {
  box-shadow: none;
  border: 1px solid #aaa;
}

.btn {
  background-color: rgb(165, 165, 2);
}

@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
  }
  
  .college-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 20px;
  }

  .form-box {
    margin-top: 20px;
    margin-left: 20px;
    width: 323px;
  }
}



.text-section {
  padding: 20px;
}

.college-title {
  font-size: 5rem;         /* Bigger for impact */
  font-weight: 800;
  color: #FFD700;            /* Bright yellow */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4); /* Adds depth */
  line-height: 1.1;
  margin-bottom: 10px;
  animation: fadeInDown 1s ease-in-out;
}

.admission-tagline {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #0d0357; /* Eye-catching badge-style */
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  margin-top: 10px;
  animation: fadeInUp 1.5s ease-in-out;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .college-title {
    font-size: 3.2rem;
    text-align: center;
    margin-top: -87px;
  }

  .admission-tagline {
    font-size: 1.3rem;
    text-align: center;
  }

  .text-section, .form-section {
    text-align: center;
  }
}


.overview-wrapper {
  background: linear-gradient(135deg, #001f3f, #003366);
  color: white;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.overview-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.overview-heading {
  font-size: 3rem;
  font-weight: bold;
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.overview-heading::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 4px;
  background: #fdd835;
  bottom: -10px;
  left: 20%;
  border-radius: 2px;
}

.overview-content {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: justify;
  line-height: 1.8;
}

.overview-content p {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .overview-heading {
    font-size: 2.2rem;
  }

  .overview-content p {
    font-size: 1rem;
  }

  .overview-content {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .overview-heading {
    font-size: 1.8rem;
  }

  .overview-content p {
    font-size: 0.95rem;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


.rankings-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.rankings-heading {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
}

.rankings-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.ranking-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  max-width: 230px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.ranking-card:hover {
  transform: translateY(-5px);
}

.ranking-card img {
  max-width: 200px;
  height: 180px;
  margin-bottom: 15px;
}

.ranking-card p, .ranking-card ul {
  font-size: 0.95rem;
  text-align: center;
  color: #333;
}

.ranking-card ul {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
  .rankings-grid {
    flex-direction: column;
    align-items: center;
  }

  .ranking-card {
    max-width: 90%;
  }

  .rankings-heading {
    font-size: 2rem;
  }
}

.approvals-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.approvals-heading {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 40px;
}

.approvals-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.approval-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 160px;
  height: 160px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.approval-card:hover {
  transform: translateY(-5px);
}

.approval-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .approvals-grid {
    flex-direction: column;
    align-items: center;
  }

  .approval-card {
    width: 70%;
    max-width: 250px;
    height: auto;
  }

  .approvals-heading {
    font-size: 2rem;
  }
}



.programs-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.programs-heading {
  font-size: 2.4rem;
  font-weight: bold;
  color: #2d2d2d;
  margin-bottom: 40px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.programs-list {
  list-style-type: disc;
  text-align: left;
  padding-left: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  padding: 25px 30px;
  transition: transform 0.3s ease;
}

.programs-list li {
  font-size: 1rem;
  color: #333;
  margin-bottom: 12px;
}

.programs-list:hover {
  transform: translateY(-5px);
}

@media (max-width: 600px) {
  .programs-heading {
    font-size: 1.6rem;
  }

  .programs-list li {
    font-size: 0.95rem;
  }
}


.placement-section {
  padding: 60px 20px;
  background-color: #fff;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.placement-heading {
  font-size: 2.2rem;
  font-weight: bold;
  color: #2d2d2d;
  margin-bottom: 20px;
}

.placement-description {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #333;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  color: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.stat-card p {
  font-size: 1rem;
  margin: 0;
}

.stat-card:hover {
  transform: translateY(-5px);
}

@media (max-width: 600px) {
  .placement-heading {
    font-size: 1.5rem;
  }

  .placement-description {
    font-size: 1rem;
  }

  .stat-card h3 {
    font-size: 1.5rem;
  }

  .stat-card p {
    font-size: 0.95rem;
  }
}


.eligibility-section {
  padding: 60px 20px;
  background: #f4f9ff;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.eligibility-section h2 {
  font-size: 2.2rem;
  font-weight: bold;
  color: #1d3557;
  margin-bottom: 40px;
}

.eligibility-section h2 span {
  font-size: 1.2rem;
  font-weight: 500;
  color: #457b9d;
}

.eligibility-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.eligibility-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.eligibility-card:hover {
  transform: translateY(-8px);
}

.eligibility-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.eligibility-card h3 {
  font-size: 1.3rem;
  color: #1d3557;
  margin-bottom: 10px;
}

.eligibility-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .eligibility-section h2 {
    font-size: 1.5rem;
  }

  .eligibility-card h3 {
    font-size: 1.1rem;
  }

  .eligibility-card p {
    font-size: 0.95rem;
  }
}


.branch-placement {
  padding: 60px 20px;
  background-color: #f9fbff;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.branch-placement h2 {
  font-size: 2rem;
  color: #1d3557;
  font-weight: bold;
  margin-bottom: 10px;
}

.branch-placement .placement-desc {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1rem;
  color: #333;
}

.branch-placement h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #1d3557;
}

.table-container {
  overflow-x: auto;
}

.placement-table {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-collapse: collapse;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  background-color: #fff;
}

.placement-table thead {
  background-color: #0077e6;
  color: #fff;
}

.placement-table th, .placement-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.placement-table tbody tr:nth-child(even) {
  background-color: #f6f9fc;
}

.placement-table th {
  font-weight: bold;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .placement-table th, .placement-table td {
    padding: 12px 8px;
    font-size: 0.95rem;
  }

  .branch-placement h2 {
    font-size: 1.5rem;
  }

  .branch-placement h3 {
    font-size: 1.2rem;
  }

  .placement-desc {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .placement-table th, .placement-table td {
    font-size: 0.9rem;
  }
}



.top-recruiters {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.top-recruiters h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

.slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slide-track {
  display: flex;
  width: calc(250px * 12); /* 6 logos × 2 loops */
  animation: scroll 25s linear infinite;
}

.slide {
  width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.slide img {
  width: 150px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.slide img:hover {
  transform: scale(1.1);
}

@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .slide {
    width: 180px;
  }

  .slide img {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .slide {
    width: 140px;
  }

  .slide img {
    width: 80px;
  }
}

.eligibility-banner {
  background-color: #15A9E3;
  color: white;
  padding: 15px 10px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

.click-button {
  background: red;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  margin-left: 10px;
}


.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.why-box {
  background-color: #0096A6;
  color: white;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  justify-items: center;
}

.life-card {
  background-color: #30A4B1;
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 180px;
}
.life-grid {
  display: flex;
  margin-left: 34px;
  gap: 16px;         /* Space between cards */
  padding: 10px 0;
}

.life-card {
  min-width: 200px;   /* Set a width so they appear side by side */
  flex-shrink: 0;     /* Prevent shrinking */
  text-align: center;
}


.life-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.life-card p {
  font-size: 14px;
}

@media (max-width: 600px) {
  .click-button {
    display: block;
    margin-top: 10px;
  }

  .life-card {
    max-width: 100%;
  }
}

.faq-container {
  max-width: 800px;
  margin: auto;
  font-family: Arial, sans-serif;
}
.faq-question {
  background: #dbeafe;
  padding: 15px;
  cursor: pointer;
  border: 1px solid #c7d2fe;
  margin-top: 10px;
}
.faq-answer {
  display: none;
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-top: none;
}
.active + .faq-answer {
  display: block;
}

.campus-life {
  padding: 40px 20px;
  text-align: center;

}

.life-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.life-card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 16px;
  transition: transform 0.3s;
}

.life-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.life-card p {
  margin-top: 10px;
  font-size: 1rem;
}

/* Optional: Hover effect */
.life-card:hover {
  transform: translateY(-5px);
}

/* Responsive heading */
.campus-life h2 {
  font-size: 1.6rem;
}

/* Additional mobile optimization */
@media (max-width: 480px) {
  .campus-life {
    padding: 20px 10px;
    margin-left: -7px;
    
  }

  .campus-life h2 {
    font-size: 1.3rem;
  }

  .life-card p {
    font-size: 0.9rem;
  }
}
.life-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
  justify-items: center; /* Center items inside each grid cell */
}

/* Optional: Make cards fixed width for better centering */
.life-card {
  width: 100%;
  max-width: 300px;
  background: #636161;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 16px;
  transition: transform 0.3s;
  margin-left: 60px;
}
/* Center last row if it has 2 items */
@media (min-width: 768px) {
  .life-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .life-card:nth-last-child(-n+2):nth-child(odd) {
    grid-column: 2 / span 1; /* Push the 5th card to center */
  }
}


/* thankyou.html */

 .thank-you-message {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 12px;
  width: 500px !important;
  margin: 20px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 400px !important;
  margin-top: 70px;
}

.thank-you-message .message-box h3 {
  color: #e31111;
  font-size: 75px;
  margin-bottom: 10px;
}

.thank-you-message .message-box p {
  font-size: 54px;
  color: #444;
  margin: 0;
  font-weight: bold;
}

@media (max-width: 576px) {
  .thank-you-message {
    padding: 20px;
    max-width: 90%;
    height: 200px !important;
    margin-top: -20px;
  }

  .thank-you-message .message-box h3 {
    font-size: 24px;
  }

  .thank-you-message .message-box p {
    font-size: 16px;
  }
}


/* banner form */

/* Ensure form stays on the right */
.form-container {
    width: 350px;
    height: 450px;
  
    padding: 30px;
    border-radius: 10px;
   
    text-align: center;
    float: right;
}

/* Form Box */
.forms {
    background-color: #ffc107;
    width: 350px;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    margin-left: 164px;
    margin-top: 50px;
}

/* Form Title */
.form-title {
    color: #ffffff;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 24px;
    margin-bottom: 15px;
}

/* Input Fields */
.form-control {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* Submit Button */
.submit-btn {
    display: inline-block;
    width: 100%;
    padding: 10px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    background-color: #Cb4154;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background-color: #a83245;
}

/* Responsive Design */
@media (max-width: 768px) {
    .forms {
        width: 90%; /* Adjust width for tablets */
    }

    .forms {
        background-color: #ffc107;
        width: 350px;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        margin-left: 21px;
        margin-top: -35px;
    }
}

@media (max-width: 480px) {
    .forms {
        width: 95%; /* Adjust width for small screens */
    }
    
    .form-title {
        font-size: 20px;
    }

    .form-control {
        font-size: 12px;
    }

    .submit-btn {
        font-size: 16px;
    }
}



/* ad banner  */

/* Ad Banner Styles */
    .ad-banner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: linear-gradient(90deg, #7c3aed, #6366f1);
      color: #fff;
      padding: 20px 30px;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
      max-width: 900px;
      margin: 30px auto;
      flex-wrap: wrap;
    }

    .ad-text {
      flex: 1 1 60%;
      min-width: 250px;
      
    }

    .ad-text h2 {
      font-size: 40px;
      margin-bottom: 8px;
      color: whitesmoke;
    }

    .ad-text p {
      font-size: 20px;
      opacity: 0.9;
      margin-left: 227px;
      font-weight: bold;
    }

    .ad-btn {
      background-color: #fff;
      color: #4c1d95;
      padding: 12px 24px;
      border: none;
      border-radius: 8px;
      font-weight: bold;
      text-decoration: none;
      cursor: pointer;
      transition: background-color 0.3s ease;
      margin-top: 15px;
    }

    .ad-btn:hover {
      background-color: #eee;
    }

    /* Popup Styles */
    .popup {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.6);
      justify-content: center;
      align-items: center;
      z-index: 999;
    }

    .popup-content {
      background: #fff;
      padding: 30px;
      border-radius: 12px;
      width: 90%;
      max-width: 400px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
      position: relative;
    }

    .popup-content h3 {
      margin-top: 0;
      margin-bottom: 15px;
      color: #4c1d95;
    }

    .popup-content input, .popup-content button {
  
      padding: 10px;
      margin-top: 10px;
      font-size: 1rem;
      border-radius: 8px;
    }

    .popup-content input {
      border: 1px solid #ccc;
    }

    .popup-content button {
      background-color: #4c1d95;
      color: white;
      border: none;
      cursor: pointer;
    }

    .popup-content button:hover {
      background-color: #6d28d9;
    }

    .close-btn {
      position: absolute;
      top: 10px; right: 15px;
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: #888;
    }


    /* Responsive Design */
@media (max-width: 600px) {
  .ad-banner {
    flex-direction: column;
    padding: 20px 15px;
  }

  .ad-text h2 {
    font-size: 24px;
  }

  .ad-text p {
    font-size: 16px;
    margin: 10px 0;
  }

  .ad-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .popup-content {
    padding: 20px;
  }

  .popup-content h3 {
    font-size: 20px;
  }
}

    @media (max-width: 640px) {
      .ad-banner {
        flex-direction: column;
        text-align: center;
      }

      .ad-btn {
        margin-top: 20px;
      }
    }