
/* Global Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}

body {
background-color: white;
color: #333;
}

/* Header */
header {
background-color: #ffffff;
padding: 15px 0;
position: sticky;
top: 0;
z-index: 1000;
}
.phn{
  text-decoration: none !important; 
  color: black !important;
  margin-top: 0px;
}

.container{
width: 100%;
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
flex: 1;
display: flex;
justify-content: flex-start;
height: auto;
width: 150px;
}

.logo img {
width: 150px;
height: auto;
}

nav {
display: flex;
align-items: center;
}

.nav-links {
list-style: none;
display: flex;
gap: 20px;
}

.nav-links li a {
text-decoration: none;
color: rgb(0, 0, 0);
font-weight: bold;
font-size: 16px;
}

a {
    color:black;
    text-decoration: none;
    font-weight: bold;
    display:flex;
    align-items: center;
    margin-left: 20px;
  }
    a:hover {
        text-decoration: none;
    }


/* Search Bar Styles */
.search-bar {
display: flex;
align-items: center;
margin-left: 20px;
}

.search-bar input {
padding: 8px 12px;
border: 2px solid #f8a400;
border-radius: 5px;
outline: none;
font-size: 14px;
width: 130px;
transition: width 0.3s ease;
}

.search-bar input:focus {
width: 200px;
border-color: #0066cc;
}

.search-bar button {
background-color: #f8a400;
color: rgb(0, 0, 0);
border: none;
padding: 8px 12px;
margin-left: 5px;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
}

.search-bar button:hover {
background-color: #e07b00;
transition: background-color 0.3s ease;
}


.btn-enquire {
background-color: #f8a400;
padding: 10px 20px;
color: #000000;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
font-size: 16px;
margin-left: 20px;
margin-top: 0px;
}

/* Hero Section */
.hero {
background: url('./hero.jpeg') no-repeat center center/cover;
background-size: cover;
background-position: center;
background-repeat: no-repeat; 
color: white;
text-align: center;
padding: 100px 20px; 
margin: 0px;
box-sizing: border-box;
width: 100%;
display: block;
position: relative;
overflow: hidden; /* To ensure animations fit within the section */
}

.hero h1 {
font-size: 40px;
margin-bottom: 20px;
animation: fadeIn 1s ease-out;
animation-delay: 0.2s;
animation-fill-mode: both;
}

.hero p {
font-size: 20px;
margin-bottom: 30px;
animation: fadeIn 1s ease-out;
animation-delay: 0.4s;
animation-fill-mode: both;
}

.btn-primary {
background-color: #f8a400;
padding: 12px 30px;
color: #fff;
text-decoration: none;
font-weight: bold;
border-radius: 5px;
animation: fadeIn 1s ease-out;
animation-delay: 0.6s;
animation-fill-mode: both;
width:fit-content;
margin-left: 600px;
}

/* Keyframes for Fade-In Animation */
@keyframes fadeIn {
from {
 opacity: 0;
 transform: translateY(20px);
}
to {
 opacity: 1;
 transform: translateY(0);
}
}

/* Optional Background Overlay Animation */
.hero::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.4); /* Adds a subtle dark overlay */
z-index: 0;
animation: backgroundPulse 3s infinite ease-in-out;
}

/* Pulse animation for background overlay */
@keyframes backgroundPulse {
0%, 100% {
 background: rgba(0, 0, 0, 0.4);
}
50% {
 background: rgba(0, 0, 0, 0.6);
}
}

/* Adjust content z-index to stay on top */
.hero-content {
position: relative;
z-index: 1;
width: 100%;
margin: 0px;
box-sizing: border-box;
}
/* cadd  center Section Styling */
.cadd-centre-section {
padding: 60px 20px;
background-color: #fff;
font-family: Arial, sans-serif;
}

.main-title {
font-size: 32px;
font-weight: bold;
color: #ed1c24;
text-align: center;
margin-bottom: 10px;
}

.subtitle {
font-size: 20px;
font-weight: normal;
color: white;
text-align: center;
margin-bottom: 30px;
}

