:root {
    --primary-color: #0056b3;
    --secondary-color: #0077cc;
    --bg-color: #ffffff;
    --text-color: #333333;
    --hero-bg-light: linear-gradient(135deg, 
        rgba(224, 247, 250, 0.95) 0%,
        rgba(187, 222, 251, 0.95) 25%,
        rgba(179, 229, 252, 0.95) 50%,
        rgba(187, 222, 251, 0.95) 75%,
        rgba(224, 247, 250, 0.95) 100%),
        linear-gradient(45deg, #f6f9fc 0%, #e3f2fd 100%);
    --hero-bg-dark: linear-gradient(135deg,
        rgba(26, 35, 126, 0.95) 0%,
        rgba(13, 71, 161, 0.95) 25%,
        rgba(21, 101, 192, 0.95) 50%,
        rgba(13, 71, 161, 0.95) 75%,
        rgba(26, 35, 126, 0.95) 100%),
        linear-gradient(45deg, #1a237e 0%, #0d47a1 100%);
    --form-bg: #f8f9fa;
    --footer-bg: #f1f1f1;
    --footer-text: #666;
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --primary-color: #4caf50;
    --secondary-color: #66bb6a;
    --bg-color: #121212;
    --text-color: #f1f1f1;
    --hero-bg-light: var(--hero-bg-dark);
    --form-bg: #1e1e1e;
    --footer-bg: #1e1e1e;
    --footer-text: #aaa;
    --card-bg: #1e1e1e;
    --card-shadow: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
    line-height: 1.6;
}

/* Logo theme handling */
.theme-logo {
    display: none;
}

[data-theme='light'] .light-logo {
    display: block;
}

[data-theme='dark'] .dark-logo {
    display: block;
}

/* Header/Navbar */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem;
}

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

.theme-switch {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Hero Section */
@keyframes movingBands {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Add a subtle pulse animation for the background */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.hero {
    background: var(--hero-bg-light);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: movingBands 15s ease infinite, pulse 8s ease-in-out infinite;
    background-size: 200% 200%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 86, 179, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 119, 204, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 10px,
            rgba(0, 86, 179, 0.05) 10px,
            rgba(0, 86, 179, 0.05) 20px
        );
    animation: movingBands 20s linear infinite;
    opacity: 0.7;
}

[data-theme="dark"] .hero::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 10px,
            rgba(255, 255, 255, 0.02) 10px,
            rgba(255, 255, 255, 0.02) 20px
        );
    opacity: 0.3;
}

.hero h1 {
    position: relative;
    z-index: 2;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    max-width: 800px;
    color: var(--text-color);
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.about-content {
    max-width: 900px;
    text-align: center;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background-color: var(--form-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-form {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px var(--card-shadow);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-contact, .footer-social, .footer-links {
    flex: 1;
    min-width: 250px;
}

.footer h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links img {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s;
}

.social-links a:hover img {
    opacity: 0.8;
}

.footer-links a {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s;
}

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

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

/* Responsive adjustments for the contact form */
@media (max-width: 1400px) {
    .contact-form {
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .contact-form {
        width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 0.5rem;
    }

    .footer-content {
        flex-direction: column;
    }
} 