body {
    font-family: sans-serif;
    margin: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Include padding and border in width/height */
}

button {
    padding: 15px 32px;
    text-align: center;
    text-transform: uppercase;
    display: inline-block;
    background-color: transparent;
    font-size: clamp(1rem, 2vw, 1.5rem); /* Responsive font size */
    margin: 1rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    row-gap: 10px;
    border: 1px; /* Remove default border */
}

.first {
    margin-top: calc(100vh - 200px); /* Adjust as needed */
    display: flex;
    justify-content: center; /* Center button */
}
.first button:hover {
    box-shadow: 0 0 20px 17px #f3d009;
}

a button{
    color: #fff;
    text-decoration: none;
    font-size: clamp(2rem, 1.5vw, 1.2rem); /* Responsive font size */
    font-family: 'Times New Roman', Times, serif;
}

button::before {
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgb(5, 155, 248), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
    position: absolute;
}

button:hover {
    box-shadow: 0 0 20px 5px rgb(0, 179, 250);
}

video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

html {
    scroll-behavior: smooth;
}

header {
    padding: 2rem; /* Use relative units */
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(2rem, 1.2vw, 1.1rem); /* Responsive font size */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Center on larger screens */
    flex-direction: row; /* Stack on smaller screens */
    align-items: center; /* Center on smaller screens */
}

nav ul li {
    margin: 0.5rem 0; /* Vertical margin on all screens */
    margin-right: 0; /* Remove right margin */
}

nav ul li a button {
    color: #fff;
    text-decoration: none;
    font-size: clamp(1.5rem, 1.1vw, 1rem); /* Responsive font size */
    font-family: 'Times New Roman', Times, serif;
}

main {
    padding: 2rem;
    color: aliceblue;
}

.service{
    margin: 1rem; /* Use relative units */
    line-height: 2rem; /* Use relative units */
    color: rgb(255, 255, 255);
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(2rem, 1.1vw, 1rem); /* Responsive font size */
    letter-spacing: 0.1rem;
}
.points {
    margin: 1rem; /* Use relative units */
    line-height: 3rem; /* Use relative units */
    color: rgb(0, 255, 255);
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(1.8rem, 1.1vw, 1.5rem); /* Responsive font size */
    letter-spacing: 0.1rem;
}
.bun{
    text-align: center;
    text-transform: uppercase;
    display: inline-block;
    background-color: transparent;
    font-size: clamp(1rem, 2vw, 1.5rem); /* Responsive font size */
    margin: 1rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    row-gap: 10px;
    border: none; 

}
.bun a{
    color: #fff;
    text-decoration: none;
    font-size: clamp(1.5rem, 1.1vw, 1rem); /* Responsive font size */
    font-family: 'Times New Roman', Times, serif;
}
.about {
    margin: 2rem auto; /* Center the about section */
    max-width: 90%; /* Limit width on larger screens */
    text-align: center;
    color: rgb(6, 61, 110);
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: clamp(1rem, 1.1vw, 1rem); /* Responsive font size */
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid #ccc;
    padding: 2rem; /* Use relative units */
    border-radius: 5px;
    list-style: none;
    white-space: pre-wrap;
    transition: transform 1.0s ease-in-out;
}

.logo-container {
    margin: 2rem auto; /* Center the logo */
    text-align: center;
    max-width: 90%; /* Limit logo width on large screens */
}

.logo-container img {
    max-width: 100%; /* Make logo responsive */
    filter: drop-shadow(0px 0px 10px rgba(209, 228, 1, 0.885));
}

.columns {
    display: flex;
    flex-wrap: wrap; /* Allow columns to wrap */
    justify-content: space-around;
    align-items: center;
    padding: 2rem; /* Use relative units */
}

.column {
    color: rgba(249, 249, 251, 0.8);
    flex: 1 0 30%; /* Adjust as needed for different screen sizes */
    text-align: center;
    padding: 1rem;
    margin: 1rem; /* Use relative units */
    background-color: rgba(255, 255, 255, 0.3);
    border: 5px solid #ccc;
    border-radius: 80px;
    justify-content: space-around;
}

