/* =========================================
ROOT VARIABLES
========================================= */

:root {
    --primary: #0ea5e9;
    --secondary: #f59e0b;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --container: 1200px;
}

/* =========================================
RESET
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
overflow-x: hidden;
}

body {
font-family: Inter, Arial, sans-serif;
line-height: 1.7;
color: var(--dark);
background: var(--white);
overflow-x: hidden;
width: 100%;
}

img {
max-width: 100%;
display: block;
}

a {
text-decoration: none;
}

ul {
list-style: none;
}

/* =========================================
GLOBAL
========================================= */

.container {
width: 90%;
max-width: var(--container);
margin: auto;
}

section {
padding: 80px 0;
}

h1,
h2,
h3 {
line-height: 1.2;
}

h1 {
font-size: clamp(2rem, 1.4rem + 2.5vw, 3rem);
}

h2 {
font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.2rem);
margin-bottom: 20px;
}

p {
color: var(--gray);
}

/* =========================================
BUTTONS
========================================= */

.btn {
display: inline-block;
padding: 14px 28px;
border-radius: var(--radius);
font-weight: 600;
transition: 0.3s;
}

.btn-primary {
background: var(--primary);
color: var(--white);
}

.btn-primary:hover {
transform: translateY(-3px);
}

.btn-secondary {
border: 2px solid var(--primary);
color: var(--primary);
}

.btn-secondary:hover {
background: var(--primary);
color: var(--white);
}

/* =========================================
   HEADER
========================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, border-color 0.3s ease;
    padding-top: env(safe-area-inset-top);
}

body.dark-mode .header {
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 16px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    white-space: nowrap;
}

body.dark-mode .logo {
    color: #ffffff;
}

.logo span {
    color: var(--secondary);
}

.nav ul {
    display: flex;
    gap: 25px;
}

.nav a {
    color: var(--dark);
    font-weight: 500;
}

.nav a:hover {
    color: var(--primary);
}

body.dark-mode .nav a {
    color: #e2e8f0;
}

body.dark-mode .nav a:hover {
    color: var(--primary);
}

/* =========================================
HEADER ACTIONS
========================================= */

.header-actions {
display: flex;
align-items: center;
gap: 12px;
}

/* =========================================
HEADER CTA BUTTON
========================================= */

.header-cta {
background: var(--primary);
color: #ffffff;
padding: 12px 18px;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
transition: all 0.3s ease;
white-space: nowrap;
}

.header-cta:hover {
transform: translateY(-2px);
opacity: 0.9;
}

/* Mobile */

@media (max-width: 768px) {

    .header-cta {
        display: none;
    }

}

/* =========================================
   THEME TOGGLE
========================================= */

.theme-toggle {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    background: #f1f5f9;
    color: var(--dark);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    transform: rotate(15deg);
    background: #e2e8f0;
}

body.dark-mode .theme-toggle {
    background: #1e293b;
    color: #ffffff;
}

/* =========================================
   MOBILE MENU BUTTON
========================================= */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark);
    line-height: 1;
}

body.dark-mode .menu-toggle {
    color: #ffffff;
}

/* =========================================
   ACCESSIBILITY — FOCUS STATES
========================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--primary);
    color: #ffffff;
    padding: 12px 20px;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}
/* =========================================
HERO
========================================= */

.hero {
padding: 120px 0;
text-align: center;
background: linear-gradient(
135deg,
#eff6ff,
#ffffff
);
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #0f172a, #111c33);
}

.hero h1 {
max-width: 900px;
margin: auto;
}

.hero p {
max-width: 700px;
margin: 20px auto;
font-size: clamp(1rem, 0.92rem + 0.4vw, 1.15rem);
}

.hero-buttons {
margin-top: 30px;
display: flex;
justify-content: center;
gap: 15px;
flex-wrap: wrap;
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-buttons .btn {
        text-align: center;
    }
}

/* =========================================
TRUST
========================================= */

.trust {
text-align: center;
background: var(--light);
}

/* =========================================
GRID
========================================= */

.grid {
    display: grid;
    gap: 25px;
}

.categories .grid {
    grid-template-columns: repeat(5, 1fr);
}

.why-us .grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

