/* ---------- Dark Red Theme ---------- */
:root {
    --primary: #8B0000;        /* dark red */
    --primary-dark: #5C0000;   /* darker red */
    --primary-light: #B22222;  /* firebrick for hover */
    --gray-light: #f8f9fa;
    --transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    --card-shadow: 0 20px 35px -10px rgba(0,0,0,0.1);
    --card-hover-shadow: 0 25px 40px -12px rgba(139,0,0,0.25);
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: var(--gray-light);
    transition: background 0.3s, color 0.3s;
}

/* ---------- Dark Mode Overrides ---------- */
body.dark-mode {
    background: #121212;
    color: #e0e0e0;
}
body.dark-mode .bg-light,
body.dark-mode .team-section,
body.dark-mode .portfolio {
    background: #1e1e1e !important;
}
body.dark-mode .card,
body.dark-mode .category-card,
body.dark-mode .team-card,
body.dark-mode .review-card,
body.dark-mode .feature-box,
body.dark-mode .category-card-modern,
body.dark-mode .service-card-modern {
    background: #2c2c2c;
    color: #f0f0f0;
    border: 1px solid #444;
}
body.dark-mode .text-muted {
    color: #aaa !important;
}
body.dark-mode .btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary-light);
}
body.dark-mode .btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

/* ---------- Hero Slideshow ---------- */
.hero-slideshow {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}
.slide.active {
    opacity: 1;
    z-index: 2;
    animation: kenBurns 12s ease-out forwards;
}
@keyframes kenBurns {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.12) translateY(-3%); }
}
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
}
.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}
.hero-text {
    max-width: 800px;
    opacity: 0;
    transition: opacity 0.6s ease;
    position: absolute;
    width: 100%;
}
.hero-text.active {
    opacity: 1;
    position: relative;
}
.slideshow-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 4;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.2s;
}
.dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 20px;
}

/* ---------- Modern Cards (global) ---------- */
.category-card, .team-card, .review-card, .feature-box {
    background: white;
    border-radius: 28px;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(139,0,0,0.1);
    position: relative;
    overflow: hidden;
}
.category-card:hover, .team-card:hover, .review-card:hover, .feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary);
}
.category-card::after, .team-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary);
    transition: width 0.4s ease;
}
.category-card:hover::after, .team-card:hover::after {
    width: 100%;
}
.category-card h3, .team-card h3 {
    font-weight: 600;
    letter-spacing: -0.3px;
    border-left: 4px solid var(--primary);
    padding-left: 15px;
    margin-top: 1rem;
}
.category-img {
    transition: transform 0.4s ease;
}
.category-card:hover .category-img {
    transform: scale(1.02);
}
.team-card .position {
    display: inline-block;
    background: rgba(139,0,0,0.1);
    padding: 5px 12px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 12px;
}
body.dark-mode .team-card .position {
    background: rgba(178,34,34,0.2);
    color: #ff8a8a;
}

