:root {
    --primary-color: #fca311; /* Vibrant sunrise orange */
    --secondary-color: #14213d; /* Deep navy */
    --accent-color: #2a9d8f; /* Forest activity green */
    --bg-color: #f8f9fa; /* Light background */
    --text-primary: #1d1d1f;
    --text-secondary: #5e5e60;
    --card-bg: rgba(255, 255, 255, 0.9);
    --border-radius: 16px;
    --transition: 0.3s ease-in-out;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

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

/* Header & Navbar */
.header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0a1120 100%);
    color: white;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-color);
    transform: skewY(-2deg);
    z-index: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 60px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.logo-link:hover .logo {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: white;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 1.1rem;
    color: #e0e0e0;
    position: relative;
}

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

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

.nav-links a:hover {
    color: white;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 4rem auto 0;
    padding: 0 5%;
    position: relative;
    z-index: 10;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.hero-image-placeholder {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hero-logo-large {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(252, 163, 17, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(252, 163, 17, 0.6);
}

/* Services */
.services-section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.services-section h2 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: rgba(252, 163, 17, 0.3);
}

.service-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(252, 163, 17, 0.2), rgba(42, 157, 143, 0.1));
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.service-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact */
.contact-section {
    padding: 7rem 5%;
    background: linear-gradient(135deg, var(--accent-color), #21867a);
    color: white;
    text-align: center;
}

.contact-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.3rem;
    margin-bottom: 3.5rem;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    min-width: 250px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.contact-item .icon {
    font-size: 3rem;
}

.contact-item a, .contact-item p {
    font-size: 1.25rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #0a1120;
    color: #94a3b8;
    padding: 4rem 5% 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
}

.logo-small {
    height: 45px;
}

.legal-links {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1.1rem;
}

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

.copyright {
    margin-top: 2rem;
    font-size: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    width: 100%;
}

/* Base Styles for Legal Pages */
.legal-page {
    background: var(--bg-color);
}

.legal-page .header {
    padding-bottom: 2rem;
}

.legal-page .header::after {
    display: none;
}

.legal-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 4rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.legal-container h1 {
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    font-size: 2.8rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
}

.legal-container h2 {
    color: var(--secondary-color);
    margin: 2.5rem 0 1rem;
    font-size: 1.8rem;
}

.legal-container p, .legal-container ul {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.legal-container ul {
    padding-left: 1.8rem;
}

.legal-container li {
    margin-bottom: 0.5rem;
}

.legal-container strong {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
        margin-top: 2rem;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content p {
        margin: 1.5rem auto 2rem;
    }
    .hero-logo-large {
        max-height: 280px;
    }
    .services-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1.5rem;
    }
    .nav-links {
        gap: 1.5rem;
    }
    .legal-container {
        margin: 2rem 5%;
        padding: 2rem;
    }
    .legal-container h1 {
        font-size: 2rem;
    }
}