/* Tablet: 5-column grids get cramped, drop to 3 columns */
@media (max-width: 1024px) {
    .categories .grid,
    .why-us .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Small tablet / large phone: 2 columns */
@media (max-width: 640px) {
    .categories .grid,
    .why-us .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Phone: single column */
@media (max-width: 480px) {
    .categories .grid,
    .why-us .grid {
        grid-template-columns: 1fr;
    }
}

.how-it-works .grid {
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
}

.about-section .grid {
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
}


/* =========================================
CARD
========================================= */

.card,
.step {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: .3s;
}

.card:hover,
.step:hover {
    transform: translateY(-5px);
}

.card h3,
.step h3 {
    margin-bottom: 10px;
}

/* Cards that contain a plain link with no heading/paragraph wrapper
   (e.g. the sitemap page) need their own explicit color so they don't
   fall back to the browser's default link-blue, which has poor
   contrast against the dark card background in dark mode. */
.card > a {
    display: block;
    color: var(--dark);
    font-weight: 600;
}

.card > a:hover {
    color: var(--primary);
}

body.dark-mode .card > a {
    color: #ffffff;
}

body.dark-mode .card > a:hover {
    color: var(--primary);
}

/* =========================================
   CATEGORIES
========================================= */

.categories {
    text-align: center;
}

.section-description {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--gray);
}


/* =========================================
HOW IT WORKS
========================================= */

.how-it-works {
background: var(--light);
text-align: center;
}

/* =========================================
WHY US
========================================= */

.why-us {
text-align: center;
}

/* =========================================
EXPERT CTA
========================================= */

.expert-cta {
background: var(--dark);
color: var(--white);
text-align: center;
}

.expert-cta p {
color: rgba(255,255,255,.8);
margin-bottom: 25px;
}

/* =========================================
FAQ
========================================= */

.faq {
background: var(--light);
text-align: center;
}

.faq h2 {
text-align: center;
margin-bottom: 40px;
}

.faq-item {
max-width: 800px;
margin: 0 auto 15px;
background: var(--white);
border-radius: var(--radius);
overflow: hidden;
border: 1px solid var(--border);
text-align: left;
transition: all 0.3s ease;
}

.faq-item:hover {
box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.faq-question {
width: 100%;
text-align: left;
background: none;
border: none;
padding: 20px;
cursor: pointer;
font-size: 1rem;
font-weight: 600;
color: var(--dark);
}

.faq-answer {
display: none;
padding: 0 20px 20px;
}

.faq-item.active .faq-answer {
display: block;
}

/* Dark Mode */

body.dark-mode .faq-item {
background: #1e293b;
border-color: #334155;
}

body.dark-mode .faq-question {
color: #ffffff;
}

/* =========================================
CTA
========================================= */

.cta {
text-align: center;
}

.cta p {
margin: 15px 0 25px;
}


/* =========================================
FOOTER
========================================= */

.footer {
background: #0f172a;
color: #ffffff;
padding: 70px 0;
}

.footer-grid {
display: grid;
grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
gap: 40px;
}

.footer-column h3,
.footer-column h4 {
margin-bottom: 15px;
}

.footer-column p {
color: #cbd5e1;
}

.footer-column a {
display: block;
color: #cbd5e1;
margin-bottom: 10px;
}

.footer-column a:hover {
color: #0ea5e9;
}

/* =========================================
FOOTER BOTTOM
========================================= */

.footer-bottom {
    background: #020617;
    color: #cbd5e1;
    padding: 30px 0;
    padding-bottom: calc(30px + env(safe-area-inset-bottom));
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: 10px;
    margin-bottom: 20px;
}

.footer-links a {
    position: relative;
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    padding: 4px 14px;
}

.footer-links a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.18);
}

.footer-links a:hover {
    color: #0ea5e9;
}

.footer-divider {
    width: 80px;
    height: 2px;
    margin: 20px auto;
    background: rgba(255,255,255,0.15);
}

.footer-description,
.footer-legal,
.footer-company,
.footer-copyright {
    max-width: 1200px;
    margin: 10px auto;
    line-height: 1.7;
    color: #94a3b8;
}

/* =========================================
MOBILE
========================================= */