.column:hover {
    box-shadow: 2px 0px 5px #239de9 inset, 2px 0px 5px 5px #41a1de;
    transition: 1s;
    transform: scale(1.10);
}

.resources {
    margin: 2rem 15rem; /* Center the resources section */
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Responsive grid */
    grid-gap: 10rem; /* Use relative units */
}

.resource-card {
    position: relative;
    overflow: hidden; /* Use hidden to prevent content from overflowing */
}

.resource-card img {
    transition: transform 1.0s ease-in-out;
    max-width: 80%; /* Make image responsive */
    height: auto; /* Maintain aspect ratio */ /* Prevent image from creating extra space */
}

.resource-card:hover img {
    transform: scale(1.05);
    opacity: 0.2;
}

.resource-card .description {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%; /* Cover the entire image */
    height: 100%; /* Cover the entire image */
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    line-height: 1.5rem;
    font-size: clamp(1rem, 1.2vw, 1.1rem); /* Responsive font size */
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    text-align: center;
    padding: 1rem;
    display: flex; /* Use flexbox for vertical centering */
    flex-direction: column;
    justify-content: center;
}

.resource-card:hover .description {
    opacity: 0.9;
}

.book-list {
    margin: 2rem auto; /* Center the book list */
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Responsive grid */
    max-width: 50%; /* Limit width on large screens */
    grid-gap: 8rem; /* Use relative units */
    justify-content: center;
}

.book-item {
    border: none;
    padding:10px;
    text-align: center;
    color: #fff;
    position: relative; /* For positioning .do */
    overflow: hidden; /* Prevent .do from overflowing */
}

.book-item .type {
    opacity: 1;
    transition: transform 0.3s, opacity 0.3s; /* Smooth transitions */
}

.book-item:hover .type {
    transform: scale(1.05);
    opacity: 0.2;
}

.book-item .do {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center */
    height: auto;
    width: auto;
    background-color: rgba(0, 0, 0, 0.1);
    color: #fff;
    font-size: clamp(5rem, 1.5vw, 1.2rem); /* Responsive font size */
    filter: drop-shadow(0px 0px 10px rgb(2, 247, 255));
    opacity: 0;
    transition: opacity 0.3s; /* Smooth transition */
    text-align: center;
    padding: 0.5rem 1rem;
    white-space: nowrap; /* Prevent text from wrapping */
    border-radius: 5px; /* Add rounded corners */
}

.book-item:hover .do {
    opacity: 0.9;
}
.book-image {
    max-width: 100%; /* Make images responsive */
    height: auto;
    display: block; /* Prevent extra space below image */
    margin: 0 auto; /* Center image */
}
.book-image:hover{
    opacity: 0.2;
}
.center-item {
    grid-column: 1 / -1; /* Span all columns */
    justify-self: center;
    border: none;
    padding: 10px;
    text-align: center;
    color: #fff;
    position: relative; /* For positioning .do */
    overflow: hidden; /* Prevent .do from overflowing */
}

.center-item .type {
    opacity: 1;
    transition: transform 0.3s, opacity 0.3s; /* Smooth transitions */
}

.center-item:hover .type {
    transform: scale(1.05);
    opacity: 0.2;
}

.center-item .do {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center */
    height: auto;
    width: auto;
    background-color: rgba(0, 0, 0, 0.1);
    color: #fff;
    font-size: clamp(5rem, 1.5vw, 1.2rem); /* Responsive font size */
    filter: drop-shadow(0px 0px 10px rgb(2, 247, 255));
    opacity: 0;
    transition: opacity 0.3s; /* Smooth transition */
    text-align: center;
    padding: 0.5rem 1rem;
    white-space: nowrap; /* Prevent text from wrapping */
    border-radius: 5px; /* Add rounded corners */
}

