* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

body {
    position: relative;
    background: linear-gradient(180deg, #20b2aa, #00395e);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.logo {
    width: 300px;
    height: 300px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 20px;
}

.social-icon {
    width: 70px;
    height: 70px;
    transition: all 0.3s ease;
    fill: #333;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.linkedin:hover {
    fill: #0a66c2;
}

.youtube:hover {
    fill: #ff3333;
}

.x:hover {
    fill: #252525;
}

footer {
    display: flex;
    justify-content: center;
}

footer a {
    margin: 1%;
}

.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.bubble {
    position: absolute;
    bottom: -20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
    box-shadow:
      inset -2px -2px 6px rgba(0, 0, 0, 0.1),
      inset 2px 2px 6px rgba(255, 255, 255, 0.8),
      0 0 5px rgba(255, 255, 255, 0.2);
    animation: rise 12s infinite ease-in;
}

.bubble:nth-child(2n) {
    left: 15%;
    width: 8px;
    height: 8px;
    animation-duration: 15s;
    animation-delay: 2s;
}

.bubble:nth-child(3n) {
    left: 35%;
    width: 14px;
    height: 14px;
    animation-duration: 18s;
    animation-delay: 4s;
}

.bubble:nth-child(4n) {
    left: 55%;
    width: 6px;
    height: 6px;
    animation-duration: 13s;
    animation-delay: 6s;
}

.bubble:nth-child(5n) {
    left: 75%;
    width: 10px;
    height: 10px;
    animation-duration: 16s;
    animation-delay: 8s;
}

@keyframes rise {
    0% {
        bottom: -20px;
        transform: translateX(0) scale(1);
        opacity: 0.3;
    }
    5% {
        opacity: 0.5;
    }
    50% {
        transform: translateX(20px) scale(1.1);
    }
    75% {
        transform: translateX(-20px) scale(0.9);
    }
    100% {
        bottom: 120%;
        transform: translateX(0) scale(1.2);
        opacity: 0;
    }
}

.content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 20px;
}

.grid-container {
    display: grid;
    grid-template-areas:
        "header"
        "main"
        "footer";
    max-width: 1200px;
}

header {
    grid-area: header;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1 {
    font-size: 2rem;
    color: #1a5f7a;
}

main {
    grid-area: main;
    text-align: center;
}

.tagline {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

footer {
    grid-area: footer;
    margin-top: 2rem;
}


/* Media Queries for Responsiveness */
@media (max-width: 360px) {
    .grid-container {
        grid-template-areas:
            "header"
            "footer"; /* Stack footer above main */
    }

    .social-icons {
        flex-direction: column; /* Stack icons vertically */
        align-items: center;   /* Center icons horizontally */        
    }

    /* .social-icon {
        width: 50px;
        height: 50px;
    } */

    .social-icon:hover {
        transform: none;
    }

    .social-icons .x {
        margin-top: 12px;
    }

    .tagline, h1 {
        display: none;  /* Hide tagline and h1 */
    }

    .logo {
        width: 200px;  /* Reduce logo size */
        height: 200px;
    }
}

@media (max-width: 450px) {
    .grid-container {
        grid-template-areas:
            "header"
            "footer"; /* Stack footer above main */
    }

    .social-icons {
        align-items: center;   /* Center icons horizontally */
        gap: 10px;            /* Reduce gap between icons */
        justify-content: center;
    }

    .tagline, h1 {
        display: none;  /* Hide tagline and h1 */
    }
}

@media (min-width: 768px) {
    .grid-container {
        grid-template-areas:
            "header header"
            "main main"
            "footer footer";
    }

    header {
        flex-direction: row;
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.4rem;
    }
}

@media (min-width: 1024px) {
    .grid-container {
        grid-template-areas:
            "header header header"
            "main main main"
            "footer footer footer";
    }

    h1 {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.6rem;
    }

    .logo {
        width: 450px;
        height: 450px;
    }
}