/* File path: assets/css/index.css */

/* Importing Google Fonts for English content */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Global Variables from login.css for consistency */
:root {
    --primary-color: #004d40; /* Dark Teal */
    --secondary-color: #00bfa5; /* Teal Accent */
    --tertiary-color: #ff9800; /* Orange Accent */
    --background-light: #f8fafc; /* Lighter Soft Gray */
    --background-white: #ffffff;
    --text-dark: #37474f; /* Dark Gray */
    --text-light: #ffffff;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --box-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
    --border-radius-lg: 16px;
    --border-radius-md: 8px;
}

/* Basic body and element resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--background-light);
    direction: ltr;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--background-white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #00a08e;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 191, 165, 0.3);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: #00382d;
}

.btn-tertiary {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-tertiary:hover {
    background-color: var(--text-dark);
    color: var(--text-light);
    border-color: var(--text-dark);
}

/* --- Section Styling --- */
section {
    padding: 6rem 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* --- Hero Section --- */
.hero-section {
    padding: 7rem 0;
    background-color: var(--background-white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 1.5rem auto 2.5rem auto;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* --- Features Section --- */
.features-grid, .reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.feature-item, .reason-item {
    background-color: var(--background-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover, .reason-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.feature-item h3, .reason-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* --- Why Choose Us Section --- */
.why-choose-us-section {
    background-color: var(--background-white);
}

/* --- Call to Action (CTA) Section --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    margin: 0 auto 6rem auto;
    max-width: 1200px;
    width: 90%;
}

.cta-section h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}
.cta-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}
.cta-section .btn-primary {
    background-color: var(--text-light);
    color: var(--primary-color);
}
.cta-section .btn-primary:hover {
     background-color: #f0f0f0;
}

/* --- Footer --- */
footer {
    padding: 2rem 0;
    text-align: center;
    background-color: var(--background-white);
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}
