@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color System */
    --primary: #32849C;
    --primary-light: #4AA2BD;
    --primary-dark: #1B4856;
    --accent: #F5A623;
    --accent-hover: #D98A10;
    --text-dark: #1b292e;
    --text-muted: #627880;
    --text-light: #f3f7f8;
    --bg-light: #f5fafc;
    --bg-white: hsl(0, 0%, 100%);
    --border-color: #e1ebed;
    --shadow-sm: 0 2px 4px rgba(32, 88, 103, 0.05);
    --shadow-md: 0 10px 20px rgba(32, 88, 103, 0.08);
    --shadow-lg: 0 20px 40px rgba(32, 88, 103, 0.12);

    /* Layout & Styling */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea, select {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-user-drag: none;
    user-drag: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Header */
header {
    height: var(--header-height);
    background-color: var(--primary);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.logo-tagline {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: #fbff00;
    line-height: 1.1;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 16px;
    list-style: none;
}

.nav-link {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 18px;
    font-variant: small-caps;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover {
    color: #ffffff;
    font-weight: 700;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #ffffff;
    font-weight: 700;
}

.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 550px;
    background-color: var(--bg-white);
    overflow: hidden;
}

.slide-track {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide .container {
    height: 100%;
}

.slide-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 60px;
    height: 100%;
}

.slide-image-box {
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-10deg) scale(0.95);
    transition: all 0.8s ease 0.7s;
    opacity: 0;
    border: 1px solid var(--border-color);
}

.slide.active .slide-image-box {
    opacity: 1;
    transform: perspective(1000px) rotateY(0) scale(1);
}

.slide-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

.slide::before {
    content: none;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    color: var(--text-dark);
}

.slide-content h1 {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.3s;
}

.slide.active .slide-content h1 {
    opacity: 1;
    transform: translateY(0);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.5s;
}

.slide.active .slide-content p {
    opacity: 1;
    transform: translateY(0);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(32, 88, 103, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--accent);
    transform: scale(1.2);
}

/* Modern Ticker (Marquee Replacement) */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--primary-dark);
    padding: 10px 0;
    border-bottom: 4px solid var(--accent);
    display: flex;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    padding-right: 100%;
    animation: ticker-animation 45s linear infinite;
}

.ticker-wrap:hover .ticker {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 0 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.ticker-item::after {
    content: '•';
    margin-left: 60px;
    color: var(--accent);
}

@keyframes ticker-animation {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Home Welcome Section */
.welcome-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.welcome-text h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.welcome-text p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-light);
    padding: 28px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* Services Preview / Cards */
.services-section {
    background-color: var(--bg-white);
}

.section-header {
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(32, 88, 103, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 24px;
}

.service-card:hover .service-icon {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link::after {
    content: '→';
    transition: var(--transition);
}

.service-card:hover .service-link {
    color: var(--accent-hover);
}

.service-card:hover .service-link::after {
    transform: translateX(4px);
}

/* Inner Page Layout */
.inner-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    color: var(--text-light);
    border-bottom: 4px solid var(--accent);
}

.inner-hero h1 {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 12px;
}

.inner-hero-desc {
    font-size: 18px;
    opacity: 0.9;
    max-width: 800px;
}

.inner-layout-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: flex-start;
}

.content-block h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.content-block p {
    margin-bottom: 24px;
    color: var(--text-muted);
    text-align: justify;
}

.illustration-block {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.illustration-block img {
    border-radius: var(--radius-md);
    width: 100%;
}

/* Areas of Specialization Redesign */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.spec-grid.two-cols {
    grid-template-columns: repeat(2, 1fr);
}

.spec-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent);
    opacity: 0;
    transition: var(--transition);
}

.spec-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.spec-card:hover::before {
    opacity: 1;
}

.spec-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.spec-card:hover .spec-icon-wrapper {
    background-color: var(--primary);
    color: var(--text-light);
    transform: scale(1.1);
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.4;
    transition: var(--transition);
}

.spec-card:hover .spec-title {
    color: var(--accent);
}

.spec-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Custom Specialization Section Title styling */
.specializations h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 24px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 8px;
}

/* Custom Bullet/Service Lists */
.grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.list-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.list-item:hover {
    transform: translateY(-3px);
    border-left-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.list-item-icon {
    color: var(--accent);
    font-weight: bold;
    font-size: 18px;
}

.list-item-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--primary);
}

/* Training Calendar Table */
.calendar-section {
    margin-top: 60px;
}

.calendar-section h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 24px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.calendar-table th {
    background-color: var(--primary);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 16px 24px;
    font-size: 15px;
    text-transform: uppercase;
}

.calendar-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
    color: var(--text-dark);
}

.calendar-table tr:last-child td {
    border-bottom: none;
}

.calendar-table tr:hover {
    background-color: rgba(32, 88, 103, 0.02);
}

.badge-location {
    background-color: rgba(32, 88, 103, 0.08);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

/* Info Sidebar Box (Training bank details, etc) */
.sidebar-box {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: 40px;
    border-top: 5px solid var(--accent);
}

.sidebar-box h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent);
}

