/* Enable Liquid Smooth Scrolling across the site */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    /* Fluid background blend for a liquid aesthetic */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #f8fafc;
    line-height: 1.6;
}

/* Sticky Liquid Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px); /* Glassmorphism background effect */
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #38bdf8;
}

/* Base Section Styling */
section {
    min-height: 100vh;
    padding: 6rem 8% 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    text-align: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 700px;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Liquid responsive font scaling */
    margin-bottom: 1rem;
    color: #ffffff;
}

.content-section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #38bdf8;
}

/* Liquid Responsive Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.contact-form input, .contact-form textarea {
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.5);
    color: #fff;
    outline: none;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #38bdf8;
}

/* Button Styling */
.btn {
    display: inline-block;
    background: #38bdf8;
    color: #0f172a;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
}

.btn:hover {
    background: #7dd3fc;
    transform: scale(1.03);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #090d16;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
}