:root {
    --primary-color: #ff8c42;
    --secondary-color: #4a90e2;
    --tertiary-color: #52c41a;
    --light-color: #f8f9fa;
    --dark-color: #222a33;
    --accent-color: #ffa726;
    --text-light: #6c757d;
    --text-dark: #222a33;
    --success-color: #52c41a;
    --warning-color: #faad14;
    --danger-color: #ff4d4f;
    --gradient-primary: linear-gradient(135deg, #ff8c42 0%, #ffa726 100%);
    --gradient-secondary: linear-gradient(135deg, #4a90e2 0%, #52c41a 100%);
    --shadow-light: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-medium: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-heavy: 0 8px 32px rgba(0,0,0,0.16);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Theme-wide link color overrides (Bootstrap 5 variables) */
    --bs-link-color: #ff8a4c;
    --bs-link-hover-color: #ff6b35;

    /* Pagination color variables to avoid Bootstrap blue */
    --bs-pagination-color: #ff8a4c;
    --bs-pagination-hover-color: #ff6b35;
    --bs-pagination-active-bg: #ff8a4c;
    --bs-pagination-active-border-color: #ff8a4c;

    /* Override Bootstrap's primary color to match template theme */
    --bs-primary: #ff8c42;
    --bs-primary-rgb: 255, 140, 66;
    --bs-primary-text-emphasis: #cc5a1a;
    --bs-primary-bg-subtle: #fff2e6;
    --bs-primary-border-subtle: #ffe0cc;
}

/* Global link colors (override Bootstrap blue) */
a { color: var(--bs-link-color); }
a:hover, a:focus { color: var(--bs-link-hover-color); }

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    color: #222a33;
    font-size: 16px;
}



/* Smooth scroll for entire page */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Ensure smooth scrolling works on all browsers */
* {
    scroll-behavior: smooth;
}

/* Prevent scroll conflicts during animations */
body.scrolling {
    overflow-x: hidden;
}

/* Global smooth transitions for all interactive elements */
a, button, .btn, .card,
.blog-card, .social-icon,
.form-control, .form-select, input, textarea, select, .badge, .alert,
.list-group-item, .feature-icon-circle {
    transition: all 0.3s ease;
}

/* Enhanced hover transitions for specific elements */
.btn:hover, .card:hover,
.blog-card:hover, .social-icon:hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth transform transitions */
.btn, .card, .blog-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #222a33;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.7;
}

.text-muted {
    color: var(--text-light) !important;
}

/* Button Improvements */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 12px 24px;
    transition: var(--transition);
    border: none;
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Read More button styling */
.btn-link.text-primary {
    color: var(--primary-color) !important;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-link.text-primary:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(5px);
}

.btn-link.text-primary i {
    transition: var(--transition);
}

.btn-link.text-primary:hover i {
    transform: translateX(3px);
}

.logo-text {
    font-family: 'Chewy', cursive;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: none;
}

/* ===== TOPBAR STYLES - COMPLETELY REDESIGNED ===== */

/* Base Topbar Styles */
.topbar {
    background: var(--gradient-primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    z-index: 1000;
    overflow: hidden;
}

.topbar::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.6s ease;
}

.topbar:hover::before {
    left: 100%;
}

/* Desktop Topbar Styles (1200px and above) */
.topbar-desktop {
    padding: 12px 0;
}

.topbar-contact,
.topbar-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.topbar-info {
    justify-content: flex-end;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
}

