/* ============================================
   Shriharsha Healthcare - Professional Stylesheet
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Open+Sans:wght@400;600&display=swap');

/* ============================================
   CSS Variables (Design System)
   ============================================ */
:root {
    /* Primary Colors */
    --primary-blue: #0066CC;
    --primary-green: #00A86B;
    --accent-orange: #FF6B35;
    
    /* Neutrals */
    --dark: #1A1A1A;
    --gray: #6C757D;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    
    /* Semantic Colors */
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --info: #17A2B8;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-round: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.18);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   Global Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    font-family: var(--font-body);
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-green);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Navigation Bar
   ============================================ */
.navbar {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(33, 37, 41, 0.98)) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    padding: 0.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 70px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(26, 26, 26, 1), rgba(33, 37, 41, 1)) !important;
    padding: 0.4rem 2rem;
    min-height: 65px;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff !important;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    color: var(--primary-green) !important;
}

.navbar-brand img {
    width: 50px !important;
    height: 50px !important;
    transition: all 0.5s ease;
    border: 2px solid var(--primary-green);
    box-shadow: 0 0 15px rgba(0, 168, 107, 0.3);
}

.navbar-brand:hover img {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 25px rgba(0, 168, 107, 0.5);
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 0.75rem 1.25rem !important;
    position: relative;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

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

.nav-link.active {
    color: var(--primary-green) !important;
    background: rgba(0, 168, 107, 0.1);
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: 2px solid var(--primary-green);
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(0, 168, 107, 0.1);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 168, 107, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 168, 107, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 0.75rem;
    background: linear-gradient(135deg, #1a1a1a, #212529);
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: var(--white);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 168, 107, 0.3);
}

/* Responsive Navigation */
@media (max-width: 991px) {
    .navbar {
        padding: 0.4rem 1rem;
        min-height: 60px;
    }
    
    .navbar.scrolled {
        padding: 0.3rem 1rem;
        min-height: 55px;
    }
    
    .navbar-brand img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .navbar-collapse {
        background: rgba(26, 26, 26, 0.98);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 0.5rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    .nav-link {
        margin: 0.25rem 0;
        padding: 0.6rem 1rem !important;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.3rem 0.75rem;
        min-height: 55px;
    }
    
    .navbar.scrolled {
        padding: 0.25rem 0.75rem;
        min-height: 50px;
    }
    
    .navbar-brand img {
        width: 38px !important;
        height: 38px !important;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
}

/* ============================================
   Hero Carousel
   ============================================ */
.carousel {
    position: relative;
    margin-top: 56px;
}

.carousel-item {
    height: 500px;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.7), rgba(0, 168, 107, 0.5));
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
}

.carousel-caption {
    z-index: 2;
    bottom: 50%;
    transform: translateY(50%);
    /* background: rgba(0, 0, 0, 0.4); */
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    /* backdrop-filter: blur(5px); */
}

.carousel-caption h5 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease;
}

.carousel-caption p {
    font-size: 1.25rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 1s ease;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 102, 204, 0.8);
    border-radius: var(--radius-round);
    transition: var(--transition-fast);
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: var(--primary-green);
    transform: scale(1.1);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-round);
    transition: var(--transition-fast);
}

.carousel-indicators button.active {
    background-color: var(--primary-green);
    transform: scale(1.2);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: none;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #0052a3, #008c5a);
}

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

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

/* ============================================
   Cards
   ============================================ */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    overflow: hidden;
    height: 100%;
}

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

.card-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: var(--white);
    border: none;
    padding: var(--spacing-lg);
    font-family: var(--font-heading);
    font-weight: 600;
}

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

.card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
}

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

/* Service Cards */
.service-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(0, 168, 107, 0.05));
    opacity: 0;
    transition: var(--transition-normal);
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.2);
}

.service-card .icon-link {
    color: var(--primary-blue);
    font-weight: 600;
    transition: var(--transition-fast);
}

.service-card:hover .icon-link {
    color: var(--primary-green);
    padding-left: 10px;
}

/* ============================================
   Mission Section
   ============================================ */
.upcoming-plan {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.upcoming-plan:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.plan-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* ============================================
   Team Cards
   ============================================ */
.team-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    text-align: center;
    height: 100%;
}

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

.team-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border: 4px solid var(--primary-green);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    margin-bottom: var(--spacing-lg);
}

.team-card:hover img {
    transform: scale(1.1);
    border-color: var(--primary-blue);
}

.team-card h2 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

.team-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   Feature Sections (Why Us)
   ============================================ */
