/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #1a5276;
    --secondary: #3498db;
    --accent: #f39c12;
    --light: #f5f5f5;
    --dark: #2c3e50;
    --text: #333;
}

body {
    background-color: #f9f9f9;
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary);
}

nav ul li a.active {
    color: var(--primary);
    font-weight: 600;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

/* Page Header */
.page-header {
    background-color: var(--primary);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Slider Styles */
.slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slides {
    position: relative;
    height: 100%;
}

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

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
}

.slide-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.slider-nav button {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.slider-nav button:hover {
    background-color: white;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: white;
}

/* Welcome Section */
.welcome {
    padding: 80px 0;
    background-color: white;
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.welcome-text {
    flex: 1;
}

.welcome-text h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.welcome-text p {
    margin-bottom: 15px;
}

.welcome-image {
    flex: 1;
}

.welcome-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Quick Links Section */
.quick-links {
    padding: 80px 0;
    background-color: var(--light);
}

.quick-links h2 {
    font-size: 2.2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 50px;
}

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

.link-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.link-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.link-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.video-section h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 40px;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-container video {
    width: 100%;
    display: block;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 10px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.video-controls button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    margin: 0 5px;
}

.progress-container {
    flex: 1;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    margin: 0 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--accent);
    width: 0%;
}

/* About Page */
.about-page {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: flex;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 30px 0 15px;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.value-item {
    text-align: center;
    padding: 20px;
    background-color: var(--light);
    border-radius: 10px;
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background-color: var(--primary);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Courses Page */
.courses-page {
    padding: 80px 0;
    background-color: var(--light);
}

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

.course-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-info {
    padding: 20px;
}

.course-info h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.course-info .lecturer {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 10px;
}

.course-info p {
    margin-bottom: 15px;
}

.course-info ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.course-info li {
    margin-bottom: 5px;
}

/* Teachers Page */
.teachers-page {
    padding: 80px 0;
    background-color: white;
}

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

.teacher-card {
    background-color: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.teacher-card:hover {
    transform: translateY(-10px);
}

.teacher-card img {
    width: 100%;
    height: 300px;
    object-fit: contain;
}

.teacher-info {
    padding: 20px;
}

.teacher-info h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.teacher-info .role {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 10px;
}

.teacher-info p {
    margin-bottom: 15px;
}

.teacher-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.teacher-expertise span {
    background-color: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Events Page */
.events-page {
    padding: 80px 0;
    background-color: var(--light);
}

.events-list {
    max-width: 900px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-date {
    background-color: var(--primary);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.event-date .day {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.event-date .month {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 5px 0;
}

.event-date .year {
    font-size: 1rem;
}

.event-details {
    padding: 30px;
    flex: 1;
}

.event-details h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.event-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.event-details i {
    margin-right: 10px;
    color: var(--secondary);
    width: 20px;
}

.event-speakers {
    margin: 20px 0;
}

.event-speakers h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

.event-speakers ul {
    padding-left: 20px;
}

.event-speakers li {
    margin-bottom: 5px;
}

/* Past Events */
.past-events {
    padding: 80px 0;
    background-color: white;
}

.past-events h2 {
    font-size: 2.2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 50px;
}

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

.past-event-item {
    background-color: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.past-event-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.past-event-info {
    padding: 20px;
}

.past-event-info h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.past-event-info p {
    margin-bottom: 10px;
}

/* Registration Page */
.registration-page {
    padding: 80px 0;
    background-color: var(--light);
}

.registration-content {
    display: flex;
    gap: 50px;
}

.registration-info {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.registration-info h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.registration-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.registration-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.registration-info i {
    color: var(--accent);
    margin-right: 10px;
}

.contact-details {
    background-color: var(--light);
    padding: 20px;
    border-radius: 10px;
}

.contact-details h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 10px;
    color: var(--secondary);
    width: 20px;
}

.registration-form {
    flex: 2;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.registration-form h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
}

.checkbox-group a {
    color: var(--secondary);
}

/* Contact Buttons */
.contact-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    text-decoration: none;
}

.contact-btn:hover {
    transform: scale(1.1);
}

.call-btn {
    background-color: var(--primary);
}

.whatsapp-btn {
    background-color: #25D366;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-section .logo img {
    height: 40px;
    margin-right: 15px;
}

.footer-section .logo h3 {
    font-size: 1.2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-section i {
    margin-right: 10px;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary);
}

.submit-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .welcome-content,
    .about-content,
    .registration-content {
        flex-direction: column;
    }
    
    .slide-content {
        left: 20px;
        bottom: 20px;
        max-width: 90%;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .event-item {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding: 10px;
        min-width: auto;
    }
    
    .contact-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
}

/* Mobile Header Styles */
@media (max-width: 768px) {
    header .container {
        padding: 8px 0;
    }
    
    .logo img {
        height: 35px;
        margin-right: 10px;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    nav ul {
        margin-top: 10px;
    }
    
    nav ul li {
        margin: 3px 8px;
    }
    
    nav ul li a {
        font-size: 0.9rem;
    }
    
    /* Adjust page header for mobile */
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 0.95rem;
        padding: 0 15px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    header .container {
        padding: 5px 0;
    }
    
    .logo img {
        height: 30px;
        margin-right: 8px;
    }
    
    .logo h1 {
        font-size: 0.95rem;
    }
    
    nav ul {
        margin-top: 8px;
    }
    
    nav ul li {
        margin: 2px 6px;
    }
    
    nav ul li a {
        font-size: 0.85rem;
    }
    
    /* Further reduce page header */
    .page-header {
        padding: 30px 0;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
}