/***** deterrent only — hurts UX; optional *****/
html, body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea {
  -webkit-user-select: text;
  user-select: text;
}

/* Final Fix: Corrected IEM CSS File with Full Responsiveness */
/* This version maintains the original design while ensuring responsiveness across all devices. */

/* General Body and HTML Fixes */
html, body {
    overflow-x: hidden; /* Fixes horizontal scrollbar */
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Define CSS variables for consistent theming */
:root {
    --floating-orb: rgba(59, 130, 246, .15);
    --morphing-shape: rgba(139, 92, 246, .12);
}

/* ===== Enhanced Floating Animations ===== */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    background: var(--floating-orb);
    backdrop-filter: blur(3px);
    animation: floatBounce 12s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, .1);
}

.orb1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 8%;
    animation-delay: 0s;
}

.orb2 {
    width: 180px;
    height: 180px;
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.orb3 {
    width: 90px;
    height: 90px;
    top: 45%;
    left: 12%;
    animation-delay: 4s;
}

.orb4 {
    width: 150px;
    height: 150px;
    bottom: 18%;
    right: 15%;
    animation-delay: 6s;
}

.orb5 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 25%;
    animation-delay: 8s;
}

.orb6 {
    width: 130px;
    height: 130px;
    top: 60%;
    right: 8%;
    animation-delay: 10s;
}

.morphing-shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: .4;
    animation: morphDrift 18s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
}

.shape1 {
    width: 280px;
    height: 280px;
    top: 8%;
    left: 42%;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    animation-delay: 0s;
}

.shape2 {
    width: 200px;
    height: 200px;
    bottom: 12%;
    left: 20%;
    background: linear-gradient(135deg, #10b981, #8b5cf6);
    animation-delay: 6s;
}

.shape3 {
    width: 240px;
    height: 240px;
    top: 28%;
    right: 20%;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    animation-delay: 12s;
}

@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: .6;
    }
    25% {
        transform: translateY(-30px) translateX(15px) scale(1.05);
        opacity: .8;
    }
    50% {
        transform: translateY(-45px) translateX(-10px) scale(.95);
        opacity: 1;
    }
    75% {
        transform: translateY(-20px) translateX(20px) scale(1.02);
        opacity: .9;
    }
}

@keyframes morphDrift {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translateY(0) rotate(0deg);
    }
    25% {
        border-radius: 50% 50% 80% 20% / 25% 75% 25% 75%;
        transform: translateY(-40px) rotate(90deg);
    }
    50% {
        border-radius: 80% 20% 50% 50% / 75% 25% 75% 25%;
        transform: translateY(-60px) rotate(180deg);
    }
    75% {
        border-radius: 20% 80% 30% 70% / 50% 50% 80% 20%;
        transform: translateY(-30px) rotate(270deg);
    }
}

/* ===== Enhanced Glass Effects ===== */
.glass-card {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .15);
}

.placement-card {
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(10px);
    transform: translateY(0);
    transition: all .4s cubic-bezier(.2, .8, .2, 1);
}

.placement-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, .15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
}

/* ===== Enhanced Button Animations ===== */
.btn-pulse {
    position: relative;
    overflow: hidden;
    transition: all .3s cubic-bezier(.2, .8, .2, 1);
}

.btn-pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    transform: translate(-50%, -50%);
    transition: width .6s ease, height .6s ease;
}

.btn-pulse:hover::before {
    width: 300px;
    height: 300px;
}

.btn-pulse:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .2);
}

.btn-pulse:active {
    transform: translateY(-1px);
}

/* ===== Form Enhancements ===== */
.form-input {
    transition: all .3s cubic-bezier(.2, .8, .2, 1);
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, .15);
}

.form-input::placeholder {
    transition: opacity .3s ease;
}

.form-input:focus::placeholder {
    opacity: .7;
}

/* ===== Industry Testimonials Slider ===== */
.industry-slide.hidden {
    display: none;
}

