/* ===== ROOT VARIABLES ===== */
:root {
    /* Primary teal system - Brand Color */
    --primary: #008080;
    --primary-rgb: 0, 128, 128;
    --primary-dark: #006666;
    --primary-light: #4db8b8;
    --primary-ultra-light: #e6f7f7;

    /* Semantic colors */
    --secondary: #2c3e50;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;

    /* Design system */
    --shadow-sm: 0 2px 8px rgba(0, 128, 128, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 128, 128, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 128, 128, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 128, 128, 0.2);
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --animation-speed: 0.3s;

    /* Glass morphism */
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.18);

    /* Text colors */
    --text-light: #ffffff;
    --text-dark: #2c3e50;

    /* Theme variables - Light mode default */
    --theme-bg-primary: #f2f7f7;
    --theme-bg-secondary: #ffffff;
    --theme-bg-accent: rgba(0, 128, 128, 0.08);
    --theme-text-primary: #072b4e;
    --theme-text-secondary: #6c757d;
    --theme-text-muted: #6c757d;
    --theme-border-color: #e9ecef;
    --theme-card-bg: #ffffff;
    --theme-navbar-bg: var(--primary);
    --theme-navbar-text: var(--text-light);
    --gradient-primary: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    --gradient-hero: linear-gradient(135deg, var(--theme-bg-primary) 0%, rgba(0, 128, 128, 0.3) 100%);
    --gradient-footer: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    --gradient-contact: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 128, 128, 0.1) 0%, transparent 100%);
    --hero-title-color: var(--primary);
    --hero-subtitle-color: var(--secondary);
}

/* ===== DARK THEME OVERRIDES ===== */
[data-theme="dark"] {
    --theme-bg-primary: #121212;
    --theme-bg-secondary: #1e1e1e;
    --theme-bg-accent: rgba(0, 128, 128, 0.12);
    --theme-text-primary: #e9ecef;
    --theme-text-secondary: #adb5bd;
    --theme-text-muted: #adb5bd;
    --theme-border-color: #343a40;
    --theme-card-bg: #1e1e1e;
    --theme-navbar-bg: var(--primary-dark);
    --theme-navbar-text: var(--text-light);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, var(--theme-bg-primary) 0%, rgba(0, 128, 128, 0.2) 100%);
    --gradient-footer: linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-dark) 100%);
    --gradient-contact: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 128, 128, 0.15) 0%, transparent 100%);
    --hero-title-color: var(--primary-light);
    --hero-subtitle-color: #adb5bd;
    --shadow-sm: 0 2px 8px rgba(0, 128, 128, 0.12);
    --shadow-md: 0 4px 16px rgba(0, 128, 128, 0.16);
    --shadow-lg: 0 8px 32px rgba(0, 128, 128, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 128, 128, 0.24);
    --glass-bg: rgba(0, 0, 0, 0.12);
    --glass-border: rgba(0, 0, 0, 0.18);
}

/* ===== AUTO THEME ===== */
[data-theme="auto"] {
    --theme-bg-primary: #f2f7f7;
    --theme-bg-secondary: #ffffff;
    --theme-bg-accent: rgba(0, 128, 128, 0.08);
    --theme-text-primary: #2c3e50;
    --theme-text-secondary: #6c757d;
    --theme-text-muted: #6c757d;
    --theme-border-color: #e9ecef;
    --theme-card-bg: #ffffff;
    --theme-navbar-bg: var(--primary);
    --theme-navbar-text: var(--text-light);
    --gradient-primary: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    --gradient-hero: linear-gradient(135deg, var(--theme-bg-primary) 0%, rgba(0, 128, 128, 0.3) 100%);
    --gradient-footer: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    --gradient-contact: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 128, 128, 0.1) 0%, transparent 100%);
    --hero-title-color: var(--primary);
    --hero-subtitle-color: var(--secondary);
}

