/* Base Styles with Blue Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f8ff; /* Light blue background */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: #0056b3; /* Darker blue for headings */
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

a {
    color: #1e88e5; /* Blue links */
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #0d47a1; /* Darker blue on hover */
    text-decoration: underline;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(13, 71, 161, 0.2); /* Blue shadow */
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1976d2, #0d47a1); /* Blue gradient */
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-style: italic;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Introduction Section */
#introduction {
    margin-bottom: 60px;
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.intro-text {
    flex: 1;
    min-width: 300px;
}

.intro-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

/* Courses Section */
#courses {
    margin-bottom: 60px;
}

.course-card {
    background-color: white;
    border-radius: 8px;
    border-left: 5px solid #1976d2; /* Blue accent border */
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.15);
    padding: 25px;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(25, 118, 210, 0.25);
}

.course-card h3 {
    color: #0d47a1; /* Dark blue for course titles */
    font-size: 1.5rem;
    border-bottom: 2px solid #bbdefb; /* Light blue border */
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.course-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.course-info {
    flex: 2;
    min-width: 300px;
}

.course-info strong {
    color: #1976d2; /* Blue for emphasis */
}

.course-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

/* Colleges Section */
#colleges {
    margin-bottom: 60px;
}

.college-card {
    background-color: white;
    border-radius: 8px;
    border-top: 5px solid #2196f3; /* Blue top border */
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
    padding: 25px;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.college-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(33, 150, 243, 0.25);
}

.college-card h3 {
    color: #0d47a1; /* Dark blue for college names */
    font-size: 1.5rem;
    border-bottom: 2px solid #bbdefb; /* Light blue border */
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.college-details p {
    margin-bottom: 10px;
}

.college-details strong {
    color: #1976d2; /* Blue for emphasis */
}

/* FAQ Section */
#faq {
    margin-bottom: 60px;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    border-right: 5px solid #42a5f5; /* Blue accent border */
    box-shadow: 0 4px 12px rgba(66, 165, 245, 0.15);
    padding: 25px;
    margin-bottom: 20px;
}

.faq-item h3 {
    color: #0d47a1; /* Dark blue for questions */
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Footer Styles */
footer {
    background-color: #0d47a1; /* Dark blue footer */
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-about, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
}

footer h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #bbdefb; /* Light blue links */
}

.footer-links ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Additional Blue Theme Elements */
section h2 {
    position: relative;
    padding-bottom: 15px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #1976d2, #bbdefb); /* Blue gradient underline */
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .course-details, .intro-content {
        flex-direction: column;
    }
    
    .course-image, .intro-image {
        order: -1;
    }
    
    section h2::after {
        width: 80px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 30px 0;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    section {
        margin-bottom: 40px;
    }
    
    .course-card, .college-card, .faq-item {
        padding: 15px;
    }
    
    section h2::after {
        width: 60px;
        height: 3px;
    }
}