* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

:root{
  --primary:#007bff;
  --secondary:#00c6ff;
  --light-bg:#f4f9ff;
  --dark-text:#222;
}

html {
    scroll-behavior: smooth;
    margin:0;
    padding: 0;
    overflow-x: hidden;
}

body {
    
    margin:0;
    padding:0;
    font-family: 'Segoe UI', sans-serif;
    background:var(--light-bg);
    color:var(--dark-text);
    overflow-x: hidden;
    
}



.logo img {
    height: 80px;
    width: auto;
    display: block;
    padding: 1px 20px;
    
    /* /*.logo img {
    height: 50px;
    width: auto;
    display: block; */
    
}
/* Slide-in Animation*/
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background:white;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    
}

nav a {
    color: #050946;
    margin: 20px;
    text-decoration: none;
    font-weight: 700;
    

    /*color: #0b3c5d;
    margin-left: 25px;
    text-decoration: none;
    font-weight: 500;*/
}

section {
    scroll-margin-top: 90px;
}

/* Mobile */
@media(max-width:768px){

.header{
    flex-direction: column;
    align-items: center;
    padding:12px 15px ;
}

.nav{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    right: 100%;
    padding-top: 80px;
    transition: 0.4s;
}

.nav a{
    margin:10px 0;
    font-size:18px;
}
.nav.show {
    right: 0;
}

.logo img{
    height:60px;
    width: 130px;
}

}
/* Hamburger menu*/
/* Hamburger icon */
.menu-toggle{
    display:none;
    font-size:26px;
    cursor:pointer;
    color:#050946;
}

/* Desktop Navigation */
nav{
    display:flex;
}

/* Mobile */
@media(max-width:768px){

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0px 0px;       /*10 20*/
}

.menu-toggle{
    display:block;
}

nav{
    position:absolute;
    top:80px;
    left:0;
    width:100%;
    background:white;
    flex-direction:column;
    display:none;
    text-align:center;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
    transition:0.3s;
}

nav a{
    padding:15px;
    border-bottom:1px solid #eee;
}

nav.active{
    display:flex;
}

}



/* Hero */
.hero {
    
    padding: 80px;
    text-align: center;
   /* background-image:url('D:\\Easelife Academy\\Website\\images\\hospital3.jpg');*/
    animation: slideUp 1s ease;
    width: 100%;
}

.hero h1 {
    font-size: 28px;
}
.hero p {
    font-size: 16px;
}
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}


.slideshow {
    position: relative;
    height: 75vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.slide img {
    max-width: 100%;
    height: 100%;  /*also try with replacing height as "auto"*/
   
    
}


.caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: #050946;
    max-width: 500px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
    text-align: left;
}

.slide.active .caption {
    opacity: 1;
    transform: translateY(0);
    text-align: left;
}

.caption h2 {
    font-size: 42px;
    margin-bottom: 10px;
    text-align: left;
}

.caption p {
    font-size: 20px;
    text-align: left;
}