@media (prefers-color-scheme: dark) {
    [data-theme="auto"] {
        --theme-bg-primary: #121212;
        --theme-bg-secondary: #1e1e1e;
        --theme-bg-accent: rgba(0, 128, 128, 0.12);
        --theme-text-primary: #e9ecef;
        --theme-text-secondary: #adb5bd;
        --theme-text-muted: #adb5bd;
        --theme-border-color: #343a40;
        --theme-card-bg: #1e1e1e;
        --theme-navbar-bg: var(--primary-dark);
        --theme-navbar-text: var(--text-light);
        --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        --gradient-hero: linear-gradient(135deg, var(--theme-bg-primary) 0%, rgba(6, 110, 110, 0.2) 100%);
        --gradient-footer: linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-dark) 100%);
        --gradient-contact: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        --gradient-overlay: linear-gradient(135deg, rgba(0, 128, 128, 0.15) 0%, transparent 100%);
        --hero-title-color: var(--primary-light);
        --hero-subtitle-color: #adb5bd;
        --shadow-sm: 0 2px 8px rgba(0, 128, 128, 0.12);
        --shadow-md: 0 4px 16px rgba(0, 128, 128, 0.16);
        --shadow-lg: 0 8px 32px rgba(0, 128, 128, 0.2);
        --shadow-xl: 0 16px 48px rgba(0, 128, 128, 0.24);
        --glass-bg: rgba(0, 0, 0, 0.12);
        --glass-border: rgba(0, 0, 0, 0.18);
    }
}

/* ===== MODERN PAGE LOADER ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    color: var(--text-light);
}

.loader-logo {
    margin-bottom: 30px;
}

.spinning-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.highbrow-logo-text {
    font-family: 'Amaranth', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: var(--text-light);
    text-shadow: 0 3px 6px rgba(0,0,0,0.3);
    animation: pulse 2s ease-in-out infinite;
}

.loader-progress {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 20px;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--text-light), #f0f0f0, var(--text-light));
    width: 0%;
    animation: loading 2s ease-in-out forwards;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.progress-percentage {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.9;
}

.loader-text {
    font-size: 1.1rem;
    opacity: 0.8;
    animation: fadeInOut 2s ease-in-out infinite;
}

/* ===== BASE STYLES ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--theme-text-primary);
    padding-top: 80px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--theme-bg-primary);
}

body.loading {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Open Sans', sans-serif;
    font-weight: 600;
    color: var(--theme-text-primary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.highbrow-logo {
    font-family: 'Amaranth', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--theme-navbar-text);
    text-decoration: none;
    transition: var(--transition);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.highbrow-logo:hover {
    color: rgba(var(--theme-navbar-text-rgb), 0.9);
    transform: scale(1.05);
}

/* ===== UNIVERSAL MUTED TEXT FIX ===== */
.text-muted,
.blog-meta,
.blog-stats,
.blog-stats small,
.form-text,
small.text-muted,
.card-text.text-muted,
.text-muted small,
.blog-meta small,
.comment-header small,
.reply-header small,
.comment-actions small {
    color: var(--theme-text-muted) !important;
}

/* Ensure muted text in cards inherits proper colors */
.card .text-muted,
.card-body .text-muted,
.card-footer .text-muted {
    color: var(--theme-text-muted) !important;
}

/* ===== TYPOGRAPHY ===== */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--theme-text-secondary);
}