.topbar-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.topbar-item i {
    font-size: 0.875rem;
    width: 16px;
    text-align: center;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-link i {
    font-size: 0.75rem;
}

/* Tablet Topbar Styles (768px to 1199px) */
.topbar-tablet {
    padding: 10px 0;
}

.topbar-content-tablet {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.topbar-right {
    flex-wrap: wrap;
}

/* Mobile Topbar Styles (767px and below) */
.topbar-mobile {
    padding: 8px 0;
}

.topbar-mobile-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.topbar-mobile-contact,
.topbar-mobile-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.topbar-item-mobile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.topbar-item-mobile:hover {
    background: rgba(255, 255, 255, 0.1);
}

.topbar-item-mobile i {
    font-size: 0.8rem;
    width: 14px;
    text-align: center;
}

.topbar-social-mobile {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-link-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-link-mobile:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-link-mobile i {
    font-size: 0.7rem;
}

/* ===== TOPBAR RESPONSIVE MEDIA QUERIES ===== */

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {
    .topbar-desktop {
        padding: 14px 0;
    }

    .topbar-item {
        font-size: 0.9rem;
        gap: 10px;
    }

    .social-link {
        width: 34px;
        height: 34px;
    }

    .social-link i {
        font-size: 0.8rem;
    }
}

/* Desktop (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .topbar-contact,
    .topbar-info {
        gap: 1.5rem;
    }
}

/* Tablet Landscape (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .topbar-tablet {
        padding: 9px 0;
    }

    .topbar-content-tablet {
        gap: 0.8rem;
    }

    .topbar-left,
    .topbar-right {
        gap: 1.2rem;
    }

    .topbar-item {
        font-size: 0.85rem;
        gap: 6px;
    }

    .social-link {
        width: 30px;
        height: 30px;
    }
}

/* Tablet Portrait (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .topbar-tablet {
        padding: 8px 0;
    }

    .topbar-content-tablet {
        flex-direction: column;
        gap: 0.5rem;
    }

    .topbar-left,
    .topbar-right {
        gap: 1rem;
        justify-content: center;
    }

    .topbar-item {
        font-size: 0.8rem;
        gap: 5px;
    }

    .social-link {
        width: 28px;
        height: 28px;
    }

    .social-link i {
        font-size: 0.7rem;
    }
}

/* Mobile Large (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .topbar-mobile {
        padding: 7px 0;
    }

    .topbar-mobile-row {
        gap: 0.8rem;
        padding: 3px 0;
    }

    .topbar-mobile-contact,
    .topbar-mobile-info {
        gap: 0.8rem;
    }

    .topbar-item-mobile {
        font-size: 0.75rem;
        gap: 5px;
    }

    .social-link-mobile {
        width: 26px;
        height: 26px;
    }

    .social-link-mobile i {
        font-size: 0.65rem;
    }
}

/* Mobile Small (480px to 575px) */
@media (min-width: 480px) and (max-width: 575px) {
    .topbar-mobile {
        padding: 6px 0;
    }

    .topbar-mobile-row {
        gap: 0.6rem;
        padding: 2px 0;
    }

    .topbar-mobile-contact,
    .topbar-mobile-info {
        gap: 0.6rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .topbar-item-mobile {
        font-size: 0.7rem;
        gap: 4px;
        padding: 1px 4px;
    }

    .topbar-item-mobile i {
        font-size: 0.75rem;
        width: 12px;
    }

    .social-link-mobile {
        width: 24px;
        height: 24px;
    }

    .social-link-mobile i {
        font-size: 0.6rem;
    }
}

/* Mobile Extra Small (below 480px) */
@media (max-width: 479px) {
    .topbar-mobile {
        padding: 5px 0;
    }

    .topbar-mobile-row {
        gap: 0.4rem;
        padding: 2px 0;
        flex-direction: column;
    }

    .topbar-mobile-contact,
    .topbar-mobile-info {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }

    .topbar-item-mobile {
        font-size: 0.85rem;
        gap: 3px;
        padding: 1px 3px;
    }

    .topbar-item-mobile i {
        font-size: 0.7rem;
        width: 10px;
    }

    .topbar-social-mobile {
        gap: 4px;
        margin-top: 2px;
    }

    .social-link-mobile {
        width: 22px;
        height: 22px;
    }

    .social-link-mobile i {
        font-size: 0.55rem;
    }
}




/* ===== NAVBAR/MENU STYLES ===== */

/* Base Navbar Styles */
.navbar {
    background-color: white !important;
    box-shadow: var(--shadow-light);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-nav .nav-link {
    color: #222a33;
    font-weight: 500;
    padding: 12px 16px;
    position: relative;
    border-radius: var(--border-radius);
    transition: var(--transition);
    margin: 0 4px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .dropdown-toggle:hover,
.navbar-nav .dropdown-toggle.active {
    color: var(--primary-color);
    background-color: rgba(255, 140, 66, 0.1);
    border-radius: var(--border-radius);
}

/* Active nav link underline - ONLY for regular nav links, NOT dropdown toggles */
.navbar-nav .nav-link.active:not(.dropdown-toggle):after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ===== DROPDOWN MENU STYLES ===== */

/* Dropdown Menu Styling */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    background: white;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    color: #222a33;
    border-left: 3px solid transparent;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(255, 140, 66, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.dropdown-item i {
    width: 20px;
    color: var(--primary-color);
}

.dropdown-item.active i {
    color: white !important;
}

.dropdown-divider {
    margin: 0.75rem 1.5rem;
    border-color: rgba(255, 140, 66, 0.15);
    border-width: 1px;
}

/* ===== DROPDOWN TOGGLE STYLES ===== */

/* Desktop Dropdown Toggle Styling */
.navbar-nav .dropdown-toggle {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    position: relative !important;
    flex-wrap: nowrap !important;
}

.navbar-nav .dropdown-toggle::after {
    content: '\f107' !important; /* FontAwesome down arrow */
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    border: none !important;
    margin-left: 0.25rem !important;
    transition: transform 0.3s ease !important;
    font-size: 0.75rem !important;
    vertical-align: middle !important;
    display: inline-block !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg) !important;
}

/* Force caret visibility for ALL dropdown toggles */
.navbar-nav .dropdown-toggle::after,
.navbar-nav .dropdown-toggle.active::after,
.navbar-nav .dropdown-toggle:hover::after,
.navbar-nav .dropdown-toggle:focus::after {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Override Bootstrap's default caret completely */
.dropdown-toggle::after {
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    content: '\f107' !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    vertical-align: middle !important;
    margin-left: 0.25rem !important;
    margin-right: 0 !important;
    font-size: 0.75rem !important;
    transition: transform 0.3s ease !important;
    display: inline-block !important;
    line-height: 1 !important;
}

/* ===== DROPDOWN ACTIVE STATES ===== */

/* Override Bootstrap's default blue active state completely */
.dropdown-item.active,
.dropdown-item:active,
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active,
.navbar-nav .dropdown-item.active,
.navbar-nav .dropdown-item:active {
    background-color: #ff8c42 !important;
    background-image: none !important;
    color: white !important;
    border: none !important;
    outline: none !important;
    border-left: 4px solid rgba(255, 255, 255, 0.3) !important;
    padding-left: 1.25rem !important;
    font-weight: 600 !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Ensure active dropdown items maintain proper styling */
.dropdown-item.active:hover,
.dropdown-item.active:focus,
.navbar-nav .dropdown-item.active:hover,
.navbar-nav .dropdown-item.active:focus {
    background-color: #ffa726 !important;
    color: white !important;
    background-image: none !important;
    transform: translateX(2px) !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15) !important;
}

/* Force override any Bootstrap active states */
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus,
.dropdown-menu > li > a.active,
.dropdown-menu > li > a.active:hover,
.dropdown-menu > li > a.active:focus {
    background-color: #ff8c42 !important;
    color: white !important;
    background-image: none !important;
}

/* ===== NAVBAR RESPONSIVE STYLES ===== */

/* Mobile Navbar Styles (767px and below) */
@media (max-width: 767px) {
    .navbar {
        padding: 0.75rem 0 !important;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .navbar-nav .nav-link {
        padding: 12px 16px;
        margin: 2px 0;
        color: #222a33 !important;
        font-weight: 500;
        font-size: 1rem;
        border-radius: var(--border-radius);
        transition: all 0.3s ease;
        border-bottom: none !important;
        text-decoration: none !important;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 138, 61, 0.1);
        color: var(--primary-color) !important;
        text-decoration: none !important;
    }

    .navbar-nav .nav-link.active {
        background-color: rgba(255, 138, 61, 0.15);
        color: var(--primary-color) !important;
        font-weight: 600;
        border-bottom: none !important;
        text-decoration: none !important;
    }

    .navbar-collapse {
        background: white;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-medium);
        margin-top: 1rem;
        padding: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-toggler {
        border: none;
        padding: 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    /* Mobile Dropdown Toggle Styling */
    .navbar-nav .dropdown-toggle {
        border-bottom: none !important;
        text-decoration: none !important;
        position: relative;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .navbar-nav .dropdown-toggle:hover,
    .navbar-nav .dropdown-toggle:focus,
    .navbar-nav .dropdown-toggle[aria-expanded="true"] {
        background-color: rgba(255, 138, 61, 0.1);
        color: var(--primary-color) !important;
        border-bottom: none !important;
        text-decoration: none !important;
    }

    .navbar-nav .dropdown-toggle::after {
        content: '\f107' !important; /* FontAwesome down arrow */
        font-family: 'Font Awesome 5 Free' !important;
        font-weight: 900 !important;
        border: none !important;
        margin-left: auto !important;
        transition: transform 0.3s ease !important;
        font-size: 0.75rem !important;
        display: inline-block !important;
        vertical-align: 0 !important;
        line-height: 1 !important;
    }

    .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg) !important;
    }

    /* Mobile Dropdown Menu */
    .navbar-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none;
        box-shadow: none;
        background: rgba(248, 249, 250, 0.95);
        margin: 0.5rem 0 0 1rem;
        border-radius: var(--border-radius);
        display: none; /* Hidden by default */
        opacity: 0;
        visibility: hidden;
        width: calc(100% - 1rem);
        float: none;
        transition: all 0.3s ease;
        border-left: 3px solid var(--primary-color);
        padding: 0.5rem 0;
    }

    /* Show dropdown when toggled */
    .navbar-nav .dropdown-menu.show {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav .dropdown-item {
        padding: 0.75rem 1rem;
        color: #222a33;
        font-weight: 500;
        border-radius: 0;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .navbar-nav .dropdown-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus {
        background-color: rgba(255, 140, 66, 0.1) !important;
        color: var(--primary-color) !important;
    }

    .navbar-nav .dropdown-item.active,
    .navbar-nav .dropdown-item:active {
        background-color: #ff8c42 !important;
        color: white !important;
        border-left: 4px solid rgba(255, 255, 255, 0.3) !important;
        font-weight: 600 !important;
        background-image: none !important;
    }

    /* Center Book Appointment button in mobile menu */
    .navbar-nav .nav-item.ms-lg-3 {
        margin-left: 0 !important;
        margin-top: 1rem;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .navbar-nav .nav-item.ms-lg-3 .btn {
        margin: 0 auto;
        min-width: 200px;
        text-align: center;
    }
}

/* Tablet/iPad Navbar Styles (768px to 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .navbar {
        padding: 1rem 0;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .dropdown-menu {
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-medium);
    }
}

/* Desktop Navbar Enhancements (1025px and above) */
@media only screen and (min-width: 1025px) {
    .navbar-nav .nav-link:hover {
        transform: translateY(-1px);
    }

    .navbar-nav .nav-link:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* ===== TESTIMONIAL STYLES ===== */

/* Base Testimonial Styles */
.testimonial-card {
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: none;
    background: white;
    transition: var(--transition);
    will-change: transform;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-medium);
}

.testimonial-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
    background: var(--gradient-primary);
    padding: 2px;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    position: relative;
    padding-left: 2rem;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary-color);
    font-family: serif;
    line-height: 1;
}

/* ===== TESTIMONIAL SLIDER ===== */

/* Custom Testimonial Slider */
.testimonial-slider-wrapper {
    position: relative;
    overflow: visible;
    min-height: 500px;
    padding-bottom: 100px;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%) scale(0.95);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    filter: blur(2px);
    overflow: visible;
    min-height: 400px;
}

.testimonial-slide .testimonial-card {
    position: relative;
    z-index: 2;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
    filter: blur(0);
}

.testimonial-slide.active .testimonial-card {
    transform: translateY(0);
}

.testimonial-slide.prev {
    transform: translateX(-100%) scale(0.95);
    filter: blur(2px);
}

.testimonial-slide.next {
    transform: translateX(100%) scale(0.95);
    filter: blur(2px);
}

/* ===== TESTIMONIAL NAVIGATION ===== */

/* Testimonial Navigation */
.testimonial-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 100%;
    padding-top: 1rem;
}

.testimonial-dots {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.testimonial-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 140, 66, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 2px solid transparent;
}

.testimonial-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.testimonial-dot.active {
    background: var(--gradient-primary);
    transform: scale(1.3);
    box-shadow: var(--shadow-light);
}

.testimonial-dot.active::before {
    opacity: 0.2;
    transform: scale(1);
}

.testimonial-dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
    box-shadow: var(--shadow-light);
}

.testimonial-dot:hover::before {
    opacity: 0.1;
    transform: scale(1);
}

/* ===== TESTIMONIAL RESPONSIVE STYLES ===== */

/* Mobile Testimonial Styles (767px and below) */
@media (max-width: 767px) {
    .testimonial-slider-wrapper {
        min-height: 550px;
        padding-bottom: 60px;
        margin-bottom: 2rem;
        overflow: visible;
    }

    .testimonial-card {
        min-height: 450px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        border-radius: 20px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        overflow: visible;
    }

    .testimonial-card .card-body {
        padding: 2rem 1.5rem;
        min-height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow: visible;
    }

    .testimonial-card .row {
        flex-direction: column;
        flex-grow: 1;
        align-items: center;
        text-align: center;
    }

    .testimonial-card .col-md-4,
    .testimonial-card .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .testimonial-card .col-md-4 {
        margin-bottom: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .testimonial-card .col-md-8 {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
    }

    .testimonial-img {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .testimonial-quote {
        font-size: 1rem;
        padding-left: 0;
        line-height: 1.6;
        max-height: none;
        overflow: visible;
        text-overflow: unset;
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        -webkit-box-orient: unset;
        text-align: center;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        white-space: normal;
    }

    .testimonial-quote::before {
        display: none;
    }

    .testimonial-stars {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    /* Hide testimonial navigation dots on mobile */
    .testimonial-navigation {
        display: none !important;
    }

    .testimonial-dots {
        display: none !important;
    }

    .testimonial-dot {
        display: none !important;
    }

    /* Additional mobile spacing fixes */
    .testimonial-section,
    .testimonials-section,
    section:has(.testimonial-slider-wrapper) {
        padding-bottom: 80px !important;
        overflow: visible;
    }

    /* Ensure testimonial section has enough height */
    .testimonials-section {
        min-height: 600px;
    }

    /* Improve testimonial content layout */
    .testimonial-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Better name and title styling */
    .testimonial-card h5 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #333;
    }

    .testimonial-card .text-muted {
        font-size: 0.9rem;
        margin-bottom: 0;
        color: #666;
    }
}

/* Tablet/iPad Testimonial Styles (768px to 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .testimonial-slider-wrapper {
        min-height: 400px;
        padding-bottom: 80px;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-img {
        width: 80px;
        height: 80px;
    }

    .testimonial-quote {
        font-size: 1rem;
        line-height: 1.6;
    }

    .testimonial-navigation {
        margin-top: 2.5rem;
    }

    .testimonial-dot {
        width: 13px;
        height: 13px;
    }
}

/* Desktop Testimonial Styles (1025px and above) */
@media only screen and (min-width: 1025px) {
    .testimonial-slider-wrapper {
        min-height: 400px;
        padding-bottom: 80px;
    }

    .testimonial-card {
        padding: 2.5rem 2rem;
    }

    .testimonial-img {
        width: 90px;
        height: 90px;
    }

    .testimonial-quote {
        font-size: 1.1rem;
        line-height: 1.7;
        padding-left: 2rem;
    }

    .testimonial-quote::before {
        font-size: 3rem;
        top: -10px;
    }

    .testimonial-navigation {
        margin-top: 3rem;
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
        width: 100%;
        padding-top: 1rem;
    }

    .testimonial-dot {
        width: 14px;
        height: 14px;
    }

    .testimonial-dot:hover {
        transform: scale(1.2);
    }

    .testimonial-dot.active {
        transform: scale(1.3);
    }
}

/* Extra Small Mobile Testimonial Styles (576px and below) */
@media (max-width: 576px) {
    .testimonial-slider-wrapper {
        min-height: 500px;
        padding-bottom: 50px;
        overflow: visible;
    }

    .testimonial-card {
        padding: 1.5rem 1rem;
        min-height: 400px;
        border-radius: 16px;
        overflow: visible;
    }

    .testimonial-card .card-body {
        padding: 1.5rem 1rem;
        min-height: 350px;
        overflow: visible;
        padding: 1rem !important;
    }

    .testimonial-img {
        width: 70px;
        height: 70px;
    }

    .testimonial-quote {
        font-size: 0.9rem;
        padding-left: 0;
        line-height: 1.5;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        text-align: center;
    }

    .testimonial-quote::before {
        display: none;
    }

    /* Ensure dots are hidden on extra small screens too */
    .testimonial-navigation,
    .testimonial-dots,
    .testimonial-dot {
        display: none !important;
    }

    .testimonial-card h5 {
        font-size: 1.1rem;
    }

    .testimonial-card .text-muted {
        font-size: 0.85rem;
    }

    .testimonial-stars {
        font-size: 1rem;
    }

    /* Fix for content cutting issue */
    .testimonial-quote {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }
}

/* ===== TEAM SECTION STYLES ===== */

/* Base Team Styles */
.team-card {
    border-radius: var(--border-radius-lg);
    overflow: visible;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-light);
    text-align: center;
    background: white;
    margin-top: 60px;
    margin-bottom: 2rem;
    position: relative;
    will-change: transform;
}

.team-card:hover {
    box-shadow: var(--shadow-heavy);
}

.team-card .card-body {
    padding: 80px 1.5rem 2rem 1.5rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 320px;
    text-align: center;
    position: relative;
    gap: 0;
}

.team-card .card-body > * {
    width: 100%;
}

/* Team Image Styling */
.team-img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 60px !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 4px solid var(--primary-color) !important;
    box-shadow: var(--shadow-medium) !important;
    margin: -60px auto 1.5rem auto !important;
    display: block !important;
    transition: var(--transition);
    position: relative;
    z-index: 2;
    clip-path: circle(50%) !important;
    background-size: cover !important;
    background-position: center !important;
}

.team-card:hover .team-img {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

/* Team Content Styling */
.team-card h5 {
    color: #222a33;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 0;
    font-size: 1.2rem;
    text-align: center;
}

.team-card .text-muted {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    color: var(--primary-color);
    font-weight: 500;
    text-align: center;
}

.team-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
    margin-top: 0;
    text-align: center;
    max-width: 100%;
    padding: 0;
}

/* ===== TEAM SOCIAL ICONS ===== */

/* Team social icons - always visible */
.team-card .social-icon {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition);
    background: rgba(255, 140, 66, 0.1);
    border: 2px solid rgba(255, 140, 66, 0.2);
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 0;
    text-decoration: auto;
}

.team-card .social-icon:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px) scale(1.1);
}

.team-card:hover .social-icon {
    opacity: 1;
    transform: translateY(0);
}

.team-card .social-icon:nth-child(1) {
    transition-delay: 0.1s;
}

.team-card .social-icon:nth-child(2) {
    transition-delay: 0.2s;
}

.team-card .social-icon:nth-child(3) {
    transition-delay: 0.3s;
}

/* Team social icons container */
.team-card .d-flex {
    margin-top: 0;
    margin-bottom: 0;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    display: flex !important;
}

/* Team section specific spacing */
.team-section-spacing {
    padding-bottom: 200px !important;
    margin-bottom: 80px !important;
}

/* ===== TEAM RESPONSIVE STYLES ===== */

/* Mobile Team Styles (767px and below) */
@media (max-width: 767px) {
    /* Adjust team section spacing for mobile */
    .team-section-spacing {
        padding-bottom: 150px !important;
        margin-bottom: 40px !important;
    }

    /* Ensure last row of team cards has proper spacing */
    .team-section .row.g-4 {
        margin-bottom: 2rem !important;
    }

    .team-card {
        margin-top: 50px !important;
        margin-bottom: 1.5rem !important;
    }

    .team-card .card-body {
        padding: 70px 1rem 1.5rem 1rem !important;
        min-height: 280px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    .team-img {
        width: 100px !important;
        height: 100px !important;
        border-radius: 50px !important;
        margin: -50px auto 1rem auto !important;
        clip-path: circle(50%) !important;
        object-fit: cover !important;
    }

    .team-card h5 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .team-card .text-muted {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }

    .team-card p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
    }

    .team-card .social-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.8rem !important;
    }

    .team-card .d-flex {
        gap: 0.75rem !important;
    }

    /* Disable hover effects on mobile */
    .team-card:hover {
        transform: none;
    }
}

