/* 
 * NTCI Public Website Styles
 * Premium Mobile-First Design
 */

:root {
    --primary: #667eea;
    --primary-dark: #5a6fd6;
    --secondary: #764ba2;
    --accent: #ffc107;
    --dark: #2d3748;
    --light: #f7fafc;
    --white: #ffffff;
    --gray: #718096;
    --success: #48bb78;
    --danger: #f56565;

    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hover: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --font-main: 'Poppins', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--gray);
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

@media (max-width: 576px) {
    .navbar-brand {
        max-width: 200px !important;
    }
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    padding: 10px 15px !important;
    border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background: rgba(102, 126, 234, 0.1);
}

.navbar-toggler {
    border: none;
    padding: 0;
    font-size: 1.5rem;
    color: var(--primary);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile Menu Drawer */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 70px;
        /* Adjust based on navbar height */
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        max-height: 80vh;
        overflow-y: auto;
        transform-origin: top;
        transition: transform 0.3s ease-in-out;
    }
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    padding: 0;
    color: white;
    position: relative;
    overflow: hidden;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.hero-carousel {
    width: 100%;
}

.hero-carousel .carousel-item {
    min-height: 100vh;
}

.hero-slide {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.15) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 110px 0 90px;
}

.hero-fallback {
    padding: 120px 0 80px;
}

@media (max-width: 991.98px) {

    .hero-carousel .carousel-item,
    .hero-slide {
        min-height: 100vh;
    }

    .hero-slide-content {
        padding: 95px 0 80px;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-img {
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: scale(0.98);
}

.btn-white {
    background: white;
    color: var(--primary);
    border: 2px solid white;
}

.btn-white:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-primary-gradient {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-primary-gradient:hover {
    background: var(--gradient-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Stats Cards */
.stats-container {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: rgb(255, 255, 255);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 5px;
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

/* Trainer Card (Global) */
.trainer-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    text-align: center;
    padding: 30px 22px;
    border: 1px solid rgba(255, 47, 179, 0.18);
    position: relative;
}

.trainer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(255, 47, 179, 0.18);
}

.trainer-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(255, 77, 141, 0.55), rgba(255, 47, 179, 0.55), rgba(168, 85, 247, 0.55));
    border-radius: var(--radius-lg);
    opacity: 0;
    filter: blur(18px);
    transition: opacity 0.25s ease;
    z-index: 0;
}

.trainer-card:hover::before {
    opacity: 1;
}

.trainer-card>* {
    position: relative;
    z-index: 1;
}

.trainer-avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ff4d8d, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.1rem;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(255, 47, 179, 0.25);
    position: relative;
    overflow: hidden;
}

.trainer-avatar::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, rgba(255, 77, 141, 0.9), rgba(255, 47, 179, 0.9), rgba(168, 85, 247, 0.9));
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.75;
    z-index: 0;
}

.trainer-avatar::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    border-radius: 50%;
    z-index: 0;
}

.trainer-avatar .trainer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 1;
}

.trainer-initials {
    position: relative;
    z-index: 2;
}

.trainer-avatar.has-photo .trainer-initials {
    opacity: 0;
}

.trainer-avatar.no-photo .trainer-initials {
    opacity: 1;
}

.trainer-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.trainer-designation {
    color: #ff2fb3;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

/* Course Cards */
.course-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.course-image {
    height: 180px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.course-image i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
}

.course-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    backdrop-filter: blur(5px);
}

.course-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.course-info {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-meta {
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-fee {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Feature Box */
.feature-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    background: white;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: inline-block;
}

/* Notice Card */
.notice-card {
    background: white;
    border-left: 5px solid var(--primary);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 15px;
    transition: all 0.2s;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.notice-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.notice-date {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    min-width: 80px;
    margin-right: 15px;
}

.notice-date span {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
}

.notice-date small {
    font-size: 0.75rem;
    text-transform: uppercase;
}

.notice-content h5 {
    font-size: 1rem;
    margin: 0;
    color: var(--dark);
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    margin-top: 30px;
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow-sm);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--light);
}

.testimonial-text {
    text-align: center;
    font-style: italic;
    color: var(--gray);
    margin-top: 25px;
    margin-bottom: 20px;
}

.testimonial-author {
    text-align: center;
    font-weight: 700;
    color: var(--dark);
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
}

.footer-title {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 10px;
    padding-left: 0;
    transition: all 0.2s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Utilities */
@keyframes floatUp {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.bg-light-alt {
    background-color: #f8f9fa;
}

.bg-soft-primary {
    background-color: rgba(102, 126, 234, 0.05);
    position: relative;
    overflow: hidden;
}

/* Animated Gradient Background */
.bg-animated-gradient {
    background: linear-gradient(-45deg, #ff4d8d, #ff2fb3, #a855f7, #ff6a3d);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    display: block;
    list-style: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 99, 172, 0.5);
    animation: floatUp 25s linear infinite;
    bottom: -150px;
}

.shape:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.shape:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.shape:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.shape:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.shape:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* Subtle Pattern Overlay */
.bg-pattern-dots {
    background-color: #f8f9fa;
    background-image: radial-gradient(#dee2e6 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    overflow: hidden;
}

.bg-pattern-dots::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 47, 179, 0.55) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.28;
    animation: dotsDrift 18s linear infinite;
    pointer-events: none;
}

@keyframes dotsDrift {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-44px, -44px, 0);
    }
}

