/* Google Font for headings and code */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600;700&family=Fira+Code&display=swap');



body {
    margin: 0;
   
    font-family: 'Nunito', Arial, sans-serif;
    line-height: 1.6;
    background: #f9fafc;
    color: #333;
   
}


.cursor {
    width: 25px;
    height: 25px;
    border: 2px solid #0d47a1;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform 0.15s ease-out, background 0.2s;
    z-index: 2000;
}
.cursor.active {
    transform: translate(-50%, -50%) scale(1.6);
    background: rgba(13, 71, 161, 0.15);
}

/* Header & Nav (Desktop/Base Styles) */
header {
    background: #0d47a1;
    padding: 12px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    flex-wrap: nowrap; 
}

header nav ul li {
    margin: 0 15px;
}
header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}
header nav ul li a:hover {
    color: #ffca28;
}


/* Hero Container  */
#overview {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e3f2fd;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}


.hero-content-block {
    flex: 1; 
    padding-right: 30px;
    order: 0; 
}


.hero-image-block {
    flex-shrink: 0; 
    order: 1; 
    text-align: center;
    max-width: 350px; 
    width: 100%;
}


.instructor-photo {
    width: 350px;
    height: 400px;
    border-radius: 50% 50% 0 0 / 40% 40% 0 0; 
    overflow: hidden;
    box-shadow: 0 0 0 10px white;
    position: relative; 
    margin: 0 auto 10px auto; 
    transition: width 0.3s, height 0.3s, max-width 0.3s; 
}


.instructor-caption {
    display: block; 
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.3;
    margin-top: 10px; 
}
.instructor-caption .details {
    display: block; 
    font-size: 0.9rem;
    font-weight: normal;
    color: #555;
}


.shaped-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; 
}

#overview a[role="button"] {
    background: #ff6f00;
    color: #fff;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
#overview a[role="button"]:hover {
    background: #e65100;
    transform: translateY(-2px);
}
html{
    scroll-behavior: smooth;
}

/* Section styling */
section {
    padding: 50px 80px;
    max-width: 1100px;
    margin: auto;
}
section h2 {
    border-left: 8px solid #ff6f00;
    padding-left: 10px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #0d47a1;
}

/* Curriculum */
details {
    background: #fff;
    margin-bottom: 15px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 2px solid #ddd;
    transition: 0.3s;
}
details summary {
    font-weight: bold;
    cursor: pointer;
    color: #0d47a1;
}
details:hover {
    border-color: #0d47a1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#path ol li {
    margin-bottom: 10px;
    background: #fff8e1;
    padding: 12px;
    border-left: 6px solid #ffca28;
    border-radius: 6px;
    transition: transform 0.2s;
}
#path ol li:hover {
    transform: translateX(5px);
}

#projects ul li {
    background: #f1f8e9;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 8px;
    border-left: 6px solid #66bb6a;
}
pre {
    background: #1e1e1e;
    color: #d4d4d4;
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

#comparison table {
    width: 100%;
    border-collapse: collapse;
}
#comparison th, #comparison td {
    border: 11px solid #ddd;
    padding: 14px;
}
#comparison th {
    background: #0d47a1;
    color: #fff;
    font-size: 1rem;
}
#comparison tr:nth-child(even) {
    background: #f9f9f9;
}

#faq dt {
    font-weight: bold;
    color: #0d47a1;
    margin-top: 12px;
}
#faq dd {
    margin-left: 20px;
    margin-bottom: 8px;
}

form {
    background: #fff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
form input, form select, form button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    margin-top: 6px;
}
form button {
    background: #0d47a1;
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
}
form button:hover {
    background: #1565c0;
}

footer {
    text-align: center;
    padding: 20px 0;
}




/*  (Max width 992px) */
@media (max-width: 992px) {
    
    section {
        padding: 40px 30px;
    }

    
    header nav ul {
        flex-wrap: wrap; 
        justify-content: center;
        padding-bottom: 5px; 
    }
    header nav ul li {
        margin: 5px 10px; 
    }

  
    #overview {
        flex-direction: column; 
        padding: 40px;
        text-align: center; 
    }
    
    
    .hero-content-block {
        order: 1; 
        padding-right: 0;
        margin-top: 30px;
    }
    .hero-image-block {
        order: 0; 
        max-width: 320px; 
    }
    

    .instructor-photo {
        width: 100%; 
        max-width: 320px; 
        height: 380px; 
        margin-bottom: 0;
    }

    
    .instructor-caption {
        font-size: 1rem;
    }
    
    
    #comparison table {
        min-width: 600px; 
    }
}

/*(Max width 768px) */
@media (max-width: 768px) {
    
    body {
        font-size: 15px;
    }

    section {
        padding: 30px 20px;
    }
    
    section h2 {
        font-size: 1.5rem;
        border-left-width: 6px;
    }

   
    header {
        padding: 10px 15px; 
    }
   
    header nav ul li a {
        font-size: 0.85rem;
    }

    #overview {
        padding: 30px 20px;
    }

   
    .hero-image-block {
        max-width: 250px;
    }
    .instructor-photo {
        max-width: 250px; 
        height: 300px; 
    }

    
    .instructor-caption {
        font-size: 0.95rem;
    }
    .instructor-caption .details {
        font-size: 0.85rem;
    }
    
    
    pre {
        font-size: 0.85rem;
    }

    
    #comparison {
        overflow-x: auto;
    }
}

/* (Max width 480px) */
@media (max-width: 480px) {
    
    section {
        padding: 20px 10px; 
    }

 
    .hero-image-block {
        max-width: 200px;
    }
    .instructor-photo {
        max-width: 200px;
        height: 230px;
    }
    
    
    #overview a[role="button"] {
        padding: 12px 20px;
    }
    
   
    form {
        padding: 15px;
    }
}