/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main-nav {
    display: flex;

    /* use flexbox on the nav */
    justify-content: center;

    /* centers the UL horizontally */
}

.main-nav ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;

    /* keeps the items in a row */
    gap: 20px;

    /* space between items */
}

.main-nav ul.menu li {
    display: inline-block;
}

.main-nav ul.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.2) 0%,
    rgba(147, 197, 253, 0.1) 50%,
    rgba(219, 234, 254, 0.15) 100%
  );
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(147, 197, 253, 0.1) 0%, transparent 50%);
    background-size: 100px 100px, 150px 150px;
    opacity: 0.3;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 197, 253, 0.05) 100%);
    will-change: transform;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 10;
    position: relative;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.hero-content .subtitle {
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.hero-content .description {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.2);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 120px;
    height: 120px;
    background: rgba(147, 197, 253, 0.2);
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

.element-3 {
    width: 100px;
    height: 100px;
    background: rgba(219, 234, 254, 0.15);
    top: 50%;
    right: 25%;
    animation-delay: 4s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Values Section */
.values-section {
    padding: 4rem 0;
    background: linear-gradient(
    90deg,
    rgba(248, 250, 252, 0.3) 0%,
    rgba(147, 197, 253, 0.05) 50%,
    rgba(248, 250, 252, 0.3) 100%
  );
    position: relative;
}

.values-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.value-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.value-card .icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.value-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    border-top-color: #000000;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1e293b;
}

.contact-card {
    position: relative;
    margin-top: 2rem;
}

.gradient-border {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #3b82f6, #93c5fd, #dbeafe);
    border-radius: 12px;
    filter: blur(4px);
    opacity: 0.3;
}

.card-content {
    position: relative;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.card-content p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.card-content a {
    font-size: 1.25rem;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-content a:hover {
    color: #2563eb;
}

/* Footer */
.footer {
    background: rgba(248, 250, 252, 0.5);
    border-top: 1px solid #e2e8f0;
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.copyright {
    font-size: 0.875rem;
    color: #64748b;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1e293b;
}

.footer-links span {
    color: #64748b;
}

/* ==== FOOTER MENU LAYOUT (robust selectors) ==== */
footer nav ul,
.site-footer nav ul,
.footer-nav ul,
.site-footer .menu,
.site-footer .menu > li ul {
    /* covers nested UL if any */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

/* Items */
footer nav ul > li,
.site-footer nav ul > li,
.footer-nav ul > li {
    margin: 0;
}

/* Links */
footer nav a,
.site-footer nav a,
.footer-nav a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    transition: color .2s ease, text-decoration-color .2s ease;
}

/* Hover / current page / focus */
footer nav a:hover,
.site-footer nav a:hover,
.footer-nav a:hover {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer .current-menu-item > a,
.footer-nav .current-menu-item > a {
    font-weight: 600;
    color: #111;
}

footer nav a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Optional: separators like | between items */
.footer-nav ul > li + li::before,
.site-footer nav ul > li + li::before {
    content: "|";
    margin: 0 8px;
    opacity: .4;
}

.trademark {
    font-size: 0.75rem;
    color: #64748b;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .values-section {
        padding: 3rem 0;
    }

    .contact-section {
        padding: 3rem 0;
    }

    .footer {
        padding: 2rem 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}