/* Portfolio card overlay */
.card-overlay {
    background: rgba(139,0,0,0.92);
}
.card-overlay a:hover {
    color: #ffc107;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}
.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* ---------- Navbar ---------- */
.navbar {
    transition: background 0.3s ease, box-shadow 0.3s ease;
    background: white !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
body.dark-mode .navbar {
    background: #1e1e1e !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: #8B0000 !important;
    transition: color 0.3s;
}
body.dark-mode .navbar-brand {
    color: #ff6b6b !important;
}
.navbar-brand img {
    height: 40px;
    width: auto;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}
.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 2px;
    border-radius: 8px;
    color: #333 !important;
    transition: all 0.2s ease;
    position: relative;
}
body.dark-mode .navbar-nav .nav-link {
    color: #e0e0e0 !important;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #8B0000;
    border-radius: 3px;
    transition: width 0.25s ease;
}
.navbar-nav .nav-link:hover::after {
    width: 70%;
}
body.dark-mode .navbar-nav .nav-link::after {
    background: #ff6b6b;
}
.navbar-nav .nav-link:hover {
    color: #8B0000 !important;
    transform: translateY(-2px);
}
body.dark-mode .navbar-nav .nav-link:hover {
    color: #ff8a8a !important;
}
.navbar-nav .nav-link.active {
    color: #8B0000 !important;
    font-weight: 600;
}
body.dark-mode .navbar-nav .nav-link.active {
    color: #ff8a8a !important;
}
.navbar-nav .nav-link.active::after {
    width: 70%;
    background: #8B0000;
}
body.dark-mode .navbar-nav .nav-link.active::after {
    background: #ff6b6b;
}
.navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.5rem;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.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(139,0,0,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
body.dark-mode .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(255,107,107,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Services Page Specific ---------- */
/* Filter Buttons */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
}
.filter-btn {
    background: transparent;
    border: 2px solid var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.2s;
    cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: white;
}
body.dark-mode .filter-btn {
    border-color: #ff6b6b;
    color: #ff6b6b;
}
body.dark-mode .filter-btn:hover,
body.dark-mode .filter-btn.active {
    background: #ff6b6b;
    color: #1e1e1e;
}

/* Modern Category Card (larger) */
.category-card-modern {
    background: white;
    border-radius: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(139,0,0,0.1);
    transition: transform 0.25s, box-shadow 0.25s;
}
.category-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(139,0,0,0.15);
    border-color: var(--primary);
}
.category-img-modern {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 20px;
}
.category-icon-modern {
    font-size: 3rem;
    color: var(--primary);
}
.category-title-modern {
    font-weight: 800;
    color: #222;
    letter-spacing: -0.3px;
}
body.dark-mode .category-title-modern {
    color: #f0f0f0;
}
.category-desc-modern {
    font-size: 0.9rem;
}

/* Modern Service Cards (smaller) */
.service-card-modern {
    background: white;
    border-radius: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid #eaeaea;
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
body.dark-mode .service-card-modern {
    background: #2c2c2c;
    border-color: #444;
}
.service-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(139,0,0,0.12);
    border-color: var(--primary);
}
.service-icon-wrapper {
    text-align: center;
}
.service-icon-modern {
    font-size: 2.5rem;
    color: var(--primary);
    transition: transform 0.2s;
}
.service-card-modern:hover .service-icon-modern {
    transform: scale(1.05);
}
.service-title-modern {
    font-weight: 700;
    color: #1a1a1a;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
    margin-bottom: 12px;
}
body.dark-mode .service-title-modern {
    color: #f0f0f0;
}
.service-desc-modern {
    line-height: 1.5;
}
.service-hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary);
    transition: width 0.3s;
}
.service-card-modern:hover .service-hover-line {
    width: 100%;
}

/* Fade-in animation for filtered sections */
.fade-in-up {
    animation: fadeInUp 0.4s ease-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Contact Form ---------- */
.modern-contact-form .form-control,
.modern-contact-form .form-select {
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    padding: 12px 18px;
    transition: all 0.2s ease;
    background: white;
}
body.dark-mode .modern-contact-form .form-control,
body.dark-mode .modern-contact-form .form-select {
    background: #2c2c2c;
    border-color: #555;
    color: #f0f0f0;
}
.modern-contact-form .form-control:focus,
.modern-contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139,0,0,0.2);
    outline: none;
}
.modern-contact-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}
body.dark-mode .modern-contact-form label {
    color: #e0e0e0;
}
.modern-contact-form .btn-primary {
    background: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.2s;
}
.modern-contact-form .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139,0,0,0.3);
}

