:root {
    --primary: #f97316; /* Vibrant Orange */
    --primary-dark: #ea580c;
    --primary-light: #ffedd5; /* Soft amber/orange */
    --accent: #1e3a8a; /* Deep Indigo Blue */
    --bg-light: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --card-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    --hover-shadow: 0 20px 40px -10px rgba(249, 115, 22, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

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

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform var(--transition);
}

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

.logo-text {
    font-size: 26px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}

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

.btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

nav a.btn {
    background-color: var(--primary);
    color: var(--white);
}

nav a.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    font-size: 1.1rem;
    border-radius: 30px;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

/* Vision Section */
.vision {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 40px;
    font-weight: 700;
    text-align: center;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.vision-content p {
    margin-bottom: 20px;
}

.vision-content strong {
    color: var(--text-main);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.card-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 40px 30px 30px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.icon-wrap {
    position: absolute;
    top: -30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: var(--primary);
    font-size: 24px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.features {
    margin-bottom: 25px;
}

.features li {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features i {
    color: var(--primary);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    text-align: center;
    width: 100%;
    display: block;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Terms & Privacy Page Styles */
.legal-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(249, 115, 22, 0.05) 100%);
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 10px;
}

.legal-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.legal-container {
    max-width: 1000px;
    margin: 60px auto 100px;
    padding: 0 20px;
}

.legal-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding-bottom: 15px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}

.tab-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.2);
}

.legal-content-card {
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--card-shadow);
    display: none;
}

.legal-content-card.active {
    display: block;
    animation: fadeIn var(--transition);
}

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

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--accent);
    margin: 30px 0 15px;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 8px;
}

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

.legal-section p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.legal-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-section ul li {
    list-style: disc;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.6;
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 25px;
    transition: var(--transition);
}

.back-home-btn:hover {
    color: var(--primary-dark);
    transform: translateX(-5px);
}

/* Footer */
footer {
    background-color: var(--text-main);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    background: var(--white);
    border-radius: 6px;
    padding: 2px;
}

.footer-logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.footer-bottom-link {
    color: #94a3b8;
    margin-left: 10px;
    transition: var(--transition);
}

.footer-bottom-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-section.brand p {
    color: #94a3b8;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    color: #94a3b8;
    transition: var(--transition);
}

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

.footer-section.contact p {
    color: #94a3b8;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-section.contact i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .nav-container nav {
        display: none;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .legal-content-card {
        padding: 30px 20px;
    }
    .legal-hero h1 {
        font-size: 2.2rem;
    }
    .tab-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }
    .legal-tabs {
        flex-direction: column;
        gap: 10px;
    }
}
