/* Wise Capital Services - Custom Styles */

/* Alternative Color Schemes for Header Text */

/* Option 2: Emerald & Amber (Success & Growth)
.main-title {
    color: #10b981; // Bright emerald
}
.main-title:hover {
    color: #f59e0b; // Bright amber
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}
.tagline {
    color: #fbbf24; // Light amber
}
.tagline:hover {
    color: #34d399; // Light emerald
    text-shadow: 0 0 6px rgba(52, 211, 153, 0.4);
}
*/

/* Option 3: Electric Blue & Coral (Modern & Energetic)
.main-title {
    color: #3b82f6; // Electric blue
}
.main-title:hover {
    color: #ff7875; // Coral
    text-shadow: 0 0 8px rgba(255, 120, 117, 0.4);
}
.tagline {
    color: #fca5a5; // Light coral
}
.tagline:hover {
    color: #60a5fa; // Light blue
    text-shadow: 0 0 6px rgba(96, 165, 250, 0.4);
}
*/

/* Option 4: Violet & Orange (Creative & Dynamic)
.main-title {
    color: #8b5cf6; // Bright violet
}
.main-title:hover {
    color: #fb923c; // Bright orange
    text-shadow: 0 0 8px rgba(251, 146, 60, 0.4);
}
.tagline {
    color: #fdba74; // Light orange
}
.tagline:hover {
    color: #c084fc; // Light violet
    text-shadow: 0 0 6px rgba(192, 132, 252, 0.4);
}
*/

.navbar-brand {
    display: flex; /* 1. Use flexbox on the container */
    align-items: center; /* 2. Vertically align items */
}

/* Optional: Add a gap between the image and the text container */
.navbar-brand img {
    margin-right: 10px; /* Adjust spacing as needed */
}


.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text-container {
    display: flex; /* Arranges main title and tagline in a column */
    flex-direction: column;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Align text to the left */
    height: 55px; /* Matches the original image height */
}

.main-title {
    font-family: 'Playfair Display', serif; /* A stylish serif font often used for luxury/finance */
    font-size: 28px; /* Adjust as needed */
    font-weight: bold;
    color: #e6f4f2; /* Bright gold color */
    line-height: 1.2; /* Adjust spacing between lines */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow for better readability */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    cursor: pointer;
}

.main-title:hover {
    color: #00e5ff; /* Bright cyan on hover */
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4); /* Glowing effect */
    transform: scale(1.02); /* Slight scale effect */
}

.tagline {
    font-family: 'Open Sans', sans-serif; /* A clean sans-serif for readability */
    font-size: 14px; /* Smaller size for the tagline */
    color: #87ceeb; /* Light cyan color */
    margin-top: 2px; /* Small space between title and tagline */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Subtle shadow for better readability */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    cursor: pointer;
}

.tagline:hover {
    color: #ffeb3b; /* Bright yellow-gold on hover */
    text-shadow: 0 0 6px rgba(255, 235, 59, 0.4); /* Glowing effect */
    transform: translateY(-1px); /* Slight lift effect */
}


:root {
    --primary-color: #0f172a;
    --secondary-color: #1e40af;
    --accent-color: #059669;
    --dark-color: #020617;
    --light-color: #f0fdf4;
    --text-color: #334155;
    --border-color: #e2e8f0;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --teal-color: #0d9488;
    --cyan-color: #0891b2;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 76px; /* Account for fixed navbar */
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Navigation Styles */
.navbar {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%) !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    padding: 1rem 0;
    z-index: 1050;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: #e2e8f0 !important;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--cyan-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.2), rgba(8, 145, 178, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.25), rgba(8, 145, 178, 0.25));
}

.nav-link.active::before {
    width: 80%;
}

.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.dropdown-toggle:hover::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
    padding: 6rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-image {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.hero-icon {
    color: var(--primary-color);
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 6rem 0 4rem;
    margin-top: -76px;
    padding-top: calc(6rem + 76px);
}

/* Service Header */
.service-header {
    background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
    padding: 6rem 0 4rem;
    margin-top: -76px;
    padding-top: calc(6rem + 76px);
}

.service-icon-large {
    text-align: center;
    padding: 2rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.service-card .btn-outline-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.service-card .btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.4);
    color: white;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--cyan-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.25rem;
}

/* Coverage Cards */
.coverage-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.coverage-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.coverage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.125rem;
}

