/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --white: #fff;
    --black: #000;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
}

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

.btn-secondary:hover {
    background-color: #1a252f;
    transform: translateY(-3px);
}

.btn-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.btn-link i {
    margin-left: 5px;
    font-size: 12px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto;
    border-radius: 2px;
}

/* Top Bar */


/* Header */
header {
    background-color: var(--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: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.logo h1 span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
}

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

nav ul li a {
    font-weight: 600;
    color: var(--dark-color);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

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

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */


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

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

.course-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.course-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.course-icon i {
    font-size: 30px;
    color: var(--secondary-color);
}

.course-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.course-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
}

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

.feature-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 30px;
    color: var(--secondary-color);
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}


/* Enquiry Form */
.enquiry-form {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.enquiry-form .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: var(--primary-color);
}

.form-header p {
    color: var(--text-light);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

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

.form-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--white);
}

.info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-box i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--white);
}

.info-box p {
    color: var(--light-color);
}

/* Testimonial Slider Styles */
.testimonial-slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.testimonial-card {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.testimonial-content {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    position: relative;
    margin-bottom: 20px;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #f9f9f9;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--secondary-color);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    z-index: 10;
    font-size: 18px;
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: var(--secondary-color);
}

/* Responsive Styles */
@media (min-width: 768px) {
    .testimonial-card {
        min-width: calc(50% - 15px);
    }
}

@media (min-width: 992px) {
    .testimonial-card {
        min-width: calc(33.33% - 20px);
    }
}

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

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

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

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

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.footer-logo h3 span {
    color: var(--secondary-color);
}

.footer-col p {
    color: #bdc3c7;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

.footer-col ul li a {
    color: #bdc3c7;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-col.contact ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-col.contact ul li i {
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.copyright {
    background-color: #1a252f;
    padding: 20px 0;
    text-align: center;
    color: #bdc3c7;
    font-size: 14px;
}

.copyright .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .enquiry-form .container {
        grid-template-columns: 1fr;
    }
    
    .form-info {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        margin-bottom: 10px;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 10px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .university-logo {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .university-logo {
        flex: 0 0 calc(50% - 15px);
    }
    
    .copyright .container {
        flex-direction: column;
    }
    
    .copyright p {
        margin-bottom: 10px;
    }
}
/* Page Hero */
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
}

/* Eligibility Section */
.eligibility-section {
    padding: 80px 0;
}

.eligibility-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    padding: 12px 25px;
    background-color: var(--light-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    background-color: #d5dbdb;
}

.tab-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.eligibility-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
}

.eligibility-card h3 {
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.eligibility-card h3 i {
    margin-right: 10px;
}

.eligibility-card ul {
    padding-left: 20px;
}

.eligibility-card ul li {
    margin-bottom: 8px;
    position: relative;
}

.eligibility-card ul li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: -15px;
}

/* Courses Section */
.courses-section {
    padding: 80px 0;
}

.course-category {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
}

.category-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.category-icon i {
    font-size: 25px;
    color: var(--secondary-color);
}

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

.program-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--secondary-color);
}

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

.program-card ul {
    padding-left: 20px;
}

.program-card ul li {
    margin-bottom: 8px;
    position: relative;
    color: var(--text-light);
}

.program-card ul li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: -15px;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light background for the section */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2a4365; /* Deep blue instead of primary color */
    font-weight: 700;
}

.info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-box i {
    font-size: 24px;
    color: #e74c3c; /* Bright blue for icons */
    margin-right: 20px;
    margin-top: 5px;
}

.info-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2d3748; /* Dark gray for headings */
    font-weight: 600;
}

.info-box p {
    color: #4a5568; /* Medium gray for text */
    font-weight: 500;
    line-height: 1.6;
}

.contact-form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #2a4365; /* Matching the other heading */
    font-weight: 700;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #2d3748; /* Dark gray for labels */
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
}

.contact-form button {
    background-color: #e74c3c; /* Matching icon color */
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #822c2c; /* Darker blue on hover */
}

/* Map Section */
.map-section {
    padding: 0 0 80px;
}

/* Branches Section */
.branches-section {
    padding: 60px 0 80px;
    background-color: var(--light-color);
}

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

.branch-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.branch-card h3 {
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.branch-card h3 i {
    margin-right: 10px;
}

.branch-card p {
    margin-bottom: 10px;
    color: var(--text-light);
}

/* Responsive Styles for New Pages */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .eligibility-tabs {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .category-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}