/* Custom CSS for Rapid Insure Website - Pixel Perfect */

:root {
    --primary-green: #4CAF50;
    --menu-green: #2CBC2F;
    --dark-green: #388E3C;
    --light-green: #81C784;
    --text-dark: #2E2E2E;
    --text-muted: #666666;
    --bg-light: #F8F9FA;
}

/* Global Styles with Faustina Font */
* {
    font-family: 'Faustina', serif;
}

body {
    font-family: 'Faustina', serif;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

.text-green {
    color: var(--primary-green);
}

.bg-green {
    background-color: var(--primary-green);
}
/* Navigation Styles */
.custom-navbar {
    background-color: var(--menu-green) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    width: 100%;
    top: 60px;
    z-index: 9;
}

.navbar-brand {
    font-family: 'Faustina', serif;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: white !important;
}

.navbar-nav .nav-link {
    font-family: 'Inter', serif;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: opacity 0.3s ease;
}
.navbar-nav .nav-link h5{
    font-family: 'Inter', serif;
}
.navbar-nav .nav-link:hover {
    opacity: 0.8;
    color: #000;
}

.navbar-nav .nav-link.active {
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background-image: url('../home/banner-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 150px;
}


.hero-content h1 {
    font-family: 'Faustina', serif;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    font-family: 'Faustina', serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-image-container {
    position: relative;
    z-index: 2;
}



.form-group {
    margin-bottom: 10px;
}
.form-group label{
    width: 100px;
}


/* Button Styles */
.btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    font-family: 'Faustina', serif;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.btn-outline-success {
    border-color: var(--primary-green);
    font-family: 'Faustina', serif;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    background-color: #fff;
    color: #2CBC2F;
}

.btn-outline-success:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
}

/* Welcome Section */
.welcome-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.welcome-section h2 {
    font-family: 'Faustina', serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.welcome-section p {
    font-family: 'Faustina', serif;
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-card {
    background: #2CBC2F;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.3);
    padding: 2rem;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.contact-card h4 {
    font-family: 'Faustina', serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.quote-form .form-control,
.quote-form .form-select {
    font-family: 'Faustina', serif;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.quote-form .form-control:focus,
.quote-form .form-select:focus {
    background-color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.quote-form .btn-light {
    font-family: 'Faustina', serif;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.75rem;
    width: 100%;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: white;
}

.services-section h2 {
    font-family: 'Faustina', serif;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services-section .lead {
    font-family: 'Faustina', serif;
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border: none;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 2rem;
}

.service-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.service-card h4 {
    font-family: 'Faustina', serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-card p {
    font-family: 'Faustina', serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.service-card .btn {
    font-family: 'Faustina', serif;
    font-weight: 600;
}

/* Contact Section */



/* Footer */
footer {
    background-color: #1a1a1a !important;
    padding: 2rem 0;
}

footer .fw-bold {
    font-family: 'Faustina', serif;
    font-weight: 700;
}

footer p {
    font-family: 'Faustina', serif;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Faustina', serif;
}

p, span, div, a, button, input, select, textarea {
    font-family: 'Faustina', serif;
}

.display-4 {
    font-family: 'Faustina', serif;
    font-weight: 700;
}

.display-5 {
    font-family: 'Faustina', serif;
    font-weight: 700;
}

.lead {
    font-family: 'Faustina', serif;
}

.fw-bold {
    font-family: 'Faustina', serif;
    font-weight: 700 !important;
}


/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Remove any JavaScript-dependent styles */
.service-card .btn:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}


/* Navigation Active States for Different Pages */
.navbar-nav .nav-link.active {
    font-weight: 600;
    position: relative;
}

.navbar-nav .nav-link.active {
    background-color: white;
    color: var(--primary-green);
}


.navbar-toggler {
    border: 1px solid #fff;
    color: #fff;
}
.navbar-toggler:focus{
    box-shadow: unset;
}


/* Enhanced Hero Image Styling */


.hero-image:hover {
    transform: scale(1.02);
}

/* Utility Classes for Minimum Height */
.min-vh-75 {
    min-height: 75vh;
}

/* Enhanced Button Hover Effects */
.btn-success:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}


/* Enhanced Focus States for Accessibility */
.btn:focus,
.form-control:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Smooth Transitions */
.hero-image,
.service-card,
.btn,
.contact-card .btn-light {
    transition: all 0.3s ease;
}

/* Page Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.reasons-list,
.contact-card {
    animation: fadeInUp 0.8s ease-out;
}




/* ! Responsive Design */

@media screen and (max-width: 992px) {
    .navbar-nav .nav-link.active {
        background-color: transparent;
        color: #fff;
    }
    .navbar-collapse{
        margin-top: 20px;
    }
    .custom-navbar{
        top: 0;
    }
    .hero-section{
        padding-top: 100px;
    }
    
}
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .phone-number {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .phone-number span {
        font-size: 1.5rem;
    }
    
    .contact-card {
        margin-top: 2rem;
    }
    
    .services-section h2 {
        font-size: 2.5rem;
    }
    
    .contact-section h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {

    .services-section h2 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem !important;
    }
}