.coverage-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.coverage-features li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.coverage-features li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Office Image */
.office-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.team-image {
    width: 120px;
    height: 120px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.team-credentials {
    margin-top: 1rem;
}

/* Mission Cards */
.mission-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info-card {
    background: var(--light-color);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.emergency-contact {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border-left: 4px solid var(--warning-color);
}

/* Map Placeholder */
.map-placeholder {
    height: 400px;
    background: var(--light-color);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
}

.map-content {
    text-align: center;
    color: var(--text-color);
}

/* Why Choose Us Section */
.why-choose-section {
    background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/Financial_growth_background_pattern_e9e27cec.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: 1;
}

.why-choose-section .container {
    position: relative;
    z-index: 2;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/Family_financial_planning_scene_0a65fbda.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    background-color: var(--dark-color) !important;
}

.footer h5 {
    color: white;
    margin-bottom: 1rem;
}

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

.footer a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Insurance Specific Styles */
.insurance-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.insurance-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.25rem;
}

.insurance-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.insurance-features li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.insurance-features li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Protection Cards */
.protection-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.protection-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.protection-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.25rem;
}

/* Discount Cards */
.discount-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.discount-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.discount-icon {
    width: 60px;
    height: 60px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.125rem;
}

/* Calculation Tool */
.calculation-tool {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.calculator-section {
    background: var(--light-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.calc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
}

.calc-plus {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

/* Trust Cards */
.trust-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.trust-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Enhanced Mobile Optimization */
@media (max-width: 768px) {
    /* Global mobile adjustments */
    body {
        padding-top: 80px;
    }
    
    /* Typography improvements for mobile */
    h1 { font-size: 1.75rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.25rem !important; }
    h4 { font-size: 1.125rem !important; }
    .display-4 { font-size: 2rem !important; }
    .display-5 { font-size: 1.75rem !important; }
    .display-6 { font-size: 1.5rem !important; }
    .lead { font-size: 1rem !important; }

    /* Hero section mobile optimization */
    .hero-section {
        padding: 3rem 0 2rem;
        text-align: center;
        min-height: auto;
    }
    
    .hero-section .container {
        padding: 0 1rem;
    }

    /* Page headers mobile optimization */
    .page-header,
    .service-header {
        padding: 3rem 0 2rem;
        text-align: center;
        margin-top: -80px;
        padding-top: calc(3rem + 80px);
    }

    /* Grid adjustments */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Contact improvements */
    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .contact-icon {
        margin: 0 auto 1rem;
    }

    /* Card spacing improvements */
    .service-card,
    .feature-card,
    .coverage-card,
    .team-card,
    .trust-card,
    .blog-card {
        margin-bottom: 1.5rem;
    }

    /* Button improvements */
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-group-mobile {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-group-mobile .btn {
        width: 100%;
    }

    /* Form improvements */
    .form-control,
    .form-select {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 0.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    /* Image optimization */
    .hero-image img,
    .office-image img {
        max-height: 250px;
        width: 100%;
        object-fit: cover;
    }

    /* Section spacing */
    section {
        padding: 3rem 0 2rem;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 2rem !important;
    }

    /* Text alignment for mobile */
    .text-lg-start {
        text-align: center !important;
    }

    /* Enhanced Mobile Navbar */
    .navbar {
        padding: 0.75rem 0;
        min-height: 80px;
    }
    
    .navbar-brand {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .navbar-brand img {
        height: 35px !important;
    }

    .logo-text-container {
        height: auto;
    }

    .main-title {
        font-size: 16px !important;
        line-height: 1.1;
    }

    .tagline {
        font-size: 11px !important;
        margin-top: 1px;
    }
    
    /* Mobile menu improvements */
    .navbar-collapse {
        background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
        border-radius: 0.5rem;
        margin-top: 0.5rem;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        border-radius: 0.375rem;
        text-align: center;
    }

    /* Carousel Mobile Styles */
    .carousel-content {
        padding: 2rem 0;
        min-height: auto;
    }

    .carousel-text {
        padding: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .carousel-image img {
        max-height: 250px;
        width: 100%;
        object-fit: cover;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: -20px;
    }

    .carousel-control-next {
        right: -20px;
    }

    .highlight-item {
        font-size: 0.9rem;
    }

    /* Fix mobile service cards alignment */
    .service-card,
    .insurance-card,
    .protection-card {
        margin-bottom: 1rem;
        text-align: center;
    }

    /* Fix mobile blog layout */
    .blog-card {
        margin-bottom: 2rem;
    }

    .blog-preview-card {
        margin-bottom: 1.5rem;
    }

    .nav-link {
        margin: 0.25rem 0;
    }
}

/* Services Section Enhancement */
.services-section {
    background: linear-gradient(to bottom, white 0%, var(--light-color) 100%);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

/* Image Enhancements */
.hero-image, .office-image {
    position: relative;
}

.hero-image::after, .office-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(30, 58, 138, 0.1) 100%);
    border-radius: 1rem;
    pointer-events: none;
}

/* Enhanced Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Advanced Visual Enhancements */
.card-hover-effect {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card-hover-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.card-hover-effect:hover::before {
    left: 100%;
}

.card-hover-effect:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Gradient text effects */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Enhanced button styles */
.btn-modern {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

/* Improved card styles */
.modern-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Glass morphism effect */
.glass-effect {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

/* Accordion Styles */
.accordion-button:not(.collapsed) {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

/* Badge Styles */
.badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

/* Carousel Styles */
.carousel-section {
    background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
    position: relative;
}

.carousel-content {
    padding: 4rem 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.carousel-text {
    padding: 2rem;
}

.carousel-image {
    position: relative;
    text-align: center;
}

.carousel-image img {
    max-height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-item.active .carousel-image img {
    animation: slideInRight 0.8s ease-out;
}

.carousel-item:not(.active) .carousel-image img {
    transform: scale(0.95);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--cyan-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
    animation: float 4s ease-in-out infinite;
}

.floating-icon.icon-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
}

.floating-icon.icon-3 {
    bottom: 20%;
    right: 5%;
    animation-delay: 3s;
}

.highlight-item {
    font-weight: 500;
    color: var(--text-color);
}

.highlight-item i {
    font-size: 1.25rem;
}

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

/* Carousel Indicators */
.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    width: 40px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--border-color), #cbd5e1);
    border: none;
    opacity: 0.6;
    transition: all 0.4s ease;
    margin: 0 6px;
}

.carousel-indicators button.active {
    background: linear-gradient(90deg, var(--accent-color), var(--cyan-color));
    opacity: 1;
    transform: scaleX(1.3);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.3);
}

.carousel-control-prev {
    left: -30px;
}

.carousel-control-next {
    right: -30px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-10px) rotate(5deg); 
    }
    50% { 
        transform: translateY(0px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-5px) rotate(-3deg); 
    }
}

/* Updated Theme Colors */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.4);
}

.btn-outline-primary {
    color: var(--secondary-color);
    border: 2px solid var(--accent-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--cyan-color));
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

/* Navigation Ripple Effect */
.nav-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: navRipple 0.6s ease-out;
    pointer-events: none;
}

@keyframes navRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* Dropdown Menu Enhancements */
.dropdown-menu {
    border: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-radius: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, white 0%, var(--light-color) 100%);
    z-index: 1055;
}

.dropdown-item {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.1), transparent);
    transition: left 0.5s ease;
}

