/* Kalokhe RMC Custom Styles */
/* Modern Vibrant Color Palette */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-blue: #2563eb;
    --primary-dark: #1e40af;
    --secondary-blue: #0ea5e9;
    --accent-orange: #f97316;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    --golden-yellow: #fbbf24;
    --success-green: #22c55e;
    --danger-red: #ef4444;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

.display-4 {
    font-weight: 600 !important;
    font-size: 2.5rem !important;
}

.section-title {
    font-size: 2rem !important;
    font-weight: 600 !important;
}

/* Navbar Styles */
.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-link {
    font-weight: 600;
    color: var(--gray-700) !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-transform: capitalize;
    background: transparent !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue) !important;
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    background: transparent !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px 2px 0 0;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    animation: dropdownSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    margin: 0.25rem 0;
    font-weight: 500;
    color: var(--gray-700);
}

.dropdown-item:hover {
    background: transparent;
    color: var(--primary-blue);
    padding-left: 2rem;
    transform: translateX(5px);
    text-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.dropdown-item:active,
.dropdown-item.active {
    background: transparent;
    color: var(--primary-blue);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.7) 0%, rgba(6, 151, 196, 0.6) 100%);
    z-index: 1;
}

.carousel-item img {
    height: 90vh;
    min-height: 600px;
    object-fit: cover;
}

.carousel-caption {
    z-index: 2;
    bottom: 50%;
    transform: translateY(50%);
}

.carousel-caption h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border: none;
    padding: 0.875rem 2.5rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    background: transparent;
    padding: 0.875rem 2.5rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.btn-outline-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline-primary:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.btn-outline-light {
    border: 2px solid white;
    padding: 0.875rem 2.5rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: white;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.btn-outline-light:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline-light:hover {
    color: var(--primary-blue);
    border-color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Stats Section */
.bg-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%) !important;
    position: relative;
    overflow: hidden;
}

.bg-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.stat-item {
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.stat-item:hover {
    transform: translateY(-15px) scale(1.05);
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--golden-yellow);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.stat-item:hover::after {
    width: 80%;
}

.stat-item i {
    color: var(--golden-yellow);
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.3));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin: 1rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Full Width Layout */
.container {
    max-width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Section Titles */
.section-title {
    font-size: 2rem !important;
    font-weight: 600 !important;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--golden-yellow);
}

.section-title.text-white::after {
    background: var(--golden-yellow);
}

/* Value Cards */
.value-card {
    background: white;
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    box-shadow: var(--shadow-lg) !important;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl) !important;
    border-color: var(--primary-blue);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
}

.value-icon i {
    color: white !important;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-lg);
    position: relative;
    background: white;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.95;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.service-card:hover * {
    position: relative;
    z-index: 1;
    color: white !important;
}

.service-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover img {
    transform: scale(1.15) rotate(2deg);
}

.service-card .card-body {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Certification Cards */
.cert-card {
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Feature Boxes */
.feature-box {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    box-shadow: var(--shadow-lg) !important;
}

.feature-box:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl) !important;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 50%, var(--secondary-blue) 100%);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

footer .container {
    position: relative;
    z-index: 1;
}

footer h5 {
    color: var(--white);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--golden-yellow) !important;
    padding-left: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-info li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: var(--golden-yellow) !important;
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInDown {
    animation-name: fadeInDown;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
    animation-delay: 0.3s;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }

    .carousel-item img {
        height: 70vh;
        min-height: 500px;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}

/* Bootstrap Component Overrides - Uniform Styling */
.card {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: var(--shadow-md) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.card:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-xl) !important;
}

.btn {
    border-radius: 12px !important;
    padding: 0.75rem 1.75rem !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: var(--shadow-sm) !important;
}

.btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
}

.btn:active {
    transform: translateY(0) !important;
    box-shadow: var(--shadow-sm) !important;
}

.form-control,
.form-select {
    border-radius: 10px !important;
    border: 2px solid var(--gray-200) !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: var(--shadow-sm) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15) !important;
    transform: translateY(-1px) !important;
}

.alert {
    border-radius: 12px !important;
    border: none !important;
    box-shadow: var(--shadow-md) !important;
    padding: 1.25rem !important;
}

