:root {
    --primary-color: {{ $school->primary_color ?? '#1e40af' }};
    --secondary-color: {{ $school->secondary_color ?? '#1f2937' }};
    --hero-gradient-color: {{ $school->hero_gradient_color ?? '#3b82f6' }};
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

/* Fix for layout issues */
html, body {
    width: 100%;
    overflow-x: hidden;
}
/* Ensure full width for sections */
section {
    width: 100%;
    max-width: 100%;
}

/* Fix Bootstrap container issues */
.row {
    margin-left: 0;
    margin-right: 0;
}

.col-lg-3, .col-lg-4, .col-lg-6, .col-lg-12,
.col-md-3, .col-md-4, .col-md-6, .col-md-12,
.col-sm-6, .col-sm-12 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Ensure no horizontal scroll */
* {
    box-sizing: border-box;
}

/* Fix for any potential overflow */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}



h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}



/* Hero Carousel Section */


/* Stats Section */
.stats-section {
    background: var(--white);
    padding: 30px 0;
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px 4px 0 0;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Video Background */
.about-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    animation: videoZoom 20s ease-in-out infinite;
}

@keyframes videoZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.85) 0%, rgba(233, 236, 239, 0.9) 100%);
    z-index: 2;
    animation: overlayPulse 8s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 0.9; }
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
    display: none;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { 
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    25% { 
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }
    50% { 
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    }
    75% { 
        background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    }
}

/* Hide video on devices that don't support autoplay */
@media (prefers-reduced-motion: reduce) {
    .about-video {
        display: none;
    }
    .video-fallback {
        display: block;
    }
}

.about-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="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 3;
}

.about-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(15px);
    z-index: 4;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 5px 5px 0 0;
}

.about-content::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.about-feature {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.about-feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.about-feature:hover::before {
    opacity: 0.05;
}

.about-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.about-feature:hover .about-feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.about-feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.about-feature:hover .about-feature-title {
    color: var(--primary-color);
}

.about-feature-text {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
    z-index: 4;
}

.about-main-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.about-main-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.about-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.about-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.about-placeholder h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-placeholder p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    z-index: 4;
}

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

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

.about-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Programs Section */
.programs-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Enhanced Program Cards */
.program-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(229, 231, 235, 0.6);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.program-card-header {
    padding: 1.5rem 1.5rem 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.program-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.program-card:hover .program-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.program-icon i {
    font-size: 1.25rem;
    color: white;
}

.program-fee {
    display: flex;
    align-items: center;
}

.fee-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.program-card-body {
    padding: 1.25rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    letter-spacing: -0.025em;
}

.program-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

.program-fee-structure {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.fee-structure-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    font-style: italic;
}

.program-card-footer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin-top: auto;
}