/* Content Layout */
.content {
display: flex;
justify-content: space-between;
align-items: flex-start;
max-width: 1200px;
margin: 0 auto;
gap: 40px;
}

/* Description Section */
.description {
flex: 1.5;
text-align: justify;
}

.description p {
font-size: 16px;
line-height: 1.8;
color: #444;
margin-bottom: 20px;
}

/* Stats Section */
/* Stats Section */
.stats-container {
display: grid;
grid-template-columns: repeat(2, 1fr); /* 2 columns */
gap: 20px; /* Spacing between grid items */
justify-items: center; /* Center align items horizontally */
align-items: center; /* Center align items vertically */
background-color: #fff; /* Optional if needed */
}

/* Stat Item Styles */
.stat-item {
background-color: #fff8f3;
border: 1px solid #ffd8cc;
border-radius: 8px;
padding: 20px 15px;
text-align: center;
width: 100%; /* Ensure consistent sizing */
max-width: 200px; /* Optional to limit size */
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
transform: translateY(-5px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Font Sizes */
.stat-value {
font-size: 24px;
font-weight: bold;
color: #ed1c24;
margin-bottom: 10px;
display: block;
}

.stat-label {
font-size: 14px;
color: #333;
line-height: 1.4;
}


/* Section Styling */
.courses-section {
padding: 40px 20px;
text-align: center;
background-color: #fff;
}

.section-title {
font-size: 24px;
color: #ed1c24;
margin-bottom: 20px;
font-weight: bold;
}

.new-label {
font-size: 16px;
background-color: #ed1c24;
color: #fff;
padding: 2px 10px;
border-radius: 5px;
margin-left: 10px;
}

/* Swiper Styles */
.swiper-container {
width: 100%;
max-width: 1200px;
margin: auto;
overflow: hidden;
}

.swiper-slide {
display: flex;
justify-content: center;
align-items: center;
}

.course-card {
border: 1px solid #ddd;
border-radius: 10px;
overflow: hidden;
background-color: #fff;
text-align: center;
max-width: 300px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Image and Ribbon Styling */
.image-container {
position: relative;
overflow: hidden;
}

.image-container img {
width: 100%;
height: auto;
}

.ribbon {
position: absolute;
top: 1px;
left: 1px;
}

/* Course Info */
.course-title {
font-size: 18px;
font-weight: bold;
color: #333;
margin: 10px 0;
min-height: 50px; /* Ensure consistent height */
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}

.course-info {
display: flex;
justify-content: center;
gap: 10px;
margin: 10px 0;
}

.course-detail {
display: flex;
align-items: center;
font-size: 14px;
color: #fff;
background-color: #ed1c24;
border-radius: 5px;
padding: 5px 10px;
}

.course-detail img {
width: 14px;
height: auto;
margin-right: 5px;
}

.course-description {
font-size: 14px;
color: #666;
margin: 10px;
}

.course-description span {
color: #ed1c24;
font-weight: bold;
}

/* Button Styling */
.btn {
display: inline-block;
padding: 10px 20px;
font-size: 14px;
font-weight: bold;
color: #ed1c24;
border: 1px solid #ed1c24;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
background-color: #ed1c24;
color: #fff;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
color: #ed1c24;
font-size: 20px;
font-weight: bold;
background-color: rgba(0, 0, 0, 0.1);
padding: 10px;
border-radius: 50%;
transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
background-color: #ed1c24;
color: #fff;
}

/* Why Choose Us Section */
.about {
background-color: white;
padding: 60px 20px;
}

.about h2 {
text-align: left;
margin-bottom: 10px;
font-size: 36px;
font-weight: bold;
color: #0066cc;
position: relative;
text-transform: uppercase;
letter-spacing: 2px;
}

.about h2::after {
content: '';
position: absolute;
bottom: -8px;
left: 0;
width: 50%;
height: 3px;
background-color: #f8a400;
border-radius: 5px;
}

.about h2:hover {
color: #f8a400;
cursor: pointer;
transition: color 0.3s ease;
}

/* Grid Layout for Items */
.about-grid {
display: flex;
justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
}

.about-item {
background-color: #fff;
padding: 20px;
border-radius: 8px;
flex: 1;
min-width: 280px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-align: center;
cursor: pointer;
}

.about-item:hover {
transform: translateY(-10px);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
background-color: #0066cc;
color: white;
}

.about-item h3 {
font-size: 24px;
margin-bottom: 10px;
font-weight: bold;
}

.about-item p {
font-size: 16px;
margin-bottom: 20px;
}

.about-item a {
text-decoration: none;
background-color: #f8a400;
color: #fff;
padding: 10px 20px;
border-radius: 5px;
font-weight: bold;
}

.about-item a:hover {
background-color: #e07b00;
transition: background-color 0.3s ease;
}
/* Footer Section */
footer {
background-color: #fefbfb;
color:#000000;
padding-top: 40px;
padding-bottom: 20px;
}

.footer-content {
display: flex;
justify-content: space-between;
gap: 30px;
flex-wrap: wrap;
padding-left: 15px;
font-weight: 300;
}

.footer-info, .footer-links, .footer-social, .footer-logo-signup {
flex: 1;
max-width: 300px;
}

.footer-info h4, .footer-links h4, .footer-social h4, .footer-logo-signup h4 {
font-size: 18px;
margin-bottom: 10px;
color: #ed1c24;
}

.footer-info ul, .footer-links ul, .footer-social ul {
list-style: none;
padding: 0;
}

.footer-info li, .footer-links li, .footer-social li {
margin-bottom: 8px;
}

.footer-info a, .footer-links a, .footer-social a {
text-decoration: none;
color: black;
}

.footer-info a:hover, .footer-links a:hover, .footer-social a:hover {
color: #f8a400;
transition: color 0.3s ease;
}

.footer-social ul {
display: flex;
gap: 10px;
}

.footer-social img {
width: 20px;
height: 20px;
}

/* New styles for Logo and Signup/Login section */
.footer-logo-signup {
display: flex;
flex-direction: column;
align-items: center;
}

.footer-logo img {
width: 200px;
margin-bottom: 20px;
}

.footer-signup {
display: flex;
gap: 10px;
}

.btn-signup, .btn-login, .btn-whatsapp {
background-color: #f8a400;
color: white;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
font-size: 16px;
}

.btn-signup:hover, .btn-login:hover, .btn-whatsapp:hover {
background-color: #e07b00;
transition: background-color 0.3s ease;
}

/* WhatsApp button styles */
.btn-whatsapp {
background-color: #25D366;
display: flex;
align-items: center;
gap: 10px;
margin-top: 20px;
height: 35px;
width: 125px;
font-size: 12px;
}

.whatsapp-icon {
width: 20px;
height: 20px;
}

/* Mobile number styling */
.phone-number {
font-weight: bold;
color: #f8a400;
}

.phone-number:hover {
text-decoration: underline;
color: #ffcc00;
}

.footer-bottom {
text-align: center;
padding-top: 10px;
margin-top: 20px;
border-top: 1px solid #f8a400;
}

.footer-bottom p {
font-size: 14px;
margin: 0;
color: black;
}

/* Chatbot Button */
.chatbot-button {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #f8a400;
color: white;
font-size: 30px;
padding: 15px;
border-radius: 50%;
cursor: pointer;
}

/* Chatbot Window */
.chatbot-window {
display: none;
position: fixed;
bottom: 80px;
right: 20px;
background-color: #fff;
border: 1px solid #f8a400;
border-radius: 10px;
width: 300px;
max-height: 400px;
overflow-y: auto;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
z-index: 1000;
}

.chatbot-header {
background-color: #f8a400;
padding: 10px;
color: white;
text-align: center;
font-weight: bold;
}

.chatbot-close {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
}

.chatbot-body {
padding: 10px;
max-height: 300px;
overflow-y: auto;
}

.chatbot-message {
margin: 10px 0;
padding: 10px;
border-radius: 5px;
background-color: #f1f1f1;
}

.chatbot-message.bot-message {
background-color: #002fff;
color: white;
}

.chatbot-message.user-message {
background-color: #e0e0e0;
}

#chatbot-input {
width: 80%;
padding: 10px;
margin: 10px;
border: 1px solid #ddd;
border-radius: 5px;
}

/* Innovative Send Button */
#send-btn {
padding: 12px 25px;
background-color: #f8a400;
color: white;
border: none;
border-radius: 30px;  /* More rounded for a modern look */
cursor: pointer;
font-size: 16px;
position: relative;
display: inline-flex;
align-items: center;
transition: all 0.3s ease;
}

/* Icon and text arrangement */
#send-btn span {
margin-left: 10px;
transition: transform 0.3s ease;
}