.center-item:hover .do {
    opacity: 0.9;
}
.center-image {
    max-width: 55%; /* Make images responsive */
    height: auto;
    display: block; /* Prevent extra space below image */
    margin: 0 auto; /* Center image */
}
.center-image:hover{
    opacity: 0.2;
}
footer {
    background: transparent;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

.footer-container {
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 2rem;
}

.social-links {
    margin-top: 4rem;
    display: flex; /* Make social links a flex container */
    justify-content: center; /* Center the links */
}

.social-links a {
    color: #fff;
    margin: 0 2.5rem;
    font-size: 3.5rem;
}
.social-links a:hover{
    border-width: 10px;
    border-radius: 20px;
    border-style: solid;
    box-shadow: 2px 0px 5px #1c9ff1 inset,
                2px 0px 5px 5px #1c9ff1
}

.why {
    margin: 2rem;
    line-height: 3.5rem; /* Adjust line height */
    color: aqua;
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem); /* Responsive font size */
 /* Center the text */
}


header img {
    max-width: 200px; /* Make the image responsive */
    height: auto;
    display: block; /* Prevent extra space below image */
    margin: 0 auto; /* Center the image */
    filter: drop-shadow(0px 0px 10px rgba(209, 228, 1, 0.885));
    transition: transform 0.3s; /* Smooth transition */
}

header img:hover {
    transform: scale(1.05); /* Scale on hover */
}


/* ... (Your existing CSS) ... */

/* Media Query for smaller screens (mobile, tablets) */
@media (max-width: 425px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        font-size: clamp(0.9rem, 1.1vw, 1rem);
    }
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    nav ul li a {
        font-size: clamp(0.9rem, 1.1vw, 1rem);
        font-family: 'Times New Roman', Times, serif;
    }

    .first {
        margin-top: calc(100vh - 350px);
        display: flex;
        justify-content: center;
    }

    button {
        font-size: clamp(1rem, 2vw, 1.5rem);
        padding: 10px 20px;
        margin: 0.5rem;
        width: 90%; /* Button takes full width */
    }
    button::before{
        content: "";
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:linear-gradient(120deg,transparent,rgb(5, 155, 248),transparent);
        transform: translateX(-100%) ;
        transition: 0.6s;
        position: absolute;
      }

    button a {
        font-size: clamp(1rem, 1.5vw, 1.2rem);
    }

    .service {
        margin: 1rem;
        line-height: 1.8rem;
        font-size: clamp(0.9rem, 1.1vw, 1rem);
    }

    .points {
        margin: 1rem;
        line-height: 2rem;
        font-size: clamp(0.9rem, 1.1vw, 1rem);
    }
    .bun{
         text-align: center;
         text-transform: uppercase;
         display: inline-block;
         background-color: transparent;
         font-size: clamp(1rem, 2vw, 1.5rem); /* Responsive font size */ 
         margin: 1rem;
         border-radius: 25px;
         position: relative;
         overflow: hidden;
         row-gap: 10px;
         border: none; 
}
.bun a{
    color: #fff;
    text-decoration: none;
    font-size: clamp(1rem, 1.1vw, 1rem); /* Responsive font size */
    font-family: 'Times New Roman', Times, serif;
}

    .about {
        margin: 1rem auto;
        font-size: clamp(0.9rem, 1.1vw, 1rem);
        padding: 1.5rem;
    }

    .logo-container {
        margin: 1rem auto;
    }

    .columns {
        flex-direction: column;
    }

    .column {
        flex: 1 0 90%;
        margin: 1rem auto;
        font-size: clamp(0.9rem, 1.1vw, 1rem);
        padding: 1.5rem;
        border-radius: 50px;
    }

    .resources {
        grid-template-columns: repeat(2, 1fr); /* Adjusted minmax */
        margin: 2rem 4rem;
        grid-gap: 1rem;
    }

    .resource-card img {
        max-width: 80%;
        height: auto;
    }

    .resource-card .description {
        font-size: clamp(0.4rem, 1vw, 0.9rem);
        line-height: 0.5rem;
        padding: 1rem;
    }

    .book-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted minmax */
        margin: 2rem auto;
        grid-gap: 1rem;
    }

    .book-item .do {
        font-size: clamp(0.7rem, 1vw, 0.8rem);
        padding: 0.3rem 0.6rem;
    }

    .center-item .do {
        font-size: clamp(0.7rem, 1vw, 0.8rem);
        padding: 0.3rem 0.6rem;
    }

    .why {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
        line-height: 2rem;
        margin: 1.5rem;
    }

    header img {
        max-width: 200px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    footer {
        font-size: clamp(0.8rem, 1vw, 0.9rem);
        padding: 1rem;
    }

    .social-links a {
        font-size: 2rem;
        margin: 0 1rem;
    }

    .footer-logo {
        max-width: 150px;
    }
}