.learn-more {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.learn-more i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.program-card:hover .learn-more {
    color: #1d4ed8;
}

.program-card:hover .learn-more i {
    transform: translateX(4px);
}

/* Faculty Section */
.faculty-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

.faculty-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.faculty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.faculty-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.faculty-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin: 2rem auto 1rem;
    border: 5px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.faculty-card:hover .faculty-image {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Enhanced Faculty Card Styles */
.faculty-image-container {
    position: relative;
    padding: 2rem 2rem 1rem;
}

.faculty-image-placeholder {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 3rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.faculty-card:hover .faculty-image-placeholder {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.faculty-content {
    padding: 0 2rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.faculty-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.faculty-designation {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.faculty-specialization {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faculty-experience {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-top: auto;
}

.faculty-experience i {
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 60px 0;
}

.contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.contact-icon i {
    font-size: 1.6rem;
    color: white;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

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

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

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

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

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

/* Gallery Section */
.gallery-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.gallery-item img {
    transition: all 0.4s ease;
}

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

.empty-gallery {
    padding: 3rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.empty-programs, .empty-faculty {
    padding: 3rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}     
/* New Professional Fallback Hero Styles */
.fallback-hero {
    position: relative;
    height: 500px;
    width: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.fallback-hero::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.fallback-hero-content {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.fallback-hero-text {
    flex: 1;
    padding: 2rem 3rem 2rem 0;
    max-width: 55%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.hero-badge i {
    margin-right: 0.5rem;
    font-size: 0.75rem;
}

.hero-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 450px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-hero-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    color: white;
}

.btn-hero-secondary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-hero-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.hero-features {
    display: flex;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-item i {
    color: #10b981;
    font-size: 1rem;
}

.fallback-hero-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 45%;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

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

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

.image-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #3b82f6;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quick-setup {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    width: 100%;
}

.setup-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.setup-header i {
    color: #f59e0b;
    font-size: 1.25rem;
}

.setup-header h6 {
    color: #1e293b;
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

.setup-steps {
    margin-bottom: 1.5rem;
}

.setup-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #64748b;
    font-size: 0.9rem;
}

.step-dot {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    flex-shrink: 0;
}

.setup-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.setup-link:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white;
}

/* Responsive Design for New Hero */
@media (max-width: 1200px) {
    .fallback-hero-content {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .fallback-hero-text {
        padding: 2rem;
        order: 2;
        max-width: 100%;
    }
    
    .fallback-hero-image {
        order: 1;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .fallback-hero {
        height: 450px;
    }
    
    .fallback-hero-content {
        height: 450px;
        padding: 1rem 0;
    }
    
    .fallback-hero-text {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .image-wrapper {
        height: 220px;
    }
    
    .quick-setup {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .fallback-hero {
        height: 400px;
    }
    
    .fallback-hero-content {
        height: 400px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .image-wrapper {
        height: 180px;
    }
    
    .quick-setup {
        padding: 1rem;
    }
    
    .setup-link {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 676px) {
    .img-fallback {
        height: 36vh;
    }
}

/* New Design Matching the Image - Teal Blue Background with Blob Shape */
.fallback-hero-new {
    position: relative;
    height: 100%;
    width: 100%;
    max-width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--hero-gradient-color) 50%, var(--secondary-color) 100%) !important;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.fallback-hero-content-new {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 2rem;
    position: relative;
}

.fallback-hero-text-new {
    flex: 1;
    padding: 2rem 3rem 2rem 0;
    max-width: 60%;
    color: white;
}

.hero-subtitle-new {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title-new {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    max-width: 500px;
}

.hero-description-new {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 450px;
}

.btn-hero-new {
    display: inline-block;
    background: #1e293b;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero-new:hover {
    background: #334155;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: white;
}

.fallback-hero-image-new {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 40%;
    height: 100%;
}

.image-blob-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    /* background: white; */
    /* border: 8px solid #1e293b; */
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: rotate(5deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-new {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.image-blob-container:hover .hero-image-new {
    transform: scale(1.05);
}

.brain-icon {
    position: absolute;
    top: -25px;
    left: -25px;
    width: 50px;
    height: 50px;
    background: #1e293b;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.floating-widgets {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}

.widget-item {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

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

.widget-red { background: #ef4444; }
.widget-blue { background: #3b82f6; }
.widget-orange { background: #f59e0b; }
.widget-green { background: #10b981; }
.widget-white { 
    background: white; 
    color: #1e293b; 
}
.widget-camera { background: #22c55e; }
.widget-flame { background: #ec4899; }

.btn-hero-new:hover {
    background: #334155;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: white;
}

.carousel-tips {
    margin-bottom: 1.5rem;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.tip-item i {
    color: #fbbf24;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.btn-add-carousel {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    padding: 1.125rem 2.25rem;
    font-size: 1.15rem;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-add-carousel:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-add-carousel i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Enhanced Contact Section Styles */
.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

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

/* Contact Information Card */
.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px 20px 0 0;
}

.contact-info-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.contact-info-header h4 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.75rem;
}

.contact-info-header p {
    color: #64748b;
    margin: 0;
    font-size: 1rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-info-item:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.1);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    transform: scale(1.1);
}

.contact-info-icon.email {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.contact-info-icon.phone {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.contact-info-icon.address {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.contact-info-icon.website {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.contact-info-icon i {
    font-size: 20px;
    color: white;
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.3;
}

.contact-info-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    word-break: break-word;
}

.contact-info-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(30, 64, 175, 0.05);
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.contact-info-link:hover {
    color: white;
    background: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

/* Contact Form */
.contact-form-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px 20px 0 0;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-form-header h4 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.contact-form-header p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

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

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    background: white;
}

.contact-form .form-control::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.contact-form .form-check {
    margin-bottom: 25px;
}

.contact-form .form-check-input {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #e2e8f0;
    margin-top: 2px;
}

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

.contact-form .form-check-label {
    color: #64748b;
    font-size: 0.9rem;
    margin-left: 8px;
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.4);
}

.contact-form .btn-primary:active {
    transform: translateY(0);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: white;
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-link.twitter {
    background: linear-gradient(135deg, #1da1f2, #42a5f5);
}

.social-link.instagram {
    background: linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info-card {
        padding: 30px 25px;
        margin-bottom: 30px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info-item {
        padding: 20px;
    }
    
    .contact-info-icon {
        width: 45px;
        height: 45px;
        margin-right: 15px;
    }
    
    .contact-info-icon i {
        font-size: 18px;
    }
    
    .contact-form-container {
        padding: 30px 25px;
        margin-top: 30px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact-info-card {
        padding: 25px 20px;
    }
    
    .contact-info-header h4 {
        font-size: 1.5rem;
    }
    
    .contact-info-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info-icon {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
    
    .contact-form-container {
        padding: 25px 20px;
    }
    
    .contact-form .form-control {
        padding: 12px 16px;
    }
    
    .contact-form .btn-primary {
        padding: 12px 25px;
    }
}

/* Toast Notifications */
.toast-container {
    z-index: 9999;
}

.toast-notification {
    min-width: 300px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-notification .toast-body {
    padding: 12px 16px;
}

/* Button Loading State */
.btn.loading {
    position: relative;
    overflow: hidden;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: loading-shimmer 1.5s infinite;
}

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

.btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}