.dropdown-item:hover::before {
    left: 100%;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(8, 145, 178, 0.1));
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Custom Utilities */
.text-light {
    color: #d1d5db !important;
}

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

/* Blog Styles */
.blog-section {
    background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
}

.blog-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--cyan-color));
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-color);
    opacity: 0.8;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.blog-content h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.blog-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--secondary-color);
}

.blog-featured {
    border: 2px solid var(--accent-color);
    position: relative;
}

.blog-featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-color), var(--cyan-color));
    border-radius: 1rem;
    z-index: -1;
}

.blog-highlights {
    margin: 1rem 0;
}

.highlight-tag {
    display: inline-block;
    background: var(--light-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.highlight-tag i {
    margin-right: 0.25rem;
}

/* Blog Preview Cards (for carousel) */
.blog-preview-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.blog-preview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.blog-preview-card .blog-image {
    height: 180px;
}

.blog-preview-card .blog-content {
    padding: 1.5rem;
}

.blog-preview-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.blog-preview-card p {
    font-size: 0.875rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.blog-preview-card.featured {
    border: 2px solid var(--accent-color);
    background: linear-gradient(135deg, white 0%, var(--light-color) 100%);
}

.blog-preview-card.featured h5 {
    color: var(--accent-color);
}

/* Blog Carousel Specific */
#blogCarousel .carousel-control-prev,
#blogCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

#blogCarousel .carousel-control-prev:hover,
#blogCarousel .carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

#blogCarousel .carousel-control-prev {
    left: -25px;
}

#blogCarousel .carousel-control-next {
    right: -25px;
}

#blogCarousel .carousel-indicators {
    bottom: -60px;
    margin-bottom: 2rem;
}

#blogCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: 2px solid var(--accent-color);
    opacity: 0.6;
    transition: all 0.3s ease;
}

#blogCarousel .carousel-indicators button.active {
    background: var(--accent-color);
    opacity: 1;
    transform: scale(1.1);
}