.badge {
    border-radius: 8px !important;
    padding: 0.5rem 0.875rem !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-sm) !important;
}

.table {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-md) !important;
}

.modal-content {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: var(--shadow-2xl) !important;
}

/* Page Header Styles */
.page-header {
    position: relative;
    padding: 3rem 0 !important;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%) !important;
}

.page-header h1 {
    color: white !important;
    margin-bottom: 1rem;
}

.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.breadcrumb-item a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.breadcrumb-item a:hover {
    transform: translateX(3px) !important;
    opacity: 0.8 !important;
}

.pagination .page-link {
    border-radius: 10px !important;
    margin: 0 0.25rem !important;
    border: none !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.pagination .page-link:hover {
    background-color: var(--primary-blue) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
}

.nav-tabs .nav-link {
    border-radius: 10px 10px 0 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-pills .nav-link {
    border-radius: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-pills .nav-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
}

.accordion-item {
    border-radius: 12px !important;
    margin-bottom: 1rem !important;
    border: none !important;
    box-shadow: var(--shadow-md) !important;
    overflow: hidden !important;
}

.accordion-button {
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.accordion-button:hover {
    background-color: var(--gray-50) !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-blue) !important;
    color: white !important;
}

.progress {
    border-radius: 10px !important;
    height: 1.25rem !important;
    box-shadow: inset var(--shadow-sm) !important;
}

.progress-bar {
    border-radius: 10px !important;
}

.list-group-item {
    border-radius: 10px !important;
    margin-bottom: 0.5rem !important;
    border: none !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.list-group-item:hover {
    transform: translateX(5px) !important;
    box-shadow: var(--shadow-md) !important;
}

.toast {
    border-radius: 12px !important;
    border: none !important;
    box-shadow: var(--shadow-xl) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--gray-light);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced Breadcrumb Styles for Page Headers */
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
}

.page-header .breadcrumb-item a:hover {
    color: white !important;
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7) !important;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Image Placeholders */
img[src*="placeholder"] {
    background: linear-gradient(135deg, #e0e7ff 0%, #f0f9ff 100%);
    border: 2px dashed var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

img[alt]:after {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f03e';
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0.3;
}

/* WhatsApp Floating Chat Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-float i {
    line-height: 60px;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* WhatsApp Popup */
.whatsapp-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: none;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-popup.active {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.whatsapp-popup-header {
    background: #075E54;
    color: white;
    padding: 15px 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-popup-header h4 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.whatsapp-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.whatsapp-popup-body {
    padding: 20px;
    background: #ECE5DD;
}

.whatsapp-message {
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

.whatsapp-message::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 10px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid white;
}

.whatsapp-message p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
}

.whatsapp-time {
    font-size: 0.75rem;
    color: #999;
    margin-top: 5px;
    text-align: right;
}

.whatsapp-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.whatsapp-option {
    background: white;
    border: 1px solid #25D366;
    color: #25D366;
    padding: 12px 15px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.whatsapp-option:hover {
    background: #25D366;
    color: white;
    transform: translateX(5px);
}

.whatsapp-option i {
    font-size: 1.1rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 26px;
    }

    .whatsapp-popup {
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 85px;
    }
}

/* Footer Designer Credit */
.designer-credit {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.designer-credit:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* Make entire footer copyright text smaller and less prominent */
footer .text-center p {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#backToTop:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

#backToTop.show {
    display: flex;
}

/* Image Protection Overlay */
.img-protected {
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.img-protected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    pointer-events: all;
}

.img-protected img {
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Enhanced Card Shadows */
.card {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18) !important;
    transform: translateY(-4px);
}

.shadow-sm {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12) !important;
}

.shadow-lg {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.shadow-xl {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18) !important;
}

/* Updated Background Colors */
.bg-light {
    background-color: #f5f5f7 !important;
}

.bg-white {
    background-color: #fafafa !important;
}

body {
    background-color: #fafafa;
}

/* Certificate Thumbnails - Larger Size */
.certificate-thumbnail {
    max-width: 250px;
    height: auto;
    transition: transform 0.3s ease;
}

.certificate-thumbnail:hover {
    transform: scale(1.05);
}