.sidebar-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-box li {
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.sidebar-box li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-box strong {
    color: var(--accent);
}

/* Contact Page Form & Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(32, 88, 103, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 15px;
}

.contact-form-container {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form-container h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--primary-light);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-control::placeholder {
    color: #999999;
    opacity: 1;
}

select.form-control:invalid {
    color: #999999;
}

select.form-control option {
    color: var(--text-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(32, 88, 103, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Team Profile Box */
.team-profile {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.team-bio h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 8px;
}

.team-subtitle {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.team-bio p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 16px;
    text-align: justify;
}

.team-books {
    margin-top: 40px;
}

.team-books h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
}

.books-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 6px solid var(--bg-white);
    max-width: 100%;
}

/* 404 Error Page */
.error-page-content {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.error-code {
    font-size: 120px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 4px 4px 0px rgba(32, 88, 103, 0.1);
}

.error-page-content h1 {
    font-family: var(--font-heading);
    font-size: 44px;
    color: var(--primary);
    margin-bottom: 16px;
}

.error-page-content p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 30px;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    transition-delay: 0.60s;
}

.loader-content {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: pulse-loader 1.8s infinite ease-in-out;
}

.loader-content img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.loader-content .logo-title {
    font-size: 32px;
}

.loader-content .logo-tagline {
    font-size: 20px;
}

.page-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes pulse-loader {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 60px 0 20px 0;
    border-top: 4px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 0.8fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-wrapper img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-about p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-links h5,
.footer-contact h5,
.footer-qr h5 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    opacity: 0.8;
}

.footer-links a:hover {
    color: #ffffff;
    font-weight: bold;
    opacity: 1;
    padding-left: 4px;
}

.footer-contact p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.footer-contact a {
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 13px;
    opacity: 0.7;
}

/* Responsiveness */
@media (max-width: 992px) {

    .welcome-grid,
    .inner-layout-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .slide-grid {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .slide-image-box {
        display: none;
    }

    .hero-slider {
        height: 450px;
    }

    .slide-content h1 {
        font-size: 38px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: span 2;
    }

    .footer-qr {
        display: none;
    }
}

@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-menu {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--primary);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 12px 24px;
        display: block;
    }

    .nav-link::after {
        display: none;
    }

    .hero-slider {
        height: 650px;
    }

    .slide-grid {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        gap: 30px;
    }

    .slide-image-box {
        display: block !important;
        height: 250px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .slide-content h1 {
        font-size: 30px;
    }

    .slide-content p {
        font-size: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-about {
        grid-column: span 1;
    }

    .spec-grid.two-cols {
        grid-template-columns: 1fr;
    }
}

/* Training Areas Redesign */
.training-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px 24px;
    margin-top: 30px;
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.training-area-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 6px 0;
    transition: var(--transition);
}

.training-area-item::before {
    content: '❯';
    color: var(--accent);
    font-weight: bold;
    font-size: 13px;
    transition: var(--transition);
}

.training-area-item:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.training-area-item:hover::before {
    color: var(--primary);
}

/* Bottom Grid for Nomination & Bank Details */
.info-boxes-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    /* Space below the Training Calendar */
}

@media (max-width: 768px) {
    .info-boxes-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
}

/* Training Intro Grid Split (Text & List Left, Image Right) */
.training-intro-split {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 40px;
    align-items: flex-start;
}

.training-image-column img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 16px;
    background-color: var(--bg-white);
}

.training-text-column h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.training-text-column p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.training-text-column .training-areas-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px;
    gap: 12px 20px;
}

@media (max-width: 992px) {
    .training-intro-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .training-text-column .training-areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* Clients Page */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.client-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.client-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

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

.trainings-section {
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.trainings-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
    text-align: center;
}

.clients-intro {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.trainings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.training-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.training-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    cursor: pointer;
}

.training-card:hover img {
    transform: scale(1.05);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.image-modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform:scale(0.8); opacity:0;}
    to {transform:scale(1); opacity:1;}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent);
}

.prev-btn, .next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -25px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: var(--transition);
    border-radius: 4px;
    user-select: none;
    -webkit-user-select: none;
}

.next-btn {
    right: 30px;
}

.prev-btn {
    left: 30px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--primary-dark);
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s, background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: #ffffff;
    transform: scale(1.1) translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.back-to-top svg {
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* Form Feedback States */
.form-feedback {
    transition: var(--transition);
}
.form-feedback.success {
    background-color: rgba(46, 204, 113, 0.15);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.3);
}
.form-feedback.error {
    background-color: rgba(231, 76, 60, 0.15);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Legacy Switch Button */
.legacy-switch {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary);
    color: white;
    padding: 16px 8px;
    border-radius: 8px 0 0 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-shadow: -4px 0 15px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: all 0.3s ease;
    border-left: 2px solid var(--accent);
    border-top: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    width: 44px;
}

.legacy-switch:hover {
    width: 52px;
    background-color: var(--primary-dark);
    color: var(--accent);
}

.legacy-switch-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 1px;
}

/* Footer Contact Link Hover */
.footer-contact a:hover {
    color: #ffffff !important;
    font-weight: bold !important;
}