/* Base Styles & Variables */
:root {
    --color-red: #d32f2f;
    --color-red-hover: #b71c1c;
    --color-black: #111111;
    --color-black-light: #222222;
    --color-white: #ffffff;
    --color-gray-light: #f5f5f5;
    --color-gray: #e0e0e0;
    --color-text: #333333;
    
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--color-gray-light);
}

.bg-dark {
    background-color: var(--color-black);
}

.text-white {
    color: var(--color-white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

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

.bg-dark .section-title h2 {
    color: var(--color-white);
}

.underline {
    width: 60px;
    height: 4px;
    background-color: var(--color-red);
    margin: 0 auto;
    border-radius: 2px;
}

.subtitle {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #666;
}

/* Navigation & Logo */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-black);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-red);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--color-black);
    border-radius: 10px;
    transition: var(--transition);
}

/* Buttons */
.btn-primary-small, .btn-primary, .btn-secondary {
    background-color: var(--color-red);
    color: var(--color-white) !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: var(--color-black);
    margin-top: 20px;
}

.btn-secondary:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.btn-primary-small:hover, .btn-primary:hover {
    background-color: var(--color-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.active-btn {
    background-color: var(--color-red-hover) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1580273916550-e323be2ae537?auto=format&fit=crop&q=80&w=1600') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

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

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

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ddd;
}

/* Page Headers (Services, Providers) */
.page-header {
    padding: 150px 0 80px 0;
    text-align: center;
    color: var(--color-white);
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Flex Sections (About, How it works) */
.flex-split {
    display: flex;
    align-items: center;
    gap: 50px;
}
.flex-split > div {
    flex: 1;
}
.flex-split img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.flex-split h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-black);
}
.flex-split p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #555;
}

/* Grids & Cards */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--color-red);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

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

.card p {
    color: #666;
    flex-grow: 1;
}

/* Testimonials */
.testimonial-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    position: relative;
    border-left: 5px solid var(--color-red);
}
.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}
.testimonial-author {
    font-weight: 600;
    color: var(--color-black);
}

/* Accordion (FAQ) */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--color-white);
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}
.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    background: var(--color-white);
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
}
.faq-question:hover {
    color: var(--color-red);
}
.faq-answer {
    padding: 0 20px 20px;
    color: #666;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-red) 100%);
    color: var(--color-white);
    text-align: center;
    padding: 100px 20px;
}
.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: var(--color-black-light);
    color: var(--color-white);
    padding: 60px 0 20px;
}

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

.footer-logo-img {
    height: 80px;
    margin-bottom: 15px;
    background: var(--color-white);
    padding: 5px;
    border-radius: 5px;
}

.footer-brand p {
    color: #999;
    max-width: 300px;
}

.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-contact p {
    color: #999;
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

.developed-by {
    color: var(--color-red) !important;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
    .flex-split {
        flex-direction: column;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 999;
        pointer-events: none;
    }
    .nav-links.show-nav {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .footer-content {
        flex-direction: column;
    }
}
