@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
}

body {
    min-height: 100vh;
    background: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content {
    height: auto;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    height: 90px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .1);
    backdrop-filter: blur(50px);
    z-index: -1;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
    transition: .5s;
}

.header:hover::after {
    left: 100%;
}

.logo {
    font-size: 2rem;
    color: black;
    text-decoration: none;
    font-weight: 700;
    margin-left: 35px;
}

.navbar {
    display: flex;
    align-items: center;
}

.navbar a {
    font-size: 1.15rem;
    color: black;
    text-decoration: none;
    font-weight: 500;
    margin-left: 2.5rem;
    margin-right: 60px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #37d2f5;
}

#check {
    display: none;
}

.icons {
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: black;
    cursor: pointer;
    display: none;
}

/* Main Content */
.CONTAINER {
    margin-top: 9%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin-left: 35px;
    gap: 20px;
}

.part1 {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.part1 h1 {
    font-size: 50px;
}

.part1 p {
    margin-top: 5%;
    font-size: 25px;
}

.p {
    height: 65px;
    width: 250px;
    padding-top: 15px;
    font-size: 16px;
    background-color: #37d2f5;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.p:hover {
    background-color: #2bc4e8;
}

.part2 {
    height: 25%;
    margin-top: 30px;
}

.part2 img {
    height: 400px;
    width: 90%;
    margin-left: 5%;
}

.part3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card {
    margin-top: 2.5%;
    width: 350px;
    height: 320px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid;
    border-color: rgb(230, 227, 227);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card h2 {
    color: rgb(4, 146, 146);
    text-transform: uppercase;
    font-size: 25px;
    text-align: center;
    margin: 10px;
}

.card p {
    text-align: center;
    font-size: 20px;
    font-weight: lighter;
    margin-bottom: 2.5%;
    color: #000;

}

.card span {
    color: rgb(24, 139, 24);
    font-size: 20px;
}

.cardcontainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.doom span a {
    gap: 20px;
    text-decoration: none;
    color: rgb(24, 139, 24);
}

.part4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2%;
}

.part4 span {
    width: 200px;
    height: 60px;
    padding-top: 22px;
    text-align: center;
    background-color: #37d2f5;
    color: white;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 5%;
}

.part4 span a {
    color: white;
    text-decoration: none;
}

/* Footer Styles */
footer {
    background-color: rgb(34, 34, 34);
    color: #fff;
    margin-top: auto;
}

.footer_info {
    width: 90%;
    margin: 0 auto;
    display: flex;
    padding: 50px 0;
}

.footer_info .footer_width {
    padding: 0 15px;
}

.footer_info h2 {
    margin-bottom: 20px;
}

.about, .contact {
    width: 40%;
}

.link {
    width: 20%;
}

.social-media {
    margin-top: 30px;
}

.social-media ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

.social-media ul li a {
    display: inline-block;
    margin-right: 50px;
    width: 50px;
    height: 50px;
    padding-top: 12px;
    background-color: transparent;
    border: 1px solid #fff;
    text-align: center;
    color: #fff;
    text-decoration: none;
}

.social-media ul li a:hover {
    background-color: #fff;
    color: #000;
}

.link ul {
    list-style: none;
}

.link ul li a {
    display: block;
    margin-bottom: 15px;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
}

.link ul li a:hover {
    color: #ccc;
}

.contact ul {
    list-style: none;
}

.contact ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact ul li span {
    margin-right: 15px;
}



.contact ul li a:hover {
    color: #ccc;
}

.copy-right {
    padding: 15px 0;
    text-align: center;
    background-color: rgb(66, 66, 66);
}

/* RESPONSIVE DESIGN - IMPROVED TABLET AND MOBILE */

/* Large Desktop */
@media screen and (min-width: 1200px) {
    .header {
        padding: 1.3rem 8%;
    }
    
    .logo {
        font-size: 2.2rem;
    }
    
    .navbar a {
        font-size: 1.2rem;
        margin-left: 3rem;
    }
}

/* Desktop */
@media screen and (max-width: 1199px) and (min-width: 1025px) {
    .header {
        padding: 1.3rem 6%;
    }
    
    .logo {
        font-size: 2rem;
        margin-left: 20px;
    }
    
    .navbar a {
        font-size: 1.1rem;
        margin-left: 2rem;
        margin-right: 40px;
    }
        .part1 h1 {
        font-size: 42px;
        line-height: 1.2;
      
    }
}

/* TABLET VIEW - IMPROVED NAVIGATION */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .header {
        padding: 1.3rem 4%;
    }
    
    .logo {
        font-size: 1.8rem;
        margin-left: 15px;
    }
    
    /* Tablet Navigation - Keep horizontal but adjust spacing */
    .navbar {
        display: flex;
        align-items: center;
    }
    
    .navbar a {
        font-size: 1rem;
        margin-left: 1.5rem;
        margin-right: 20px;
        padding: 8px 12px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }
    
    .navbar a:hover {
        background-color: rgba(55, 210, 245, 0.1);
        color: #37d2f5;
    }
    
    /* Content adjustments for tablet */
    .CONTAINER {
        margin-top: 8%;
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .part1 h1 {
        font-size: 42px;
        line-height: 1.2;
    }
    
    .part1 p {
        font-size: 22px;
    }
    
    .cardcontainer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 800px;
    }
    
    .card {
        width: 100%;
        height: 300px;
    }
    
    .part2 img {
        height: 350px;
        width: 95%;
        margin-left: 2.5%;
    }
    
    /* Footer adjustments for tablet */
    .footer_info {
        width: 95%;
        padding: 40px 0;
    }
    
    .about {
        width: 50%;
    }
    
    .contact {
        width: 30%;
    }
    
    .link {
        width: 20%;
    }
}