/* Blog section spacing to prevent button overlap */
.blog-section {
    padding-bottom: 8rem !important;
}

.blog-section .text-center .btn {
    margin-top: 3rem;
}

/* Blog Page Specific */
.blog-filter-nav {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* Enhanced Mobile Blog Styles */
@media (max-width: 768px) {
    /* Blog layout improvements */
    .blog-section {
        padding: 2rem 0 6rem !important;
    }
    
    .blog-preview-card {
        margin-bottom: 1.5rem;
        border-radius: 1rem;
    }
    
    .blog-preview-card .blog-image {
        height: 200px;
        border-radius: 1rem 1rem 0 0;
    }

    .blog-preview-card .blog-content {
        padding: 1.5rem;
    }

    .blog-content {
        padding: 1.5rem;
        line-height: 1.6;
    }
    
    .blog-content h3 {
        font-size: 1.25rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .blog-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .blog-meta span {
        font-size: 0.85rem;
    }

    .blog-category {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .blog-highlights {
        margin: 1rem 0;
    }
    
    .highlight-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
        margin-right: 0.25rem;
        margin-bottom: 0.25rem;
    }

    /* Blog carousel mobile improvements */
    #blogCarousel {
        margin-bottom: 3rem;
    }
    
    #blogCarousel .carousel-control-prev,
    #blogCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
        opacity: 0.8;
    }

    #blogCarousel .carousel-control-prev {
        left: -10px;
    }

    #blogCarousel .carousel-control-next {
        right: -10px;
    }
    
    #blogCarousel .carousel-indicators {
        bottom: -40px;
    }
    
    /* Blog filter improvements */
    .blog-filter-nav {
        padding: 0.75rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .filter-btn {
        padding: 0.375rem 0.75rem;
        margin: 0.125rem;
        font-size: 0.85rem;
    }
    
    /* Reading improvements */
    .blog-article {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .blog-article h2 {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    
    .blog-article p {
        margin-bottom: 1.5rem;
    }
    
    .blog-article ul,
    .blog-article ol {
        margin-bottom: 1.5rem;
        padding-left: 1.5rem;
    }
    
    .blog-article li {
        margin-bottom: 0.5rem;
    }
}

/* Additional Insurance Styles */
.vehicle-card,
.industry-card,
.policy-card,
.risk-card,
.support-card,
.benefit-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.vehicle-card:hover,
.industry-card:hover,
.policy-card:hover,
.risk-card:hover,
.support-card:hover,
.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.vehicle-icon,
.industry-icon,
.benefit-icon,
.support-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.125rem;
}

.risk-icon {
    width: 60px;
    height: 60px;
    background: var(--warning-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.125rem;
}

.policy-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.policy-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    margin: 0;
}

.policy-features,
.risk-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    text-align: left;
}

.policy-features li,
.risk-list li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.policy-features li:before,
.risk-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Business Insurance Specific */
.bop-comparison {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.comparison-table {
    background: var(--light-color);
    border-radius: 0.5rem;
    padding: 1rem;
}

.comparison-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
}

.comparison-row:last-child {
    margin-bottom: 0;
}

.coverage-status.included {
    color: var(--success-color);
    font-size: 1.125rem;
}

.coverage-status.optional {
    color: var(--warning-color);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Estate Planning Specific */
.estate-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

/* Retirement Planning Specific */
.retirement-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Certification Items */
.certification-item {
    text-align: center;
    padding: 1.5rem;
}

/* About Page Specific */
.about-image-placeholder {
    background: var(--light-color);
    border-radius: 1rem;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
}

/* Responsive Grid Adjustments */
@media (min-width: 768px) {
    .estate-stats,
    .retirement-stats {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .estate-stats,
    .retirement-stats {
        grid-template-columns: 1fr;
    }
}

/* Custom styles for "Why Choose Us" section bullets */
.why-choose-section ul {
    list-style: none;
    padding-left: 0;
}

.why-choose-section li {
    position: relative;
    padding-left: 25px; /* Space for the custom bullet */
    margin-bottom: 15px;
    line-height: 1.6;
}

.why-choose-section li::before {
    content: "\f058"; /* FontAwesome check circle icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 3px; /* Adjust vertical alignment */
    font-size: 1.1em;
}

/* Gradient hover effect for services */
.service-card:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--cyan-color));
    color: white;
    border-color: transparent;
}

.service-card:hover .service-icon {
    background: white;
    color: var(--accent-color);
    box-shadow: none;
}