/* ---------- Dark Mode Toggle Button ---------- */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    border: none;
    border-radius: 50px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
}
.theme-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}
.theme-toggle .moon-icon { display: none; }
.theme-toggle.dark .sun-icon { display: none; }
.theme-toggle.dark .moon-icon { display: inline; }

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 1rem;
    }
    .navbar-nav .nav-link {
        text-align: center;
        padding: 0.75rem;
    }
    .navbar-nav .nav-link::after {
        bottom: 5px;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .navbar-brand img {
        height: 32px;
    }
}
@media (max-width: 768px) {
    .hero-slideshow {
        height: 80vh;
        min-height: 500px;
    }
    .display-4 {
        font-size: 2rem;
    }
    .category-card, .team-card {
        padding: 1.5rem !important;
    }
    .category-card-modern {
        padding: 1rem;
    }
    .category-img-modern, .category-icon-modern {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    .category-title-modern {
        font-size: 1.25rem;
    }
    .service-card-modern {
        padding: 1rem;
    }
    .service-icon-modern {
        font-size: 2rem;
    }
    .filter-btn {
        padding: 5px 14px;
        font-size: 0.85rem;
    }
    .modern-contact-form .form-control,
    .modern-contact-form .form-select {
        padding: 10px 14px;
    }
}

/* ---------- Scroll Animation ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Force vertical scrollbar to prevent layout shift and disappearance */
html {
    overflow-y: scroll;
}
/* ---------- Portfolio Page Modern Styles ---------- */
.portfolio-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(139,0,0,0.1);
}
body.dark-mode .portfolio-card {
    background: #2c2c2c;
    border-color: #444;
}
.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139,0,0,0.15);
    border-color: var(--primary);
}
.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
}
.portfolio-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-img {
    transform: scale(1.05);
}
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 28px 28px 0 0;
}
.portfolio-img-wrapper:hover .portfolio-overlay {
    opacity: 1;
}
.overlay-icon {
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.2s;
}
.overlay-icon:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}
.portfolio-card-body {
    padding: 1.5rem;
}
.portfolio-title {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}
.portfolio-category {
    display: inline-block;
    background: rgba(139,0,0,0.1);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
body.dark-mode .portfolio-category {
    background: rgba(178,34,34,0.2);
    color: #ff8a8a;
}
.portfolio-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
body.dark-mode .portfolio-description {
    color: #bbb;
}

/* Portfolio Single Page */
.portfolio-single-img img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.portfolio-description-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}
body.dark-mode .portfolio-description-content {
    color: #ddd;
}
.portfolio-description-content img {
    max-width: 100%;
    border-radius: 20px;
    margin: 20px 0;
}

/* Filter buttons reuse (already defined for services) */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
}
.filter-btn {
    background: transparent;
    border: 2px solid var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.2s;
    cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: white;
}
body.dark-mode .filter-btn {
    border-color: #ff6b6b;
    color: #ff6b6b;
}
body.dark-mode .filter-btn:hover,
body.dark-mode .filter-btn.active {
    background: #ff6b6b;
    color: #1e1e1e;
}

/* Animation for filtered items */
.fade-in-up {
    animation: fadeInUp 0.4s ease-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-img {
        height: 180px;
    }
    .portfolio-title {
        font-size: 1.1rem;
    }
    .portfolio-card-body {
        padding: 1rem;
    }
    .filter-btn {
        padding: 5px 14px;
        font-size: 0.85rem;
    }
}
/* ---------- Homepage Portfolio Cards (Modern) ---------- */
.portfolio-card-modern {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(139,0,0,0.1);
    position: relative;
}
body.dark-mode .portfolio-card-modern {
    background: #2c2c2c;
    border-color: #444;
}
.portfolio-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139,0,0,0.15);
    border-color: var(--primary);
}
.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
}
.portfolio-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.portfolio-card-modern:hover .portfolio-img {
    transform: scale(1.05);
}
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}
.portfolio-img-wrapper:hover .portfolio-overlay {
    opacity: 1;
}
.overlay-icon {
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.2s;
}
.overlay-icon:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}
.portfolio-card-body {
    padding: 1.5rem;
}
.portfolio-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
    color: #1a1a1a;
}
body.dark-mode .portfolio-title {
    color: #f0f0f0;
}
.portfolio-category {
    display: inline-block;
    background: rgba(139,0,0,0.1);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
body.dark-mode .portfolio-category {
    background: rgba(178,34,34,0.2);
    color: #ff8a8a;
}
.portfolio-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
body.dark-mode .portfolio-description {
    color: #bbb;
}
.portfolio-hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary);
    transition: width 0.3s ease;
}
.portfolio-card-modern:hover .portfolio-hover-line {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-img {
        height: 180px;
    }
    .portfolio-card-body {
        padding: 1rem;
    }
    .portfolio-title {
        font-size: 1.1rem;
    }
}

/* ========== UPDATED COMPACT REVIEW STYLES ========== */
/* Compact review card */
.review-card-modern {
    background: white;
    border-radius: 24px;
    transition: all 0.25s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(139,0,0,0.1);
    position: relative;
    overflow: hidden;
}
body.dark-mode .review-card-modern {
    background: #2c2c2c;
    border-color: #444;
}
.review-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(139,0,0,0.12);
    border-color: var(--primary);
}
.review-avatar, .review-avatar-placeholder {
    object-fit: cover;
    border: 2px solid var(--primary);
}
.review-content-preview, .review-content-full {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
}
body.dark-mode .review-content-preview,
body.dark-mode .review-content-full {
    color: #ccc;
}
.btn-read-more, .btn-read-less {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0;
    margin-top: 6px;
    cursor: pointer;
    display: inline-block;
}
.btn-read-more:hover, .btn-read-less:hover {
    text-decoration: underline;
}
.review-hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s;
}
.review-card-modern:hover .review-hover-line {
    width: 100%;
}

