/* Health 4 All - Modern Stylish Website */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* CSS Variables for Modern Design */
:root {
    /* Brand palette derived from provided logo */
    --brand-indigo: #2f3c96;
    --brand-blue: #1e68a8;
    --brand-magenta: #c5167a;
    --brand-red: #e02336;
    --brand-orange: #e07a2b;
    --brand-yellow: #f3ad2f;
    --brand-green: #4da34f;
    --brand-teal: #0ea8be;

    /* Gradients built from brand hues */
    --primary-gradient: linear-gradient(135deg, var(--brand-indigo) 0%, var(--brand-blue) 100%);
    --secondary-gradient: linear-gradient(135deg, var(--brand-magenta) 0%, var(--brand-red) 100%);
    --success-gradient: linear-gradient(135deg, var(--brand-green) 0%, #75d28d 100%);
    --accent-gradient: linear-gradient(135deg, var(--brand-teal) 0%, #67e8f9 100%);
    --dark-gradient: linear-gradient(135deg, #0b1220 0%, #1e293b 100%);

    /* Solid Colors */
    --primary: var(--brand-indigo);
    --primary-dark: #222e78;
    --secondary: var(--brand-magenta);
    --success: var(--brand-green);
    --accent: var(--brand-teal);
    --warning: var(--brand-yellow);
    --danger: #ea5455;
    --dark: #2c3e50;
    --light: #f6f8fb;
    --white: #ffffff;

    /* Neutral Colors */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Grotesk', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --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);
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0;
    /* Topbar and navbar are fixed, content starts below */
}

/* Ensure topbar is always visible */
.topbar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Modern Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--space-lg);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-600);
}

/* Let Bootstrap handle main container */

.container-fluid {
    width: 100%;
    padding: 0 var(--space-lg);
}

/* Let Bootstrap handle row layout */

/* Let Bootstrap handle column layout */

/* Let Bootstrap handle all grid layouts */

/* Modern Cards */
.card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.card:hover::before {
    opacity: 1;
}

.card-body {
    padding: var(--space-2xl);
}

.card-title {
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--gray-800);
}

.card-text {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-xl);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-success {
    background: var(--success-gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
}

/* Modern Navigation */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
}

/* Ensure navbar displays horizontally */
.navbar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: var(--space-lg) !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-item {
    display: inline-block !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(102, 126, 234, 0.15);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-lg);
    flex-wrap: nowrap;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: all var(--transition-normal);
}

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

.logo {
    height: 50px;
    width: auto;
    transition: all var(--transition-normal);
}

.navbar-brand:hover .logo {
    transform: rotate(5deg);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-direction: row;
}

.nav-link {
    position: relative;
    padding: var(--space-sm) var(--space-md);
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    transition: all var(--transition-normal);
    border-radius: var(--radius-md);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(102, 126, 234, 0.1);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

/* Services submenu – hover only, no layout shift */
.navbar .nav-item-has-submenu {
    position: relative;
}

.navbar .nav-item-has-submenu .nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    padding: 0;
    min-width: 300px;
    max-width: 340px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(47, 60, 150, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: var(--white);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.navbar .nav-item-has-submenu:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-submenu-inner {
    padding: 0;
}

.nav-submenu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--primary-gradient);
    color: var(--white);
}

.nav-submenu-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.nav-submenu-badge {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
}

.nav-submenu-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.nav-submenu-list li {
    margin: 0;
}

.nav-submenu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.875rem;
    padding: 0.75rem 1.25rem;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-submenu-item:hover {
    background: rgba(47, 60, 150, 0.06);
    color: var(--primary);
    padding-left: 1.5rem;
    border-left-color: var(--primary);
}

.nav-submenu-text {
    flex: 1;
    font-weight: 500;
}

.nav-submenu-arrow {
    font-size: 0.7rem;
    color: var(--gray-400);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nav-submenu-item:hover .nav-submenu-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary);
}