.industry-dot {
    transition: all .3s ease;
    cursor: pointer;
}

.industry-dot[data-active="true"] {
    background-color: #1d4ed8;
    transform: scale(1.2);
}

.industry-dot:hover {
    transform: scale(1.1);
    opacity: .8;
}

/* ===== Specializations Section ===== */
.specialization-gradient {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.specialization-card {
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    transition: all .4s cubic-bezier(.2, .8, .2, 1);
    overflow: hidden;
}

.specialization-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .15);
    border-color: rgba(15, 23, 42, .15);
}

.img-container {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
    position: relative;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.specialization-card:hover .img-container img {
    transform: scale(1.08);
}

.gradient-accent {
    position: relative;
}

.gradient-accent::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
    border-radius: 4px 4px 0 0;
    transition: width .6s ease;
}

.specialization-card:hover .gradient-accent::before {
    width: 100%;
}

/* Animation for specialization cards */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-up 1.2s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
    animation-play-state: paused;
}

.reveal:nth-child(1) { animation-delay: 0.1s; }
.reveal:nth-child(2) { animation-delay: 0.3s; }
.reveal:nth-child(3) { animation-delay: 0.5s; }
.reveal:nth-child(4) { animation-delay: 0.7s; }
.reveal:nth-child(5) { animation-delay: 0.9s; }
.reveal:nth-child(6) { animation-delay: 1.1s; }

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-items li {
    opacity: 0;
    transform: translateX(-8px);
    animation: stagger-fade-in .6s forwards ease-in-out;
    animation-play-state: paused;
}

.reveal.animate .stagger-items li { animation-play-state: running; }

.stagger-items li:nth-child(1) { --delay: 0.1s; }
.stagger-items li:nth-child(2) { --delay: 0.2s; }
.stagger-items li:nth-child(3) { --delay: 0.3s; }
.stagger-items li:nth-child(4) { --delay: 0.4s; }

@keyframes stagger-fade-in {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.check-icon {
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

.cta-btn {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: #fff;
    font-weight: 800;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(16, 185, 129, .25);
    transition: all .3s cubic-bezier(.2, .8, .2, 1);
    letter-spacing: .5px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(16, 185, 129, .35);
    background: linear-gradient(135deg, #059669, #1d4ed8);
}

/* ===== Recruiters Marquee ===== */
.recruiter-marquee {
    position: relative;
    overflow: hidden;
    padding: 24px 12px;
    background: #fff;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.recruiter-track {
    display: flex;
    width: max-content;
    animation: recruiterScroll 35s linear infinite;
}

.recruiter-marquee:hover .recruiter-track {
    animation-play-state: paused;
}

.recruiter-group {
    display: flex;
    gap: 36px;
    padding: 8px 16px;
}

.recruiter-item {
    flex: 0 0 auto;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 20px 28px;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s cubic-bezier(.2, .8, .2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
}

.recruiter-item:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
    border-color: #10b981;
}

.recruiter-item img {
    height: 250px;
    width: 250px;
    max-width: 140px;
    object-fit: contain;
}

@keyframes recruiterScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== Achievements Marquee ===== */
.achievements-marquee {
    position: relative;
    overflow: hidden;
    padding: 28px 12px;
    background: #fff;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.achievements-track {
    display: flex;
    width: max-content;
    animation: achievementsScroll 40s linear infinite;
}

.achievements-marquee:hover .achievements-track {
    animation-play-state: paused;
}

.achievements-group {
    display: flex;
    gap: 32px;
    padding: 10px 18px;
}

.achievement-card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px 32px;
    min-width: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: all .4s cubic-bezier(.2, .8, .2, 1);
}

.achievement-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
    border-color: #3b82f6;
}

.achievement-icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .1));
}

.laurel-icon {
    font-size: 3rem;
    opacity: .95;
    background-size: contain;
    background-repeat: no-repeat;
    width: 64px;
    height: 64px;
}

