/* Resetting default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;

}

.container {
    width: 85%;
    margin: 0 auto;
    overflow: hidden;
}

/* Header Section */
header {
    background-color: #1b4773;
    color: #fff;
    padding: 20px 0;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header .logo img {
    width: 150px;
    transition: transform 0.3s ease;
}

header .logo img:hover {
    transform: scale(1.1);
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

header nav ul li {
    margin-left: 20px;
    position: relative;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    display: block;
    transition: color 0.3s ease, transform 0.3s ease;
}

header nav ul li a:hover {
    color: #e67817;
    transform: translateY(-3px);
}

/* Contact Info */
header .contact-info {
    position: absolute;
    top: 20px;
    right: 20px;
    text-align: right;
}

header .contact-info p {
    margin: 5px 0;
}

header .contact-info .call-button {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

header .contact-info .call-button:hover {
    background-color: #c0392b;
}


/* Section Styling */
.section {
    padding: 40px 0;
}

/* Class Course Details Section */
#class-details {
    background-color: #fff;
    padding: 40px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

#class-details h2 {
    font-size: 2.5em;
    margin-bottom: 0px;
    color: #333;
}

#class-details h3 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #333;
}

#class-details p {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: black;
}

/* Table Styling for Fee Structure */
table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

table th,
table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

table th {
    background-color: #e67817;
    color: #fff;
    font-size: 1.1em;
}

table td {
    background-color: #fff;
    color: #333;
    font-size: 1.3em;
}

/* Apply Now Button Styling */
.apply-now-container {
    text-align: center;
    margin-top: 30px;
}

.apply-now-button {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.apply-now-button:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
}

#whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

#whatsapp-button:hover {
    transform: scale(1.1);
}

#whatsapp-button img {
    width: 40px;
    height: 40px;
}


/* Footer Section */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 1em;
}



/*responsive desgin*/
@media screen and (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 10px;
        overflow-x: auto;
    }

    header nav ul {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }

    header nav ul li {
        margin-left: 10px;
    }

    header .contact-info {
        position: absolute;
        top: 20px;
        right: 10px;
        font-size: 12px;
    }

    footer {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    
    header nav ul li a {
        font-size: 13px;
    }
}
