* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}

html {
    scroll-behavior: smooth;
}

header {
    width: 100%;
    height: 100vh;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

nav .logo {
    height: 100px;
    transition: height 0.3s;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    /* Hide the menu toggle button on larger screens */
}

nav ul li {
    list-style: none;
}

nav ul li a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #000000;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after {
    width: 100%;
}

.download-btn {
    background-color: #000000;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #393939;
}

/* Media Queries */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        position: relative;
    }

    nav .logo {
        height: 60px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        padding: 10px;
        border-top: 1px solid #ddd;
        position: absolute;
        top: 70px;
        left: 0;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: black;
    }
}

@media (max-width: 480px) {
    nav .logo {
        height: 50px;
    }

    .download-btn {
        font-size: 16px;
        padding: 6px 12px;
    }
}

/* -------------------------home------------------------------- */
/* Default Styles (for larger screens) */
.firstsection {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
}

.firstsection>div {
    width: 50%;
    margin: 80px 40px;
}

.leftsection {
    font-size: 1.5rem;
}

.leftsection h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 40px;
}

.leftsection p {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    margin-top: 20px;
}

.rightsection img {
    width: 100%;
}

/* Media Queries for smaller screens */
@media (max-width: 768px) {
    .firstsection {
        flex-direction: column;
        align-items: center;
    }

    .firstsection>div {
        width: 80%;
        margin: 40px 0;
    }

    .leftsection h3 {
        font-size: 30px;
        /* Smaller heading font size */
    }

    .leftsection p {
        font-size: 14px;
        /* Smaller paragraph font size */
    }

    .rightsection img {
        width: 80%;
        /* Make the image smaller */
    }
}

@media (max-width: 500px) {
    .firstsection {
        padding: 10px;
    }

    .leftsection h3 {
        font-size: 24px;
        /* Smaller heading font size */
    }

    .leftsection p {
        font-size: 12px;
        /* Even smaller paragraph font size */
    }

    .rightsection img {
        width: 90%;
        /* Slightly larger image size on mobile */
    }
}


/*---------------------------------------------------------- about section */
/* Default Styles (for larger screens) */
.heading {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 20px auto;
}

.heading h1 {
    font-size: 34px;
    margin-bottom: 25px;
    position: relative;
}

.heading h1::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 6px;
    display: block;
    margin: 0 auto;
    background-color: #000000;
}

.about-container {
    width: 90%;
    margin: 0 auto;
    padding: 10px 20px;
}

.about {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-img {
    flex: 1;
    margin-right: 40px;
    overflow: hidden;
}

.about-img {
    flex: 1;
    margin-right: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Add spacing between the images */
}

.about-img img {
    max-width: 100%;
    height: auto;
    display: block;
}

.about-content {
    flex: 1;
}

.about-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    line-height: 1.5;
}

/* Media Queries for smaller screens */
@media (max-width: 768px) {
    .heading h1 {
        font-size: 28px;
        /* Smaller heading font size */
        margin-bottom: 20px;
    }

    .about {
        flex-direction: column;
        /* Stack the content vertically */
        text-align: center;
        /* Center text for smaller screens */
    }

    .about-img {
        margin-right: 0;
        /* Remove the right margin */
        margin-bottom: 20px;
        /* Add space between images and text */
        width: 100%;
    }

    .about-content {
        width: 100%;
    }

    .about-content p {
        font-size: 16px;
        /* Smaller text for better readability */
    }
}

@media (max-width: 480px) {
    .heading h1 {
        font-size: 24px;
        /* Even smaller heading font size */
    }

    .about-content p {
        font-size: 14px;
        /* Even smaller paragraph font size */
    }

    .about-img img {
        width: 100%;
        /* Ensure the images fit the screen width */
    }
}

/* ---------contact form------------ */
/* Default Styles (for larger screens) */
.contact-container .content {
    display: flex;
    justify-items: center;
    justify-content: space-between;
    margin-top: 100px;
}

.contact-container .content .left-side {
    width: 23%;
    height: 100%;
    position: relative;
}

.contact-container .content .left-side::before {
    content: '';
    position: absolute;
    height: 70%;
    width: 2px;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: black;
}

.content .left-side .details {
    margin: 14px;
    text-align: center;
}

.content .left-side .details i {
    font-size: 30px;
}

