/* General Styles */
:root {
    --primary-color: #3a7bd5;
    --secondary-color: #00d2ff;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --success-color: #5cb85c;
    --error-color: #d9534f;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    position: relative;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto;
    border-radius: 2px;
}

h1, h2, h3 {
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-small {
    padding: 8px 15px;
    font-size: 14px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.main-menu {
    display: flex;
}

.main-menu li {
    margin-left: 25px;
    position: relative;
}

.main-menu a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.main-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.main-menu a:hover::after,
.main-menu a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: var(--box-shadow);
    border-radius: 5px;
    z-index: 1;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: var(--dark-color);
    padding: 12px 16px;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    text-align: center;
    background: #fff;
    padding: 25px 15px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Courses Section */
.courses {
    background-color: var(--light-color);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.course-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Campuses Section */
.campus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.campus-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.campus-card:hover {
    transform: translateY(-10px);
}

.campus-card img {
    height: 200px;
    object-fit: cover;
}

.campus-card h3, .campus-card p {
    padding: 0 20px;
}

.campus-card h3 {
    margin-top: 20px;
}

.campus-card .btn-small {
    margin: 20px;
}

/* Events Section */
.events {
    background-color: var(--light-color);
}

.events-list {
    display: grid;
    gap: 20px;
}

.event-item {
    display: flex;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.event-date {
    background: var(--primary-color);
    color: #fff;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 100px;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
}

.event-date .month {
    font-size: 1.1rem;
}

.event-details {
    padding: 20px;
    flex: 1;
}

.event-details h3 {
    margin-bottom: 5px;
}

.event-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.event-location i {
    margin-right: 5px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, 
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

footer h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

footer h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 10px;
}

.social-media {
    margin-top: 20px;
}

.social-media a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #ddd;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px 0 0 5px;
    margin-bottom: 10px;
}

.footer-newsletter button {
    padding: 12px 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-newsletter button:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--box-shadow);
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .main-menu li {
        margin: 10px 0;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .event-item {
        flex-direction: column;
    }
    
    .event-date {
        width: 100%;
        padding: 10px;
        flex-direction: row;
        justify-content: center;
    }
    
    .event-date .day {
        margin-right: 10px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
} 