/* MOBILE VIEW - HAMBURGER MENU */
@media screen and (max-width: 768px) {
    .header {
        padding: 1.3rem 5%;
    }
    
    .logo {
        font-size: 1.6rem;
        margin-left: 10px;
    }
    
    .icons {
        display: inline-flex;
        right: 5%;
        font-size: 2.5rem;
    }

    #check:checked ~ .icons #menu-icon {
        display: none;
    }

    .icons #close-icon {
        display: none;
    }

    #check:checked ~ .icons #close-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(0, 0, 0, .1);
        backdrop-filter: blur(50px);
        box-shadow: 0.5rem 1rem rgba(0, 0, 0, .1);
        overflow: hidden;
        transition: .3s ease;
        flex-direction: column;
    }

    #check:checked ~ .navbar {
        height: auto;
        max-height: 300px;
        padding: 20px 0;
    }

    .navbar a {
        display: block;
        font-size: 1.2rem;
        margin: 1rem 0;
        text-align: center;
        transform: translateY(-50px);
        opacity: 0;
        transition: .3s ease;
        padding: 10px 20px;
        border-radius: 5px;
        margin-left: 0;
        margin-right: 0;
    }

    #check:checked ~ .navbar a {
        transform: translateY(0);
        transition-delay: calc(.15s * var(--i, 0));
        opacity: 1;
    }

    /* Content adjustments for mobile */
    .CONTAINER {
        margin-top: 100px;
        margin-left: auto;
        margin-right: auto;
        width: 95%;
        padding: 0 10px;
    }

    .part1 {
        padding-top: 20px;
    }

    .part1 h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .part1 p {
        font-size: 18px;
        font-weight: normal;
    }

    .p {
        height: 50px;
        width: 200px;
        font-size: 14px;
        padding-top: 0;
    }

    .part2 img {
        height: auto;
        max-height: 300px;
        width: 100%;
        margin-left: 0;
    }

    .cardcontainer {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .card {
        width: 100%;
        max-width: 350px;
        height: auto;
        min-height: 280px;
        padding: 20px 15px;
    }

    .card h2 {
        font-size: 20px;
    }

    .card p {
        font-size: 16px;
    }

    .part4 span {
        width: 180px;
        height: 50px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Footer adjustments for mobile */
    .footer_info {
        flex-direction: column;
        padding: 30px 0;
        width: 95%;
    }

    .about,
    .contact,
    .link {
        width: 100%;
        margin-bottom: 25px;
        text-align: center;
        padding: 0 10px;
    }

    .social-media ul {
        justify-content: center;
        gap: 10px;
    }

    .social-media ul li a {
        margin-right: 10px;
        width: 45px;
        height: 45px;
        padding-top: 10px;
    }

    /* .contact ul li {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    } */
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }
    
    .icons {
        font-size: 2.2rem;
    }
    
    .part1 h1 {
        font-size: 24px;
    }
    
    .part1 p {
        font-size: 16px;
    }
    
    .p {
        width: 180px;
        height: 45px;
        font-size: 12px;
    }
    
    .card {
        padding: 15px 10px;
        min-height: 250px;
    }
    
    .card h2 {
        font-size: 18px;
    }
    
    .card p {
        font-size: 14px;
    }
}

.part3 .card p {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 2.5%;
    color: #333;
}