/* Review Form Card */
.review-form-card {
    background: white;
    border-radius: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(139,0,0,0.1);
}
body.dark-mode .review-form-card {
    background: #2c2c2c;
    border-color: #444;
}
.modern-review-form .form-control,
.modern-review-form .form-select {
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    padding: 10px 14px;
}
body.dark-mode .modern-review-form .form-control,
body.dark-mode .modern-review-form .form-select {
    background: #1e1e1e;
    border-color: #555;
    color: #f0f0f0;
}
.modern-review-form .form-control:focus,
.modern-review-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139,0,0,0.2);
}
.modern-review-form label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .review-card-modern {
        padding: 0.75rem !important;
    }
    .review-avatar, .review-avatar-placeholder {
        width: 40px !important;
        height: 40px !important;
    }
    .review-content-preview, .review-content-full {
        font-size: 0.8rem;
    }
    .btn-read-more, .btn-read-less {
        font-size: 0.7rem;
    }
}
/* ---------- Blog Listing Cards ---------- */
.blog-card-modern {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(139,0,0,0.1);
    position: relative;
}
body.dark-mode .blog-card-modern {
    background: #2c2c2c;
    border-color: #444;
}
.blog-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px rgba(139,0,0,0.12);
    border-color: var(--primary);
}
.blog-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.blog-card-modern:hover .blog-img {
    transform: scale(1.05);
}
.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.blog-img-wrapper:hover .blog-overlay {
    opacity: 1;
}
.overlay-link {
    background: white;
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}
.overlay-link:hover {
    background: var(--primary);
    color: white;
}
.blog-card-body {
    padding: 1.5rem;
}
.blog-meta {
    font-size: 0.8rem;
    color: #888;
}
body.dark-mode .blog-meta {
    color: #aaa;
}
.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
    color: #1a1a1a;
}
body.dark-mode .blog-title {
    color: #f0f0f0;
}
.blog-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}
body.dark-mode .blog-excerpt {
    color: #bbb;
}
.blog-hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary);
    transition: width 0.3s;
}
.blog-card-modern:hover .blog-hover-line {
    width: 100%;
}

/* ---------- Blog Single Page ---------- */
.blog-single-meta {
    font-size: 0.9rem;
    color: #666;
}
body.dark-mode .blog-single-meta {
    color: #aaa;
}
.blog-single-img img {
    width: 100%;
    border-radius: 28px;
}
.blog-single-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}
body.dark-mode .blog-single-content {
    color: #ddd;
}
.blog-single-content h2, 
.blog-single-content h3, 
.blog-single-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}
.blog-single-content img {
    max-width: 100%;
    border-radius: 20px;
    margin: 1.5rem 0;
}
.blog-single-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    font-style: italic;
    margin: 1.5rem 0;
    color: #555;
}
body.dark-mode .blog-single-content blockquote {
    color: #ccc;
}
.blog-single-content a {
    color: var(--primary);
    text-decoration: underline;
}
.share-buttons .btn-outline-primary {
    border-radius: 50px;
}
@media (max-width: 768px) {
    .blog-img-wrapper {
        height: 180px;
    }
    .blog-card-body {
        padding: 1rem;
    }
    .blog-title {
        font-size: 1.1rem;
    }
    .blog-single-content {
        font-size: 0.95rem;
    }
}
/* ---------- About Page ---------- */
.about-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 80px 0 120px;
    position: relative;
}
.about-hero h1, .about-hero .lead {
    color: white;
}
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}
body.dark-mode .hero-wave svg path {
    fill: #1e1e1e;
}
.about-card {
    background: white;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-top: -60px;
    border: 1px solid rgba(139,0,0,0.1);
}
body.dark-mode .about-card {
    background: #2c2c2c;
    border-color: #444;
}
.about-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}
body.dark-mode .about-content {
    color: #ddd;
}
.about-content h2, .about-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}
.about-content img {
    max-width: 100%;
    border-radius: 24px;
    margin: 1.5rem 0;
}
.about-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    font-style: italic;
    margin: 1.5rem 0;
}
.stats-section {
    background: var(--gray-light);
}
body.dark-mode .stats-section {
    background: #1e1e1e;
}
.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 28px;
    transition: transform 0.2s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