.laurel-left {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23fdb713' d='M25.33,2.44A29.41,29.41,0,0,0,2.37,30.31a2.82,2.82,0,0,0,.26,3.64l.11.12a2.82,2.82,0,0,0,3.64-.26A23.82,23.82,0,0,1,23.3,4.92,23.63,23.63,0,0,1,41.93,12l.14.07a2.82,2.82,0,0,0,3.58-.51L46,11.23a2.82,2.82,0,0,0-.51-3.58L45.45,7.5,45.45,7.5A29.35,29.35,0,0,0,25.33,2.44Z'%3E%3C/path%3E%3Cpath fill='%23fdb713' d='M28.43,26.17a2.82,2.82,0,0,0,.41-3.61L28.7,22.42a29.4,29.4,0,0,0-23.71-15.6,2.82,2.82,0,0,0-3.64.26L1.24,7.28a2.82,2.82,0,0,0-.26,3.64A23.69,23.69,0,0,1,20.7,25.42a23.69,23.69,0,0,1,8.37.75Z'%3E%3C/path%3E%3Cpath fill='%23fdb713' d='M44.57,34.88a29.42,29.42,0,0,0-23.7-15.6,2.82,2.82,0,0,0-3.64.26L16.29,19.86a2.82,2.82,0,0,0-.26,3.64A23.65,23.65,0,0,1,35.79,42.5a23.63,23.63,0,0,1,18.63-12.79,2.82,2.82,0,0,0,3.58-.51l.14-.14a2.82,2.82,0,0,0-.51-3.58L57.5,25.92A29.35,29.35,0,0,0,44.57,34.88Z'%3E%3C/path%3E%3Cpath fill='%23fdb713' d='M49.68,58.56a29.36,29.36,0,0,0-24.18-11A2.82,2.82,0,0,0,21.86,48.8l-.13.11a2.82,2.82,0,0,0,.26,3.64,23.64,23.64,0,0,1,22.25,12.28,23.6,23.6,0,0,1-3,10.61A2.82,2.82,0,0,0,43.2,76a2.82,2.82,0,0,0,3.64-.26L47,75.4a29.4,29.4,0,0,0,2.67-16.84Z'%3E%3C/path%3E%3Cpath fill='%23fdb713' d='M10.33,70.66a2.82,2.82,0,0,0,3.64-.26l.13-.11a2.82,2.82,0,0,0,.26-3.64A23.62,23.62,0,0,1,15,53.25,23.64,23.64,0,0,1,30.34,35a2.82,2.82,0,0,0,.26-3.64l-.13-.11a2.82,2.82,0,0,0-3.64.26A29.41,29.41,0,0,0,4.86,43.91,29.35,29.35,0,0,0,10.33,70.66Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    transform: scaleX(-1);
}

