/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #E31E24;
    --secondary-color: #1C2539;
    --accent-color: #FFC107;
    --dark-color: #1C2539;
    --light-color: #F9FAFB;
    --text-color: #374151;
    --border-color: #E5E7EB;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background: #1C2539;
    color: var(--white);
    padding: 12px 0;
    font-size: 13px;
    transition: all 0.3s ease;
}

.header.scrolled .top-bar {
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--primary-color);
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled .navbar {
    padding: 10px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: #1C2539;
    font-size: 28px;
    font-weight: 700;
}

.logo img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.header.scrolled .logo img {
    height: 50px;
}

.logo i {
    margin-right: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-left: auto;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--dark-color);
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background: #F3F4F6;
    color: var(--primary-color);
    padding-left: 25px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: 40px;
}

.search-box {
    display: none;
    align-items: center;
    background: #F3F4F6;
    border-radius: 25px;
    padding: 5px 5px 5px 20px;
}

.search-box.active {
    display: flex;
}

.search-course {
    border: none;
    background: transparent;
    padding: 8px 10px;
    outline: none;
    font-size: 14px;
    width: 150px;
}

.search-icon {
    background: transparent;
    color: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 20px;
}

.search-icon:hover {
    color: #C41A1F;
}

.search-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.search-btn:hover {
    background: #C41A1F;
}

.btn-login {
    padding: 10px 25px;
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-login:hover {
    color: var(--primary-color);
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 37, 57, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    width: 90%;
    max-width: 800px;
    text-align: center;
}

.search-modal-content h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 600;
}

.search-modal-form {
    position: relative;
    width: 100%;
}

.search-modal-input {
    width: 100%;
    padding: 20px 60px 20px 30px;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s;
}

.search-modal-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-modal-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.search-modal-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s;
}

.search-modal-submit:hover {
    background: #C41A1F;
}

.search-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-item {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider-item.active {
    opacity: 1;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.slider-content {
    position: relative;
    z-index: 2;
    padding-top: 150px;
    color: white;
}

.slider-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.slider-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    color: white;
}

.slider-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-admissions {
    padding: 15px 40px;
    border: 2px solid white;
    color: white;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-admissions:hover {
    background: white;
    color: var(--dark-color);
}

.btn-video-play {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    transition: all 0.3s;
}

.btn-video-play i {
    width: 70px;
    height: 70px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding-left: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.btn-video-play:hover i {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-video-play span {
    font-weight: 600;
    line-height: 1.4;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.slider-arrow:hover {
    background: var(--primary-color);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #C41A1F;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header {
    text-align: center;
}

.section-header h2 {
    font-size: 42px;
    color: var(--dark-color);
    font-weight: 700;
    margin-top: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #E31E24;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #6366F1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.8;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background: var(--light-color);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.course-image {
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.course-content {
    padding: 25px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-color);
}

.rating {
    color: var(--accent-color);
}

.rating i {
    margin-right: 3px;
}

.course-content h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.course-content > p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 14px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.course-info {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-color);
}

.course-price .price {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

.text-center {
    text-align: center;
}

/* Instructors Section */
.instructors {
    padding: 80px 0;
    background: var(--white);
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.instructor-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.instructor-image {
    position: relative;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.instructor-social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.instructor-card:hover .instructor-social {
    opacity: 1;
}

.instructor-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.instructor-social a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.instructor-info {
    padding: 25px;
}

.instructor-info h3 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.instructor-info > p {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.instructor-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-color);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.testimonial-card > p {
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.testimonial-author h4 {
    color: var(--dark-color);
    font-size: 16px;
}

.testimonial-author span {
    color: var(--text-color);
    font-size: 14px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #6366F1);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--light-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col p {
    color: #9CA3AF;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #9CA3AF;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.contact-list li {
    color: #9CA3AF;
    margin-bottom: 15px;
}

.contact-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9CA3AF;
}

/* Page Banner Section */
.page-banner-section {
    width: 100%;
    overflow: hidden;
}

.page-banner-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.page-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.page-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
}

.page-title {
    color: white;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background: white;
}

.welcome-title {
    text-align: center;
    font-size: 42px;
    color: #1C2539;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    width: 100%;
    padding-bottom: 20px;
}

.welcome-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #E31E24;
}

.welcome-content {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 0;
}

.welcome-content h3 {
    font-size: 28px;
    color: #1C2539;
    margin: 30px 0 20px;
    font-weight: 600;
}

.welcome-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 20px;
    text-align: justify;
}

/* Card-Based Welcome Section */
.welcome-section-cards {
    padding: 80px 0;
    background: #F9FAFB;
}

.welcome-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.welcome-intro h3 {
    font-size: 32px;
    color: #1C2539;
    margin-bottom: 20px;
    font-weight: 700;
}

.welcome-intro p {
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
}

.performance-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.performance-card:nth-child(4),
.performance-card:nth-child(5) {
    grid-column: span 1;
}

.performance-card:nth-child(4) {
    grid-column: 1 / 2;
    margin-left: auto;
    margin-right: 15px;
}

.performance-card:nth-child(5) {
    grid-column: 2 / 3;
    margin-left: 15px;
    margin-right: auto;
}

.performance-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.performance-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.15);
    border-top-color: #E31E24;
}

.performance-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: #F9FAFB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.performance-card:hover .performance-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.3);
    background: #FFF5F5;
}

.performance-icon i {
    font-size: 36px;
    color: #1C2539;
}

.performance-card h3 {
    font-size: 22px;
    color: #1C2539;
    margin-bottom: 15px;
    font-weight: 600;
}

.performance-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #6B7280;
}