/* ===== SECTION BACKGROUNDS ===== */
section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Hero Section - Keep gradient */
.hero-section {
    background: linear-gradient(135deg, #77777a 0%, #006666 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--theme-bg-accent);
    opacity: 0.6;
    background-image: radial-gradient(var(--primary-dark) 1.4px, var(--theme-bg-accent) 1.4px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* About Section - Enhanced */
.about-section {
    background: var(--theme-bg-secondary);
    padding: 6rem 0;
}

.services-section {
    background: var(--theme-bg-primary);
}

.team-section {
    background: var(--theme-bg-secondary);
}

.blog-section {
    background: var(--theme-bg-primary);
}

.blog-content {
    background: var(--theme-bg-primary);
}

.testimonials-section {
    background: var(--theme-bg-secondary);
}

.careers-section {
    background: var(--theme-bg-primary);
}

.page-hero {
    background: var(--gradient-hero);
    border-bottom: 1px solid var(--theme-border-color);
    padding: 4rem 0;
}

/* Contact section - keep gradient as requested */
.contact-section {
    background: var(--gradient-contact);
    color: var(--text-light);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" x="0" y="0" width="15" height="15" patternUnits="userSpaceOnUse"><circle fill="rgba(255,255,255,0.1)" cx="8" cy="8" r="2"/></pattern></defs><rect fill="url(%23contact-pattern)" width="100%" height="100%"/></svg>');
    pointer-events: none;
}

/* Footer - keep gradient as requested */
.footer {
    background: var(--gradient-footer);
    color: var(--text-light);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" x="0" y="0" width="15" height="15" patternUnits="userSpaceOnUse"><circle fill="rgba(255,255,255,0.05)" cx="7.5" cy="7.5" r="1.5"/></pattern></defs><rect fill="url(%23footer-pattern)" width="100%" height="100%"/></svg>');
    pointer-events: none;
}

/* ===== HERO SECTION ENHANCEMENTS ===== */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.3), transparent);
    animation: sparkle 3s linear infinite;
}

.hero-title {
    background: linear-gradient(45deg, #ffffff, #006666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: contain !important;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    transition: var(--transition);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.hero-stats {
    position: absolute;
    top: 20%;
    right: 10%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-item {
    text-align: center;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.stat-card {
    background: var(--theme-card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--theme-border-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===== ABOUT SECTION - FIXED STYLING ===== */
.about-image-container {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo {
    width: 100%;
    height: auto;
    object-fit: contain !important;
    border-radius: var(--border-radius) !important;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.about-logo:hover {
    transform: scale(1.02) !important;
    box-shadow: var(--shadow-xl) !important;
}

/* Logo placeholder - FIXED STYLING */
.logo-placeholder {
    background: linear-gradient(135deg, var(--primary-ultra-light), rgba(var(--primary-rgb), 0.1)) !important;
    border: 2px solid var(--primary) !important;
    border-radius: var(--border-radius) !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition) !important;
    min-height: 400px !important;
}

.logo-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-dark);
}

.logo-placeholder .highbrow-logo {
    font-size: 2.5rem !important;
    color: var(--primary) !important;
    text-align: center !important;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--theme-navbar-bg) !important;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(var(--primary-rgb), 0.95) !important;
    box-shadow: var(--shadow-xl);
    padding: 0.5rem 0;
}

.nav-logo {
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    color: var(--theme-navbar-text) !important;
    position: relative;
    transition: var(--transition);
    border-radius: 8px;
    margin: 0 0.25rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--theme-navbar-text), transparent);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

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

.nav-link:hover {
    color: rgba(var(--theme-navbar-text-rgb), 0.9) !important;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

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

/* ===== TEAM MEMBER STYLING FIXES ===== */
.member-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

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

.member-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.team-member-card {
    background: var(--theme-card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--theme-border-color);
    overflow: hidden;
    padding: 1.5rem;
    color: var(--theme-text-primary);
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-member-card h4,
.team-member-card p {
    color: var(--theme-text-primary);
}

.team-member-card .text-primary {
    color: var(--primary) !important;
}

.team-member-card .text-muted {
    color: var(--theme-text-muted) !important;
}

/* Team carousel oval images (for index page) */
.oval-frame {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.oval-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.oval-frame:hover .oval-img {
    transform: scale(1.1);
}

/* ===== BUTTON ENHANCEMENTS ===== */
.btn {
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
}

.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: var(--transition);
}

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

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-md);
    color: var(--text-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-primary);
}

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

.btn-outline-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    color: var(--text-light);
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--text-light);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--text-light);
}

.pulse-button {
    animation: pulse-primary 2s infinite;
}

/* ===== CARD ENHANCEMENTS ===== */
.card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    background: var(--theme-card-bg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--theme-border-color);
    color: var(--theme-text-primary);
}

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

.card-header {
    background: var(--theme-bg-accent);
    border-bottom: 1px solid var(--theme-border-color);
    color: var(--theme-text-primary);
}

.card-body {
    background: var(--theme-card-bg);
    color: var(--theme-text-primary);
}