.laurel-right {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23fdb713' d='M25.33,2.44A29.41,29.41,0,0,0,2.37,30.31a2.82,2.82,0,0,0,.26,3.64l.11.12a2.82,2.82,0,0,0,3.64-.26A23.82,23.82,0,0,1,23.3,4.92,23.63,23.63,0,0,1,41.93,12l.14.07a2.82,2.82,0,0,0,3.58-.51L46,11.23a2.82,2.82,0,0,0-.51-3.58L45.45,7.5,45.45,7.5A29.35,29.35,0,0,0,25.33,2.44Z'%3E%3C/path%3E%3Cpath fill='%23fdb713' d='M28.43,26.17a2.82,2.82,0,0,0,.41-3.61L28.7,22.42a29.4,29.4,0,0,0-23.71-15.6,2.82,2.82,0,0,0-3.64.26L1.24,7.28a2.82,2.82,0,0,0-.26,3.64A23.69,23.69,0,0,1,20.7,25.42a23.69,23.69,0,0,1,8.37.75Z'%3E%3C/path%3E%3Cpath fill='%23fdb713' d='M44.57,34.88a29.42,29.42,0,0,0-23.7-15.6,2.82,2.82,0,0,0-3.64.26L16.29,19.86a2.82,2.82,0,0,0-.26,3.64A23.65,23.65,0,0,1,35.79,42.5a23.63,23.63,0,0,1,18.63-12.79,2.82,2.82,0,0,0,3.58-.51l.14-.14a2.82,2.82,0,0,0-.51-3.58L57.5,25.92A29.35,29.35,0,0,0,44.57,34.88Z'%3E%3C/path%3E%3Cpath fill='%23fdb713' d='M49.68,58.56a29.36,29.36,0,0,0-24.18-11A2.82,2.82,0,0,0,21.86,48.8l-.13.11a2.82,2.82,0,0,0,.26,3.64,23.64,23.64,0,0,1,22.25,12.28,23.6,23.6,0,0,1-3,10.61A2.82,2.82,0,0,0,43.2,76a2.82,2.82,0,0,0,3.64-.26L47,75.4a29.4,29.4,0,0,0,2.67-16.84Z'%3E%3C/path%3E%3Cpath fill='%23fdb713' d='M10.33,70.66a2.82,2.82,0,0,0,3.64-.26l.13-.11a2.82,2.82,0,0,0,.26-3.64A23.62,23.62,0,0,1,15,53.25,23.64,23.64,0,0,1,30.34,35a2.82,2.82,0,0,0,.26-3.64l-.13-.11a2.82,2.82,0,0,0-3.64.26A29.41,29.41,0,0,0,4.86,43.91,29.35,29.35,0,0,0,10.33,70.66Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
}

.achievement-text {
    text-align: left;
}

.achievement-title {
    font-size: 1.15rem;
    line-height: 1.2;
    color: #1e293b;
    font-weight: 700;
}

.achievement-sub {
    font-size: .9rem;
    color: #64748b;
    margin-top: 4px;
    font-weight: 500;
}

.achievement-year {
    font-size: .9rem;
    color: #3b82f6;
    margin-top: 6px;
    font-weight: 700;
}

@keyframes achievementsScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== Campus Gallery ===== */
.campus-gallery {
    column-count: 3;
    column-gap: 1.5rem;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 1.5rem;
    break-inside: avoid;
    position: relative;
    text-decoration: none;
}

.gallery-item.wide figure { aspect-ratio: 16/9; }
.gallery-item.tall figure { aspect-ratio: 3/5; }

.gallery-item figure {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
    border: 2px solid #f1f5f9;
    background: #fff;
    position: relative;
    transition: all .4s cubic-bezier(.2, .8, .2, 1);
}

.gallery-item:hover figure {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .2);
    border-color: #10b981;
}

.gallery-item img {
    width: 100%;
    display: block;
    transform: scale(1);
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 20px;
    font-weight: 700;
    font-size: .95rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .8) 100%);
    color: #fff;
    transform: translateY(12px);
    opacity: 0;
    transition: all .4s cubic-bezier(.2, .8, .2, 1);
}

.gallery-item:hover figcaption {
    transform: translateY(0);
    opacity: 1;
}

/* ===== Campus Lightbox ===== */
.campus-lightbox {
    position: fixed;
    inset: 0;
    z-index: 70;
    transition: all .3s ease;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .85);
    opacity: 0;
    transition: opacity .3s ease;
    backdrop-filter: blur(8px);
}

.lightbox-stage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 32px;
    pointer-events: none;
}

.campus-lightbox.open .lightbox-backdrop {
    opacity: 1;
}

.lightbox-img {
    max-width: min(90vw, 1400px);
    max-height: 85vh;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .4);
    opacity: 0;
    transform: translateY(20px) scale(.9);
    transition: all .4s cubic-bezier(.2, .8, .2, 1);
    pointer-events: auto;
    background: #fff;
}

.campus-lightbox.open .lightbox-img {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.lightbox-caption {
    margin-top: 16px;
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, .6);
    pointer-events: auto;
}

.lightbox-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 24px;
    display: grid;
    place-items: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all .3s cubic-bezier(.2, .8, .2, 1);
    backdrop-filter: blur(10px);
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, .2);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, .6);
}