.nav-submenu-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.nav-submenu-viewall {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.nav-submenu-viewall:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

.nav-submenu-viewall i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.nav-submenu-viewall:hover i {
    transform: translateX(4px);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.mobile-menu-toggle:hover {
    background: var(--gray-100);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all var(--transition-normal);
}

.mobile-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu .navbar-nav {
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-sm);
}

/* Mobile Menu Toggle - Updated */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white !important;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu - Updated */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    padding: 0;
    z-index: 1000;
    border-radius: 0 0 16px 16px;
    backdrop-filter: blur(20px);
    min-height: auto;
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-menu .navbar-nav {
    flex-direction: column !important;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex !important;
    list-style: none;
}

.mobile-menu .nav-item {
    width: 100%;
    margin: 0;
    padding: 0;
}

.mobile-menu .nav-link {
    display: block !important;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    text-align: left;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    width: 100%;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
    background: rgba(102, 126, 234, 0.1) !important;
    color: var(--primary-color) !important;
    padding-left: 2.5rem;
}

.mobile-menu .nav-link.active::after {
    display: none;
}

/* Mobile Menu Header */
.mobile-menu::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    margin: 0 2rem;
}

/* Mobile Menu Footer */
.mobile-menu::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    margin: 0 2rem;
}

/* Mobile Menu Item Icons */
.mobile-menu .nav-link::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 0.75rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.mobile-menu .nav-link:hover::before,
.mobile-menu .nav-link.active::before {
    opacity: 1;
    transform: scale(1.2);
}

.mobile-menu .nav-link {
    display: block;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.mobile-menu .nav-link:hover {
    background: var(--gray-100);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(160deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.15) 40%, rgba(15, 23, 42, 0.35) 100%),
        var(--primary-gradient);
    overflow: hidden;
    padding-top: 70px;
    /* offset topbar + navbar */
}

.hero-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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-content {
    padding-top: 180px;
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: var(--space-xl);
    line-height: 1.1;
    text-shadow: none;
    filter: none;
    animation: slideInUp 1s ease-out;
}

.hero-line {
    display: inline-block;
}

.hero-line--primary {
    color: white;
    opacity: 1;
    text-shadow: none;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.hero-line--accent {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: var(--space-2xl);
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s ease-out 0.2s both;
}

/* Rainbow accent bar under hero heading */
.hero-rainbow {
    height: 6px;
    width: min(60vw, 420px);
    margin: 14px auto 24px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffffff 0%, #f1f5f9 25%, #e2e8f0 50%, #cbd5e1 75%, #94a3b8 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    position: relative;
    overflow: hidden;
}

.hero-rainbow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Scroll down arrow */
.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    color: #eaf2ff;
    opacity: .9;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, .6);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.scroll-down:hover {
    opacity: 1;
    background: rgba(255, 255, 255, .1);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1e293b;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.2rem;
}

.floating-card-1 i {
    color: #10b981;
}

.floating-card-2 i {
    color: #f59e0b;
}

.floating-card-3 i {
    color: #ef4444;
}

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

.floating-card-2 {
    top: 70%;
    right: 5%;
    animation-delay: 2s;
}

.floating-card-3 {
    top: 55%;
    left: 5%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(1deg);
    }

    50% {
        transform: translateY(-5px) rotate(-1deg);
    }

    75% {
        transform: translateY(-15px) rotate(0.5deg);
    }
}

@media (max-width: 768px) {
    .floating-card {
        display: none;
    }
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.4s both;
    margin-top: 2rem;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

/* Topbar */
.topbar {
    background: #0f172a;
    color: #e5eefc;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem var(--space-lg);
}

.topbar a {
    color: #e5eefc;
    text-decoration: none;
    opacity: .95;
}

.topbar a:hover {
    opacity: 1;
}

.topbar .divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, .2);
    margin: 0 .75rem;
    display: inline-block;
}

