/* Base Styles */
:root {
    --primary-color: #4e73df;
    --primary-hover: #3a5ec0;
    --secondary-color: #f8f9fc;
    --dark-color: #2c3e50;
    --light-color: #ffffff;
    --gray-color: #6c757d;
    --light-gray: #f8f9fa;
    --success-color: #1cc88a;
    --danger-color: #e74a3b;
    --warning-color: #f6c23e;
    --info-color: #36b9cc;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Raleway', sans-serif;
}

body {
    font-family: var(--font-primary);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fc 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 30% 0 0 30%;
    transform: skewX(-20deg);
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--gray-color);
}

.register-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.register-btn span {
    position: relative;
    z-index: 2;
}

.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-hover);
    transition: all 0.3s ease;
    z-index: 1;
    border-radius: 30px;
}

.register-btn:hover::before {
    width: 100%;
}

.get-a-quote {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.get-a-quote h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.get-a-quote h6 {
    color: var(--gray-color);
    font-weight: 400;
    margin-bottom: 20px;
}

.group-img {
    margin-bottom: 20px;
}

.group-img i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
}

.group-img .form-control {
    padding-left: 40px;
    height: 50px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.group-img .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.feature-box {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(78, 115, 223, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 30px;
}

.feature-box h4 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-box p {
    color: var(--gray-color);
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-section .lead {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.stats-box {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stats-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(78, 115, 223, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 20px;
}

.stats-box h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.stats-box p {
    margin-bottom: 0;
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.how-it-works h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.how-it-works .lead {
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto 40px;
}

.step-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-card h4 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.step-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* Services Section */


.services-section {
        background-color: #f8f9fa;
        padding-top: 80px !important; 
        padding-bottom: 80px !important;
    }
    
    .service-item {
        padding: 25px;
        border-bottom: 1px solid #eee;
        transition: all 0.3s ease;
    }
    
    .service-item:hover {
        background-color: rgba(37, 117, 252, 0.05);
    }
    
    .service-item:last-child {
        border-bottom: none;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        background: #2575fc;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 1.5rem;
    }
    
    .service-icon i {
        color: white;
    }
    
    @media (max-width: 767.98px) {
        .service-icon {
            width: 50px;
            height: 50px;
            font-size: 1.25rem;
            margin-right: 15px !important;
        }
        
        .services-section {
            padding-top: 60px !important;
            padding-bottom: 60px !important;
        }
    }





/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .services-section,
    .team-section {
        padding: 80px 0;
    }
    
    .service-card,
    .team-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .services-section,
    .team-section {
        padding: 60px 0;
    }
    
    .services-section h2,
    .team-section h2 {
        font-size: 2rem;
    }
    
    .services-section .lead,
    .team-section .lead {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .team-img {
        height: 220px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.faq-section img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    font-weight: 600;
    padding: 15px 20px;
    color: var(--dark-color);
    background-color: white;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(78, 115, 223, 0.1);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(78, 115, 223, 0.25);
}

.accordion-body {
    padding: 20px;
    color: var(--gray-color);
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    background-color: var(--dark-color);
    color: white;
    position: relative;
}

.footer h2 {
    color: white;
    margin-bottom: 20px;
}

.footer .lead {
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 30px;
}

.contact-box {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
}

.contact-box h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-box a {
    color: white;
    transition: all 0.3s ease;
}

.contact-box a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}
/* Footer links */
.footer-links {
    width: 100%;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0 15px;
    position: relative;
}

.footer-links a:hover {
    color: #3498db;
    /*text-decoration: underline;*/
}



/* Modal Styles */
.modal-register .modal-content {
    border-radius: 10px;
    border: none;
}

.modal-register .modal-header {
    border-bottom: none;
    padding: 30px 30px 10px;
}

.modal-register .modal-body {
    padding: 0 30px 30px;
}

.modal-register .modal-title {
    font-weight: 700;
    color: var(--dark-color);
}

.modal-register .btn-close {
    position: absolute;
    right: 20px;
    top: 20px;
}

.modal-register .form-label {
    font-weight: 600;
    color: var(--dark-color);
}

.modal-register .form-control {
    height: 50px;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.modal-register .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}

.modal-register textarea.form-control {
    height: auto;
    min-height: 100px;
}

.modal-register .form-text {
    font-size: 0.8rem;
    color: var(--gray-color);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-section::before {
        width: 60%;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .about-section h2,
    .how-it-works h2,
    .services-section h2,
    .team-section h2,
    .faq-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 40px;
    }
    
      .get-a-quote {
        margin: 0 auto;
        max-width: 500px;
        box-shadow: none;
    }
    
    .features-section,
    .about-section,
    .how-it-works,
    .services-section,
    .team-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .about-img {
        margin-bottom: 30px;
    }
    
    .faq-section img {
        margin-bottom: 30px;
    }
}

@media (max-width: 575.98px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer h2 {
        font-size: 1.8rem;
    }
    
    .modal-register .modal-header,
    .modal-register .modal-body {
        padding: 20px;
    }
}
/*update*/

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

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced link hover effect */
a:not(.btn) {
    position: relative;
}

a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

a:not(.btn):hover::after {
    width: 100%;
}
.feature-box:hover {
    transform: translateY(-10px) scale(1.02);
}

.feature-icon {
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}
.about-img {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    transition: all 0.5s ease;
}

.about-img:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg);
}

.stats-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stats-icon {
    transition: all 0.3s ease;
}

.stats-box:hover .stats-icon {
    background-color: var(--primary-color);
    color: white;
}
.step-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.step-card:hover::after {
    transform: scaleX(1);
}

.step-number {
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    background-color: var(--dark-color);
    transform: scale(1.1);
}
.team-card {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}



.modal-register .modal-content {
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-register.show .modal-content {
    transform: scale(1);
    opacity: 1;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(78, 115, 223, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}
@media (max-width: 991.98px) {
    .hero-section::before {
        animation: none;
    }
    
    .team-card {
        animation: none;
    }
    
    .team-card:hover {
        animation: none;
    }
}

@media (max-width: 767.98px) {
    .feature-box:hover, 
    .step-card:hover,
    .stats-box:hover {
        transform: none;
    }
}


/* Privacy Policy Page Styles */
.privacy-header {
    background-color: #2c3e50;
}

.privacy-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.privacy-card h1 {
    color: #2c3e50;
    font-weight: 700;
}

.privacy-card h2 {
    color: #3498db;
    font-size: 1.5rem;
    margin-top: 2rem;
    font-weight: 600;
}

.privacy-card p, 
.privacy-card ul {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.privacy-card ul {
    padding-left: 1.5rem;
}

.privacy-card ul li {
    margin-bottom: 0.5rem;
}

.logo-link {
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.8;
}

@media (max-width: 767.98px) {
    .privacy-card {
        padding: 2rem;
    }
    
    .privacy-card h1 {
        font-size: 1.8rem;
    }
    
    .privacy-card h2 {
        font-size: 1.3rem;
    }
}