/* Media Query for larger screens (desktops and laptops) */
@media (min-width: 769px) {
    header {
        flex-direction: row;
        align-items: center;
        padding: 2rem;
        font-size: clamp(0.7rem, 1.2vw, 1.1rem);
    }

    nav ul {
        flex-direction: row;
        justify-content: flex-end; /* Align to the right */
        margin-top: 0;
    }

    nav ul li {
        margin: 0 1.5rem;
    }

    nav ul li a {
        font-size: clamp(1rem, 1.2vw, 1.1rem);
    }

    .first {
        margin-top: calc(100vh - 350px); /* Adjust as needed */
        display: flex;
        justify-content: center;
    }

    button {
        font-size: clamp(1.2rem, 2.5vw, 1.8rem);
        padding: 15px 32px;
        margin: 1rem;
        width: auto; /* Button takes its natural width */
    }
    button::before{
        content: "";
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:linear-gradient(120deg,transparent,rgb(5, 155, 248),transparent);
        transform: translateX(-100%) ;
        transition: 0.6s;
        position: absolute;
      }

    button a {
        font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    }

    .service {
        margin: 2rem;
        line-height: 2.5rem;
        font-size: clamp(1.1rem, 1.3vw, 1.2rem);
    }

    .points {
        margin: 2rem;
        line-height: 3rem;
        font-size: clamp(1.2rem, 1.4vw, 1.3rem);
    }
    .bun{
     text-align: center;
    text-transform: uppercase;
    display: inline-block;
    background-color: transparent;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin: 1rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    row-gap: 10px;
    border: none; 

}
.bun a{
    color: #fff;
    text-decoration: none;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-family: 'Times New Roman', Times, serif;
}

    .about {
        margin: 2rem auto;
        font-size: clamp(1.1rem, 1.3vw, 1.2rem);
        padding: 2rem;
    }

    .logo-container {
        margin: 2rem auto;
    }

    .columns {
        flex-direction: row;
        justify-content: space-around;
    }

    .column {
        flex: 1 0 30%;
        margin: 1rem;
        font-size: clamp(1.1rem, 1.3vw, 1.2rem);
        padding: 2rem;
        border-radius: 80px;
    }

    .resources {
        grid-template-columns: repeat(3 1fr); /* Adjust minmax as needed */
        margin: 3rem auto;
        grid-gap: 2rem;
    }

    .resource-card img {
        max-width: 80%; /* Or a specific width if you prefer */
        height: auto;
    }

    .resource-card .description {
        font-size: clamp(1rem, 1.2vw, 1.1rem);
        line-height: 1.5rem;
        padding: 1.5rem;
    }

    .book-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust minmax as needed */
        margin: 3rem auto;
        grid-gap: 2rem;
    }

    .book-item .do {
        font-size: clamp(1rem, 1.5vw, 1.2rem);
        padding: 0.5rem 1rem;
    }
    .center-item .do {
        font-size: clamp(1rem, 1.5vw, 1.2rem);
        padding: 0.5rem 1rem;
    }

    .why {
        font-size: clamp(1.5rem, 2.5vw, 1.8rem);
        line-height: 2.8rem;
        margin: 2rem;
    }

    header img {
        max-width: 200px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    footer {
        font-size: clamp(1rem, 1.2vw, 1.1rem);
        padding: 1.5rem;
    }

    .social-links a {
        font-size: 2.5rem;
        margin: 0 1.5rem;
    }

    .footer-logo {
        max-width: 200px;
    }
}

