@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --bg-top: #f4f7f9; 
    --bg-bottom: #d6ebfd;
    --text-main: #505050;
    --text-light: #727171;
    --accent-blue: #6ab9e0; 
    

    --glass-bg: rgba(255, 255, 255, 0.3);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    background: linear-gradient(135deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
    background-attachment: fixed; 
    min-height: 100vh;
    line-height: 1.6;
}




/* ----- nav bar ----- */

nav {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 90%; 
    max-width: 1100px; 
    margin: 40px auto;
    padding: 15px 40px; 
    border-radius: 50px; 
    
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    
    position: sticky; 
    top: 30px;
    z-index: 1000;
}

.nav-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.nav-links {
    flex: 2;
    display: flex;
    justify-content: center;
    gap: 35px; 
    list-style: none;
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 350; 
    font-size: 15px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-blue);
}

/* Cloud Icon */
.nav-left .fa-cloud {
    font-size: 1.5rem;
    color: var(--accent-blue);

    display: inline-block; 
    will-change: transform;
    animation: cloud-sway 6s ease-in-out infinite alternate;
    transform-origin: center;
}

@keyframes cloud-sway {
    0% {
        transform: translateX(-10px);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(-10px);
    }
}



/* Contact Button */
.nav-btn {
    background: var(--accent-blue);
    color: white;
    border: 1px solid var(--accent-blue);
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    color: white;
    transform: translateY(-2px);
}




/* ----- Footer ----- */
    /* for home */
.site-footer p {
    color: var(--text-light);
    font-size: 0.7rem;
    font-weight: 300;
}

.footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 60px;
   
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;

    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 200;
}



.social-links {
    display: flex;
    gap: 25px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}


.social-links a:hover {
    color: var(--accent-blue);
    transform: translateY(-4px);
}



/* ----- Mobile Responsiveness ----- */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        border-radius: 20px;
        width: 95%;
    }
    .nav-left, .nav-right {
        justify-content: center;
        width: 100%;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .nav-links a {
        font-size: 14px;
    }
}