/* Tablet/iPad Team Styles (768px to 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .team-card {
        margin-top: 55px;
        margin-bottom: 2rem;
    }

    .team-card .card-body {
        padding: 75px 1.25rem 1.75rem 1.25rem !important;
        min-height: 300px;
    }

    .team-img {
        width: 110px !important;
        height: 110px !important;
        border-radius: 55px !important;
        margin: -55px auto 1.25rem auto !important;
    }

    .team-card h5 {
        font-size: 1.15rem;
        margin-bottom: 0.6rem;
    }

    .team-card .text-muted {
        font-size: 0.92rem;
        margin-bottom: 1.25rem;
    }

    .team-card p {
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 1.75rem;
    }

    .team-card .social-icon {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .team-card .d-flex {
        gap: 0.9rem;
    }
}

/* Desktop Team Styles (1025px and above) */
@media only screen and (min-width: 1025px) {
    .team-card {
        margin-top: 60px;
        margin-bottom: 2rem;
    }

    .team-card .card-body {
        padding: 80px 1.5rem 2rem 1.5rem !important;
        min-height: 320px;
    }

    .team-img {
        width: 120px !important;
        height: 120px !important;
        border-radius: 60px !important;
        margin: -60px auto 1.5rem auto !important;
    }

    .team-card h5 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .team-card .text-muted {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .team-card p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .team-card .social-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .team-card .d-flex {
        gap: 1rem;
    }

    /* Enhanced hover effects for desktop */
    .team-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }
}

/* Extra Small Mobile Team Styles (576px and below) */
@media (max-width: 576px) {
    /* Adjust team section spacing for extra small mobile */
    .team-section-spacing {
        padding-bottom: 120px !important;
        margin-bottom: 30px !important;
    }

    /* Ensure last row of team cards has proper spacing */
    .team-section .row.g-4 {
        margin-bottom: 1.5rem !important;
    }

    .team-card {
        margin-top: 45px !important;
        margin-bottom: 1.25rem !important;
    }

    .team-card .card-body {
        padding: 60px 0.75rem 1.25rem 0.75rem !important;
        min-height: 260px !important;
    }

    .team-img {
        width: 90px !important;
        height: 90px !important;
        border-radius: 45px !important;
        margin: -45px auto 0.75rem auto !important;
    }

    .team-card h5 {
        font-size: 1rem !important;
        margin-bottom: 0.4rem !important;
    }

    .team-card .text-muted {
        font-size: 0.85rem !important;
        margin-bottom: 0.75rem !important;
    }

    .team-card p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.25rem !important;
    }

    .team-card .social-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.75rem !important;
    }

    .team-card .d-flex {
        gap: 0.5rem !important;
    }
}

