@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #e6f0f9;
    --text-primary: #353535;
    --text-secondary: #666666;
    --accent-color: #52bff8;
    --accent-hover: #3ba0d8;
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-border: rgba(82, 191, 248, 0.2);
    --nav-bg: rgba(255, 255, 255, 0.9);
    --glass-shadow: 0 8px 32px rgba(82, 191, 248, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    text-align: center;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Legal Pages Typography */
.legal-content h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-top: 3.5rem;
    margin-bottom: 1rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 2rem;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
    z-index: 2;
}

section {
    padding: 8rem 0;
    position: relative;
}

/* Clouds Background */
.cloud-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 12px 30px rgba(82, 191, 248, 0.25);
    animation: float 20s infinite ease-in-out;
    
    /* Hover repel properties */
    pointer-events: auto;
    translate: var(--hover-x, 0px) var(--hover-y, 0px);
    transition: translate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cloud::before, .cloud::after {
    content: '';
    position: absolute;
    background: #fff;
    border-radius: 50%;
}

.cloud-1 {
    width: 200px;
    height: 60px;
    top: 15%;
    left: 10%;
    animation-duration: 18s;
}
.cloud-1::before { width: 80px; height: 80px; top: -40px; left: 30px; }
.cloud-1::after { width: 100px; height: 100px; top: -50px; right: 30px; }

.cloud-2 {
    width: 250px;
    height: 70px;
    top: 40%;
    right: 5%;
    animation-duration: 22s;
    animation-delay: -5s;
    opacity: 0.8;
    transform: scale(0.8);
}
.cloud-2::before { width: 90px; height: 90px; top: -45px; left: 40px; }
.cloud-2::after { width: 120px; height: 120px; top: -60px; right: 40px; }

.cloud-3 {
    width: 180px;
    height: 50px;
    top: 70%;
    left: 20%;
    animation-duration: 15s;
    animation-delay: -10s;
    opacity: 0.6;
    transform: scale(0.6);
}
.cloud-3::before { width: 60px; height: 60px; top: -30px; left: 20px; }
.cloud-3::after { width: 80px; height: 80px; top: -40px; right: 20px; }

.cloud-4 {
    width: 220px;
    height: 65px;
    top: 25%;
    right: 20%;
    animation-duration: 28s;
    animation-delay: -12s;
    opacity: 0.7;
    transform: scale(0.9);
}
.cloud-4::before { width: 85px; height: 85px; top: -42px; left: 35px; }
.cloud-4::after { width: 110px; height: 110px; top: -55px; right: 35px; }

.cloud-5 {
    width: 150px;
    height: 45px;
    top: 60%;
    right: 35%;
    animation-duration: 20s;
    animation-delay: -3s;
    opacity: 0.5;
    transform: scale(0.5);
}
.cloud-5::before { width: 50px; height: 50px; top: -25px; left: 15px; }
.cloud-5::after { width: 70px; height: 70px; top: -35px; right: 15px; }

.cloud-6 {
    width: 280px;
    height: 80px;
    top: 85%;
    left: 5%;
    animation-duration: 35s;
    animation-delay: -18s;
    opacity: 0.9;
    transform: scale(1.1);
}
.cloud-6::before { width: 100px; height: 100px; top: -50px; left: 45px; }
.cloud-6::after { width: 130px; height: 130px; top: -65px; right: 45px; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(25px, -40px); }
}

/* Background Effects */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(82,191,248,0.2) 0%, rgba(255,255,255,0) 70%);
    top: -100px;
    right: -200px;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.bg-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(82,191,248,0.15) 0%, rgba(255,255,255,0) 70%);
    bottom: 10%;
    left: -150px;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(82, 191, 248, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(82, 191, 248, 0.5);
    color: #fff;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(82, 191, 248, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(82, 191, 248, 0.3);
    box-shadow: var(--glass-shadow);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* About Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
}

.member-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--card-border);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-secondary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Contact */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 4rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.contact-info {
    flex: 1;
    min-width: 250px;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(82, 191, 248, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    padding: 0 0 3rem 0;
    text-align: center;
    background: #f8fafc;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.footer-art-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 1;
}

.footer-art-container img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: -2px;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 50px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .contact-wrapper {
        padding: 2rem;
    }
}