/* Media Query for very large screens (typically 1200px and wider) */
@media (min-width: 1440px) {
    header {
        padding: 3rem; /* Increased padding */
        font-size: clamp(1.2rem, 1.4vw, 1.3rem); /* Slightly larger font size */
    }

    nav ul {
        margin-top: 0;
    }

    nav ul li {
        margin: 0 2rem; /* Increased margin between nav items */
    }

    nav ul li a {
        font-size: clamp(1.2rem, 1.4vw, 1.3rem); /* Slightly larger font size */
    }

    .first {
        margin-top: calc(100vh - 340px); /* Adjust margin as needed */
    }

    button {
        font-size: clamp(1.4rem, 2.8vw, 2rem); /* Larger font size */
        padding: 20px 40px; /* Increased padding */
    }

    button a {
        font-size: clamp(1.4rem, 2vw, 1.7rem); /* Larger font size */
    }

    .service {
        margin: 3rem; /* Increased margin */
        line-height: 3rem; /* Increased line height */
        font-size: clamp(1.3rem, 1.5vw, 1.4rem); /* Larger font size */
    }

    .points {
        margin: 3rem; /* Increased margin */
        line-height: 3.5rem; /* Increased line height */
        font-size: clamp(1.4rem, 1.6vw, 1.5rem); /* Larger font size */
    }
    .bun{
    text-align: center;
    text-transform: uppercase;
    display: inline-block;
    background-color: transparent;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    margin: 1rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    row-gap: 10px;
    border: none; 

}
.bun a{
    color: #fff;
    text-decoration: none;
    font-size: clamp(1.4rem, 2vw, 1.7rem);
    font-family: 'Times New Roman', Times, serif;
}


    .about {
        margin: 3rem auto; /* Increased margin */
        font-size: clamp(1.3rem, 1.5vw, 1.4rem); /* Larger font size */
        padding: 3rem; /* Increased padding */
    }

    .logo-container {
        margin: 3rem auto; /* Increased margin */
    }

    .columns {
        max-width: 1400px; /* Limit the width of the columns container */
        margin: 0 auto; /* Center the columns container */
    }

    .column {
        flex: 1 0 25%; /* Adjust column width */
        margin: 1.5rem; /* Increased margin */
        font-size: clamp(1.3rem, 1.5vw, 1.4rem); /* Larger font size */
        padding: 2.5rem; /* Increased padding */
        border-radius: 100px; /* More rounded borders */
    }

    .resources {
        grid-template-columns: repeat(3, 1fr); /* Adjust minmax as needed */
        margin: 4rem 15rem; /* Increased margin */
        grid-gap: 2.5rem; /* Increased gap */
    }

    .resource-card img {
        max-width: 80%;
        height: auto;
    }

    .resource-card .description {
        font-size: clamp(1.2rem, 1.4vw, 1.3rem); /* Larger font size */
        line-height: 1.7rem;
        padding: 2rem; /* Increased padding */
        backdrop-filter: blur(5px); /* Add a blur effect */
    }

    .book-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust minmax as needed */
        margin: 4rem auto; /* Increased margin */
        grid-gap: 2.5rem; /* Increased gap */
    }

    .book-item .do {
        font-size: clamp(1.2rem, 1.7vw, 1.4rem); /* Larger font size */
        padding: 0.7rem 1.2rem; /* Increased padding */
        background-color: rgba(0, 0, 0, 0.2); /* Slightly darker background */
    }
    .center-item .do {
        font-size: clamp(1.2rem, 1.7vw, 1.4rem); /* Larger font size */
        padding: 0.7rem 1.2rem; /* Increased padding */
        background-color: rgba(0, 0, 0, 0.2); /* Slightly darker background */
    }

    .why {
        font-size: clamp(1.8rem, 2.8vw, 2.2rem); /* Larger font size */
        line-height: 5rem;
        margin: 3rem; /* Increased margin */
    }

    header img {
        max-width: 200px; /* Slightly larger image */
        height: auto;
        margin: 0;
        transform: scale(1.02); /* Subtle scale effect */
    }

    footer {
        font-size: clamp(1.2rem, 1.4vw, 1.3rem); /* Slightly larger font size */
        padding: 2rem; /* Increased padding */
    }

    .social-links a {
        font-size: 3rem; /* Larger social icon size */
        margin: 0 2rem; /* Increased margin */
    }

    .footer-logo {
        max-width: 250px; /* Larger logo */
    }
}