.topbar-cta {
    padding: .35rem .75rem;
    border-radius: 999px;
    background: var(--accent-gradient);
    color: #0b1020 !important;
    font-weight: 700;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-left a {
    color: #e5eefc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

.topbar-left a:hover {
    opacity: 1;
    color: #e5eefc;
}

.topbar-right {
    display: flex;
    align-items: center;
}

/* Service cards imagery & icon badge */
.service-thumb {
    position: relative;
}

.service-thumb img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.service-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b1020;
    background: var(--accent-gradient);
    box-shadow: var(--shadow-md);
}

.service-badge i {
    font-size: 18px;
}

/* Service Cards Enhanced */
.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.service-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.service-card .card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card .card-body p {
    flex: 1;
}

.service-card .card-body .btn {
    margin-top: auto;
}

.service-card .service-thumb {
    overflow: hidden;
    border-radius: 14px;
}

.service-card .service-thumb img {
    transition: transform 0.4s ease;
}

.service-card:hover .service-thumb img {
    transform: scale(1.1);
}

.service-card .service-badge {
    transition: all 0.3s ease;
}

.service-card:hover .service-badge {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Warning Gradient */
:root {
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

/* Achievement Cards */
.achievement-card {
    text-align: center;
    padding: 1rem 0.75rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, .05);
    height: 100%;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
}

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

.achievement-number {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.achievement-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.achievement-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-badge i {
    font-size: 1rem;
}

/* Title Underline */
.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 1rem auto;
    border-radius: 2px;
}

.title-underline.text-start {
    margin: 1rem 0;
}

/* Enhanced Achievements Section */
.achievements-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.achievements-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23667eea" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 1200px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

.achievement-item {
    background: white;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.achievement-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.achievement-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.achievement-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.achievement-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.achievement-item:hover .achievement-icon {
    transform: scale(1.1) rotate(5deg);
}

.achievement-number {
    font-size: 0.5rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.achievement-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.achievement-desc {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}


/* Project Cards */
.project-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, .05);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
}

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

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.project-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

/* Testimonials */
.testimonials-slider {
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
    text-align: center;
    margin: 1rem;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -1rem;
    left: -1rem;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Services Slider */
.services-container {
    margin-top: 2rem;
}

.services-swiper {
    padding: 0.5rem 0 2rem;
}

.services-swiper .swiper-slide {
    height: auto;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.service-thumb {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.service-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover .service-thumb img {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    z-index: 2;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Enhanced Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23667eea" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.testimonials-slider {
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.testimonials-swiper {
    padding: 1rem 0 3rem;
}

.testimonials-swiper .swiper-slide {
    height: auto;
}

.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.quote-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.rating {
    display: flex;
    gap: 0.25rem;
}

.rating i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    position: relative;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.author-credentials {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.author-credentials i {
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: var(--primary-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-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="cta-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: white;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.cta-feature i {
    color: #4ade80;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-visual {
    position: relative;
}

.cta-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.cta-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cta-image-wrapper:hover img {
    transform: scale(1.05);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta-image-wrapper:hover .cta-overlay {
    opacity: 1;
}

.cta-stats {
    display: flex;
    gap: 3rem;
    text-align: center;
    color: white;
}

.cta-stat h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.cta-stat p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 2.5rem 0 1.5rem;
}

.footer-main {
    margin-bottom: 2rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    color: var(--primary-color);
    font-size: 2rem;
}

.footer-description {
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-links h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.contact-item div span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item div p {
    color: #a0a0a0;
    margin: 0;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
}

.copyright {
    color: #a0a0a0;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-legal a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-legal {
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-main {
        margin-bottom: 2rem;
    }

    .footer-brand {
        margin-bottom: 2rem;
        text-align: center;
    }

    .footer-links {
        margin-bottom: 2rem;
    }

    .contact-item {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .contact-item i {
        font-size: 0.9rem;
        width: 16px;
    }

    .contact-item strong {
        font-size: 0.8rem;
    }

    .contact-item p {
        font-size: 0.75rem;
    }
}

/* Minimal Story Section */
.minimal-story-section {
    background: white;
    padding: 2rem 0;
}

.minimal-story-section .row {
    align-items: center;
    min-height: 400px;
    display: flex;
    flex-wrap: nowrap;
}

.minimal-story-section .col-lg-8,
.minimal-story-section .col-lg-4 {
    display: flex;
    align-items: center;
}

.minimal-story-content {
    padding-right: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.minimal-stats {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.story-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.story-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.story-text:last-child {
    margin-bottom: 0;
}

.minimal-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 1rem;
}

.stat-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 991px) {
    .minimal-story-section .row {
        min-height: auto;
    }

    .minimal-story-content {
        padding-right: 0;
        margin-bottom: 2rem;
        height: auto;
    }

    .minimal-stats {
        height: auto;
        flex-direction: row;
        gap: 1rem;
    }

    .story-title {
        font-size: 2rem;
    }

    .stat-card {
        flex: 1;
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .minimal-story-section {
        padding: 1.5rem 0;
    }

    .minimal-story-section .row {
        min-height: auto;
    }

    .minimal-story-content {
        height: auto;
    }

    .minimal-stats {
        height: auto;
        flex-direction: column;
    }

    .story-title {
        font-size: 1.75rem;
    }

    .story-text {
        font-size: 1rem;
    }
}



/* Minimal Projects Section */
.minimal-projects-section {
    background: white;
    padding: 2rem 0;
}

.project-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.project-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.project-content {
    flex: 1;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.project-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design for Projects */
@media (max-width: 991px) {
    .project-item {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .project-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .project-title {
        font-size: 1rem;
    }

    .project-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .minimal-projects-section {
        padding: 1.5rem 0;
    }

    .project-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .project-icon {
        align-self: center;
    }
}

/* Partners Page Styles */
.partners-section {
    padding: 5rem 0;
}

.partner-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: var(--primary-color);
}

.partner-logo {
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.partner-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.partner-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.partner-category {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
}

/* Lab Partners Section */
.lab-partners-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.lab-partner-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.lab-partner-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: var(--primary-color);
}

.lab-partner-logo {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.lab-partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lab-partner-content {
    flex: 1;
}

.lab-partner-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.lab-partner-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.lab-partner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Surgical Partners Section */
.surgical-partners-section {
    padding: 5rem 0;
}

.surgical-partner-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.surgical-partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: var(--primary-color);
}

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

.surgical-partner-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.surgical-partner-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.surgical-partner-category {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 5rem 0;
}

.benefits-section .benefit-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.benefits-section .benefit-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.benefit-icon i {
    font-size: 2rem !important;
    color: white !important;
    z-index: 2;
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive Design for Partners Page */
@media (max-width: 768px) {
    .lab-partner-item {
        flex-direction: column;
        text-align: center;
    }

    .lab-partner-logo {
        width: 120px;
        height: 60px;
    }

    .partner-card,
    .surgical-partner-card {
        padding: 1.5rem;
    }

    .benefit-item {
        padding: 1.5rem;
    }
}

/* Contact Page Styles */
.contact-info-section {
    padding: 5rem 0;
}

.contact-info-section .contact-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.contact-info-section .contact-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.contact-icon i {
    font-size: 2rem !important;
    color: white !important;
    z-index: 2;
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 5rem 0;
}

.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-check-input {
    margin-top: 0.25rem;
    width: 1.25rem;
    height: 1.25rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

/* Contact Details */
.contact-details {
    padding-left: 2rem;
}

.contact-details-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.details-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.detail-item span {
    color: var(--text-muted);
    font-weight: 500;
}

.business-hours {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: var(--text-dark);
}

.time {
    color: var(--text-muted);
    font-weight: 500;
}

.emergency-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: white;
}

.map-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.map-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .contact-details {
        padding-left: 0;
        margin-top: 3rem;
    }

    .contact-details-card {
        padding: 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .map-title {
        font-size: 1.5rem;
    }
}

/* Services Page Styles */
.strengths-section {
    background: white;
    padding: 3rem 0;
}

.strength-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.strength-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.strength-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.strength-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.strength-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.services-section {
    padding: 3rem 0;
}

/* Five services in one row on xl screens */
.services-row-five {
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 1200px) {
    .services-row-five .service-col-five {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.service-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Service Image Gallery Styles */
.service-image-gallery {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-100);
}

.service-image-single {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

/* Service Image Carousel */
.service-image-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
}

.service-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.service-carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.service-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-carousel-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.service-carousel-prev,
.service-carousel-next {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 0.75rem;
}

.service-carousel-prev:hover,
.service-carousel-next:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.service-carousel-prev:active,
.service-carousel-next:active {
    transform: scale(0.95);
}

.service-carousel-indicators {
    display: flex;
    gap: 6px;
    align-items: center;
}

.service-carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.service-carousel-indicator.active {
    background: white;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.service-carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.why-choose-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem 0;
}

.why-choose-content {
    padding-right: 2rem;
}

.why-choose-features {
    margin-top: 2rem;
}

.why-choose-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.why-choose-features .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.why-choose-features .feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.why-choose-features .feature-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cta-section {
    background: var(--primary-gradient);
    color: white;
    padding: 3rem 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

.cta-feature i {
    color: #4ade80;
    font-size: 1.1rem;
}

.cta-buttons .btn {
    margin-bottom: 1rem;
}

/* Responsive Design for Services */
@media (max-width: 991px) {
    .why-choose-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {

    .strengths-section,
    .services-section,
    .why-choose-section {
        padding: 2rem 0;
    }

    .strength-item {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .service-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

/* Mission & Vision Cards */
.mission-vision-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.mission-vision-card .card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.mission-vision-card .card-title {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.mission-vision-card .card-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 1.1rem;
}

/* Client Cards */
.client-card {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.client-logo {
    max-width: 140px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto 1rem;
    display: block;
}

.client-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.client-card h5 {
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
}

/* Lab Referral Section */
.lab-referral-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    padding: 5rem 0;
    width: 100%;
    overflow: hidden;
}

.lab-referral-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23667eea" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23667eea" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="%23667eea" opacity="0.02"/><circle cx="10" cy="60" r="0.5" fill="%23667eea" opacity="0.02"/><circle cx="90" cy="40" r="0.5" fill="%23667eea" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.lab-referral-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.lab-referral-section .row {
    align-items: flex-start;
}

.lab-content {
    padding-right: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
    padding-top: 0;
}

.lab-visual {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
    padding-top: 0;
}

/* Ensure proper column layout */
.lab-referral-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
}

.lab-referral-section .col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 0 15px !important;
    display: block !important;
    margin-top: 0 !important;
}

@media (max-width: 991px) {
    .lab-referral-section .col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

.lab-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(102, 126, 234, 0.15);
    margin-bottom: 0;
    transition: all 0.4s ease;
}

.lab-image-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 100px rgba(102, 126, 234, 0.25);
}

.lab-main-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 20px;
}

.lab-image-wrapper:hover .lab-main-image {
    transform: scale(1.05);
}

.lab-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lab-image-wrapper:hover .lab-overlay {
    opacity: 1;
}

.lab-stats {
    display: flex;
    gap: 2rem;
    text-align: center;
    color: white;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: white;
    font-size: 1rem;
    opacity: 0.9;
}

.partners-showcase {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.partners-showcase:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.15);
}

.partners-showcase h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.partner-logo {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.partner-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.2);
}

.partner-logo img {
    width: 100%;
    height: auto;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    display: block;
    background: transparent;
}

/* Fallback for missing images */
.partner-logo:not(:has(img)) {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 2rem;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.blog-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

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

.blog-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
}

.blog-image-placeholder .placeholder-content {
    text-align: center;
    color: white;
}

.blog-image-placeholder .placeholder-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.blog-author,
.blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-author i,
.blog-date i {
    font-size: 0.875rem;
}

.blog-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    font-size: 0.95rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.blog-tags .tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-actions {
    margin-top: auto;
}

.blog-actions .btn {
    width: 100%;
    justify-content: center;
}

.lab-features {
    margin: 2.5rem 0;
}

.lab-referral-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, #667eea 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.lab-referral-section .section-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 25px rgba(102, 126, 234, 0.08);
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: translateX(12px) translateY(-2px);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.feature-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    margin-right: 1.75rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.feature-content h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    .lab-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .lab-visual {
        text-align: center;
    }

    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Enhanced Footer Styles */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23667eea" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.footer-main {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-main .row {
    display: flex;
    flex-wrap: nowrap;
    margin: 0 -5px;
}

.footer-main .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 8px;
}

@media (max-width: 991px) {
    .footer-main .row {
        flex-wrap: wrap;
    }

    .footer-main .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    word-wrap: break-word;
    hyphens: auto;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.social-link i {
    font-size: 1.2rem;
    line-height: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.footer-links h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-contact h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: normal;
    overflow: visible;
    flex-wrap: wrap;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-item strong {
    color: white;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.contact-item p {
    color: #cbd5e1;
    margin: 0;
    font-size: 0.85rem;
    display: block;
    line-height: 1.4;
    word-wrap: break-word;
    flex: 1;
    min-width: 0;
}

.contact-item div {
    flex: 1;
    min-width: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    position: relative;
    z-index: 1;
}

.copyright {
    color: #94a3b8;
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.footer-legal a:hover {
    color: white;
    transform: translateY(-2px);
}

/* Quick Contact CTA */
.bg-primary {
    background: var(--primary-gradient) !important;
}

.contact-info {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
    color: var(--accent-color);
}

.cta-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.cta-form .form-control:focus {
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.btn-white {
    background: white;
    color: var(--primary-color);
    border: none;
    font-weight: 700;
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .achievement-card {
        padding: 1.5rem 1rem;
    }


    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .project-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

/* Achievement Cards */
.achievement-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.achievement-card:hover::before {
    transform: scaleX(1);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.achievement-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    animation: countUp 2s ease-out;
}

.achievement-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Partner Logos */
.partner-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all var(--transition-normal);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Team Members */
.team-member {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--space-lg);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.team-member:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.team-member h4 {
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.team-member p {
    color: var(--gray-600);
    font-weight: 500;
}

/* Forms */
.form-group {
    margin-bottom: var(--space-xl);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: all var(--transition-normal);
    font-family: var(--font-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark-gradient);
    color: var(--white);
    padding: var(--space-4xl) 0 var(--space-xl);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-gradient);
}

.footer h5 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    font-family: var(--font-display);
    font-weight: 600;
}

.footer a {
    color: var(--gray-300);
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-block;
}

.footer a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    text-align: center;
    color: var(--gray-400);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Utility Classes */
.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Spacing Utilities */
.m-0 {
    margin: 0;
}

.m-1 {
    margin: var(--space-xs);
}

.m-2 {
    margin: var(--space-sm);
}

.m-3 {
    margin: var(--space-md);
}

.m-4 {
    margin: var(--space-lg);
}

.m-5 {
    margin: var(--space-xl);
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--space-xs);
}

.mt-2 {
    margin-top: var(--space-sm);
}

.mt-3 {
    margin-top: var(--space-md);
}

.mt-4 {
    margin-top: var(--space-lg);
}

.mt-5 {
    margin-top: var(--space-xl);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--space-xs);
}

.mb-2 {
    margin-bottom: var(--space-sm);
}

.mb-3 {
    margin-bottom: var(--space-md);
}

.mb-4 {
    margin-bottom: var(--space-lg);
}

.mb-5 {
    margin-bottom: var(--space-xl);
}

.p-0 {
    padding: 0;
}

.p-1 {
    padding: var(--space-xs);
}

.p-2 {
    padding: var(--space-sm);
}

.p-3 {
    padding: var(--space-md);
}

.p-4 {
    padding: var(--space-lg);
}

.p-5 {
    padding: var(--space-xl);
}

.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.py-1 {
    padding-top: var(--space-xs);
    padding-bottom: var(--space-xs);
}

.py-2 {
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
}

.py-3 {
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

.py-4 {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.py-5 {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.px-0 {
    padding-left: 0;
    padding-right: 0;
}

.px-1 {
    padding-left: var(--space-xs);
    padding-right: var(--space-xs);
}

.px-2 {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
}

.px-3 {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.px-4 {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.px-5 {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
}

/* Background Utilities */
.bg-primary {
    background: var(--primary-gradient);
}

.bg-secondary {
    background: var(--secondary-gradient);
}

.bg-success {
    background: var(--success-gradient);
}

.bg-accent {
    background: var(--accent-gradient);
}

.bg-light {
    background: var(--gray-50);
}

.bg-white {
    background: var(--white);
}

/* Text Colors */
.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-success {
    color: var(--success);
}

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

.text-white {
    color: var(--white);
}

.text-muted {
    color: var(--gray-500);
}

.text-dark {
    color: var(--gray-800);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .navbar-nav {
        display: none !important;
    }

    /* Fix topbar mobile layout - keep in one line */
    .topbar {
        padding: 0.5rem 0;
    }

    .topbar .container {
        flex-direction: row;
        gap: 0.5rem;
        text-align: center;
        justify-content: space-between;
        align-items: center;
    }

    .topbar-left {
        flex-direction: row;
        gap: 0.5rem;
        flex: 1;
    }

    .topbar-left a {
        font-size: 0.7rem;
        white-space: nowrap;
        display: inline-block;
    }

    .topbar-left a[href^="tel:"] {
        font-family: monospace;
        letter-spacing: 0.5px;
    }

    .divider {
        display: inline-block;
        margin: 0 0.25rem;
    }

    .topbar-right {
        margin-top: 0;
        flex-shrink: 0;
    }

    .topbar-cta {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    /* Ensure mobile menu is visible */
    .navbar .container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        display: flex !important;
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        z-index: 1002;
        background: rgba(0, 0, 0, 0.8) !important;
        border-radius: 8px;
        backdrop-filter: blur(10px);
        border: 2px solid white !important;
        min-width: 40px;
        min-height: 40px;
    }

    .navbar-brand {
        flex: 1;
        text-align: left;
    }

    /* Mobile menu improvements */
    .mobile-menu {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        border-radius: 0 0 20px 20px;
    }

    .mobile-menu .nav-link {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(102, 126, 234, 0.05);
    }

    .mobile-menu .nav-link:hover {
        background: rgba(102, 126, 234, 0.08);
        padding-left: 2.75rem;
    }
}

/* Additional mobile menu visibility */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .navbar-nav {
        display: none !important;
    }
}

/* Let Bootstrap handle responsive behavior */

/* Let Bootstrap handle container padding */

.section {
    padding: var(--space-2xl) 0;
}

.card-body {
    padding: var(--space-lg);
}

.hero-section {
    min-height: 80vh;
}
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .btn-lg {
        padding: var(--space-md) var(--space-lg);
        font-size: 1rem;
    }

    .achievement-number {
        font-size: 2.5rem;
    }

    .team-member img {
        width: 150px;
        height: 150px;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

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

/* Print Styles */
@media print {

    .navbar,
    .footer,
    .btn {
        display: none;
    }

    .hero-section {
        padding: var(--space-xl) 0;
    }

    .section {
        padding: var(--space-lg) 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--gray-300);
    }

    .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
}