/* Button Hover Effect */
#send-btn:hover {
background-color: #f59e00;
transform: scale(1.1);  /* Slightly enlarge button */
}

/* Button Focus Effect */
#send-btn:focus {
outline: none;
box-shadow: 0px 0px 10px rgba(248, 164, 0, 0.7);
}

/* Button Active/Click Effect */
#send-btn:active {
background-color: #d78e00;
transform: scale(1.05);  /* Slightly shrink on click */
}

/* Add an animation effect to the icon */
#send-btn:hover span {
transform: rotate(180deg);  /* Rotate icon when hovered */
}

/* Icon Style */
#send-btn i {
font-size: 20px;
transition: transform 0.3s ease;
}

.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}

.col-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }

  .row-cols-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .col {
    flex: 100%;
  }
  .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
  }




  /*as per cadd center.com page making changes*/

  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.text-center {
  text-align: center;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.mt-3 {
  margin-top: .75rem;
}
p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
}
.md\:px-0 {
  padding-left: 0;
  padding-right: 0;
}
.md\:gap-y-32 {
  row-gap: 8rem;
}
.md\:flex-wrap {
  flex-wrap: wrap;
}
.md\:flex {
  display: flex;
}
.gap-x-20 {
  /* -moz-column-gap: 5rem; */
  column-gap: 5rem;
}
.justify-center {
  justify-content: center;
}
.items-center {
  align-items: center;
}
.mt-24 {
  margin-top: 6rem;
}
.md\:w-\[28\%\] {
  width: 28%;
}
.p-5 {
  padding: 1.25rem;
}
.bg-\[\#e4c06a\] {
  --tw-bg-opacity: 1;
  background-color: rgb(228 192 106 / var(--tw-bg-opacity));
}
.rounded-lg {
  border-radius: .5rem;
}
.gap-5 {
  gap: 1.25rem;
}
.justify-between {
  justify-content: space-between;
}
.items-center {
  align-items: center;
}
.h-\[210px\] {
  height: 210px;
}
.flex {
  display: flex;
}
.relative {
  position: relative;
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.hover-underline {
  text-decoration: none; /* Remove default underline */
}

.hover-underline:hover h3 {
  text-decoration: underline; /* Add underline on hover */
  text-underline-offset: 4px; /* Spacing between text and underline */
  text-decoration-thickness: 2px; /* Thicker underline */
}

/* H3 Text styling */
h3 {
  color: white;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  transition: text-decoration 0.3s ease; /* Smooth underline effect */
}
.leading-8 {
  line-height: 2rem;
}
.text-\[26px\] {
  font-size: 26px;
}
.mt-\[-50px\] {
  margin-top: -50px;
}
.mr-\[-40px\] {
  margin-right: -40px;
}
img {
  max-width: 100%;
  height: auto;
}
img {
  display: block;
  vertical-align: middle;
}
img {
  overflow-clip-margin: content-box;
  overflow: clip;
}
.md\:w-\[28\%\] {
  width: 28%;
}
.p-5 {
padding: 1.25rem;
}
.bg-\[\#c784b9\] {
--tw-bg-opacity: 1;
background-color: rgb(199 132 185 / var(--tw-bg-opacity));
}
.rounded-lg {
border-radius: .5rem;
}
.gap-5 {
gap: 1.25rem;
}
.justify-between {
justify-content: space-between;
}
.items-center {
align-items: center;
}
.h-\[210px\] {
height: 210px;
}
.flex {
display: flex
;
}
.relative {
position: relative;
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.leading-8 {
  line-height: 2rem;
}
.text-\[26px\] {
  font-size: 26px;
}
.mt-\[-80px\] {
  margin-top: -80px;
}
img {
  max-width: 100%;
  height: auto;
}
.md\:gap-5 {
  gap: 1.25rem;
}
.md\:w-\[28\%\] {
  width: 28%;
}
.p-5 {
  padding: 1.25rem;
}
.bg-\[\#5f83eb\] {
  --tw-bg-opacity: 1;
  background-color: rgb(95 131 235 / var(--tw-bg-opacity));
}
.rounded-lg {
  border-radius: .5rem;
}
.justify-between {
  justify-content: space-between;
}
.items-center {
  align-items: center;
}
.h-\[210px\] {
  height: 210px;
}
.flex {
  display: flex
;
}
.relative {
  position: relative;
}
.md\:mr-\[-40px\] {
  margin-right: -40px;
}
.mt-\[-60px\] {
  margin-top: -60px;
}
img {
  max-width: 100%;
  height: auto;
}
img {
  display: block;
  vertical-align: middle;
}
.md\:w-\[28\%\] {
  width: 28%;
}
.p-5 {
  padding: 1.25rem;
}
.bg-\[\#f48a72\] {
  --tw-bg-opacity: 1;
  background-color: rgb(244 138 114 / var(--tw-bg-opacity));
}
.rounded-lg {
  border-radius: .5rem;
}
.gap-5 {
  gap: 1.25rem;
}
.justify-between {
  justify-content: space-between;
}
.items-center {
  align-items: center;
}
.h-\[210px\] {
  height: 210px;
}
.flex {
  display: flex
;
}
.relative {
  position: relative;
}
.mt-\[-60px\] {
  margin-top: -60px;
}
.mr-\[-40px\] {
  margin-right: -40px;
}
img{
  max-width: 100%;
  height: auto;
}
img {
  display: block;
  vertical-align: middle;
}
.md\:w-\[28\%\] {
  width: 28%;
}
.p-5 {
padding: 1.25rem;
}
.bg-\[\#975eae\] {
--tw-bg-opacity: 1;
background-color: rgb(151 94 174 / var(--tw-bg-opacity));
}
.rounded-lg {
border-radius: .5rem;
}
.gap-5 {
gap: 1.25rem;
}
.justify-between {
justify-content: space-between;
}
.items-center {
align-items: center;
}











/* to replace home page with executive diploma page*/
/* this for adding differnt pic in executive diploma at first like(hero)bg*/


.my-0 {
  margin-top: 0;
  margin-bottom: 0;
}
.md\:py-32 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}
.md\:bg-\[url\(\"\/assets\/images\/executive-diploma\/listpage\/edbanner\.jpg\"\)\] {
  background-image: url(./new\ HERO2.avif);
  background-size: cover;
  background-position: center;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.bg-cover {
  background-size: cover;
}
div {
  display: block;
  unicode-bidi: isolate;
}
.md\:px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.md\:max-w-full {
  max-width: 100%;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.text-\[\#e31e24\] {
  --tw-text-opacity: 1;
  color: rgb(227 30 36 / var(--tw-text-opacity));
}
.font-bold {
  font-weight: 700;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.pt-6 {
  padding-top: 1.5rem;
}
h1 {
  display: block;
  /* font-size: 2em; */
  margin-block-start: 0.67em;
  margin-block-end: 0.67em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
}
.font-bold {
  font-weight: 700;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.pt-2 {
  padding-top: .5rem;
}
p{
  margin: 0;
}
p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
}
.md\:pt-4 {
  padding-top: 1rem;
}
.md\:w-\[25\%\] {
  width: 25%;
}
.font-light {
  font-weight: 300;
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.uppercase {
  text-transform: uppercase;
}
.text-center {
  text-align: center;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.px-2 {
  padding-left: .5rem;
  padding-right: .5rem;
}
.bg-\[\#e31e24\] {
  --tw-bg-opacity: 1;
  background-color: rgb(227 30 36 / var(--tw-bg-opacity));
}
.rounded-md {
  border-radius: .375rem;
}
.w-\[180px\] {
  width: 180px;
}
.block {
  display: block;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
button {
  cursor: pointer;
}
button {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  
  margin: 0;
  
}