@media(max-width:768px){

.menu-toggle{
    display:block;
}

.nav{
    display:none;
    position:absolute;
    top:80px;
    left:0;
    width:100%;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background:#fff;
    border-top:1px solid var(--border);
    box-shadow: 0 15px 25px rgba(0,0,0,0.08);
    animation: navSlideDown 0.25s ease;
}

body.dark-mode .nav {
    background: #0f172a;
    border-top: 1px solid #1e293b;
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}

@keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav.active{
    display:block;
}

.nav ul{
    flex-direction:column;
    padding:20px;
    gap: 4px;
}

.nav ul li a {
    display: block;
    padding: 12px 8px;
    border-radius: 8px;
}

.nav ul li a:hover {
    background: var(--light);
}

body.dark-mode .nav ul li a:hover {
    background: #1e293b;
}

.hero{
    padding:90px 0;
}

.header .container {
    gap: 8px;
}

}

@media (max-width: 480px) {

    .logo {
        font-size: 1.25rem;
    }

    section {
        padding: 56px 0;
    }

    .hero {
        padding: 64px 0;
    }

    .card,
    .step {
        padding: 20px;
    }

    .footer-links a {
        padding: 4px 10px;
        font-size: 0.9rem;
    }
}

/* =========================================
   DARK MODE
========================================= */

body.dark-mode {
    background: #0f172a;
    color: #ffffff;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #ffffff;
}

body.dark-mode p {
    color: #cbd5e1;
}

/* Hero Section */

body.dark-mode .hero {
    background: #0f172a;
}

body.dark-mode .hero h1 {
    color: #ffffff;
}

body.dark-mode .hero p {
    color: #cbd5e1;
}

/* Trust Section */

body.dark-mode .trust {
    background: #1e293b;
}

body.dark-mode .trust h2 {
    color: #ffffff;
}

body.dark-mode .trust p {
    color: #cbd5e1;
}

/* Categories, FAQ, Sections */

body.dark-mode .categories,
body.dark-mode .how-it-works,
body.dark-mode .why-us,
body.dark-mode .faq,
body.dark-mode .cta {
    background: #0f172a;
}

/* Cards */

body.dark-mode .card,
body.dark-mode .step,
body.dark-mode .faq-item {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .card p,
body.dark-mode .step p,
body.dark-mode .faq-answer p {
    color: #cbd5e1;
}

body.dark-mode .card h3,
body.dark-mode .step h3 {
    color: #ffffff;
}


/* =========================================
   SCROLL TO TOP BUTTON
========================================= */

.scroll-top-btn {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: none;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,.2);
}

.scroll-top-btn.show {
    display: block;
}

/* Dark Mode */

body.dark-mode .scroll-top-btn {
    background: var(--secondary);
    color: #ffffff;
}

/* =========================================
ABOUT PAGE
========================================= */

.about-section {
    padding: 80px 0;
}

.about-section .container {
    text-align: center;
}

.about-section h1,
.about-section h2 {
    margin-bottom: 20px;
}

.about-section .section-description {
    max-width: 800px;
    margin: 0 auto 40px;
}

.about-section p {
    line-height: 1.8;
}

body.dark-mode .about-section {
    background: transparent;
}


/* =========================================
LEGAL PAGES
========================================= */

.legal-content {
    padding: 80px 0;
}

.legal-content .container {
    max-width: 900px;
}

.legal-content h1 {
    margin-bottom: 20px;
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
}

.legal-content p,
.legal-content li {
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 20px;
}

/* =========================================
CARDS & IMAGES
========================================= */

.categories .card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.categories .card:hover {
    transform: translateY(-5px);
}

.categories .card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-bottom: 15px;
}

.categories .card h3 {
    margin-bottom: 10px;
    padding: 0 15px;
}

.categories .card p {
    margin-bottom: 8px;
    padding: 0 15px;
}

.categories .card .btn {
    margin: 15px;
    margin-top: auto;
}

/* =========================================
BOOKING HERO
========================================= */

.about-hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-hero .hero-content {
    text-align: left;
}

.about-hero .hero-content h1,
.about-hero .hero-content p {
    margin-left: 0;
    margin-right: 0;
}

.about-hero .hero-image img {
    width: 100%;
    display: block;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .about-hero .hero-grid {
        grid-template-columns: 1fr;
    }
}


/* Live Interviews */

.live-interviews .grid{
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
}

@media(max-width:768px){
    .live-interviews .grid{
        grid-template-columns: 1fr;
    }
}

/* Contact & FAQ Pages */

.contact-section .grid{
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    max-width: 1100px;
    margin: 0 auto;
}