/* Keep content above animated layers */
.bg-soft-primary .container,
.bg-pattern-dots .container,
.bg-animated-gradient .container {
    position: relative;
    z-index: 1;
}

/* Respect user accessibility preferences */
@media (prefers-reduced-motion: reduce) {
    .bg-animated-gradient {
        animation: none;
        background-size: auto;
    }

    .shape {
        animation: none;
    }

    .bg-pattern-dots::before {
        animation: none;
    }
}

/* Recent Students Marquee Carousel */
.students-marquee-wrapper {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.students-marquee-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.students-marquee-row {
    overflow: hidden;
}

.students-marquee-track {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.students-marquee-inner {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marqueeScroll 5s linear infinite;
    will-change: transform;
}

.students-marquee-row.reverse .students-marquee-inner {
    animation-name: marqueeScrollReverse;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeScrollReverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Pause on hover */
.students-marquee-wrapper:hover .students-marquee-inner {
    animation-play-state: paused;
}

.student-card {
    flex-shrink: 0;
    width: 180px;
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(255, 47, 179, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Glowing effect */
.student-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #ff4d8d, #ff2fb3, #a855f7);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.3;
        filter: blur(15px);
    }

    50% {
        opacity: 0.6;
        filter: blur(20px);
    }
}

.student-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 47, 179, 0.3);
}

.student-card:hover::before {
    opacity: 0.8;
}

.student-photo-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(135deg, #ff4d8d, #a855f7) border-box;
}

.student-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.student-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff4d8d, #a855f7);
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
}

.student-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 10px;
    line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
    .students-marquee-inner {
        animation: none;
        transform: none;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-section {
        padding: 0;
        text-align: center;
        clip-path: ellipse(180% 100% at 50% 0%);
    }

    /* Recent Students (Mobile Only) */
    .students-marquee-inner {
        animation-duration: 5s;
        gap: 16px;
    }

    .students-marquee-stack {
        gap: 24px;
    }

    .student-card {
        width: 180px;
        padding: 14px;
    }

    .student-photo-wrapper {
        width: 120px;
        height: 120px;
        margin: 0 auto 8px;
    }

    .student-name {
        margin-top: 6px;
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .hero-carousel .carousel-item,
    .hero-slide {
        min-height: 60vh;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    .stats-container {
        margin-top: 0;
    }

    .stat-card {
        margin-bottom: 15px;
    }

    .course-card {
        margin-bottom: 20px;
        margin-bottom: 20px;
    }

    /* Inner Page Header */
    .page-header {
        background: var(--gradient-primary);
        padding: 80px 0;
        color: white;
        text-align: center;
        position: relative;
        margin-bottom: 60px;
    }

    .page-header h1 {
        font-size: clamp(2rem, 5vw, 3rem);
        font-weight: 700;
        margin-bottom: 10px;
    }

    .page-header p {
        font-size: clamp(1rem, 3vw, 1.2rem);
        opacity: 0.9;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Trainer Card */
    .trainer-card {
        background: white;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-md);
        transition: all 0.3s ease;
        height: 100%;
        text-align: center;
        padding: 30px 20px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .trainer-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .trainer-avatar {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        margin: 0 auto 20px;
        background: var(--gradient-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2.5rem;
        font-weight: 700;
        box-shadow: var(--shadow-md);
        position: relative;
        overflow: hidden;
    }

    .trainer-avatar .trainer-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset: 0;
    }

    .trainer-avatar.has-photo .trainer-initials {
        opacity: 0;
    }

    .trainer-avatar.no-photo .trainer-initials {
        opacity: 1;
    }

    .trainer-name {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 5px;
    }

    .trainer-designation {
        color: var(--primary);
        font-weight: 600;
        font-size: 0.9rem;
        margin-bottom: 15px;
        display: block;
    }

    /* Contact Page */
    .contact-card {
        background: white;
        padding: 30px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        height: 100%;
    }

    .contact-info-item {
        display: flex;
        align-items: center;
        margin-bottom: 25px;
        padding: 20px;
        background: var(--light);
        border-radius: var(--radius-sm);
        transition: all 0.3s;
    }

    .contact-info-item:hover {
        background: white;
        box-shadow: var(--shadow-sm);
        transform: translateY(-3px);
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        background: rgba(102, 126, 234, 0.1);
        color: var(--primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        margin-right: 20px;
        flex-shrink: 0;
    }

    .form-control {
        padding: 12px 15px;
        border-radius: var(--radius-sm);
        border: 1px solid #e2e8f0;
    }

    .form-control:focus {
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
        border-color: var(--primary);
    }

    /* Admission Page */
    .admission-step {
        position: relative;
        padding-left: 50px;
        margin-bottom: 40px;
    }

    .admission-step::before {
        content: '';
        position: absolute;
        left: 15px;
        top: 0;
        bottom: -40px;
        width: 2px;
        background: #e2e8f0;
    }

    .admission-step:last-child::before {
        display: none;
    }

    .step-number {
        position: absolute;
        left: 0;
        top: 0;
        width: 32px;
        height: 32px;
        background: var(--primary);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        z-index: 2;
    }
}