.service-card:hover h4 {
    color: white;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Specific changes for about.html */
.about-page-title {
    color: white !important;
}

/* Specific changes for contact.html */
.contact-page-title {
    color: white !important;
}

/* Placeholder for interactive map integration */
#map {
    height: 400px;
    width: 100%;
    border-radius: 1rem;
    border: 2px dashed var(--border-color);
}

/* Styles for the browser website icon */
.icon-transparent-background {
    background-color: transparent !important;
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-image {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-image img {
        max-width: 350px;
    }
    
    .office-image {
        margin-bottom: 2rem;
    }
    
    .services-section .col-lg-4 {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    .navbar {
        padding: 0.75rem 0;
        min-height: 80px;
    }
    
    .hero-section {
        padding: 2rem 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .page-header,
    .service-header {
        padding: 3rem 0 2rem;
        text-align: center;
    }
    
    .page-header h1,
    .service-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .contact-icon {
        margin: 0 auto 1rem;
    }
    
    .service-card,
    .feature-card,
    .blog-card {
        margin-bottom: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .display-4 {
        font-size: 2.25rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0 !important;
    }
    
    .stats-grid .stat-item {
        padding: 1.5rem;
    }
    
    .blog-card .blog-content {
        padding: 1.5rem;
    }
    
    .blog-featured .row {
        flex-direction: column;
    }
    
    .blog-featured .blog-image img {
        height: 200px;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .activities-gallery h2 {
        font-size: 2rem;
    }
    
    .modal-navigation {
        padding: 10px;
    }
    
    .modal-navigation .btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* Activities Gallery Styles */
.activities-gallery {
    position: relative;
    overflow: hidden;
}

.activities-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
                linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%), 
                linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    animation: move 2s linear infinite;
    opacity: 0.3;
    pointer-events: none;
}

@keyframes move {
    0% {
        background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    }
    100% {
        background-position: 20px 20px, 20px 30px, 30px 10px, 10px 20px;
    }
}

.gallery-item {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.gallery-item img {
    transition: all 0.3s ease;
    border-radius: 15px;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30,60,114,0.8), rgba(63,123,217,0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover::before {
    content: '\f065';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 1;
}

.modal-navigation {
    padding: 20px;
    background: rgba(0,0,0,0.5);
    margin-top: 20px;
    border-radius: 10px;
}

#imageModal .modal-content {
    background: rgba(0,0,0,0.95);
    border: none;
    border-radius: 15px;
}

#imageModal .modal-body img {
    border-radius: 10px;
}

@media (max-width: 768px) {
    .gallery-item {
        margin-bottom: 15px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .modal-navigation {
        padding: 15px;
    }
    
    .modal-navigation .btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .activities-gallery h2 {
        font-size: 2rem;
    }
}

/* White hamburger menu icon */
.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, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25) !important;
}

/* Blog Styles */
.blog-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-color);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-featured {
    border: 2px solid var(--primary-color);
}

.blog-highlights {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.highlight-tag {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Enhanced Form Styles */
.form-control,
.form-select {
    border-radius: 0.5rem;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:hover,
.form-select:hover {
    border-color: var(--secondary-color);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.contact-form .btn-primary {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border-radius: 0.75rem;
}

/* Form Validation Styles */
.was-validated .form-control:valid {
    border-color: var(--success-color);
    box-shadow: 0 0 0 0.2rem rgba(5, 150, 105, 0.25);
}

.was-validated .form-control:invalid {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25);
}

.form-text {
    color: var(--text-color);
    font-size: 0.875rem;
}

.invalid-feedback {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Service Icon Enhancements */
.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(5, 150, 105, 0.1));
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-card:hover .service-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Quick Links Section */

/* Enhanced Navigation */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 0.75rem;
    padding: 1rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding-left: 2rem;
}

.dropdown-item::before {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-item:hover::before {
    opacity: 1;
}

/* Blog Promotion Section */
.blog-promotion {
    background: linear-gradient(135deg, var(--accent-color), var(--cyan-color));
    color: white;
    padding: 3rem 0;
    margin: 4rem 0;
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
}

.blog-promotion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>') repeat;
    background-size: 20px 20px;
}

.blog-promotion .container {
    position: relative;
    z-index: 1;
}

.blog-promotion h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-promotion p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.blog-promotion .btn {
    background: white;
    color: var(--accent-color);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.blog-promotion .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.95);
}

/* Loading Spinner */
.spinner {
    border: 3px solid var(--light-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.alert-custom {
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    border: none;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(5, 150, 105, 0.1);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background-color: rgba(220, 38, 38, 0.1);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}