.lightbox-prev {
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover,
.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-close {
    top: 32px;
    right: 32px;
    font-size: 20px;
}

/* ===== News & Testimonials ===== */
.news-card {
    border: 2px solid #e5e7eb;
    border-bottom-width: 6px;
    border-right-width: 6px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: all .3s cubic-bezier(.2, .8, .2, 1);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .15);
    border-color: #10b981;
}

.testimonial-viewport {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    width: 100%;
    transition: transform .8s cubic-bezier(.25, .46, .45, .94);
}

.testimonial-slide {
    flex: 0 0 100%;
}

.testimonial-content {
    position: relative;
}

.testimonial-content::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 36px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 16px solid rgba(0, 0, 0, .08);
}

.testimonial-content::after {
    content: "";
    position: absolute;
    left: -14px;
    top: 38px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 14px solid white;
}

.testimonial-badge {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    color: white;
    border-radius: 10px;
    padding: 8px 16px;
    display: inline-block;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .3px;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all .3s cubic-bezier(.2, .8, .2, 1);
    cursor: pointer;
}

.testimonial-dot[data-active="true"] {
    background: #10b981;
    transform: scale(1.2);
}

.testimonial-dot:hover {
    transform: scale(1.1);
}

/* ===== FAQ Enhancements ===== */
.faq-card[open] .faq-icon {
    transform: rotate(45deg);
    background: rgba(16, 185, 129, .2);
    color: #10b981;
}

.faq-card summary {
    transition: all .3s ease;
}

.faq-card:hover summary {
    color: #10b981;
}

.faq-card summary::-webkit-details-marker {
    display: none;
}

/* ===== Modal Form Markup ===== */
#modalForm {
    align-items: center;
    justify-content: center;
}

#modalForm > div {
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
}

/* ===== Floating WhatsApp Icon Enhancements ===== */
@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}