.card-footer {
    background: var(--theme-card-bg);
    border-top: 1px solid var(--theme-border-color);
}

.card-title a {
    color: var(--theme-text-primary);
    transition: var(--transition);
}

.card-title a:hover {
    color: var(--primary);
}

/* ===== BLOG CARDS FIXES ===== */
.blog-card {
    transition: var(--transition);
    border: none;
    overflow: hidden;
    border: 1px solid var(--theme-border-color);
    background: var(--theme-card-bg);
    color: var(--theme-text-primary);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.blog-card .card-body {
    color: var(--theme-text-primary);
    background: var(--theme-card-bg);
}

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

.blog-card .card-title {
    color: var(--theme-text-primary);
}

.blog-card .card-title a {
    color: var(--theme-text-primary);
}

.blog-card .card-title a:hover {
    color: var(--primary);
}

.blog-image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
}

.related-image-container {
    position: relative;
    overflow: hidden;
    height: 150px;
}

.related-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-category-badge {
    position: absolute;
    top: 8px;
    left: 8px;
}

/* ===== BLOG DETAIL PAGE FIXES ===== */
.blog-article {
    color: var(--theme-text-primary);
}

.article-content {
    color: var(--theme-text-primary);
    line-height: 1.8;
}

.article-content p {
    color: var(--theme-text-primary);
    margin-bottom: 1.5rem;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: var(--theme-text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-actions {
    background: var(--theme-card-bg);
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--theme-border-color);
    margin-bottom: 2rem;
}

.share-buttons .btn {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--text-light) !important;
}

.share-buttons .btn:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.dropdown-menu {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    box-shadow: var(--shadow-lg);
}

.dropdown-item {
    color: var(--theme-text-primary);
}

.dropdown-item:hover {
    background: var(--theme-bg-accent);
    color: var(--theme-text-primary);
}

/* ===== COMMENTS SECTION FIXES ===== */
.comments-section {
    color: var(--theme-text-primary);
}

.comment-card {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color) !important;
    color: var(--theme-text-primary);
}

.comment-header {
    color: var(--theme-text-primary);
}

.comment-content {
    color: var(--theme-text-primary);
}

.comment-content p {
    color: var(--theme-text-primary);
}

.reply-card {
    background: var(--theme-bg-accent) !important;
    color: var(--theme-text-primary);
}

.reply-content p {
    color: var(--theme-text-primary);
}

.comment-author-info h6 {
    color: var(--theme-text-primary);
}

.reply-author-info h6 {
    color: var(--theme-text-primary);
}

/* ===== SIDEBAR FIXES ===== */
.blog-sidebar .card {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    color: var(--theme-text-primary);
}

.blog-sidebar .card-header {
    background: var(--theme-bg-accent);
    color: var(--theme-text-primary);
}

.blog-sidebar .card-body {
    background: var(--theme-card-bg);
    color: var(--theme-text-primary);
}

.category-item a {
    color: var(--theme-text-primary);
}

.category-item a:hover {
    color: var(--primary);
}

.featured-post a {
    color: var(--theme-text-primary);
}

.featured-post a:hover {
    color: var(--primary);
}

.featured-post h6 {
    color: var(--theme-text-primary);
}

/* ===== PAGINATION FIXES ===== */
.page-link {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    color: var(--theme-text-primary);
}

.page-link:hover {
    background: var(--theme-bg-accent);
    border-color: var(--primary);
    color: var(--primary);
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-light);
}

/* ===== SERVICE CARDS ===== */
.service-item {
    margin-bottom: 4rem !important;
}

.service-content {
    background: var(--theme-card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--theme-border-color);
    color: var(--theme-text-primary);
}

.service-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.service-content h2 {
    color: var(--theme-text-primary);
}

.service-content p {
    color: var(--theme-text-primary);
}

.service-content .lead {
    color: var(--theme-text-secondary);
}

.service-image img {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-image:hover img {
    transform: scale(1.02);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    max-width: 600px;
    background: var(--theme-card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid var(--theme-border-color);
    color: var(--theme-text-primary);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 80px;
    color: var(--primary);
    line-height: 1;
}

.client-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary);
}