.caption a {
    transition-delay: 0.3s;
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-enroll {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: #ff6600;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-enroll:hover {
    background: #e65c00;
    transform: translateY(-3px);
}
/* Mobile */
@media (max-width:400px){

.hero-slider {
flex-direction:column;
}

.hero-slider {
width:100%;
}

h1{
font-size:22px;
}

}
@media (max-width: 768px) {
    .hero-slider {
        width:100%;
        text-align:center;
        padding-top:80px;
    }
    .caption h2 {
        font-size: 28px;
    }
    .caption p {
        font-size: 14px;
    }
}

/* whychooseEaselifeacademy? */
.why-easelife{
  padding:60px 20px;
  text-align:center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.why-easelife h2{
  margin-bottom:40px;
  font-size:28px;
}
/*hide scrollbar*/
.slider-wrapper::-webkit-scrollbar {
    width: 5px;
}                                                   
.slider-wrapper::-webkit-scrollbar-thumb {
   background: #ff6600;
   border-radius: 10px;
}

.slider-wrapper{
  overflow:hidden;
  position:relative;
}

.slider-track{
  display:flex;
  gap:20px;
  animation:scroll 25s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}
.icon-circle{
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin: auto;
    margin-bottom: 15px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #050946;
    font-size: 28px;


}

.icon-circle img{
    width: 50px;
    height: 50px;
}

.card{
  min-width:250px;
  padding: 25px;
  background:#fff;
  border: radius 15px;
  box-shadow:0 5px 15px rgba(0,0,0,0.08);
  font-size:15px;
  font-weight:500;
  transition:0.3s;
  text-align: center;
}

.card:hover{
  transform:translateY(-8px);
  box-shadow:0 12px 25px rgba(0,0,0,0.15);
}

/* Continuous left to right animation */
@keyframes scroll{
  0%{
    transform:translateX(0);
  }
  100%{
    transform:translateX(-50%);
  }
}

/* Mobile */
@media(max-width:768px){
  .card{
    min-width:200px;
  }
}
/* Coursesections */

/* Section Styling */
.critical-care {
    padding: 80px 20px;
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    font-family: 'Segoe UI', sans-serif;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #1e2a38;
    animation: fadeDown 1s ease-in-out;
}

/* Cards Layout */
.card-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Card Design */
.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.info-card:nth-child(2) {
    animation-delay: 0.2s;
}
.info-card:nth-child(3) {
    animation-delay: 0.4s;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.info-card h3 {
    margin-bottom: 20px;
    color: #0d0582;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.info-card ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #f00e0e;
}

/* Highlight Card */
.highlight-card {
    background: #2d7acd;
    color: rgb(3, 1, 1);
}

.highlight-card h3 {
    color: white;
}

.price {
    font-size: 22px;
    font-weight: bold;
    margin: 15px 0;
}

.enroll-btn {
    margin-top: 15px;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color: #eeebe7;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.enroll-btn:hover {
    background: #e7831f;
    color: black;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .card-wrapper {
        flex-direction: column;
        align-items: center;
    }
}

/* AboutSections */
.about {
    padding: 70px 20px;
    text-align: center;
    background-color: linear-gradient(135deg, var(--primary), var(--secondary));
}

.about h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about p {
    max-width: 800px;
    margin: auto;
    margin-bottom: 15px;
    line-height: 1.6;
}

.more-text {
    display: none;
}

.read-btn {
    padding: 10px 25px;
    border: none;
    background: #ff6600;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.read-btn:hover {
    background: #ff6600;
}

/* Faculty Section */
.faculty-section {
    padding: 40px 20px;
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    font-family: 'Segoe UI', sans-serif;
}

.faculty-title {
    text-align: center;
    width: 100%;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 0px;
    color: #1e2a38;
    animation: fadeDown 1s ease-in-out;
}

/* MAIN CARD */
.container{
  display:flex;
  gap: 25px;
  justify-content:center;
  align-items: stretch;
  flex-wrap:wrap;
}

.flip-card{
    width:260px;
    max-width: 280px;
    height:340px;
    perspective:1000px;
    margin:auto;
    overflow: hidden;
}

/* INNER CARD */
.flip-card-inner{
    position:relative;
    width:100%;
    height:100%;
    text-align:center;
    transition:transform 0.6s;
    transform-style:preserve-3d;
}

/* FLIP ON HOVER */
.flip-card:hover .flip-card-inner{
    transform:rotateY(180deg);
}

/* FRONT & BACK */
.flip-card-front, .flip-card-back{
    position:absolute;
    width:100%;
    height:100%;
    backface-visibility:hidden;
    border-radius:15px;
    box-shadow:0 4px 15px rgba(0,0,0,0.1);
    padding:10px 15px;

    display:flex;                 /* ADD */
    flex-direction:column;        /* ADD */
    justify-content:center;       /* ADD */
    align-items:center;           /* ADD */
    text-align:center;            /* ADD */
}

.faculty-img{
    width:100%;
    height: 230px;;
    object-fit:cover;
    border-radius:12px;
    margin-top: -10px;
}

.flip-card-front h3{
    margin-top:10px;
    font-size:18px;
}

.flip-card-back h4{
    margin-bottom:10px;
    font-size:16px;
}

/* FRONT */
.flip-card-front{
    background:#fff;
    
}

/* BACK */
.flip-card-back{
    background:#2a5bd7;
    color:white;
    transform:rotateY(180deg);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .flip-card {
        width: 90%;
    }
}

/* Layout *
.faculty-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Card *
.faculty-card {
    background: white;
    width: 320px;
    padding: 15px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

.faculty-card:nth-child(2) {
    animation-delay: 0.2s;
}
.faculty-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Hover Effect *
.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.15);
}

/* Image *
.faculty-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ff6600;
}

.faculty-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text *
.faculty-card h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #2d33b1;
}

.designation {
    font-weight: 600;
    color: #ff6600;
    margin-bottom: 12px;
}

.description {
    font-size: 14px;
    color: black;
    line-height: 1.6;
}

#more{
display:none;
}

#facultyBtn{
color:#007bff;
cursor:pointer;
font-weight:600;
text-decoration:none;
}

/* Animations *
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive *
@media (max-width: 768px) {
    .faculty-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .faculty-card {
        width: 90%;
    }
}



/* Sections */
section {
    padding: 40px 20px;
    text-align: center;
    animation: slideUp 1.2s ease;
    background-color: linear-gradient(135deg, var(--primary), var(--secondary));
}

.services-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;

}

.services-box div {
    padding: 15px;
    background: #050946;
    width: 200px;
    color: white;
}
/*
.testimonials {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
    overflow: hidden;
    height: 400px;
}

.testimonials h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.testimonial-box {
    max-width: 600px;
    margin: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    opacity: 0;
    transition: all 0.8s ease;
}

.testimonial-box.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.testimonial-box img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #ff6600;
}

.testimonial-box p {
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-box h4 {
    margin: 5px 0;
}

.testimonial-box span {
    color: gray;
    font-size: 14px;
}

/* Responsive *
@media (max-width: 768px) {
    .testimonial-box {
        width: 90%;
    }
}
/* <!-- Swiper CSS --> */





.testimonial-section {
  padding: 80px 20px;
  background: #050946;
  text-align: center;
}

.testimonial-section h2 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 50px;
}

.swiper {
  max-width: 1100px;
  margin: auto;
}

.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  text-align: left;
}