/* ===== SERVICE SECTION STYLES ===== */

/* Base Service Styles */
.service-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-light);
    background: white;
    will-change: transform;
    transform: translateY(0);
    padding: 2rem;
    text-align: center;
    height: 100%;
}

.service-card:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-8px);
}

.service-card .card-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

/* Service Icon Styling */
.service-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Service Content Styling */
.service-card h5 {
    color: #222a33;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-card .btn {
    margin-top: auto;
    align-self: center;
}

/* ===== SERVICE RESPONSIVE STYLES ===== */

/* Mobile Service Styles (767px and below) */
@media (max-width: 767px) {
    .service-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
        min-height: 280px;
    }

    .service-card .card-body {
        padding: 1.5rem 1rem;
        min-height: 250px;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .service-card h5 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    /* Disable hover effects on mobile */
    .service-card:hover {
        transform: none;
        box-shadow: var(--shadow-light);
    }

    .service-card:hover .service-icon {
        transform: none;
    }
}

/* Tablet/iPad Service Styles (768px to 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .service-card {
        padding: 1.75rem;
        margin-bottom: 2rem;
        min-height: 320px;
    }

    .service-card .card-body {
        padding: 1.75rem 1.25rem;
        min-height: 280px;
    }

    .service-icon {
        font-size: 2.75rem;
        margin-bottom: 1.25rem;
    }

    .service-card h5 {
        font-size: 1.2rem;
        margin-bottom: 0.9rem;
    }

    .service-card p {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 1.4rem;
    }

    .service-card:hover {
        transform: translateY(-5px);
    }

    .service-card:hover .service-icon {
        transform: scale(1.05) rotate(3deg);
    }
}

/* Desktop Service Styles (1025px and above) */
@media only screen and (min-width: 1025px) {
    .service-card {
        padding: 2rem;
        margin-bottom: 2rem;
        min-height: 350px;
    }

    .service-card .card-body {
        padding: 2rem 1.5rem;
        min-height: 300px;
    }

    .service-icon {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .service-card h5 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    /* Enhanced hover effects for desktop */
    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(255, 140, 66, 0.2);
    }

    .service-card:hover .service-icon {
        transform: scale(1.1) rotate(5deg);
    }
}

/* Extra Small Mobile Service Styles (576px and below) */
@media (max-width: 576px) {
    .service-card {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
        min-height: 260px;
    }

    .service-card .card-body {
        padding: 1.25rem 0.75rem;
        min-height: 220px;
    }

    .service-icon {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }

    .service-card h5 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .service-card p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .service-card .btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}









        white-space: nowrap;
    }
}





/* ===== PRICING SECTION STYLES ===== */

/* ===== PRICING SECTION STYLES ===== */

/* Base Pricing Styles */
.pricing-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-light);
    background: white;
    will-change: transform;
    transform: translateY(0);
    text-align: center;
    height: 100%;
    position: relative;
}

.pricing-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-8px);
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box, var(--gradient-primary) border-box;
    position: relative;
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.pricing-card .card-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.pricing-card .list-group-item {
    border: none;
    padding: 0.75rem 0;
    background: transparent;
    color: var(--text-muted);
}

.pricing-card .list-group-item i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.pricing-card .btn {
    margin-top: auto;
}

/* ===== CALLOUT SECTION STYLES ===== */

/* Base Callout Styles */
.callout-section {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.callout-section::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="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.callout-section .container {
    position: relative;
    z-index: 2;
}

.callout-section h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.callout-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.callout-section .btn {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    font-weight: 600;
    padding: 12px 30px;
}

.callout-section .btn:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* ===== CLIENT SECTION STYLES ===== */

/* Base Client Styles */
.client-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.clients-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.clients-section .container {
    max-width: 1200px;
}

.clients-section .row {
    justify-content: center;
    align-items: center;
}

.clients-section .col-6,
.clients-section .col-md-4,
.clients-section .col-lg-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

/* ===== FOOTER SECTION STYLES ===== */

/* Base Footer Styles */
footer {
    background-color: #222a33;
    color: white;
    padding: 60px 0 0;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

/* Footer contact icons */
footer .text-primary {
    color: var(--primary-color) !important;
}

footer i.text-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

footer .social-icon {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

footer .social-icon:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ===== PRICING/CALLOUT/CLIENT/FOOTER RESPONSIVE STYLES ===== */

/* Mobile Styles (767px and below) */
@media (max-width: 767px) {
    /* Pricing Mobile */
    .pricing-card {
        margin-bottom: 2rem;
    }

    .pricing-card.popular {
        transform: none;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .pricing-card:hover {
        transform: none;
        box-shadow: var(--shadow-light);
    }

    .pricing-price {
        font-size: 2.5rem;
    }

    .pricing-header {
        padding: 1.25rem;
    }

    .pricing-card .card-body {
        padding: 1.5rem 1rem;
    }

    /* Callout Mobile */
    .callout-section {
        padding: 60px 0;
        text-align: center;
    }

    .callout-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .callout-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .callout-section .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    /* Client Mobile */
    .clients-section {
        padding: 40px 0;
    }

    .clients-section .col-6,
    .clients-section .col-md-4,
    .clients-section .col-lg-2 {
        min-height: 80px;
        margin-bottom: 1rem;
    }

    .client-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
    }

    .client-logo {
        max-height: 50px;
    }

    /* Footer Mobile */
    .footer {
        text-align: center;
    }

    .footer .col-md-3,
    .footer .col-md-4 {
        margin-bottom: 2rem;
    }

    footer {
        padding: 3rem 0 1.5rem 0 !important;
    }

    footer h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    footer p {
        font-size: 0.9rem;
    }
}

/* Tablet/iPad Styles (768px to 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    /* Pricing Tablet */
    .pricing-card {
        margin-bottom: 2rem;
    }

    .pricing-card.popular {
        transform: scale(1.03);
    }

    .pricing-price {
        font-size: 2.75rem;
    }

    .pricing-header {
        padding: 1.4rem;
    }

    /* Callout Tablet */
    .callout-section {
        padding: 70px 0;
    }

    .callout-section h2 {
        font-size: 2rem;
    }

    .callout-section p {
        font-size: 1.05rem;
    }

    /* Client Tablet */
    .clients-section {
        padding: 50px 0;
    }

    .clients-section .col-6,
    .clients-section .col-md-4,
    .clients-section .col-lg-2 {
        min-height: 90px;
    }

    .client-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.75rem;
    }

    .client-logo {
        max-height: 55px;
    }

    /* Footer Tablet */
    footer {
        padding: 50px 0 0;
    }
}

/* Desktop Styles (1025px and above) */
@media only screen and (min-width: 1025px) {
    /* Pricing Desktop */
    .pricing-card {
        margin-bottom: 2rem;
    }

    .pricing-card.popular {
        transform: scale(1.05);
    }

    .pricing-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(255, 140, 66, 0.25);
    }

    .pricing-card.popular:hover {
        transform: scale(1.05) translateY(-8px);
    }

    .pricing-price {
        font-size: 3rem;
    }

    .pricing-header {
        padding: 1.5rem;
    }

    .pricing-card .card-body {
        padding: 2rem 1.5rem;
    }

    /* Callout Desktop */
    .callout-section {
        padding: 80px 0;
    }

    .callout-section h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .callout-section p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .callout-section .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* Client Desktop */
    .clients-section {
        padding: 60px 0;
    }

    .clients-section .col-6,
    .clients-section .col-md-4,
    .clients-section .col-lg-2 {
        min-height: 100px;
    }

    .client-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 2rem;
    }

    .client-logo {
        max-height: 120px;
    }

    .client-logo:hover {
        transform: scale(1.05);
    }

    /* Footer Desktop */
    footer {
        padding: 60px 0 0;
    }

    footer h5 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    footer p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Extra Small Mobile Styles (576px and below) */