/* Accreditation Section */
.accreditation-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1C2539 0%, #0F1729 100%);
}

.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.accreditation-logo {
    background: white;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    transition: transform 0.3s;
}

.accreditation-logo:hover {
    transform: translateY(-5px);
}

.accreditation-logo img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ICDL Logo - Dark Background */
.accreditation-logo:nth-child(5) {
    background: #1a1a1a;
    padding: 30px;
}

.accreditation-logo:nth-child(5):hover {
    background: #2a2a2a;
}

/* Enrol Banner */
.enrol-banner {
    width: 100%;
    overflow: hidden;
}

.enrol-banner-image {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.enrol-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.enrol-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
}

.enrol-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.btn-enrol {
    background: #FFFFFF;
    color: #1C2539;
    padding: 18px 50px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    border: 2px solid #1C2539;
}

.btn-enrol:hover {
    background: #F5F5F5;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.6);
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #F9FAFB;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px 15px 0 0;
}

.team-member h4 {
    font-size: 20px;
    color: var(--dark-color);
    margin: 20px 0 10px;
    font-weight: 600;
}

.team-member p {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: #F9FAFB;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-right {
        display: none;
    }

    .slider-title {
        font-size: 36px;
    }

    .slider-content {
        padding-top: 100px;
    }

    .slider-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }

    .accreditation-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
    }

    .accreditation-logo {
        padding: 20px;
        min-height: 120px;
    }

    .accreditation-logo img {
        max-height: 80px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .welcome-title {
        font-size: 32px;
    }

    .welcome-content h3 {
        font-size: 24px;
    }

    .welcome-content p {
        text-align: left;
    }

    /* Card-Based Responsive */
    .welcome-intro {
        padding: 30px 20px;
    }

    .welcome-intro h3 {
        font-size: 28px;
    }

    .welcome-intro p {
        font-size: 16px;
    }

    .performance-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .performance-card:nth-child(4),
    .performance-card:nth-child(5) {
        grid-column: span 1;
        margin-left: 0;
        margin-right: 0;
    }

    .performance-card:nth-child(5) {
        grid-column: 2 / 3;
    }

    .performance-card {
        padding: 30px 20px;
    }

    .performance-icon {
        width: 70px;
        height: 70px;
    }

    .performance-icon i {
        font-size: 32px;
    }

    .performance-card h3 {
        font-size: 20px;
    }

    .performance-card p {
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .accreditation-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .accreditation-logo {
        padding: 15px;
        min-height: 100px;
    }

    .accreditation-logo img {
        max-height: 60px;
    }

    /* Card-Based Mobile */
    .welcome-intro {
        padding: 25px 15px;
    }

    .welcome-intro h3 {
        font-size: 24px;
    }

    .welcome-intro p {
        font-size: 15px;
    }

    .performance-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .performance-card:nth-child(4),
    .performance-card:nth-child(5) {
        grid-column: span 1;
        margin-left: 0;
        margin-right: 0;
    }

    .performance-card {
        padding: 30px 20px;
    }

    .performance-icon {
        width: 65px;
        height: 65px;
    }

    .performance-icon i {
        font-size: 28px;
    }

    .performance-card h3 {
        font-size: 18px;
    }

    .performance-card p {
        font-size: 14px;
    }
}