/* ===== CAREERS CTA SECTION ===== */
.careers-cta-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    padding: 6rem 0;
}

.careers-stats .stat-item {
    margin: 0 20px;
}

.careers-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.careers-stats .stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== FORM ENHANCEMENTS ===== */
.form-floating {
    position: relative;
}

.form-floating .form-control {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: var(--border-radius);
    color: var(--text-light);
    transition: var(--transition);
}

.form-floating .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
    color: var(--text-light);
}

.form-floating .form-control::placeholder {
    color: transparent;
}

.form-floating label {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
    color: var(--text-light);
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
}

/* Regular form controls for other pages */
.form-control {
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid var(--theme-border-color);
    background: var(--theme-card-bg);
    color: var(--theme-text-primary);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb),0.25);
    background: var(--theme-card-bg);
    color: var(--theme-text-primary);
}

.form-select {
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid var(--theme-border-color);
    background: var(--theme-card-bg);
    color: var(--theme-text-primary);
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb),0.25);
    background: var(--theme-card-bg);
    color: var(--theme-text-primary);
}

/* Form labels for regular forms */
label {
    color: var(--theme-text-primary);
    font-weight: 500;
}

/* ===== CONTACT SECTION ===== */
.contact-info-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.contact-info-item:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.contact-details strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-details a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.contact-details a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    color: var(--text-light);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    background: var(--text-light);
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-link.whatsapp:hover { background: #25D366; color: var(--text-light); }
.social-link.facebook:hover { background: #1DA1F2; color: var(--text-light); }
.social-link.twitter:hover { background: #111111; color: var(--text-light); }
.social-link.instagram:hover { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); color: var(--text-light); }

/* ===== FOOTER ENHANCEMENTS ===== */
.footer-section h3 {
    color: var(--text-light);
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--text-light), transparent);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 20px;
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: var(--transition);
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--text-light);
    padding-left: 25px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.social-links-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-link-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    color: var(--text-light);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.social-link-footer:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(255,255,255,0.2);
    color: var(--text-light);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* ===== TOAST ENHANCEMENTS ===== */
.toast {
    border-radius: var(--border-radius);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
}

.toast.bg-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

.toast.bg-danger {
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
}

.toast.bg-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14) !important;
}

.toast.bg-info {
    background: linear-gradient(135deg, #17a2b8, #6f42c1) !important;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: none;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--primary);
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--theme-text-muted);
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    background: var(--theme-bg-secondary);
}

.content-section h2,
.content-section h3 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section ul {
    margin-left: 1.5rem;
}

.content-section ul li {
    margin-bottom: 0.5rem;
}

/* ===== LOADING STATES ===== */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===== ANIMATION CLASSES ===== */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.6s ease-out forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.6s ease-out forwards;
}

