﻿@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
    --primary-color: #0f172a; /* Deep Navy Blue */
    --secondary-color: #334155; /* Slate */
    --accent-color: #b45309; /* Bronze / Gold */
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --bg-main: #f1f5f9;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --radius-sm: 8px;
    --shadow-soft: 0 10px 40px -10px rgba(15, 23, 42, 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(180, 83, 9, 0.3);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav a {
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1.15rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background: #92400e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-accent {
    background: var(--primary-color);
    color: #fff;
    width: 100%;
}

.btn-accent:hover {
    background: #1e293b;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7)), url('https://picsum.photos/seed/rageyaqahero/1920/1080') no-repeat center center/cover;
    color: var(--text-light);
    padding: 100px 0;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 4.8rem);
    margin-bottom: 25px;
    color: #ffffff;
}

.hero p {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    margin-bottom: 40px;
    color: #cbd5e1;
    font-weight: 300;
}

/* Stats Section */
.random-section {
    padding: 80px 0;
    background: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -130px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: #ffffff;
    padding: 50px 40px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--accent-color);
}

.stat-card:hover {
    transform: translateY(-8px);
}

.stat-card i {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.stat-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-family: var(--font-body);
}

.stat-card p {
    color: #475569;
    font-size: 1.05rem;
}

/* About & Features */
.about-section, .features-section {
    padding: 120px 0;
    background: #ffffff;
}

.features-section {
    background: var(--bg-main);
}

.about-container, .features-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.features-container {
    flex-direction: row-reverse;
}

.about-text, .features-text {
    flex: 1;
}

.about-text h2, .features-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 30px;
}

.about-text p, .features-text p {
    font-size: 1.15rem;
    color: #334155;
    margin-bottom: 25px;
}

.features-text ul {
    list-style: none;
    margin-top: 35px;
}

.features-text li {
    margin-bottom: 20px;
    font-size: 1.15rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #1e293b;
}

.features-text i {
    color: var(--accent-color);
    margin-top: 6px;
}

.about-image, .features-image {
    flex: 1;
}

.about-image img, .features-image img {
    width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

/* Form Section */
.form-section {
    padding: 120px 0;
    background: var(--primary-color);
    background-image: linear-gradient(to right, #0f172a, #1e293b);
}

.form-wrapper {
    max-width: 750px;
    margin: 0 auto;
    background: #ffffff;
    padding: 70px 60px;
    border-radius: var(--radius-sm);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-wrapper h2 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    text-align: center;
}

.form-wrapper > p {
    text-align: center;
    margin-bottom: 45px;
    color: #475569;
    font-size: 1.1rem;
}

.form-row {
    display: flex;
    gap: 24px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #334155;
    font-size: 1rem;
}

.form-group input {
    width: 100%;
    padding: 18px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1.05rem;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 35px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    accent-color: var(--accent-color);
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.95rem;
    color: #475569;
}

.checkbox-group a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: underline;
}

.form-success {
    text-align: center;
    padding: 40px;
}

.form-success i {
    color: #10b981;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Sectors (Random 2) */
.random-section-2 {
    padding: 100px 0;
    background: #ffffff;
}

.practices-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.practice-item {
    padding: 40px 30px;
    background: var(--bg-main);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent-color);
}

.practice-item h4 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* FAQ */
.faq-section {
    padding: 100px 0;
    background: var(--bg-main);
}

.faq-container {
    max-width: 900px;
}

details {
    background: #fff;
    margin-bottom: 20px;
    padding: 30px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    border: 1px solid #e2e8f0;
}

summary {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-color);
    outline: none;
    list-style-position: inside;
}

details p {
    margin-top: 20px;
    color: #475569;
    padding-left: 20px;
    font-size: 1.1rem;
    border-left: 2px solid var(--accent-color);
}

/* Footer */
footer {
    background: #020617;
    color: #94a3b8;
    padding: 80px 0 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-info h4 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    font-size: 1.05rem;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    font-size: 0.95rem;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    background: #ffffff;
    padding: 30px;
    border-radius: var(--radius-sm);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    z-index: 9999;
    border: 1px solid #e2e8f0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-content p {
    font-size: 1rem;
    color: #334155;
    flex: 1;
}

/* Legal Pages */
.legal-wrapper {
    max-width: 900px;
    margin: 80px auto;
    background: #fff;
    padding: 80px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

.legal-wrapper h1 {
    font-size: 2.8rem;
    margin-bottom: 35px;
    border-bottom: 2px solid var(--bg-main);
    padding-bottom: 20px;
}

.legal-wrapper h2 {
    margin: 45px 0 20px;
    font-size: 1.8rem;
}

.legal-wrapper p, .legal-wrapper ul {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #334155;
}

.legal-wrapper ul {
    margin-left: 30px;
}

/* Map */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: 50px;
    box-shadow: var(--shadow-soft);
}

/* Responsive */
@media (max-width: 992px) {
    .about-container, .features-container {
        flex-direction: column;
        gap: 60px;
    }
    .form-wrapper {
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 20px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .legal-wrapper {
        padding: 40px 24px;
        margin: 40px 15px;
    }
    .hero {
        padding: 120px 0 80px;
    }
    .stats-grid {
        margin-top: 0;
    }
}