.content .left-side .details .topic {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.content .left-side .details .text-one {
    font-size: 14px;
}

.contact-container .content .right-side {
    width: 70%;
    margin-left: 90px;
}

.content .right-side .topic-text {
    font-size: 23px;
    font-weight: 600;
}

.right-side .input-box {
    height: 50px;
    width: 100%;
    margin: 12px 0;
}

.right-side .input-box input,
.right-side .input-box textarea {
    height: 100%;
    width: 100%;
    border: none;
    font-size: 16px;
    background: #f0f1f8;
    border-radius: 6px;
    padding: 0 15px;
}

.right-side .messege-box {
    min-height: 110px;
    resize: none;
}

.right-side form {
    margin-top: 30px;
}

.right-side .button input[type="button"] {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    background: #380cb3;
    outline: none;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button input[type="button"]:hover {
    background: #6a49c3;
}

/* Media Queries for smaller screens */
@media (max-width: 1024px) {

    .content .right-side .topic-text {
        font-size: 20px;
    }

    .content .left-side .details {
        text-align: left;
        /* Align text to the left */
        margin-left: 20px;
    }

    .content .left-side .details i {
        font-size: 25px;
        /* Slightly smaller icons */
    }

    .content .left-side .details .topic {
        font-size: 16px;
    }

    .content .left-side .details .text-one {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .contact-container .content {
        flex-direction: column;
        /* Stack the content vertically */
        margin-top: 50px;

    }

    /* Hide the vertical line (left-side) on very small screens */
    .contact-container .content .left-side::before {
        display: none;
    }

    .contact-container .content .right-side {
        margin-top: 50px;
        margin-bottom: 300px;
    }

    .contact-container .content .left-side,
    .contact-container .content .right-side {
        width: 100%;
        /* Make the sections take full width */
        margin-left: 0;
    }

    .contact-container .content {
        padding: 0 20px;
        /* Add padding for better spacing on mobile */
    }

    .content .right-side .input-box {
        height: 45px;
    }

    .right-side .button input[type="button"] {
        width: 100%;
        /* Make the submit button full width */
        padding: 10px 0;
        /* Adjust padding */
    }

    .content .right-side form {
        padding-top: 20px;
    }
}

@media (max-width: 480px) {

    .contact-container .content {
        margin-top: 30px;
    }



    /* Stack the form elements on top of each other */
    .content .left-side,
    .content .right-side {
        width: 100%;
        /* Full width on small screens */
        margin: 0;
    }

    /* Align the contact form to the top */
    .content .right-side {
        margin-top: 20px;
    }

    /* Adjust text sizes for small screens */
    .content .left-side .details {
        font-size: 12px;
        /* Further reduce font size */
    }

    .content .left-side .details i {
        font-size: 20px;
        /* Smaller icons */
    }

    .content .left-side .details .topic {
        font-size: 14px;
    }

    .content .left-side .details .text-one {
        font-size: 10px;
    }

    .content .right-side .topic-text {
        font-size: 18px;
        /* Smaller topic text */
    }

    .right-side .input-box input,
    .right-side .input-box textarea {
        font-size: 14px;
        padding: 8px;
        /* Adjust padding for smaller screens */
    }

    .right-side .button input[type="button"] {
        font-size: 16px;
        padding: 10px 20px;
        /* Adjust padding for small screens */
    }
}

/* ---------------footer----------------------------- */
/* Footer Styles */
footer {
    background: #343434;
    padding-top: 50px;
    margin-top: 150px;
}

.footer-container {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* Ensures elements stack on small screens */
}

.footer {
    width: 33%;
}

footer h3 {
    font-size: 28px;
    text-align: center;
}

.footer-content {
    width: 190px;
    margin: auto;
    padding: 7px;
    color: rgb(184, 184, 184);
    box-sizing: border-box;
    text-align: center;
}

.footer-content p {
    margin-bottom: 7px;
}

.footer-content ul {
    text-align: center;
}

.list {
    padding: 0;
}

.list li {
    width: auto;
    text-align: center;
    list-style-type: none;
    margin-bottom: 5px;
    position: relative;
}

.list li::before {
    content: '';
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 100%;
    width: 0;
    height: 2px;
    background: rgb(255, 255, 255);
    transition-duration: 0.5s;
}

.list li:hover::before {
    width: 70px;
}

.social-icons {
    display: flex;
    justify-content: center;
    padding: 0;
    list-style: none;
}

.social-icons li {
    display: block;
    text-align: center;
    padding: 5px;
}

.social-icons i {
    font-size: 25px;
}

.list li a,
.social-icons {
    text-decoration: none;
    color: rgb(184, 184, 184);
}

.bottom-bar {
    background: rgb(20, 20, 20);
    text-align: center;
    padding: 10px 0;
    margin-top: 50px;
}

.bottom-bar p {
    color: rgb(184, 184, 184);
    margin: 0;
    font-size: 16px;
    padding: 7px;
}

/* Media Queries for responsiveness */

/* For medium screens (tablet) */
@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        /* Stack footer contents vertically */
        text-align: center;
    }

    .footer {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-content {
        width: 100%;
        padding: 15px;
    }

    footer h3 {
        font-size: 24px;
    }

    .footer-content p {
        font-size: 14px;
    }

    .social-icons li {
        padding: 10px;
    }

    .social-icons i {
        font-size: 30px;
    }
}

/* For small screens (mobile phones) */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        /* Stack footer contents vertically */
        padding: 0 20px;
        /* Add some padding to avoid edges */
    }

    .footer {
        width: 100%;
        margin-bottom: 20px;
    }

    footer h3 {
        font-size: 22px;
    }

    .footer-content p {
        font-size: 13px;
    }

    .footer-content ul {
        margin-top: 10px;
    }

    .social-icons li {
        padding: 5px;
    }

    .social-icons i {
        font-size: 20px;
    }

    .bottom-bar p {
        font-size: 14px;
    }
}

/* For extra small screens (mobile) */
@media (max-width: 480px) {
    footer {
        padding-top: 30px;
    }

    .footer-container {
        padding: 0 10px;
    }

    .footer-content {
        width: 100%;
        padding: 10px;
    }

    footer h3 {
        font-size: 20px;
    }

    .footer-content p {
        font-size: 12px;
    }

    .social-icons li {
        padding: 5px;
    }

    .social-icons i {
        font-size: 18px;
    }

    .bottom-bar p {
        font-size: 12px;
    }
}