body.dark-mode .stat-card {
    background: #2c2c2c;
}
.stat-card:hover {
    transform: translateY(-5px);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}
.cta-section h2, .cta-section .lead {
    color: white;
}
.cta-section .btn-light {
    background: white;
    color: var(--primary);
}
.cta-section .btn-light:hover {
    background: #f0f0f0;
}
@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0 100px;
    }
    .about-card {
        padding: 1.25rem;
        margin-top: -40px;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .stat-label {
        font-size: 0.75rem;
    }
}
/* ---------- Modern Image Cards for TinyMCE Content ---------- */
.about-content img,
.blog-single-content img,
.content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    margin: 1.5rem auto;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(139,0,0,0.1);
    background: white;
    padding: 8px;
}

/* Hover effect: zoom + deeper shadow + red border */
.about-content img:hover,
.blog-single-content img:hover,
.content img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(139,0,0,0.25);
    border-color: var(--primary);
}

/* Dark mode adjustments */
body.dark-mode .about-content img,
body.dark-mode .blog-single-content img,
body.dark-mode .content img {
    background: #2c2c2c;
    border-color: #555;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
body.dark-mode .about-content img:hover,
body.dark-mode .blog-single-content img:hover,
body.dark-mode .content img:hover {
    border-color: #ff6b6b;
    box-shadow: 0 15px 30px rgba(255,107,107,0.2);
}

/* Image alignment inside content */
.about-content img.alignleft,
.blog-single-content img.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
    max-width: 45%;
}
.about-content img.alignright,
.blog-single-content img.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    max-width: 45%;
}
.about-content img.aligncenter,
.blog-single-content img.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

/* Responsive: stack floated images on mobile */
@media (max-width: 768px) {
    .about-content img.alignleft,
    .about-content img.alignright,
    .blog-single-content img.alignleft,
    .blog-single-content img.alignright {
        float: none;
        display: block;
        margin: 1rem auto;
        max-width: 100%;
    }
    .about-content img,
    .blog-single-content img,
    .content img {
        padding: 4px;
    }
}

/* Optional: gallery style (multiple images in a row) */
.about-content .gallery,
.blog-single-content .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.about-content .gallery-item,
.blog-single-content .gallery-item {
    flex: 1 1 200px;
    margin: 0;
}
.about-content .gallery-item img,
.blog-single-content .gallery-item img {
    margin: 0;
    width: 100%;
    height: 180px;
    object-fit: cover;
}
/* ---------- Modern Footer ---------- */
.modern-footer {
    background: #0a0a0a;
    color: #e0e0e0;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
    border-top: 3px solid var(--primary);
}
body.dark-mode .modern-footer {
    background: #0a0a0a;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #aaa;
}
.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    display: inline-block;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav li {
    margin-bottom: 0.5rem;
}
.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}
.footer-nav a:hover {
    color: var(--primary);
    padding-left: 5px;
}
.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1e1e1e;
    border-radius: 50%;
    color: #e0e0e0;
    font-size: 1.2rem;
    transition: all 0.2s;
}
.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}
body.dark-mode .social-icon {
    background: #2c2c2c;
}
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 1.5rem;
}
.whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.02);
    color: white;
}
.copyright {
    font-size: 0.8rem;
    color: #888;
    margin-top: 1rem;
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-icons {
        justify-content: center;
    }
    .footer-nav a:hover {
        padding-left: 0;
    }
}
/* ========== ENHANCEMENTS – PREMIUM SAAS UPGRADE ========== */
/* (Only additive styles – no existing code removed or renamed) */

/* ---------- GLOBAL REFINEMENTS ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Improved dark mode background (richer, premium) */
body.dark-mode {
  background: #0b0e11; /* deep charcoal with subtle blue undertone */
  color: #eaeef2;
}