@media (max-width: 576px) {
    /* Pricing Extra Small */
    .pricing-card {
        margin-bottom: 1.5rem;
    }

    .pricing-card .card-body {
        padding: 1.25rem 0.75rem;
    }

    .pricing-price {
        font-size: 2.25rem;
    }

    .pricing-header {
        padding: 1rem;
    }

    .pricing-card .list-group-item {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }

    /* Callout Extra Small */
    .callout-section {
        padding: 50px 0;
    }

    .callout-section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .callout-section p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .callout-section .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    /* Client Extra Small */
    .clients-section {
        padding: 30px 0;
    }

    .clients-section .col-6,
    .clients-section .col-md-4,
    .clients-section .col-lg-2 {
        min-height: 70px;
        margin-bottom: 0.5rem;
    }

    .client-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    .client-logo {
        max-height: 60px;
    }

    /* Footer Extra Small */
    footer {
        padding: 2.5rem 0 1rem 0 !important;
    }

    footer h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    footer p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .footer-links a {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
}

/* Special Spacing and Layout Adjustments */
@media (max-width: 767px) {
    /* Special spacing for CTA sections */
    .callout-section {
        padding: 2.5rem 0 !important;
        margin: 2rem 0 !important;
    }

    /* Ensure proper spacing between sections */
    .pricing-section {
        padding: 3rem 0 !important;
    }

    .clients-section {
        padding: 2rem 0 !important;
    }
}

.hero-section {

.hero-section {

.hero-section {

.hero-section {

.hero-section {
    height: 50vh;
    min-height: 600px;
    color: white;
}



.section-title {
    position: relative;
    margin-bottom: 3rem;
    font-weight: 700;
    color: #222a33;
    font-size: 2.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}









.blog-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-light);
    background: white;
}

.blog-card:hover {
    box-shadow: var(--shadow-heavy);
}







.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: white;
    margin-right: 12px;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 140, 66, 0.3);
    margin-right: 8px;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: white;
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

/* Contact page social icons - Brand Colors */
.card .social-icon {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    width: auto;
    height: auto;
    border-radius: 0;
    margin-right: 20px;
    padding: 0;
    transition: all 0.3s ease;
}

.card .social-icon:hover {
    transform: translateY(-2px) scale(1.1);
    background: transparent;
}

/* Facebook icon - Blue */
.card .social-icon .fa-facebook-f {
    color: #1877f2;
}

.card .social-icon:hover .fa-facebook-f {
    color: #145dbf;
}

/* Twitter icon - Blue */
.card .social-icon .fa-twitter {
    color: #1da1f2;
}

.card .social-icon:hover .fa-twitter {
    color: #1a91da;
}

/* Instagram icon - Pink */
.card .social-icon .fa-instagram {
    color: #e4405f;
}

.card .social-icon:hover .fa-instagram {
    color: #c13584;
}

/* LinkedIn icon - Blue */
.card .social-icon .fa-linkedin-in {
    color: #0077b5;
}

.card .social-icon:hover .fa-linkedin-in {
    color: #005885;
}

.copyright {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    margin-top: 30px;
}

/* Responsive Design Improvements */
@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Page header tablet spacing */
    section.page-header-section {
        padding: 2rem 0 !important;
    }

    .hero-section {
        height: 70vh;
        min-height: 500px;
    }



    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
}









    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
        padding: 10px;
        grid-auto-rows: minmax(180px, auto);
        align-items: start;
    }

    .masonry-item.tall {
        grid-row-end: span 2;
    }









    /* Enhanced mobile touch interactions */
    .btn {
        min-height: 44px; /* iOS recommended touch target size */
        padding: 12px 24px;
    }

    /* Mobile form improvements */
    .form-control {
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Contact page mobile optimization */
    .contact-icon-bubble {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    /* Pagination mobile optimization */
    .pagination .page-link {
        padding: 8px 12px;
        font-size: 0.9rem;
        min-width: 40px;
        margin: 0 2px;
    }

    /* Blog pagination mobile */
    .blog-pagination .page-item .page-link {
        padding: 10px 14px !important;
        font-size: 0.9rem !important;
        min-width: 40px !important;
    }

    /* Accordion mobile optimization */
    .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .accordion-body {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    h1 { font-size: 2rem; line-height: 1.2; }
    h2 { font-size: 1.75rem; line-height: 1.3; }
    h3 { font-size: 1.5rem; line-height: 1.4; }

    .logo-text {
        font-size: 1.5rem;
    }





    .btn-lg {
        width: 100%;
        margin-bottom: 1rem;
        padding: 16px 24px;
    }

    /* Hero section mobile optimization */
    .hero-section {
        height: 60vh;
        min-height: 450px;
    }



    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }









    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }



    /* Card mobile optimization */
    .card {
        margin-bottom: 1.5rem;
    }

    .blog-card {
        margin-bottom: 1.5rem;
    }

    /* Contact form mobile optimization */
    .form-floating > label {
        font-size: 0.9rem;
    }




}

/* Extra small screens (phones in landscape) */
@media (max-width: 480px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .btn-lg {
        font-size: 1rem;
        padding: 14px 24px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .contact-icon-bubble {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }

    .pagination .page-link {
        padding: 6px 10px;
        font-size: 0.85rem;
        min-width: 36px;
    }

    /* Blog pagination small screens */
    .blog-pagination .page-item .page-link {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
        min-width: 36px !important;
    }

    /* Special spacing for team section on extra small mobile */
    section.team-section-spacing {
        padding: 60px 0 100px 0 !important;
        margin-bottom: 30px !important;
    }
}



    .hero-content {
        padding-top: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
}

/* High DPI screens optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Smooth scrolling with reduced motion support */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enhanced Focus styles for accessibility */
.btn:focus,

.social-icon:focus,
.form-control:focus,
.accordion-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.2);
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices */
    .btn:hover {
        transform: none; /* Disable hover transforms on touch devices */
    }

    .card:hover {
        transform: none;
    }







    /* Better touch feedback */
    .btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .card:active {
        transform: scale(0.99);
        transition: transform 0.1s ease;
    }
}



/* Improved card hover effects */
.blog-card {
    will-change: transform;
}

/* Better form styling */
.form-control {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 66, 0.25);
}
























/* ===== TOGGLE PILL BREADCRUMB FOR ABOUT.HTML ===== */

/* SUPER FORCE Override - Test Visibility */
.pill-breadcrumb {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 2rem auto !important;
    background: #2d3748 !important;
    border-radius: 50px !important;
    padding: 6px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
    border: 3px solid #10b981 !important;
    overflow: hidden !important;
    width: auto !important;
    height: 60px !important;
    min-width: 250px !important;
}

/* SUPER FORCE Pill Button Styles */
.pill-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 30px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
    border-radius: 46px !important;
    min-width: 110px !important;
    text-align: center !important;
    position: relative !important;
    line-height: 1.2 !important;
    height: 48px !important;
}

/* SUPER FORCE Inactive Button (Home) */
.pill-btn:not(.active) {
    color: #10b981 !important;
    background: transparent !important;
    font-size: 1.1rem !important;
}

.pill-btn:not(.active):hover {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #10b981 !important;
    transform: scale(1.02) !important;
}

/* SUPER FORCE Active Button (About) */
.pill-btn.active {
    background: #10b981 !important;
    color: white !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.4) !important;
}

/* ULTIMATE FORCE - Reset Bootstrap and Apply Custom */
nav[aria-label="breadcrumb"] {
    all: unset !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 2rem 0 !important;
}

nav[aria-label="breadcrumb"] * {
    all: unset !important;
}

/* REBUILD FROM SCRATCH */
nav[aria-label="breadcrumb"] .pill-breadcrumb {
    display: flex !important;
    background: #2d3748 !important;
    border-radius: 50px !important;
    padding: 6px !important;
    border: 3px solid #10b981 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
    height: 60px !important;
    align-items: center !important;
}

nav[aria-label="breadcrumb"] .pill-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 30px !important;
    height: 48px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 46px !important;
    min-width: 110px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

nav[aria-label="breadcrumb"] .pill-btn:not(.active) {
    color: #10b981 !important;
    background: transparent !important;
}

nav[aria-label="breadcrumb"] .pill-btn.active {
    background: #10b981 !important;
    color: white !important;
    font-weight: 800 !important;
}

/* Force Responsive Design */
@media (max-width: 768px) {
    nav[aria-label="breadcrumb"] .pill-breadcrumb {
        margin: 1.5rem auto !important;
        padding: 3px !important;
    }

    nav[aria-label="breadcrumb"] .pill-btn {
        padding: 12px 22px !important;
        font-size: 0.9rem !important;
        min-width: 85px !important;
    }
}

@media (max-width: 480px) {
    nav[aria-label="breadcrumb"] .pill-breadcrumb {
        margin: 1rem auto !important;
        padding: 3px !important;
    }

    nav[aria-label="breadcrumb"] .pill-btn {
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
        min-width: 75px !important;
    }
}

/* Modern Blog Pagination Design - Orange Theme */
.pagination {
    margin: 3rem 0 2rem 0;
    justify-content: center;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    border: 1px solid #dee2e6;
    color: #6c757d;
    transition: all 0.3s ease;
    padding: 10px 14px;
    font-weight: 500;
    min-width: 44px;
    text-align: center;
    background: white;
    box-shadow: none;
}

.pagination .page-link:hover {
    background: rgba(255, 138, 76, 0.1);
    border-color: #ff8a4c;
    color: #ff8a4c;
    transform: none;
    box-shadow: none;
}

.pagination .page-item.active .page-link {
    background: #ff8a4c !important;
    border-color: #ff8a4c !important;
    color: white !important;
    font-weight: 600;
    box-shadow: none;
    transform: none;
}

.pagination .page-item.active .page-link:hover {
    background: #ff6b35 !important;
    border-color: #ff6b35 !important;
    color: white !important;
    transform: none;
}

.pagination .page-item.disabled .page-link {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination .page-item.disabled .page-link:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    transform: none;
}

/* Blog page pagination wrapper styling - Override all Bootstrap defaults */
.blog-pagination .pagination {
    gap: 6px !important;
}

