*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Trebuchet MS', Arial, sans-serif sans-serif;
}
.html{
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

body{
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: white;
}
/* Navbar */

nav{
    width: 100%;
    background:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:8px 25px;
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    border: 1px solid rgba(220, 220, 220, 0.855);
}
.number-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 390px;
    margin: 20px auto;
    align-self: center;
    margin-top: 50px;
}


.number-box {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    padding: 20px 15px;
    color: white;
    transition: 0.3s;
}

.number-box h2 {
    font-size: 36px;
    color: rgb(255, 212, 59);
    margin: 0 0 10px;
}

.number-box p {
    font-size: 17px;
    font-weight: bold;
    margin: 0 0 6px;
}

.number-box span {
    font-size: 12px;
    color: rgb(224, 234, 255);
}

.box-two {
    margin-top: 30px;
}

.box-three {
    margin-top: 0px;
    min-height: 160px;
}


.box-four {
    margin-top: 0;
    min-height: 90px;
}

.number-box:hover {
    background: rgb(255, 255, 255);
    color: rgb(23, 59, 120);
    transform: translateY(-5px);
}

.number-box:hover span {
    color: rgb(85, 85, 85);
}

.number-box:hover h2 {
    color: rgb(23, 59, 120);
}

.logo{
    display: flex;
    align-items: center;
    gap: 12px;
    font-size:35px;
    font-weight:bold;
    
}
.logo img{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.logo span{
    color:goldenrod;
}

nav ul{
    list-style:none;
    display: flex;

}

nav ul li{
    margin:0 20px;
}

nav ul li a{
    text-decoration:none;
    font-size:18px;
    font-weight:bold;
    color:rgb(24, 59, 107);
    padding: 10px 0;
    margin: 0 15px;
    transition: 0.3s;
    position: relative;
}
nav ul li a:focus{
    color:goldenrod;
}
nav ul li a::after{
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    background-color:goldenrod;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}
nav ul li :hover{
     color:goldenrod;
}
nav ul li a:hover::after{
    width: 100%;
}

/* Home Section */

.home{
    background: linear-gradient(135deg,rgb(10,25,47)0%,rgb(2, 86, 176)100%);
    color:white;
    height:650px;
    display:flex;
    align-items:center;
    padding-left:80px;
}

.btn{
    display: inline-block;
    background-color: goldenrod;
    color: black;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 30px;
    margin-top: 25px;
    margin-bottom: 2px;
   
}
.content{
    width:460px;
    padding-top: 75px;
    padding-bottom: 80px;
}
.tag{
    display:inline-block;
    /* border:1px solid white; */
    background-color:rgb(255, 194, 40) ;
    color: black;
    font-weight: bold;
    border-radius:30px;
    padding:12px 25px;
    margin-top: 70PX;
    margin-bottom: 10px;
    
}
.content h1{
    font-size: 50px;
    margin-bottom:5px;

}
.text{
    color: lightgray;
    font-size:20px;
    line-height:31px;
    margin-bottom:5px;
}


/* ===== Why Choose Us ===== */

.choose{
    background:rgb(243, 245, 249);
    padding:70px;
}
.choose h1{
    font-size:35px;
    color:rgb(16, 44, 79);
}
.Text{
    margin-top:10px;
    color:gray;
    font-size:20px;
}
.cards{
    display:flex;
    justify-content:space-between;
    margin-top:40px;
}
.card{
    width:23%;
    background:white;
    padding:25px;
    border-radius:10px;
    box-shadow:0 0 10px lightgray;
    border: 1px solid rgba(220, 220, 220, 0.855);
    text-align: center;
   border-top: 4px solid rgb(1, 25, 54);
}
.card h2{
    width:60px;
    height:60px;
    background-color: rgb(1, 25, 54);
    color:gold;
    border-radius:35%;
    text-align:center;
    line-height:60px;
    margin:0 auto 20px;
}
.card h3{
    margin-bottom:15px;
    color:rgb(10, 36, 69);
}
.card p{
    color: rgb(7, 34, 66);
    line-height:28px;
}
.card{
    transition: 0.3s;
    cursor: pointer;
}
.card:hover{
    transform: translateY(-6px);
    transition: 0.3s ease;
}
/* Our Programs */
.programs{
    background:white;
    padding: 60px 70px;
    width: 100%;
    border: 1px solid rgba(220, 220, 220, 0.855);
}
.programs h1{
    font-size: 35px;
    color:rgb(10, 36, 69);
    margin-bottom: 40px;
}
.program-box{
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.box-1,.box-2{
    flex: 1;
    background: white;
    border: 1px solid rgba(220, 220, 220, 0.855);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.box-1 h2,.box-2 h2{
   color:rgb(10, 36, 69);
    margin-bottom:20px;
    font-size:20px;
}
.box-1 p,.box-2 p{
   color: rgb(7, 34, 66);
    font-size:18px;
    line-height:30px;
    margin-bottom:25px;
    font-size: medium;
}
.box-1 a,.box-2 a{
   color: rgb(24, 61, 107);
    text-decoration: none;
    font-size: 15px;
    color: white;
}
.footer-cta {
    display: flex;
    margin: 40px 5%;
    border-radius: 18px;
    overflow: hidden;
    background: rgb(233, 241, 252);
}

.cta-message,.cta-action {
    padding: 35px;
}

.cta-message {
    flex: 1.5;
}

.cta-message h2 {
    color: rgb(19, 60, 110);
    margin-bottom: 12px;
}

.cta-message p {
    color: rgb(89, 111, 139);
    margin-bottom: 22px;
}

.cta-message span {
    color: rgb(49, 93, 145);
    font-size: 13px;
    font-weight: bold;
}

.cta-action {
    flex: 1;
    background: rgb(10, 54, 108);
    color: white;
}

.cta-action h3 {
    margin: 8px 0 20px;
}

.cta-action a {
    display: inline-block;
    padding: 13px 20px;
    border-radius: 10px;
    background: rgb(244, 189, 50);
    color: rgb(16, 40, 70);
    font-weight: bold;
    text-decoration: none;
}
.footer{
    background: rgb(7, 34, 66);
    color: white;
    width: 100%;
    padding: 70px 0 40px;
    margin-top: 0;
}
.footer-container{
    width: 100%;
    max-width: 1000px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 250px;
    box-sizing: border-box;
}
.footer-box{
    width: 350px;
}
.footer-bottom{
    text-align: center;
    margin-top: 40px;
    color:rgb(173, 172, 172);
}
.footer-gap{
    height: 40px;
    background: rgb(243, 245, 249); 
}
.footer-box a{
    display:block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 15px;
}
.footer-box h3{
    font-size: x-large;
    color: goldenrod;
    margin-bottom: 18px;
    white-space: nowrap;
}
.footer-box h2{
    font-size: x-large;
    color: goldenrod;
}

.footer-box p{
    color: white;
    font-size: small;
    max-width: 320px;
    line-height: 28px;
}
.footer-box:last-child p i{
    display: inline;
}
.footer-box:last-child p{
    display: block;
    white-space: nowrap;
}

/* ===== About Section ===== */

.about{
    width:100%;
    background:rgb(247, 249, 252);
    padding: 20px 0;
    /* border: 1px solid rgba(220, 220, 220, 0.855); */
}

/* Blue Heading */

.about-heading{
    background: linear-gradient(135deg,rgb(10,25,47)0%,rgb(2, 86, 176)100%);
    color:rgb(255, 255, 255);
    padding:70px 12%;
}
.about-heading h1{
    font-size:55px;
    margin-top: 20px;
    margin-bottom:10px;
}
.about-heading p{
    font-size:20px;
    color: lightgray;
}

/* Content */

.about-container{
    width:80%;
    margin:60px auto;
    display:flex;
    justify-content:space-between;
    gap:50px;
}

.about-left{
    width:55%;
}

.about-left h2{
    color:rgb(16, 44, 79);
    font-size:35px;
    margin-bottom:20px;
}

.about-left p{
    font-size:18px;
    line-height:30px;
    color: rgb(7, 34, 66);
    margin-bottom:20px;
}

.about-right{
    width:40%;
    background:rgb(255, 255, 255);
    padding:30px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.about-right h3{
    color: rgb(7, 34, 66);
    margin-bottom:15px;
    font-size:25px;
}

.about-right p{
    font-size:18px;
    line-height:30px;
    color: rgb(7, 34, 66);
}
.about-right{
    transition: 0.3s;
    cursor: pointer;
}
.about-:right{
    transform: translateY(-6px);
    transition: 0.3s ease;
}
/* Teacher Section */

.teacher{
    width:100%;
    padding:30px 10% 100px;
    background:rgb(255, 255, 255);
    border: 1px solid rgba(220, 220, 220, 0.855);
}

.teacher h2{
    font-size:35px;
    color:rgb(16, 44, 79);
    margin-bottom:40px;
}

/* Rectangle Box */

.teacher-box{
    background:rgb(255, 255, 255);
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    display:flex;
    align-items:center;
    gap:40px;
    padding:25px 30px;

}
.teacher-circle{
    width: 120px;
    height: 120px;
    min-width: 120px;
    background-color: rgb(16, 44, 79);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 45px;
    font-weight: bold;
    color: white;

}

/* Text */

.teacher-info h3{
    font-size:25px;
    color:rgb(16, 44, 79);
    margin-bottom:10px;
}

.teacher-info p{
    font-size:18px;
    color: rgb(7, 34, 66);
    line-height:30px;
}

/* ===== How We Teach ===== */

.teach{
    background:rgb(245, 248, 252);
     padding:70px 12%;
    border: 1px solid rgba(220, 220, 220, 0.855);
}

.teach h2{
    font-size:35px;
    color:rgb(16, 44, 79);
    margin-bottom:40px;
}

.teach-container{
    display:flex;
    justify-content:space-between;
    gap:25px;
    flex-wrap:wrap;
    
}

.teach-box{
    width:23%;
    background:rgb(255, 255, 255);
    padding:30px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    transition:0.3s;
    border-top: 4px solid rgb(1, 25, 54);
}

.teach-box:hover{
    transform:translateY(-8px);
}

.teach-box h3{
    color:rgb(16, 44, 79);
    font-size:28px;
    margin-bottom:15px;
}

.teach-box p{
      color: rgb(7, 34, 66);
    line-height:28px;
    font-size:17px;
}
/* Contact */

.contact{
    background:rgb(245, 248, 252);
}

.contact-heading{
    background:rgb(18, 56, 107);
    color:rgb(255, 255, 255);
    padding:100px 10% 150px;
}

.contact-heading h1{
    font-size:50px;
    margin-bottom:10px;
}

.contact-heading p{
    font-size:18px;
    color: lightgray;
}

/* Cards */

.contact-container{
    width:80%;
    margin:-80px auto 0;
    display:flex;
    justify-content:space-between;
    gap:20px;
}

.contact-box{
    width:24%;
    background:rgb(255, 255, 255);
    text-align:center;
    padding:35px 20px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.contact-box:hover{
    transform:translateY(-8px);
}

.contact-box i{
    width:70px;
    height:70px;
    background:rgb(18, 56, 107);
    color:rgb(255, 182, 13);
    border-radius:50%;
    font-size:20px;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 auto 20px;
}

.contact-box h2{
    color:rgb(16, 44, 79);
    font-size:25px;
    margin-bottom:15px;
}
.contact-box a{
    display: block;
    color: rgb(47, 88, 137);
    font-size:16px;
    text-decoration:dashed;
    margin-bottom: 10px;
    cursor: pointer;
}
.contact-box p{
    color: rgb(7, 34, 66);
    font-size:16px;
    margin-bottom:10px;
}

.contact-box span{
    color: rgb(7, 34, 66);
    font-size:16px;
}
.contact-card {
    background: rgb(255, 247, 240);
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-card .icon {
    font-size: 30px;
    margin-bottom: 15px;
}

.contact-card h2 {
    color: rgb(32, 39, 114);
    margin-bottom: 10px;
}

.contact-card p {
     color: rgb(32, 39, 114);
    font-size: 14px;
}
.location {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    justify-content: left;
}

.location .contact-card {
    background: rgb(229, 243, 255);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.map-container {
    width: 100%;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: 0;
}

.location a {
    display: inline-block;
    color: rgb(19, 19, 116);
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

.contact-card a {
    display: inline-block;
    margin-top: 10px;
    color: rgb(19, 19, 116);
    text-decoration: none;
    font-weight: bold;
}
/* courses-section */

.courses{
    background:rgb(245, 247, 252);
    padding:60px 8%;
}

/* Bottom Row */

.bottom-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.course-card{
    background:rgb(255, 255, 255);
    border-radius:18px;
    padding:28px;
    border:1px solid rgb(230, 236, 245);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;

}

.course-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}
.faq {
    padding: 50px 8%;
    background: white
}

.faq h2 {
    margin-bottom: 24px;
    color: rgb(10, 36, 69);
}

.faq details {
    margin-bottom: 12px;
    padding: 18px 20px;
    background: white;
    border: 1px solid rgb(220, 220, 220);
    border-radius: 10px;
}

.faq summary {
    color: rgb(10, 36, 69);
    font-weight: bold;
    cursor: pointer;
}

.faq details p {
    margin-top: 12px;
    color: rgb(7, 34, 66);
    line-height: 1.6;
}

/* Badge */

.badge{
    display:inline-block;
    background:rgb(234, 242, 255);
    color:rgb(11, 78, 162);
    padding:8px 18px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    margin-bottom:18px;
}

/* Title */

.course-card h2{
    font-size:24px;
    color: rgb(7, 34, 66);
    margin-bottom:15px;
}

/* Description */

.course-card p{
    color:rgb(102, 102, 102);
    font-size:15px;
    line-height:1.8;
    margin-bottom:22px;
    min-height:70px;
}

/* Price */

.price{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid rgb(238, 238, 238);
    padding-top:18px;
    margin-bottom:20px;
}

.price span{
    color:rgb(119, 119, 119);
    font-size:14px;
}

.price strong{
    color:rgb(18, 59, 122);
    font-size:20px;
}

/* Button */

.btn{
    display:block;
    width:100%;
    text-align:center;
    text-decoration:none;
    background: rgb(18, 59, 122);
    color:rgb(255, 255, 255);
    padding:14px;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    background:rgb(244, 180, 0);
    color:rgb(27, 26, 26);
}
.back-btn{
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    background: rgb(18, 59, 122);
    color: white;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    margin-top: 10px;

}
.back-btn:hover{
     background:rgb(244, 180, 0);
      color:rgb(17, 17, 17)
   
}

.course-heading{
    background: linear-gradient(135deg,rgb(10,25,47)0%,rgb(2, 86, 176)100%);
    color:rgb(255, 255, 255);
    padding:70px 12%;
}
.course-heading h1{
    font-size:55px;
    margin-top: 40px;
    margin-bottom:10px;
}
.course-heading p{
    font-size:20px;
    color: lightgray;
}

/* Main Content */

.main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 5%;
}

/* Left Section */

.left-section {
    width: 65%;
}

.class-tag {
    display: inline-block;
    background: rgb(215, 235, 255);
    color: rgb(0, 95, 220);
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: bold;
    margin-bottom: 15px;
}

.description {
    font-size: 18px;
    line-height: 1.8;
    color: rgb(70, 95, 140);
}

hr {
    border: none;
    border-top: 1px solid rgb(210, 225, 245);
    margin: 25px 0;
}

/* Features */

.feature {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 25px 0;
}

.feature-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
}

.purple {
    background: rgb(230, 215, 255);
}

.blue {
    background: rgb(210, 235, 255);
}

.yellow {
    background: rgb(255, 240, 195);
}

.green {
    background: rgb(205, 250, 225);
}

.feature h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.feature p {
    margin: 0;
    color: rgb(80, 105, 145);
    font-size: 16px;
    line-height: 1.5;
}

/* Fee Card */

.fee-card {
    width: 30%;
    background: rgb(237, 246, 255);
    border: 1px solid rgb(210, 230, 255);
    border-radius: 15px;
    padding: 30px;
}

.fee-card h2 {
    font-size: 58px;
    margin: 15px 0 5px;
}

.fee-card h3 {
    font-size: 22px;
    margin: 0;
}

.fee-card hr {
    margin: 25px 0;
}

.fee-card p {
    font-size: 17px;
    margin: 22px 0;
    color: rgb(55, 85, 135);
}

.contact-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    background: rgb(18, 59, 122);
    color: white;
    padding: 16px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
}
.simple-footer {
    margin-top: 50px;
    padding: 35px 8% 20px;
    background: rgb(11, 35, 66);
    color: white;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 25px;
}

.footer-main h2 {
    margin-bottom: 8px;
}

.footer-main h2 span {
    color: rgb(244, 189, 50);
}

.footer-main p {
    color: rgb(213, 222, 234);
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-contact a {
    padding: 12px 20px;
    border-radius: 8px;
    background: rgb(244, 189, 50);
    color: rgb(11, 35, 66);
    font-weight: bold;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 18px;
    text-align: center;
}
.footer-bottom p{
    text-align: center;
    margin: 0 auto;
    
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-bottom > p {
    color: rgb(213, 222, 234);
    font-size: 14px;
    margin: 0;
}
       
/* ===== Responsive layout for all pages ===== */
@media (max-width: 1000px) {
    nav { padding: 8px 16px; }
    .logo { font-size: 28px; }
    nav ul li { margin: 0 7px; }
    nav ul li a { margin: 0 7px; }
    .home { padding-left: 45px; padding-right: 30px; }
    .content { width: 46%; }
    .number-blocks { width: min(390px, 46vw); }
    .card { padding: 20px; }
    .footer-container { gap: 70px; }
    .bottom-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    nav {
        position: sticky;
        flex-direction: column;
        gap: 8px;
        padding: 8px 12px;
    }
    .logo { font-size: clamp(22px, 5vw, 29px); gap: 8px; }
    .logo img { width: 42px; height: 42px; }
    nav ul { width: 100%; justify-content: center; flex-wrap: wrap; }
    nav ul li { margin: 0 3px; }
    nav ul li a { font-size: 14px; margin: 0 5px; padding: 7px 0; }

    .home {
        height: auto;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        padding: 42px 24px 48px;
    }
    .content { width: 100%; padding: 16px 0 0; }
    .tag { margin-top: 0; }
    .content h1 { font-size: clamp(36px, 8vw, 48px); }
    .text { font-size: 18px; line-height: 1.6; }
    .number-blocks { width: min(100%, 430px); margin: 0 auto; }
    .box-two, .box-three, .box-four { margin-top: 0; }

    .choose { padding: 48px 24px; }
    .choose h1, .programs h1, .teach h2, .teacher h2 { font-size: 30px; }
    .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .card { width: auto; }

    .programs { padding: 45px 24px; }
    .program-box { flex-direction: column; gap: 22px; }
    .box-1, .box-2 { width: 100%; }

    .about-heading, .course-heading { padding: 52px 7%; }
    .about-heading h1, .course-heading h1 { font-size: 34px; }
    .about-container { width: 90%; flex-direction: column; gap: 28px; }
    .about-left, .about-right { width: 100%; }
    .teacher { padding: 30px 7% 65px; }
    .teacher-box { flex-direction: column; align-items: flex-start; gap: 22px; }
    .teach { padding: 48px 7%; }
    .teach-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .teach-box { width: auto; padding: 22px; }
    .teach-box h3 { font-size: 22px; }

    .contact-heading { padding: 70px 7% 115px; }
    .contact-container { width: 90%; flex-wrap: wrap; gap: 16px; }
    .contact-box { width: calc(50% - 8px); padding: 28px 16px; }
    .location { width: 90%; }

    .courses { padding: 42px 6%; }
    .bottom-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .course-card { padding: 22px; }
    .main-content { flex-direction: column; padding: 32px 6%; gap: 28px; }
    .left-section, .fee-card { width: 100%; }
    .fee-card { padding: 24px; }
    .fee-card h2 { font-size: 48px; }

    .footer-cta { flex-direction: column; margin: 30px 5%; }
    .cta-message, .cta-action { padding: 28px; }
    .footer-container { max-width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 35px; }
    .footer-box { width: calc(50% - 20px); }
    .footer-box:last-child p { white-space: normal; overflow-wrap: anywhere; }
    .simple-footer { padding: 30px 6% 18px; }
    .footer-main { align-items: flex-start; gap: 22px; }
    .footer-contact { flex-wrap: wrap; }
}

@media (max-width: 520px) {
    nav ul li a { font-size: 13px; margin: 0 3px; }
    .home { padding: 32px 18px 40px; }
    .content h1 { font-size: 36px; }
    .number-blocks { gap: 10px; }
    .number-box { padding: 16px 12px; }
    .number-box h2 { font-size: 30px; }
    .number-box p { font-size: 15px; }
    .number-box span { font-size: 11px; }

    .choose, .programs { padding: 38px 18px; }
    .cards, .teach-container, .bottom-row { grid-template-columns: 1fr; }
    .card p { line-height: 1.7; }
    .teach { padding: 40px 18px; }
    .contact-container { flex-direction: column; }
    .contact-box { width: 100%; }
    .contact-heading h1 { font-size: 30px; }
    .contact-heading p { font-size: 16px; }

    .course-card { padding: 20px; }
    .course-card h3 { font-size: 21px; }
    .price { gap: 10px; }
    .price strong { font-size: 17px; }
    .description { font-size: 16px; }
    .feature { align-items: flex-start; gap: 14px; }
    .feature-icon { width: 56px; height: 56px; min-width: 56px; font-size: 25px; }

    .footer-cta { margin: 24px 16px; }
    .cta-message, .cta-action { padding: 23px 20px; }
    .footer-container { flex-direction: column; gap: 26px; padding: 0 24px; }
    .footer-box { width: 100%; }
    .footer { padding: 45px 0 25px; }
    .footer-bottom { margin-top: 28px; }
    .footer-box h3 { white-space: normal; }
    .footer-main, .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-links { flex-wrap: wrap; gap: 14px; }
    .footer-contact { gap: 12px; }
}



/* Language menu inside the navbar */
.language-menu {
    position: relative;
    flex-shrink: 0;
    margin-left: 12px;
}
.language-menu summary {
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    list-style: none;
    /* border: 2px solid goldenrod; */
    border-radius: 50%;
    background: white;
    cursor: pointer;
}
.language-menu summary::-webkit-details-marker { display: none; }.language-menu summary span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: black;
}
.language-options {
    position: absolute;
    top: 58px;
    right: 0;
    display: grid;
    min-width: 145px;
    padding: 7px;
    border: 1px solid rgb(220, 228, 238);
    border-radius: 12px;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.language-options a {
    padding: 11px 13px;
    border-radius: 8px;
    color: rgb(10, 36, 69);
    font-weight: 600;
    text-decoration: none;
}
.language-options a:hover,.language-options a[aria-current="page"] {
    background: rgb(233, 241, 252);
    color: rgb(18, 59, 122);
}
@media (max-width: 760px) {
    nav { position: sticky; }
    .language-menu { position: absolute; top: 8px; right: 12px; margin: 0; }
    nav { padding-right: 72px; }
}