.student-info {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.student-info img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.student-info h3 {
  margin: 0;
  font-size: 18px;
}

.student-info span {
  font-size: 14px;
  color: gray;
}

.testimonial-card p {
  font-size: 14px;
  margin: 15px 0;
}

.stars {
  color: #f4b400;
  font-size: 18px;
}

.swiper-pagination-bullet {
  background: white;
}

@media(max-width:768px){
  .testimonial-card{
    text-align:center;
  }
  .student-info{
    flex-direction:column;
  }
  .student-info img{
    margin-bottom:10px;
  }
}


/* Appointment Form */
.enrollment-form {
    max-width: 500px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    
}

.enrollment-form input,
.enrollment-form select,
.enrollment-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white
}

.enrollment-form button {
    padding: 12px;
    background: #050946;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


footer {
 
  background: #050946;
  color: white;
  padding: 50px 20px;
  box-sizing: border-box;
}

.footer-container {
  /*display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;*/
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
    max-width:1200px;
    margin:auto;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  margin-bottom: 12px;
  font-size:18px;
}

.footer-column p {
  margin: 6px 0;
  color: #ddd;
}

.social-icons{
display:flex;
gap:12px;
margin-top:10px;
}

@media (max-width:768px){

.social-icons{
justify-content:center;
}

}

.social-icons i {
  font-size:18px;
}


.social-icons i:hover {
  color: #1ba098;
}


.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,0.15);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-right: 12px;
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s ease;
}

/* Individual Brand Colors */
.social-icons a:nth-child(1) {
  background: #050946; /* Instagram */
  
}

.social-icons a:nth-child(2) {
  background: #050946; /* Facebook */
}

.social-icons a:nth-child(3) {
  background: #050946; /* Twitter */
}

.social-icons a:nth-child(4) {
  background: #050946; /* WhatsApp */
}

.social-icons a:nth-child(5) {
  background: #050946; /* Email */
}

/* Hover Effect */
.social-icons a:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255,255,255,0.6);
}
/*  Mobile Responsive */
/*@media (max-width: 768px) {
    .footer {
        padding: 30px 50px;
        text-align: center;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 0;
        

    }
    .footer-column p {
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
}
    

    .footer-box {
        width: 100%;
    }
    .social-icons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 15px;
    }
    .social-icons i {
        font-size: 20px;
    }
}*/
@media (max-width:768px){

.footer-container{
    grid-template-columns:1fr;
    text-align:center;
}

.footer-column{
    margin-bottom:20px;
}

.social-icons{
    justify-content:center;
}

}
  