.blog-pagination .page-item .page-link {
    border-radius: 10px !important;
    border: 1px solid #eaeaea !important;
    background: #fff !important;
    color: #6c757d !important;
    padding: 12px 16px !important;
    min-width: 44px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease !important;
}

.blog-pagination .page-item .page-link:hover {
    background: rgba(255, 138, 76, 0.08) !important;
    color: #ff8a4c !important;
    border-color: #ffd7c2 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px rgba(255, 138, 76, 0.15) !important;
}

.blog-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #ff8a4c, #ff6b35) !important;
    color: #fff !important;
    border-color: #ff6b35 !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 22px rgba(255, 107, 53, 0.3) !important;
}

.blog-pagination .page-item.disabled .page-link {
    background: #f3f4f6 !important;
    border-color: #e5e7eb !important;
    color: #a1a1aa !important;
    box-shadow: none !important;
}

/* Make Previous/Next a bit wider */
.blog-pagination .page-item:first-child .page-link,
.blog-pagination .page-item:last-child .page-link {
    padding: 12px 20px !important;
}

    border-color: #dee2e6;
    color: #6c757d;
    transform: none;
}

/* Previous/Next buttons - Simplified */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    color: #ff8a4c;
    font-weight: 600;
    padding: 12px 20px;
}

.pagination .page-item:first-child .page-link:hover,
.pagination .page-item:last-child .page-link:hover {
    color: #ff6b35;
    background: rgba(255, 138, 76, 0.1);
}

.pagination .page-item.disabled:first-child .page-link,
.pagination .page-item.disabled:last-child .page-link {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    opacity: 0.5;
}

.pagination .page-item.disabled:first-child .page-link:hover,
.pagination .page-item.disabled:last-child .page-link:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}
    box-shadow: none;
}

/* Contact page icon bubbles */
.contact-icon-bubble {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    flex-shrink: 0;
}

.contact-icon-bubble:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Ensure all icons use consistent colors */
.text-info {
    color: var(--primary-color) !important;
}

.bg-info {
    background-color: var(--primary-color) !important;
}

.border-info {
    border-color: var(--primary-color) !important;
}

/* Override any blue colored elements to use primary color */
.text-blue,
.text-primary {
    color: var(--primary-color) !important;
}

.bg-blue,
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Social media icons consistent styling */
.social-icons a {
    color: var(--primary-color);
    transition: var(--transition);
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Feature icon circles */
.feature-icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    flex-shrink: 0;
}

.feature-icon-circle:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.feature-icon-circle i {
    color: white !important;
}

/* Print styles */
@media print {
    .topbar,

    .btn {
        display: none !important;
    }

    .container {
        max-width: none !important;
        padding: 0 !important;
    }

    .section-title {
        color: #000 !important;
        page-break-after: avoid;
    }

    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #e9ecef;
        --text-light: #adb5bd;
        --light-color: #343a40;
        --dark-color: #f8f9fa;
    }

    body.dark-mode {
        background-color: #1a1a1a;
        color: #e9ecef;
    }

    body.dark-mode .card {
        background-color: #2d3748;
        border-color: #4a5568;
    }




}

/* Enhanced FAQ Section Styling */
.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::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"><defs><pattern id="paw" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ff8c42" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23paw)"/></svg>');
    z-index: 0;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

.faq-section h3 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.faq-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Enhanced accordion styling with smooth transitions */
.accordion {
    --bs-accordion-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-button {
    background: white;
    border: none;
    border-radius: var(--border-radius-lg) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
    color: var(--dark-color);
    border-left: 4px solid transparent;
}

.accordion-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.accordion-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    border-left-color: var(--primary-color);
}

.accordion-button:hover::before {
    opacity: 0.05;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 12px 35px rgba(255, 140, 66, 0.25);
    transform: translateY(-3px);
    border-left-color: var(--accent-color);
}

.accordion-button:not(.collapsed)::before {
    opacity: 1;
}