.featurette {
    padding: var(--spacing-xxl) 0;
}

.featurette-heading {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-lg);
}

.featurette-image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    width: 100%;
    height: auto;
    min-height: 350px;
    object-fit: cover;
}

.featurette-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

/* ============================================
   Forms
   ============================================ */
.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
    font-family: var(--font-body);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--primary-blue);
    cursor: pointer;
}

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

.form-check-label {
    margin-left: var(--spacing-sm);
    cursor: pointer;
}

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

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: var(--danger);
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: var(--success);
}

/* ============================================
   Alerts
   ============================================ */
.alert {
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-heading {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ============================================
   Progress Bar
   ============================================ */
.progress {
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

footer a:hover {
    color: var(--primary-green);
    text-decoration: none;
}

footer .privacy {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

footer .privacy:hover {
    color: var(--primary-green);
}

/* ============================================
   Utility Classes
   ============================================ */
.generalPadding {
    padding: var(--spacing-lg);
}

.text-primary-custom {
    color: var(--primary-blue);
}

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

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 991px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h5 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .featurette {
        padding: var(--spacing-xl) 0;
    }
}

/* Mobile */
@media (max-width: 767px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        bottom: 50%;
        transform: translateY(50%);
        left: 5%;
        right: 5%;
        padding: 1rem;
    }
    
    .carousel-caption h5 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    }
    
    .carousel-caption p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        display: block;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .team-card {
        margin-bottom: var(--spacing-lg);
    }
    
    .featurette {
        padding: var(--spacing-lg) 0;
    }
    
    .featurette-image {
        margin-bottom: var(--spacing-lg);
        max-width: 100%;
        height: auto;
    }
    
    /* Ensure images don't shrink too much */
    .featurette img {
        min-height: 250px;
        object-fit: cover;
        width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .carousel-item {
        height: 350px;
    }
    
    .carousel-caption {
        bottom: 50%;
        transform: translateY(50%);
        left: 3%;
        right: 3%;
        padding: 0.75rem;
    }
    
    .carousel-caption h5 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
        line-height: 1.3;
    }
    
    .carousel-caption p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
        line-height: 1.4;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.65rem 1.5rem;
        font-size: 0.875rem;
    }
    
    /* Ensure featurette images maintain proper size */
    .featurette img {
        min-height: 200px;
        object-fit: cover;
        width: 100%;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .carousel-item {
        height: 320px;
    }
    
    .carousel-caption h5 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    
    .carousel-caption p {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .btn-lg {
        padding: 0.6rem 1.25rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   Accessibility
   ============================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .navbar,
    .carousel,
    footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    a {
        text-decoration: underline;
    }
}

/* ============================================
   Blog Styles (from original)
   ============================================ */
ul.blogGrid li {
    list-style-type: none;
}

.blogGrid {
    padding-left: 0;
    margin-bottom: 40px;
}

#theBlogGrid .animateBottomName {
    color: #000;
    margin-top: 20px;
    width: 100%;
}

.blue-border.blog-blue-border {
    margin-bottom: 20px;
}

.description-box {
    background-color: rgba(50, 50, 50, 0.5);
    bottom: 0;
    float: left;
    height: 44px;
    padding: 5px 10px;
    position: absolute;
    width: 100%;
}

#theBlogGrid .description-box p {
    color: #fff;
    padding-top: 7px;
    font-size: 15px;
}

.blogGrid li:hover .animateBottomName {
    background-color: var(--primary-green);
    width: 100%;
}

.imgHolder {
    cursor: pointer;
    position: relative;
}

.blog-wrapper h1 {
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: bold;
    color: #000;
    text-transform: capitalize;
}

img.blog-inner {
    max-width: 300px;
    padding: 20px;
    border-radius: var(--radius-lg);
}

.header--type2 .inner {
    padding: 150px 0 50px;
}

header > .inner {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
}

[data-background] {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

header {
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    display: table;
    width: 100%;
}

.ct-page_title {
    color: #fff;
}

.ct-page_title .h1 {
    font-family: var(--font-heading);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 5rem;
    line-height: 1.2;
    letter-spacing: 0px;
}

.ct-page_title-content {
    text-transform: capitalize;
    line-height: 36px;
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    padding-top: 1rem;
    display: inline-block;
    max-width: 750px;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    border-radius: 5px;
}

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

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

.spinner {
    border: 3px solid var(--light-gray);
    border-top: 3px solid var(--primary-blue);
    border-radius: var(--radius-round);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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