/* --- Global Styles & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #0066cc;
    --dark-blue: #1a1a2e;
    --light-gray: #f8f9fa;
    --text-color: #333;
    --text-light: #f1f1f1;
}

html {
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Sticky Footer */
    font-size: 17px; /* Increased base font size */
}

main {
    flex-grow: 1; /* Sticky Footer */
}

p {
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 1200px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .statistics .col-md-3 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    h4, h5, h6 {
        font-size: 1.2rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .btn {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .card-body {
        padding: 1.25rem 1rem;
    }
    
    .statistics .display-4 {
        font-size: 2rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .row > div {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-section p {
        font-size: 0.9rem;
    }
    
    .btn {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .btn-lg {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem 0.75rem;
    }
    
    h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .statistics .display-4 {
        font-size: 1.5rem;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    .accordion-button {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .form-control, .form-select {
        font-size: 14px;
    }
}

/* --- Component Overrides --- */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 12px 30px; /* Increased padding */
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: white;
    border-color: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-danger {
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-light:hover {
    background-color: white;
    border-color: white;
    color: var(--primary-color);
}

.card {
    border: none;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* --- Header & Footer --- */
.navbar {
    background-color: var(--dark-blue) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: #fff !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.footer {
    background-color: var(--dark-blue);
    color: var(--text-light);
}

.footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer .text-danger {
    color: #fff !important; /* Override bootstrap danger for footer headings */
    font-weight: 600;
}


/* --- Page Specific Sections --- */

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: white;
    padding: 7rem 0; /* Increased padding */
}

.hero-section h1 {
    font-weight: 700;
    font-size: 3.2rem; /* Increased font size */
}

.hero-section .lead {
    font-size: 1.3rem; /* Increased font size */
    max-width: 800px;
    margin: 1rem auto 2rem;
}

/* Features/Services Section */
.features-section .bi {
    font-size: 3.5rem; /* Increased icon size */
}

/* Contact Form */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--primary-color);
}

.accordion-button:focus {
    z-index: 3;
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}