.accordion-button:focus {
    box-shadow: 0 12px 35px rgba(255, 140, 66, 0.25);
    border-color: var(--primary-color);
    outline: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff8c42'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 1.5rem;
    height: 1.5rem;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.accordion-item {
    border: none;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: var(--transition);
    background: white;
}

.accordion-item:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-collapse {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.accordion-body {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    padding: 2rem;
    border-top: 1px solid rgba(255, 140, 66, 0.1);
    animation: fadeInUp 0.4s ease-out;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #222a33;
    position: relative;
}

.accordion-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* FAQ Icons styling */
.accordion-button i {
    font-size: 1.1rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) i {
    opacity: 1;
    transform: scale(1.1);
}

.accordion-body .row {
    margin-top: 1rem;
}

.accordion-body h6 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.accordion-body ul li {
    padding: 0.25rem 0;
    font-size: 0.95rem;
}

.accordion-body .text-primary {
    color: var(--primary-color) !important;
}

/* Responsive FAQ improvements */
@media (max-width: 767px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-section h3 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .accordion-button {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .accordion-button i {
        font-size: 1rem;
    }

    .accordion-body {
        padding: 1.5rem;
    }

    .accordion-body .row {
        margin-top: 0.5rem;
    }

    .accordion-body .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* Smooth FAQ Accordion Animation */
.accordion-collapse {
    transition: all 0.4s ease-in-out !important;
}

.accordion-button {
    transition: all 0.3s ease;
    border: none;
    background: white;
    box-shadow: none;
    font-weight: 600;
    color: #222a33;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.1), rgba(255, 107, 53, 0.1));
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button::after {
    transition: transform 0.3s ease;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff8c42'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    animation: fadeInUp 0.4s ease;
}

@media (max-width: 576px) {
    .accordion-button {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .accordion-body {
        padding: 1.25rem;
    }

    .accordion-body h6 {
        font-size: 0.9rem;
    }

    .accordion-body ul li {
        font-size: 0.85rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced alert styling */
.alert {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-light);
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

/* Improved badge styling */
.badge {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.5em 0.75em;
}

.badge.bg-primary {
    background: var(--gradient-primary) !important;
}



/* Enhanced list group */
.list-group-item {
    border-radius: var(--border-radius) !important;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.list-group-item:hover {
    background-color: rgba(255, 140, 66, 0.05);
    transform: translateX(5px);
}

/* Go To Top Button - Clean Orange Design */
.scroll-to-top {
    position: fixed !important;
    left: auto !important;
    right: 20px !important;
    bottom: 20px !important;
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #ff8a4c, #ff6b35) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    z-index: 9999 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #ff6b35, #ff8a4c) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4) !important;
}

.scroll-to-top.show {
    display: flex !important;
}

.scroll-to-top i {
    color: white !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 15px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
    }

    .scroll-to-top i {
        font-size: 1.1rem !important;
    }
}





/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 140, 66, 0.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes elegantFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
        filter: blur(1px);
    }
    60% {
        opacity: 0.8;
        transform: scale(1.02) translateY(-2px);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes smoothFadeOut {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
    100% {
        opacity: 0;
        transform: scale(0.9) translateY(25px);
        filter: blur(1px);
    }
}

@keyframes overlayFadeIn {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    100% {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

@keyframes spinnerBounceIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spinnerPop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Stellar-style Spinner Animations */
@keyframes stellarSpinnerPop {
    0% {
        opacity: 0;
        transform: scale(0.6) translateY(20px) rotateX(15deg);
        filter: blur(3px);
    }
    60% {
        opacity: 0.8;
        transform: scale(1.05) translateY(-5px) rotateX(-2deg);
        filter: blur(0.5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotateX(0deg);
        filter: blur(0);
    }
}

@keyframes stellarSpin {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    25% {
        transform: rotate(90deg) scale(1.05);
        opacity: 0.9;
    }
    50% {
        transform: rotate(180deg) scale(1);
        opacity: 0.8;
    }
    75% {
        transform: rotate(270deg) scale(1.05);
        opacity: 0.9;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 1;
    }
}

@keyframes stellarFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(40px) rotateX(10deg);
        filter: blur(4px);
    }
    30% {
        opacity: 0.3;
        transform: scale(0.95) translateY(15px) rotateX(5deg);
        filter: blur(2px);
    }
    70% {
        opacity: 0.9;
        transform: scale(1.03) translateY(-8px) rotateX(-2deg);
        filter: blur(0.5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotateX(0deg);
        filter: blur(0);
    }
}

/* Enhanced Stellar loading animation */
@keyframes stellarImageLoad {
    0% {
        opacity: 0;
        transform: scale(1.1);
        filter: blur(6px) brightness(1.2);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.02);
        filter: blur(1px) brightness(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0) brightness(1);
    }
}

/* Standardized Section Spacing */
section {
    padding: 80px 0 !important;
}

/* Exclude hero sections from global padding */
section.hero,
section.hero-section,
.hero-section {
    padding: 0 !important;
}

/* Page header sections with reduced padding */
section.page-header-section {
    padding: 40px 0 !important;
}

section.py-5 {
    padding: 80px 0 !important;
}

/* Override py-5 for page headers */
section.page-header-section.py-5 {
    padding: 40px 0 !important;
}



section.py-4 {
    padding: 60px 0 !important;
}

/* Responsive section spacing */
@media (max-width: 767px) {
    section {
        padding: 60px 0 !important;
    }

    section.py-5 {
        padding: 60px 0 !important;
    }

    /* Special spacing for team section on mobile */
    section.team-section-spacing {
        padding: 60px 0 120px 0 !important;
        margin-bottom: 40px !important;
    }

    section.py-4 {
        padding: 40px 0 !important;
    }



    /* Ensure proper mobile container spacing and prevent horizontal overflow */
    body {
        overflow-x: hidden;
    }

    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
        overflow-x: hidden;
    }



    /* Fix blog post footer spacing on mobile */
    .post-footer .row {
        margin-bottom: 1rem;
    }

    .post-footer .col-md-6:first-child {
        margin-bottom: 1rem;
    }

    .post-tags {
        margin-bottom: 1rem;
    }

    .post-share {
        text-align: left !important;
    }

    /* Fix blog navigation buttons on mobile */
    .post-navigation .col-md-6:first-child {
        margin-bottom: 1rem;
        text-align: left !important;
    }

    .post-navigation .col-md-6:last-child {
        text-align: left !important;
    }

    .post-navigation .btn {
        width: 100%;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    /* Comprehensive mobile section spacing fixes */
    section {
        padding: 3rem 0 !important;
    }

    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }





    .py-4 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .py-3 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Fix specific section spacing */
    .hero-section,
    .about-section,
    .blog-section,
    .contact-section {
        padding: 3rem 0 !important;
    }

    /* Reduce spacing between consecutive sections */
    section + section {
        padding-top: 2rem !important;
    }



    /* Page header mobile spacing - reduced padding */
    section.page-header-section {
        padding: 1.5rem 0 !important;
    }



    /* Fix topbar spacing */
    .topbar {
        padding: 0.5rem 0 !important;
    }





    /* Enhanced hover effects for better user experience */
    .card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    }







    .blog-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12) !important;
    }



    .social-icon:hover {
        transform: translateY(-3px) scale(1.1) !important;
        box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3) !important;
    }

    .btn:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    }

    .btn-primary:hover {
        box-shadow: 0 8px 20px rgba(255, 140, 66, 0.4) !important;
    }



    .feature-icon-circle:hover {
        transform: rotate(5deg) scale(1.1) !important;
        box-shadow: 0 5px 15px rgba(255, 140, 66, 0.2) !important;
    }
}

/* ===== CAROUSEL STYLES ===== */

/* Base Carousel Styles - Centered Position */
.carousel-caption {
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    opacity: 0 !important;
    z-index: 10 !important;
}

.carousel-item {
    height: 85vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: transform 0.8s ease-in-out;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.carousel-item .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Carousel Active State - Show Caption */
.carousel-item.active .carousel-caption {
    opacity: 1 !important;
    transform: translate(-50%, -50%) !important;
    transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s !important;
}

.carousel-item .row {
    position: relative;
    z-index: 1;
}

/* Carousel Image Enhancement */
.carousel-item img {
    transition: transform 8s ease-out;
    transform: scale(1);
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-item.active img {
    transform: scale(1.05);
}

/* Remove unwanted spacing */
.carousel,
.carousel-inner {
    margin-bottom: 0 !important;
}

/* ===== CAROUSEL CONTROLS & INDICATORS ===== */

/* Desktop Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 140, 66, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Desktop Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    margin: 0 6px;
}

.carousel-indicators .active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

/* ===== CAROUSEL CAPTION RESPONSIVE STYLES ===== */

/* Desktop Carousel Caption (1025px and above) - Centered */
@media only screen and (min-width: 1025px) {
    .hero-section .carousel-caption {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(44, 62, 80, 0.65) 100%) !important;
        border-radius: var(--border-radius-lg) !important;
        padding: 2.5rem 2rem !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
        max-width: 600px !important;
        width: 100% !important;
        text-align: center !important;
        color: white !important;
        overflow: hidden !important;
        backdrop-filter: blur(1px) !important;
        bottom: auto !important;
    }

    .hero-section .carousel-caption::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(255, 140, 66, 0.1) 0%, rgba(74, 144, 226, 0.1) 100%);
        z-index: -1;
    }

    .hero-section .carousel-caption::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--gradient-primary);
        z-index: 1;
    }

    .carousel-caption h1 {
        font-size: 3rem;
        font-weight: 800;
        margin: 2rem;
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        line-height: 1.2;
        position: relative;
        animation: fadeInDown 1.2s ease-out 0.3s both;
    }

    .carousel-caption h1::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: var(--gradient-primary);
        border-radius: 2px;
        animation: expandWidth 1s ease-out 1s both;
    }

    .carousel-caption p {
        font-size: 1.2rem;
        font-weight: 400;
        margin-bottom: 1.5rem;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
        line-height: 1.6;
        animation: fadeInUp 1.2s ease-out 0.6s both;
    }

    .carousel-caption .btn,
    .carousel-caption .btn-light {
        padding: 1rem 2.5rem !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        border-radius: var(--border-radius-lg) !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        position: relative !important;
        overflow: hidden !important;
        border: 2px solid white !important;
        background: white !important;
        color: #222a33 !important;
        animation: bounceIn 1.2s ease-out 0.9s both !important;
    }

    .carousel-caption .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--gradient-primary);
        transition: left 0.4s ease;
        z-index: -1;
    }

    .carousel-caption .btn:hover,
    .carousel-caption .btn-light:hover {
        color: white !important;
        border-color: var(--primary-color) !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 10px 25px rgba(255, 140, 66, 0.4) !important;
    }

    .carousel-caption .btn:hover::before {
        left: 0;
    }

    .carousel-caption .btn i {
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }

    .carousel-caption .btn:hover i {
        transform: translateX(5px);
    }
}

/* iPad Carousel Caption (768px to 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

    
    .hero-section {
        height: 75vh !important;
        min-height: 550px !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .carousel-item {
        height: 60vh !important;
        min-height: 550px !important;
    }

    .hero-section .carousel-caption {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(44, 62, 80, 0.65) 100%) !important;
        border-radius: 20px !important;
        padding: 2rem 1.8rem !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6) !important;
        max-width: 500px !important;
        width: 90% !important;
        text-align: center !important;
        color: white !important;
        backdrop-filter: blur(1px) !important;
        right: auto !important;
        bottom: auto !important;
    }

    .carousel-caption h1 {
        font-size: 2.5rem !important;
        font-weight: 700 !important;
        color: white !important;
        margin-bottom: 2rem !important;
        line-height: 1.2 !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    }

    .carousel-caption h1::after {
        display: none !important;
    }

    .carousel-caption p {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.5 !important;
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6) !important;
    }

    .carousel-caption .btn,
    .carousel-caption .btn-light {
        font-size: 0.95rem !important;
        padding: 0.8rem 2rem !important;
        border-radius: 15px !important;
        background: white !important;
        color: #222a33 !important;
        border: 2px solid white !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3) !important;
        transition: all 0.3s ease !important;
    }

    .carousel-caption .btn:hover,
    .carousel-caption .btn-light:hover {
        background: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
        color: white !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4) !important;
    }

    /* iPad Carousel Controls */
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.8;
        transition: all 0.3s ease;
    }

    .carousel-control-prev {
        left: 20px;
    }

    .carousel-control-next {
        right: 20px;
    }

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: rgba(0, 0, 0, 0.7);
        opacity: 1;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
        background-size: 100% 100%;
    }

    /* iPad Carousel Indicators */
    .carousel-indicators {
        bottom: 20px;
        margin-bottom: 0;
    }

    .carousel-indicators [data-bs-target] {
        width: 12px;
        height: 12px;
        margin: 0 4px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        border: 2px solid rgba(255, 255, 255, 0.8);
        opacity: 0.7;
    }

    .carousel-indicators .active {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        opacity: 1;
    }
}

/* Mobile Carousel Caption (767px and below) */
@media (max-width: 767px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }

    .carousel-item {
        height: 70vh;
        min-height: 500px;
    }

    .hero-section .carousel-caption {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(44, 62, 80, 0.65) 100%) !important;
        border-radius: 15px !important;
        padding: 2rem 1.2rem !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6) !important;
        max-width: 320px !important;
        width: 60% !important;
        text-align: center !important;
        color: white !important;
        backdrop-filter: blur(1px) !important;
    }

    .carousel-caption h1 {
        font-size: 1.3rem;
        font-weight: 700;
        color: white !important;
        margin-bottom: 0.7rem;
        line-height: 1.2;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }

    .carousel-caption h1::after {
        display: none;
    }

    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    }

    .carousel-caption .btn,
    .carousel-caption .btn-light {
        padding: 0.7rem 1.4rem !important;
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        transition: all 0.3s ease !important;
        background: white !important;
        color: #222a33 !important;
        border: 2px solid white !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3) !important;
    }

    .carousel-caption .btn:hover,
    .carousel-caption .btn-light:hover {
        background: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
        color: white !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4) !important;
    }

    /* Mobile Carousel Controls */
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.8;
        transition: all 0.3s ease;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: rgba(0, 0, 0, 0.7);
        opacity: 1;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
        background-size: 100% 100%;
    }

    /* Mobile Carousel Indicators */
    .carousel-indicators {
        bottom: 20px;
        margin-bottom: 0;
    }

    .carousel-indicators [data-bs-target] {
        width: 12px;
        height: 12px;
        margin: 0 4px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        border: 2px solid rgba(255, 255, 255, 0.8);
        opacity: 0.7;
    }

    .carousel-indicators .active {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        opacity: 1;
    }
}