.fixed.bottom-6.right-6 {
    animation: bounceIn 0.8s ease-out forwards;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 1280px) {
    /* Adjust hero section */
    #hero {
        min-height: 80vh;
    }

    #hero .container {
        padding: 4rem 1.5rem;
    }

    #hero h1 {
        font-size: clamp(2rem, 4.5vw, 3.5rem);
    }

    #hero p {
        font-size: 1rem;
        max-width: 100%;
    }

    #hero .grid.lg\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .glass-card {
        max-width: 100%;
        margin: 0 auto;
    }

    .floating-orb {
        display: none; /* Hide orbs on smaller screens to reduce clutter */
    }

    .morphing-shape {
        opacity: 0.3;
    }

    /* Program details section */
    #program-details .md\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Specialization section */
    .md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    /* Placement section */
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Further adjustments for tablets */
    #hero {
        min-height: 70vh;
    }

    #hero h1 {
        font-size: clamp(1.8rem, 4vw, 3rem);
    }

    #hero p {
        font-size: 0.9rem;
    }

    #hero .mt-12.grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .btn-pulse {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Why IEM section */
    #why .lg\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    #why h2 {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    /* Program details section */
    #program-details .md\:grid-cols-3 {
        grid-template-columns: 1fr;
    }

    /* Specialization section */
    .specialization-card {
        max-width: 100%;
    }

    /* Campus gallery */
    .campus-gallery {
        column-count: 2;
    }

    .gallery-item img {
        height: auto;
    }

    /* Media and testimonials */
    .lg\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .news-card {
        aspect-ratio: 3/2;
    }

    .testimonial-slide .sm\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    /* FAQ section */
    .faq-card summary {
        font-size: 1rem;
    }

    .faq-card .pt-6 {
        font-size: 0.9rem;
    }

    /* Recruiter marquee */
    .recruiter-item {
        min-width: 160px;
        padding: 16px 20px;
    }

    .recruiter-item img {
        max-width: 100px;
        height: auto;
    }

    /* Achievement marquee */
    .achievement-card {
        min-width: 300px;
        padding: 16px 20px;
    }

    .achievement-icon {
        font-size: 2.5rem;
    }

    .achievement-title {
        font-size: 1rem;
    }

    .achievement-sub {
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    /* Mobile adjustments */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #hero {
        min-height: 60vh;
    }

    #hero h1 {
        font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    }

    #hero p {
        font-size: 0.85rem;
    }

    #hero .mt-10.flex {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-pulse {
        width: 100%;
        text-align: center;
    }

    .floating-orb,
    .morphing-shape {
        display: none; /* Hide decorative elements on mobile */
    }

    /* Why IEM section */
    #why h2 {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    #why p {
        font-size: 0.9rem;
    }

    /* Program details */
    #program-details h2 {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    #program-details p {
        font-size: 0.9rem;
    }

    /* Specialization section */
    .specialization-card h3 {
        font-size: 1.25rem;
    }

    .specialization-card .stagger-items li {
        font-size: 0.9rem;
    }

    /* Placement section */
    .lg\:grid-cols-4 {
        grid-template-columns: 1fr;
    }

    .placement-card {
        padding: 1.5rem;
    }

    .placement-card .text-5xl {
        font-size: 2.5rem;
    }

    /* Campus gallery */
    .campus-gallery {
        column-count: 1;
    }

    .gallery-item figcaption {
        font-size: 0.85rem;
    }

    /* Lightbox */
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-close {
        top: 8px;
        right: 8px;
        font-size: 16px;
    }

    .lightbox-img {
        max-width: 95vw;
        max-height: 80vh;
    }

    /* Media and testimonials */
    .news-card {
        aspect-ratio: 4/3;
    }

    .testimonial-content p {
        font-size: 0.9rem;
    }

    .testimonial-badge {
        font-size: 0.8rem;
    }

    /* FAQ section */
    .faq-card {
        padding: 1rem;
    }

    .faq-card summary {
        font-size: 0.9rem;
    }

    .faq-card .pt-6 {
        font-size: 0.85rem;
    }

    /* Footer */
    footer .flex {
        flex-direction: column;
        text-align: center;
    }

    footer .gap-6 {
        flex-direction: column;
    }

    /* Modal */
    #modalForm > div {
        max-width: 90%;
        padding: 1.5rem;
    }

    #modalForm .bg-gradient-to-r {
        padding: 1rem;
    }

    #modalForm h3 {
        font-size: 1.5rem;
    }

    #modalForm p {
        font-size: 0.85rem;
    }

    /* WhatsApp icon */
    .fixed.bottom-6.right-6 {
        bottom: 4rem;
        right: 1.5rem;
    }

    .fixed.bottom-6.right-6 svg {
        width: 28px;
        height: 28px;
    }

    /* Recruiter marquee */
    .recruiter-item {
        min-width: 120px;
        padding: 12px 16px;
    }

    .recruiter-item img {
        max-width: 80px;
    }

    /* Achievement marquee */
    .achievement-card {
        min-width: 260px;
        padding: 12px 16px;
        gap: 12px;
    }

    .achievement-icon {
        font-size: 2rem;
    }

    .laurel-icon {
        width: 48px;
        height: 48px;
    }
}

/* ===== Additional Utilities ===== */
.reveal {
    animation-name: fade-in-up;
    animation-duration: 1.2s;
    animation-fill-mode: both;
    animation-play-state: paused;
    animation-timing-function: cubic-bezier(.2, .8, .2, 1);
    animation-delay: var(--delay, 0s);
}

.reveal.is-visible {
    animation-play-state: running;
}

.stagger-items li {
    opacity: 0;
    transform: translateX(-8px);
    animation: stagger-fade-in .6s forwards ease-in-out;
    animation-delay: var(--delay, 0s);
    animation-play-state: paused;
}

.reveal.is-visible .stagger-items li {
    animation-play-state: running;
}

@keyframes stagger-fade-in {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #10b981, #3b82f6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #059669, #1d4ed8);
}