
:root {
    --primary: #2a6fa5;    /* Deep blue from binary pattern */
    --secondary: #153e75;  /* Darker blue */
    --accent: #ff6b35;     /* Warm orange accent */
    --light: #f8f9fa;
    --dark: #212529;
    --success: #4cc9f0;
    --light-blue: #e1f5fe;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 60px;
    height: 60px;
    background:white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 10px;
    padding: 5px;
    position: relative;
    overflow: hidden;
}




.logo-binary {
    font-family: monospace;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 1px;
    height: 100%;

}
.logo-binary img{
    height: 100%;

}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 span{
    color: var(--accent);
}
.logo-text h1 {
    font-size: 1.8rem;
    margin: 0;
    color: white;
    line-height: 1;
}

.logo-text p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}
.burger{
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(rgba(42, 111, 165, 0.7), rgba(21, 62, 117, 0.7)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    margin-top: 50px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--accent);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background-color: white;
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

section {
    padding: 5rem 0;
    min-height: 90vh;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary);
    font-size: 2.5rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.benefits {
    background-color: #f1f5fe;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--light-blue);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.syllabus {
    background-color: white;
}

.syllabus-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.syllabus-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border-left: 4px solid var(--accent);
}

.syllabus-item:hover {
    transform: translateY(-5px);
}

.syllabus-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.syllabus-item h3 i {
    margin-right: 10px;
    color: var(--accent);
}

.testimonials {
    background-color: white;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: var(--light-blue);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    color: rgba(42, 111, 165, 0.1);
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary);
}

.faq {
    background-color: #f1f5fe;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 1.5rem;
    display: none;
}

.faq-active .faq-answer {
    display: block;
}

.contact {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

.contact h2 {
    color: white;
}

.contact h2::after {
    background-color: var(--accent);
}

.contact p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

.email-link {
    display: inline-block;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 600;
    transition: color 0.3s;
}

.email-link:hover {
    color: var(--accent);
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 4rem;
}
.footer-logo img{
    height: 100%;
}
.footer-logo  .do{
    color: var(--accent);
}
.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-logo i {
    color: var(--accent);
}

.about{
    
    background-color: white;
}
.about-container, .history-container{
    display: flex;
    .about-item, .history-item{
        flex: 0 0 50%;
        max-width: 50%;
    }

    .about-item, .history-item{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .about-item .about-img, .history-item .history-img{
        width: 50%;
        overflow: hidden;

        img{
            width: 100%;
        }
    }

    .about-item:last-child, .history-item:first-child{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        

        h3{
            font-size: 2rem;
        }
    }



}
@media (max-width: 900px){
                .menu{

        display: flex;
        flex-direction: column;

        .nav-links{
            display: none;
        }

    }
    .burger{
        
        display: flex;
        justify-content: end;
        align-items: center;

        i{
            font-size: 30px;
        }
    }
}

@media (max-width: 768px) {
    .about-container{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .about-container .about-item{
        flex: 0 0 100%;
        max-width: 100%;
    }
    .menu{

        display: flex;
        flex-direction: column;

        .nav-links{
            display: none;
        }

    }
    .burger{
        
        display: flex;
        justify-content: end;
        align-items: center;

        i{
            font-size: 30px;
        }
    }
    .dropdown{
        padding-top: 10px;
        position: relative;
        right: -50vw;
        
        transition: right .3s ease-in-out;

        background-color: var(--primary);
        position: fixed;
        
        top: 60px;
        height: 70vh;
        width: 50vw;
        z-index:999;
        border-bottom-left-radius: 1rem;
        
        
    }

    .dropdown.show{
        right: 0vw;
    }
    .nav-links{
        flex-direction: column;

        li{
            padding-top: 5px;
        }
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
}