/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: #333;
}

/* Header styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1e3a8a;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Main content styles */
main {
    padding-top: 80px;
}

.hero, .about-hero, .contact-hero {
    background: linear-gradient(to bottom, #e6f2ff, #fff);
    text-align: center;
    padding: 4rem 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.hero p, .about-hero p, .contact-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn.primary {
    background-color: #1e3a8a;
    color: #fff;
}

.btn.primary:hover {
    background-color: #1e40af;
}

.btn.secondary {
    background-color: #fff;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.btn.secondary:hover {
    background-color: #e6f2ff;
}

.features, .services, .values {
    padding: 4rem 1rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 2rem;
}

.feature-card, .service-card, .value-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.feature-card img, .service-card img, .value-card img {
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
}

.feature-card h3, .service-card h3, .value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-hero {
    background: linear-gradient(to bottom, #e6f2ff, #fff);
    text-align: center;
    padding: 4rem 0;
}

.about-content {
    padding: 4rem 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.about-card, .value-card, .founder-card {
    flex: 1;
    min-width: 250px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.about-card h2, .value-card h3, .founder-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.timeline {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.timeline h2 {
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 2rem;
}

.timeline-wrapper {
    position: relative;
    padding: 2rem 0;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #1e3a8a;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    left: 0;
}

.timeline-content h3 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.founders {
    padding: 4rem 0;
}

.founders h2 {
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 2rem;
}

.founder-card {
    text-align: center;
}

.founder-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.btn-bio {
    background-color: #1e3a8a;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-bio:hover {
    background-color: #1e40af;
}

.bio-content {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.values {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.values h2 {
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 2rem;
}

.value-card {
    text-align: center;
}

.value-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .timeline-wrapper::before {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        left: 0;
        width: 100%;
    }
}

/* Contact page styles */
.contact-form, .contact-info {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    flex: 1;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.info-item img {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
}

/* Footer styles */
footer {
    background-color: #1e3a8a;
    color: #fff;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon img {
    width: 24px;
    height: 24px;
}

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

.colleges-hero {
    background: linear-gradient(to bottom, #e6f2ff, #fff);
    text-align: center;
    padding: 4rem 1rem;
}

.entrance-exams {
    padding: 4rem 1rem;
    background-color: #f8f9fa;
}

.exam-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.exam-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.exam-card h3 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.colleges-list {
    padding: 4rem 1rem;
}

.college-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.college-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

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

.college-card h3 {
    color: #1e3a8a;
    padding: 1rem 1rem 0.5rem;
}

.college-card p {
    padding: 0 1rem;
    margin-bottom: 0.5rem;
}

.college-card .btn {
    display: block;
    margin: 1rem;
}

.college-search {
    background-color: #f8f9fa;
    padding: 4rem 1rem;
}

#collegeSearchForm {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

#collegeSearchForm .form-group {
    display: flex;
    flex-direction: column;
}

#collegeSearchForm label {
    margin-bottom: 0.5rem;
}

#collegeSearchForm select {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#collegeSearchForm button {
    margin-top: 1.5rem;
}

@media screen and (max-width: 768px) {
    .exam-cards,
    .college-cards {
        grid-template-columns: 1fr;
    }

    #collegeSearchForm {
        grid-template-columns: 1fr;
    }
}

services-hero {
    background: linear-gradient(to bottom, #e6f2ff, #fff);
    text-align: center;
    padding: 4rem 1rem;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 1rem;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.service-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.service-card h2 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1rem;
}

.service-card ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.service-contact {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.btn.whatsapp,
.btn.telegram {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.btn.whatsapp:hover {
    background-color: #128C7E;
}

.btn.telegram {
    background-color: #0088cc;
    color: #fff;
}

.btn.telegram:hover {
    background-color: #0077b5;
}

.service-cta {
    background-color: #f8f9fa;
    text-align: center;
    padding: 4rem 1rem;
}

.service-cta h2 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.service-cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

@media screen and (max-width: 768px) {
    .services-list {
        grid-template-columns: 1fr;
    }

    .service-contact {
        flex-direction: column;
    }
}


/* Responsive styles */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .about-content, .contact-content {
        flex-direction: column;
    }
}

.map-container {
    margin-top: 2rem;
    width: 100%;
}

.map-container h2 {
    margin-bottom: 1rem;
}