/* Smooth transitions for all interactive elements */
a, button, .btn, .nav-link, .card, .portfolio-card, .service-card-modern,
.category-card-modern, .blog-card-modern, .review-card-modern {
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- DARK MODE – PREMIUM COLOR PALETTE ---------- */
body.dark-mode .bg-light,
body.dark-mode .team-section,
body.dark-mode .portfolio,
body.dark-mode .stats-section {
  background: #13181c !important; /* slightly lighter than body for depth */
}

body.dark-mode .card,
body.dark-mode .category-card,
body.dark-mode .team-card,
body.dark-mode .review-card,
body.dark-mode .feature-box,
body.dark-mode .category-card-modern,
body.dark-mode .service-card-modern,
body.dark-mode .portfolio-card-modern,
body.dark-mode .blog-card-modern,
body.dark-mode .review-form-card,
body.dark-mode .about-card,
body.dark-mode .stat-card {
  background: #1e262c; /* rich dark grey with hint of blue */
  border: 1px solid #2a363e;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

body.dark-mode .card:hover,
body.dark-mode .category-card:hover,
body.dark-mode .team-card:hover,
body.dark-mode .portfolio-card-modern:hover,
body.dark-mode .blog-card-modern:hover {
  border-color: #b03a3a; /* lighter red for dark mode */
  box-shadow: 0 20px 35px rgba(176, 58, 58, 0.18);
}

body.dark-mode .text-muted {
  color: #b0b9c2 !important;
}

/* Dark mode primary color adjustments */
body.dark-mode .btn-outline-primary {
  border-color: #c24a4a;
  color: #e0a0a0;
}
body.dark-mode .btn-outline-primary:hover {
  background: #b03a3a;
  color: #fff;
}

/* Dark mode navbar enhancement */
body.dark-mode .navbar {
  background: #10171c !important;
  border-bottom: 1px solid #2a363e;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

body.dark-mode .navbar-brand {
  color: #f28b8b !important;
}

body.dark-mode .navbar-nav .nav-link {
  color: #d3dce3 !important;
}
body.dark-mode .navbar-nav .nav-link:hover {
  color: #f28b8b !important;
  background: rgba(176, 58, 58, 0.1);
}
body.dark-mode .navbar-nav .nav-link.active {
  color: #f28b8b !important;
  background: rgba(176, 58, 58, 0.15);
}

/* Dark mode filter buttons */
body.dark-mode .filter-btn {
  border-color: #c24a4a;
  color: #e0a0a0;
}
body.dark-mode .filter-btn:hover,
body.dark-mode .filter-btn.active {
  background: #b03a3a;
  color: #fff;
}

/* ---------- TYPOGRAPHY ENHANCEMENTS ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.display-4 {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lead {
  font-weight: 400;
  line-height: 1.7;
}

/* Better body text contrast */
body.dark-mode p, 
body.dark-mode li {
  color: #d0d9e0;
}

/* ---------- CARD & CONTAINER SPACING CONSISTENCY ---------- */
section {
  padding: 5rem 0;
}
@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }
}

/* Improved card inner spacing */
.category-card, 
.team-card, 
.review-card, 
.feature-box,
.portfolio-card-modern .portfolio-card-body,
.blog-card-modern .blog-card-body {
  padding: 1.8rem 1.5rem !important;
}
@media (max-width: 576px) {
  .category-card, .team-card, .review-card, .feature-box {
    padding: 1.5rem 1.2rem !important;
  }
}

/* Modern card hover effect: subtle lift + glow */
.category-card:hover, 
.team-card:hover, 
.review-card:hover, 
.feature-box:hover,
.portfolio-card-modern:hover,
.blog-card-modern:hover,
.service-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 40px -12px rgba(139, 0, 0, 0.2);
}

body.dark-mode .category-card:hover,
body.dark-mode .team-card:hover,
body.dark-mode .portfolio-card-modern:hover,
body.dark-mode .blog-card-modern:hover {
  box-shadow: 0 25px 40px -12px rgba(176, 58, 58, 0.25);
}

/* ---------- BUTTON UPGRADES ---------- */
.btn {
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  border-radius: 60px;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  border-width: 2px;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 16px -6px rgba(139, 0, 0, 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -8px rgba(139, 0, 0, 0.4);
}

.btn-outline-primary {
  border-width: 2px;
  font-weight: 600;
}
.btn-outline-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -6px rgba(139, 0, 0, 0.2);
}