/* Extra Small Mobile Carousel Caption (576px and below) */
@media (max-width: 576px) {
    .hero-section {
        height: 60vh;
        min-height: 450px;
    }

    .carousel-item {
        height: 60vh;
        min-height: 450px;
    }

    .hero-section .carousel-caption {
        max-width: 280px !important;
        width: 60% !important;
        padding: 2rem 1.2rem !important;
        bottom: auto;
    }

    .carousel-caption h1 {
        font-size: 1.6rem !important;
        margin-bottom: 2rem !important;
    }

    .carousel-caption p {
        font-size: 0.8rem !important;
        margin-bottom: 1.5rem !important;
    }

    .carousel-caption .btn,
    .carousel-caption .btn-light {
        font-size: 0.75rem !important;
        padding: 0.6rem 1rem !important;
        width: 75% !important;
        background: white !important;
        color: #222a33 !important;
        border: 2px solid white !important;
        border-radius: 10px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3) !important;
    }

    /* Extra Small Mobile Carousel Controls */
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 18px;
        height: 18px;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

/* Landscape Orientation Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: 80vh;
        min-height: 300px;
    }

    .carousel-item {
        height: 80vh;
    }
}

/* ===== CAROUSEL ANIMATIONS ===== */

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(2px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(10px);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(15px);
        filter: blur(1px);
    }
    60% {
        opacity: 1;
        transform: scale(1.02) translateY(-2px);
        filter: blur(0);
    }
    80% {
        transform: scale(0.98) translateY(1px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* Carousel Animation Elements - Individual Animations */
.carousel-caption h1 {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.carousel-item.active .carousel-caption h1 {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.carousel-caption p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out 0.4s, transform 0.6s ease-out 0.4s;
}

.carousel-item.active .carousel-caption p {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.carousel-caption .btn {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: opacity 0.6s ease-out 0.6s, transform 0.6s ease-out 0.6s;
}

.carousel-item.active .carousel-caption .btn {
    opacity: 1;
    transform: scale(1) translateY(0);
    animation: bounceIn 0.8s ease-out 0.6s both;
}

/* ===== END OF CAROUSEL STYLES ===== */




/* ===== PORTFOLIO MASONRY LAYOUT ===== */

/* Portfolio Section */
.portfolio-section {
    background: #f8f9fa !important;
    position: relative !important;
    padding: 60px 0 !important;
}

/* Ensure portfolio section on index.html also gets proper styling */
#portfolio {
    background: #f8f9fa !important;
    position: relative !important;
    padding: 60px 0 !important;
}

.portfolio-filter-section {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

/* Portfolio Filter Buttons */
.portfolio-filters {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.filter-btn {
    background: transparent !important;
    border: 2px solid #ff8c42 !important;
    color: #ff8c42 !important;
    padding: 12px 24px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    outline: none !important;
    text-decoration: none !important;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ff8c42 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.3) !important;
    border-color: #ff8c42 !important;
}



.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    line-height: 0;
}

.portfolio-card img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
}

/* Consistent image heights for grid layout */
.portfolio-card img {
    height: 250px;
    object-fit: cover;
}

.portfolio-item:hover .portfolio-card img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 15px;
}

/* ===== Merged: gallery.css (Home & Portfolio) ===== */
.home-gallery,
.portfolio-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    grid-auto-rows: auto;
}

.home-gallery-item,
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: white;
    transition: all 0.4s ease;
    width: 100%; /* Let grid handle sizing */
}

.home-gallery-item:hover,
.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-card,
.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    line-height: 0;
}

.gallery-card img,
.portfolio-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 15px;
}

.gallery-overlay,
.portfolio-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255, 138, 76, 0.9), rgba(255, 107, 53, 0.9));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.home-gallery-item:hover .gallery-overlay,
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.home-gallery-item:hover .gallery-card img,
.portfolio-item:hover .portfolio-card img { transform: scale(1.1); }

.gallery-content,
.portfolio-content {
    text-align: center;
    color: white;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.home-gallery-item:hover .gallery-content,
.portfolio-item:hover .portfolio-content { transform: translateY(0); }

.gallery-content h4,
.portfolio-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-content p,
.portfolio-content p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px 0 40px 0;
    flex-wrap: wrap;
}

/* Responsive Gallery */
@media (max-width: 1200px) {
    .home-gallery, .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .home-gallery, .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px; padding: 0 10px;
    }
}
@media (max-width: 480px) {
    .home-gallery, .portfolio-grid { grid-template-columns: 1fr; gap: 20px; }
    .portfolio-filters { gap: 10px; margin: 20px 0 30px 0; }
}

/* Portfolio Item Transitions for Smooth Filtering */
.portfolio-item {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: visible;
    display: block;
}

/* Fade out animation for hidden items */
.portfolio-item.fade-out {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    visibility: hidden;
}

/* Hidden class for filtering - completely removes from layout */
.portfolio-item.hidden {
    display: none !important;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    visibility: hidden;
    pointer-events: none;
}

/* Fade in animation for visible items */
.portfolio-item.fade-in {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
    display: block;
}

/* Ensure smooth grid reflow after filtering */
.portfolio-grid {
    transition: all 0.3s ease;
}




/* Responsive Design */
@media (max-width: 991px) {
    .portfolio-item {
        width: calc(50% - 10px); /* 2 columns on tablets */
        margin-right: 20px;
    }

    .portfolio-item:nth-child(2n) {
        margin-right: 0;
    }

    .portfolio-item:nth-child(3n) {
        margin-right: 20px;
    }
}

@media (max-width: 767px) {
    .portfolio-section {
        padding: 40px 0;
    }

    .portfolio-item {
        width: calc(50% - 10px);
        margin-bottom: 15px;
    }

    .portfolio-item:nth-child(6n+1) .portfolio-card img { height: 220px; }
    .portfolio-item:nth-child(6n+2) .portfolio-card img { height: 180px; }
    .portfolio-item:nth-child(6n+3) .portfolio-card img { height: 260px; }
    .portfolio-item:nth-child(6n+4) .portfolio-card img { height: 200px; }
    .portfolio-item:nth-child(6n+5) .portfolio-card img { height: 240px; }
    .portfolio-item:nth-child(6n+6) .portfolio-card img { height: 200px; }

    .portfolio-item:hover {
        transform: translateY(-4px);
    }

    .portfolio-item:hover .portfolio-card img {
        transform: scale(1.02);
    }


}

@media (max-width: 480px) {
    .portfolio-section {
        padding: 30px 0;
    }

    .portfolio-item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .portfolio-item:nth-child(odd) .portfolio-card img { height: 240px; }
    .portfolio-item:nth-child(even) .portfolio-card img { height: 200px; }

    .portfolio-item:hover {
        transform: none;
    }
}

/* ===== MOBILE CAROUSEL BUTTON TEXT FIX ===== */
/* Comprehensive fix for carousel button text visibility on mobile */
@media screen and (max-width: 768px) {
    .carousel-caption .btn,
    .carousel-caption .btn-light,
    .carousel-caption .btn-lg,
    .carousel-caption a.btn {
        background: white !important;
        color: #222a33 !important;
        border: 2px solid white !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        /* Prevent any webkit or browser-specific text color issues */
        -webkit-text-fill-color: #222a33 !important;
        -moz-text-fill-color: #222a33 !important;
        text-shadow: none !important;
    }

    .carousel-caption .btn:hover,
    .carousel-caption .btn-light:hover,
    .carousel-caption .btn-lg:hover,
    .carousel-caption a.btn:hover {
        background: var(--primary-color) !important;
        color: white !important;
        border-color: var(--primary-color) !important;
        -webkit-text-fill-color: white !important;
        -moz-text-fill-color: white !important;
    }

    /* Ensure button text is always visible */
    .carousel-caption .btn *,
    .carousel-caption .btn-light *,
    .carousel-caption .btn-lg *,
    .carousel-caption a.btn * {
        color: inherit !important;
        -webkit-text-fill-color: inherit !important;
        -moz-text-fill-color: inherit !important;
    }
}

/* ===== MOBILE TEAM SECTION SPACING FIX ===== */
/* Comprehensive fix for team section bottom spacing on mobile */
@media screen and (max-width: 768px) {
    /* Ensure team section has adequate bottom spacing */
    .team-section,
    section.team-section-spacing {
        padding-bottom: 140px !important;
        margin-bottom: 40px !important;
        overflow: visible !important;
    }

    /* Ensure team cards don't get cut off */
    .team-section .container {
        padding-bottom: 20px !important;
    }

    /* Add extra margin to last team card row */
    .team-section .row.g-4 {
        margin-bottom: 30px !important;
        padding-bottom: 20px !important;
    }

    /* Ensure team cards have proper spacing */
    .team-card:last-child {
        margin-bottom: 30px !important;
    }
}