/* ===== PLACEHOLDER STYLING FOR MISSING IMAGES ===== */
.placeholder-image {
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
    background-color: var(--theme-bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border-radius: var(--border-radius);
    color: var(--theme-text-muted);
}

.placeholder-image:hover {
    border-color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.placeholder-image h5 {
    color: var(--theme-text-muted);
}

/* ===== PROJECT CARDS ===== */
.project-card {
    transition: var(--transition);
    border: none;
    overflow: hidden;
    border: 1px solid var(--theme-border-color);
    background: var(--theme-card-bg);
    color: var(--theme-text-primary);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.project-image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image-container img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* ===== FEATURE ICONS (FIXED FOR DARK MODE) ===== */
.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--text-light);
}

/* ===== FEATURE POINTS AND SPECIAL STYLES ===== */
.why-choose-card {
    background: linear-gradient(135deg, var(--theme-bg-primary) 0%, var(--theme-bg-accent) 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--theme-border-color);
    position: relative;
    overflow: hidden;
    color: var(--theme-text-primary);
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.feature-point {
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    color: var(--theme-text-primary);
}

.feature-point:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-point h5 {
    color: var(--theme-text-primary);
}

.feature-point p {
    color: var(--theme-text-secondary);
}

/* ===== BADGES AND TAGS ===== */
.badge {
    font-weight: 500;
}

.badge.bg-light {
    background: var(--theme-bg-accent) !important;
    color: var(--theme-text-primary) !important;
    border: 1px solid var(--theme-border-color);
}

/* ===== ALERTS ===== */
.alert {
    border-radius: var(--border-radius);
    border: none;
}

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

.alert-danger {
    background: var(--danger);
    color: var(--text-light);
}

.alert-warning {
    background: var(--warning);
    color: var(--text-dark);
}

.alert-info {
    background: var(--info);
    color: var(--text-light);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        min-height: 70vh;
        text-align: center;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar.scrolled {
        padding: 0.5rem 0;
    }
    
    .social-links,
    .social-links-footer {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .member-img,
    .oval-frame {
        width: 150px;
        height: 150px;
    }
    
    .hero-image-container,
    .about-image-container {
        min-height: 300px;
        margin-bottom: 2rem;
    }

	.hero-buttons{
    justify-content: center !important;
	}
    
    .about-logo {
        height: auto !important;
        width: 100% !important;
    }
    
    .logo-placeholder {
        height: auto !important;
        min-height: 300px !important;
    }
    
    .service-item {
        margin-bottom: 3rem !important;
    }
    
    .hero-stats {
        display: none !important;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .careers-stats .d-flex {
        flex-direction: column;
        gap: 20px !important;
    }
    
    .careers-stats .stat-item {
        margin: 0;
    }
	.footer-section {
        text-align: center !important;
    }
    
    .footer-section h3 {
        text-align: center !important;
    }
    
    .footer-section p {
        text-align: center !important;
    }
    
    .footer-links {
        text-align: center !important;
    }
    
    .footer-links li {
        text-align: center !important;
    }

	.footer-section h3::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .social-links-footer {
        justify-content: center !important;
    }
    
    .newsletter-form {
        text-align: center !important;
    }
    
    /* Center the bottom copyright section on mobile too */
    .footer .row:last-child .col-md-6 {
        text-align: center !important;
        margin-bottom: 1rem;
    }
    
    .footer .row:last-child .col-md-6:last-child {
        margin-bottom: 0;
    }

    .why-choose-card {
        padding: 2rem 1.5rem !important;
    }
    
    .feature-point {
        margin-bottom: 2rem;
    }
    
    .feature-point:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .page-hero {
        padding: 3rem 0;
    }
    
    .about-image-container,
    .hero-image-container {
        min-height: 250px;
    }
    
    .about-logo {
        height: auto !important;
        width: 100% !important;
    }
    
    .logo-placeholder {
        height: 250px !important;
        min-height: 250px !important;
    }
}

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

.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .footer,
    .back-to-top,
    .toast-container,
    .page-loader {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        background: white;
        color: black;
    }
    
    section {
        break-inside: avoid;
        padding: 1rem 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

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

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

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

@keyframes pulse-primary {
    0% { box-shadow: 0 0 0 0 rgba(0, 128, 128, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 128, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 128, 128, 0); }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes sparkle {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

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

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

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

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}

/* ===== ANIMATED BACKGROUND ===== */
.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #808080;
    overflow: hidden;
    z-index: -1;
}

.background span {
    width: 23vmin;
    height: 23vmin;
    border-radius: 23vmin;
    backface-visibility: hidden;
    position: absolute;
    animation: move;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.background span:nth-child(0) {
    color: #008080;
    top: 95%;
    left: 36%;
    animation-duration: 85s;
    animation-delay: -199s;
    transform-origin: -20vw -18vh;
    box-shadow: -46vmin 0 6.68133603378669vmin currentColor;
}

.background span:nth-child(1) {
    color: #e9e2e4;
    top: 38%;
    left: 24%;
    animation-duration: 167s;
    animation-delay: -49s;
    transform-origin: -4vw 7vh;
    box-shadow: -46vmin 0 5.926768767098707vmin currentColor;
}

.background span:nth-child(2) {
    color: #e9e2e4;
    top: 66%;
    left: 46%;
    animation-duration: 36s;
    animation-delay: -195s;
    transform-origin: 16vw -13vh;
    box-shadow: 46vmin 0 6.111205778273418vmin currentColor;
}

.background span:nth-child(3) {
    color: #e9e2e4;
    top: 64%;
    left: 59%;
    animation-duration: 34s;
    animation-delay: -130s;
    transform-origin: -1vw -10vh;
    box-shadow: 46vmin 0 6.732742639837938vmin currentColor;
}

.background span:nth-child(4) {
    color: #008080;
    top: 47%;
    left: 84%;
    animation-duration: 136s;
    animation-delay: -151s;
    transform-origin: 15vw -20vh;
    box-shadow: -46vmin 0 6.150043810794346vmin currentColor;
}

.background span:nth-child(5) {
    color: #e9e2e4;
    top: 69%;
    left: 5%;
    animation-duration: 177s;
    animation-delay: -33s;
    transform-origin: -22vw -9vh;
    box-shadow: 46vmin 0 5.750395089869082vmin currentColor;
}

.background span:nth-child(6) {
    color: #e9e2e4;
    top: 92%;
    left: 9%;
    animation-duration: 188s;
    animation-delay: -121s;
    transform-origin: -7vw -15vh;
    box-shadow: 46vmin 0 6.610128482373762vmin currentColor;
}

.background span:nth-child(7) {
    color: #e9e2e4;
    top: 24%;
    left: 30%;
    animation-duration: 17s;
    animation-delay: -34s;
    transform-origin: 7vw 3vh;
    box-shadow: 46vmin 0 5.9159981026897945vmin currentColor;
}

.background span:nth-child(8) {
    color: #008080;
    top: 63%;
    left: 71%;
    animation-duration: 73s;
    animation-delay: -139s;
    transform-origin: 3vw 7vh;
    box-shadow: -46vmin 0 6.587296220212548vmin currentColor;
}

.background span:nth-child(9) {
    color: #008080;
    top: 89%;
    left: 41%;
    animation-duration: 84s;
    animation-delay: -144s;
    transform-origin: -14vw 4vh;
    box-shadow: -46vmin 0 6.274702328353468vmin currentColor;
}

.background span:nth-child(10) {
    color: #464949;
    top: 56%;
    left: 52%;
    animation-duration: 166s;
    animation-delay: -4s;
    transform-origin: -13vw -24vh;
    box-shadow: 46vmin 0 6.598531112648462vmin currentColor;
}

.background span:nth-child(11) {
    color: #008080;
    top: 92%;
    left: 24%;
    animation-duration: 65s;
    animation-delay: -121s;
    transform-origin: 7vw 6vh;
    box-shadow: 46vmin 0 6.384461357712588vmin currentColor;
}

.background span:nth-child(12) {
    color: #008080;
    top: 7%;
    left: 47%;
    animation-duration: 13s;
    animation-delay: -183s;
    transform-origin: 17vw 15vh;
    box-shadow: 46vmin 0 6.488635140226199vmin currentColor;
}

.background span:nth-child(13) {
    color: #e9e2e4;
    top: 88%;
    left: 85%;
    animation-duration: 135s;
    animation-delay: -23s;
    transform-origin: -12vw 14vh;
    box-shadow: 46vmin 0 6.2071300672236145vmin currentColor;
}

.background span:nth-child(14) {
    color: #008080;
    top: 49%;
    left: 9%;
    animation-duration: 20s;
    animation-delay: -154s;
    transform-origin: -24vw -6vh;
    box-shadow: 46vmin 0 6.0129345790034945vmin currentColor;
}

.background span:nth-child(15) {
    color: #e9e2e4;
    top: 45%;
    left: 1%;
    animation-duration: 18s;
    animation-delay: -52s;
    transform-origin: -3vw 21vh;
    box-shadow: -46vmin 0 6.585306324789951vmin currentColor;
}

.background span:nth-child(16) {
    color: #e9e2e4;
    top: 53%;
    left: 18%;
    animation-duration: 143s;
    animation-delay: -40s;
    transform-origin: 18vw 13vh;
    box-shadow: 46vmin 0 6.531280121246504vmin currentColor;
}