/* Filter buttons refined */
.filter-btn {
  padding: 0.6rem 1.8rem;
  font-size: 0.9rem;
  border-width: 2px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
body.dark-mode .filter-btn {
  background: rgba(30, 38, 44, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* WhatsApp button modernized */
.whatsapp-btn {
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.3);
}
.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(37, 211, 102, 0.4);
}

/* ---------- NAVBAR PREMIUM UPGRADE ---------- */
.navbar {
  padding: 0.9rem 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid rgba(139, 0, 0, 0.08);
}

body.dark-mode .navbar {
  background: rgba(16, 23, 28, 0.9) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #2a363e;
}

.navbar-nav .nav-link {
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  margin: 0 3px;
  border-radius: 40px;
}
.navbar-nav .nav-link:hover {
  background: rgba(139, 0, 0, 0.03);
}
body.dark-mode .navbar-nav .nav-link:hover {
  background: rgba(176, 58, 58, 0.12);
}

.navbar-nav .nav-link.active {
  background: rgba(139, 0, 0, 0.06);
  font-weight: 600;
}
body.dark-mode .navbar-nav .nav-link.active {
  background: rgba(176, 58, 58, 0.15);
}

/* Underline animation more refined */
.navbar-nav .nav-link::after {
  height: 2px;
  bottom: -4px;
  background: var(--primary);
  border-radius: 2px;
}
body.dark-mode .navbar-nav .nav-link::after {
  background: #c24a4a;
}

/* ---------- HERO SLIDESHOW ENHANCEMENT ---------- */
.hero-content .display-4 {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.hero-content .lead {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.slide-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(30, 10, 10, 0.7) 100%);
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.dot.active {
  background: var(--primary);
  width: 30px;
}

/* ---------- IMAGE STYLING ENHANCEMENT ---------- */
.about-content img,
.blog-single-content img,
.content img {
  border-radius: 28px;
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.about-content img:hover,
.blog-single-content img:hover,
.content img:hover {
  transform: scale(1.01);
  box-shadow: 0 25px 45px -10px rgba(139, 0, 0, 0.3);
}
body.dark-mode .about-content img,
body.dark-mode .blog-single-content img,
body.dark-mode .content img {
  box-shadow: 0 18px 30px -8px rgba(0, 0, 0, 0.5);
}
body.dark-mode .about-content img:hover,
body.dark-mode .blog-single-content img:hover,
body.dark-mode .content img:hover {
  box-shadow: 0 25px 40px -8px rgba(176, 58, 58, 0.25);
}

/* Portfolio image overlay icon modern touch */
.overlay-icon {
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.9);
}
body.dark-mode .overlay-icon {
  background: rgba(30, 38, 44, 0.9);
  color: #f0a0a0;
}

/* ---------- FOOTER MODERNIZATION ---------- */
.modern-footer {
  background: #0c1217;
  border-top: 4px solid var(--primary);
  padding: 4rem 0 2rem;
}
body.dark-mode .modern-footer {
  background: #080c10;
}
.footer-title {
  font-weight: 700;
  letter-spacing: -0.01em;
}
.footer-nav a {
  transition: all 0.2s;
}
.footer-nav a:hover {
  color: var(--primary-light);
  padding-left: 8px;
}
.social-icon {
  background: #1a2329;
  transition: all 0.25s;
}
.social-icon:hover {
  background: var(--primary);
  transform: translateY(-4px) scale(1.05);
}

/* ---------- SCROLL ANIMATIONS (subtle) ---------- */
.fade-in {
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- ADDITIONAL RESPONSIVE FINESSE ---------- */
@media (max-width: 768px) {
  .display-4 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .btn {
    padding: 0.6rem 1.4rem;
  }
}

/* ---------- PERFORMANCE: AVOID HEAVY FILTERS ON HOVER ---------- */
/* Ensure animations are GPU-friendly */
.category-card,
.team-card,
.portfolio-card-modern,
.blog-card-modern,
.service-card-modern {
  will-change: transform, box-shadow;
}

/* ---------- ADDITIONAL DARK MODE CONTRAST FOR FORMS ---------- */
body.dark-mode .modern-contact-form .form-control:focus,
body.dark-mode .modern-review-form .form-control:focus,
body.dark-mode .modern-review-form .form-select:focus {
  border-color: #c24a4a;
  box-shadow: 0 0 0 3px rgba(194, 74, 74, 0.25);
}

/* ---------- FIX FOR BOOTSTRAP COMPATIBILITY ---------- */
/* Ensure container padding remains consistent */
.container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* Smooth navbar toggler icon */
.navbar-toggler {
  transition: transform 0.2s;
}
.navbar-toggler:hover {
  transform: scale(0.95);
}

/* Portfolio single page image spacing */
.portfolio-single-img img {
  margin-bottom: 2rem;
}

/* Blog single meta spacing */
.blog-single-meta {
  margin-bottom: 1.8rem;
}