/* CSS Variables for Brand Customization */
:root {
    /* Primary Colors */
    --primary-color: #0966FF;
    --primary-hover: #0052CC;
    --primary-light: #6FA4FF;
    
    /* Secondary Colors */
    --secondary-color: #50C878;
    --secondary-hover: #3FAF66;
    --secondary-light: #DFF5EA;
    
    /* Accent / Status Colors */
    --success-color: #50C878;
    --info-color: #0966FF;
    --warning-color: #FF6B35;
    --danger-color: #DC3545;
    
    /* Dark & Light Colors */
    --dark-color: #0A0F2D;
    --light-color: #F8FAFF;
    
    /* Background & Text Colors */
    --bg-color: #F8FAFF;
    --text-color: #0A0F2D;
    --text-muted: #64748B;
    --text-light: #F8FAFF;
    
    /* Border & Shadow */
    --border-color: rgba(10, 15, 45, 0.1);
    --border-radius: 0.375rem;
    --box-shadow: 0 0.5rem 1rem rgba(10, 15, 45, 0.15);
    --box-shadow-sm: 0 0.125rem 0.25rem rgba(10, 15, 45, 0.08);
    
    /* Transition */
    --transition: all 0.3s ease;
    
    /* Font */
    --font-family-sans: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-family-serif: Georgia, 'Times New Roman', Times, serif;
    --font-family-mono: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

    /* Brand Extras */
    --accent-color: #FF6B35;
    --gradient: linear-gradient(135deg, #0966FF 0%, #50C878 100%);
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
}


@media (prefers-color-scheme: dark) {
  :root {
      --bg-color: #1a1a1a;
  }
}

/* Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-sans);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

.list-group.list-group-flush .list-group-item.active {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
  transition: var(--transition);
}

[data-bs-theme="dark"] .list-group.list-group-flush .list-group-item.active {
  background-color: var(--primary-hover); /* slightly darker shade */
  color: var(--text-light);
  border-color: var(--primary-hover);
}
.list-group.list-group-flush .list-group-item.active:hover {
  background-color: var(--primary-hover);
}

/* Dropdown Button */
.dropdown .btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.dropdown .btn:hover,
.dropdown .btn:focus {
    background-color: var(--primary-hover);
    color: var(--text-light);
}

/* Dropdown Menu */
.dropdown-menu {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-sm);
    color: var(--text-color);
    transition: var(--transition);
}

/* Dropdown Items */
.dropdown-menu .dropdown-item {
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--primary-hover);
    color: var(--text-color);
}

/* Active Dropdown Item */
.dropdown-menu .dropdown-item.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.dropdown-menu .dropdown-item.active i {
    color: var(--text-light); /* Checkmark icon color */
}

/* Dark Theme Support */
[data-bs-theme="dark"] .dropdown-menu {
    background-color: var(--light-color);
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-bs-theme="dark"] .dropdown-menu .dropdown-item:hover {
    background-color: var(--primary-hover);
    color: var(--text-light);
}

[data-bs-theme="dark"] .dropdown-menu .dropdown-item.active {
    background-color: var(--primary-hover);
    color: var(--text-light);
}


/* Buttons */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline-primary {
    color: var(--primary-color);
    background-color: transparent;
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
}

/* Theme Toggle Button */
.btn-theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.btn-theme-toggle i.fa-moon {
    display: inline-block;
}

.btn-theme-toggle i.fa-sun {
    display: none;
}

[data-bs-theme="dark"] .btn-theme-toggle i.fa-moon {
    display: none;
}

[data-bs-theme="dark"] .btn-theme-toggle i.fa-sun {
    display: inline-block;
}

/* Style Toggle Button (Glass/Neumorphism) */
.btn-style-toggle {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.btn-style-toggle i.fa-glass-whiskey {
    display: inline-block;
}

.btn-style-toggle i.fa-cube {
    display: none;
}

/* Scroll to Top Button */
.btn-scroll-top {
    position: fixed;
    bottom: 150px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.btn-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-ring__circle {
    stroke-dasharray: 126;
    stroke-dashoffset: 126;
}

/* Navbar Base */
.navbar-sticky {
    padding: 1rem 0;
    transition: var(--transition);
    background-color: var(--bg-color, #fff);
    box-shadow: var(--box-shadow-sm);
    z-index: 1000;
}

.navbar-sticky.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: var(--box-shadow);
    animation: slideDown 0.5s ease;
}

.navbar-sticky.hide {
    transform: translateY(-100%);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Logo Support */
.navbar-brand img {
    height: 40px;
    transition: var(--transition);
}

.navbar-brand .logo-dark { display: none; }
[data-bs-theme="dark"] .navbar-brand .logo-light { display: none; }
[data-bs-theme="dark"] .navbar-brand .logo-dark { display: inline-block; }

/* Toggler */
.navbar-toggler {
    border: none;
    background: none;
    font-size: 1.25rem;
    color: var(--primary-color); /* icon color */
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    color: var(--primary-hover);
    background-color: var(--primary-light);
    outline: none;
}

/* Icon Rotation When Expanded */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

/* Optional: Default Icon Rotation State */
.navbar-toggler .navbar-toggler-icon {
    transition: transform 0.3s ease;
}


/* Nav Links */
.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}
.nav-link:hover,
.nav-link:focus {
    color: var(--primary-color);
}

/* Caret Icon */
.navbar .dropdown-toggle {
    position: relative;
    padding-right: 1.5rem !important;
}
.navbar .dropdown-toggle::before {
    content: '\f078'; /* Font Awesome chevron-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}
.navbar-dark .dropdown-toggle::before {
    color: white;
}

/* Dropdown */
.dropdown-menu {
    background-color: var(--bg-color);
    border: none;
    box-shadow: var(--box-shadow);
    min-width: 220px;
    padding: 0.75rem 0;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
    color: var(--text-color);
}
.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--primary-color);
}
.dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--border-color-light);
}

/* Mega Menu */
.dropdown-mega {
    position: static;
}
.dropdown-mega .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    padding: 2rem 0;
    margin-top: 0;
    border: none;
    background-color: var(--bg-color);
}
.dropdown-mega .mega-menu {
    padding: 0 2rem;
}
.dropdown-mega .mega-menu h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.dropdown-mega .mega-menu .dropdown-item {
    padding: 0.4rem 0;
    color: var(--text-color);
    transition: var(--transition);
    margin: 0.5rem;
}
.dropdown-mega .mega-menu .dropdown-item:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        box-shadow: none;
    }

    .dropdown-mega .dropdown-menu {
        padding: 1rem;
    }

    .mega-menu .row {
        flex-direction: column;
    }

    .navbar-nav .nav-link {
        padding-left: 1rem;
    }
}

/* Search + Buttons */
.search-form {
    position: relative;
    margin-right: 1rem;
}
.search-form .form-control {
    padding-right: 2.5rem;
    border-radius: 2rem;
}
.search-form .btn-search {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--text-muted);
}

.nav-buttons .btn {
    margin-left: 0.5rem;
}

/* Remove Bootstrap's default caret */
.navbar .dropdown-toggle::after {
    display: none;
}

/* Add Font Awesome caret on the right */
.navbar .dropdown-toggle {
    position: relative;
    padding-right: 1.5rem !important; /* Make space for the icon */
}

.navbar .dropdown-toggle::before {
    content: '\f078'; /* Font Awesome chevron-down */
    font-family: 'Font Awesome 6 Free'; /* or 'Font Awesome 5 Free' based on your version */
    font-weight: 900; /* Required for solid icons */
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

/* Ensure proper color for dark navbar */
.navbar-dark .dropdown-toggle::before {
    color: white;
}

/* new for mobile scroller*/
/* Improved Navbar - Minimal Enhancements */
.navbar-sticky {
    transition: all 0.3s ease;
}

/* Smoother mobile dropdowns */
@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        transition: max-height 0.3s ease;
    }
    
    .dropdown-menu {
        background-color: rgba(0,0,0,0.03);
        margin-left: 1rem;
        width: calc(100% - 2rem);
    }
    
    .dropdown-mega .dropdown-menu {
        padding: 1rem;
    }
}

/* Better mega menu transitions */
.dropdown-mega .dropdown-menu {
    transition: opacity 0.3s, transform 0.3s;
    }

/* Fix dropdown caret alignment */
.navbar .dropdown-toggle::before {
    top: 55%; /* Better vertical alignment */
}



/* Dark mode improvements */
[data-bs-theme="dark"] .dropdown-menu {
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Search form focus state */
.search-form .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color), 0.1);
}

/* Custom Invisible Scrollbar (applies to entire page) */
html {
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: transparent transparent; /* For Firefox */
    overflow-y: scroll; /* Prevent layout shift */
}

/* Webkit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 4px;
}

/* Show scrollbar thumb only when scrolling */
html.scrolling::-webkit-scrollbar-thumb {
    background-color: rgba(var(--primary-color), 0.2);
}

html.scrolling {
    scrollbar-color: rgba(var(--primary-color), 0.2) transparent; /* Firefox */
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0 5rem;
    background: linear-gradient(135deg, var(--bg-color), var(--bg-color-alt, #f8f9fa));
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Optional decorative radial light gradient */
.hero-section::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color-light, rgba(0, 123, 255, 0.2)), transparent);
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

/* Hero Text Container with Glassmorphism */
.hero-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

[data-bs-theme="dark"] .hero-glass {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Typography & Buttons */
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-buttons .btn {
    white-space: nowrap;
}

/* Hero Image Animation */
.hero-image {
    animation: float 6s ease-in-out infinite;
    will-change: transform;
    max-width: 100%;
    z-index: 1;
    position: relative;
}

/* Float Animation */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Scroll Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 4rem 0;
        text-align: center;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-glass {
        padding: 1.5rem;
    }
}

/* Stats Section */
.stats-section {
    background-color: var(--bg-color, #f8f9fa);
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius, 1rem);
    background-color: var(--card-bg-color, #ffffff);
    box-shadow: var(--box-shadow-sm, 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow, 0 0.5rem 1rem rgba(0, 0, 0, 0.15));
}

.stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(78, 84, 200, 0.1);
    color: var(--primary-color, #4e54c8);
    border-radius: 50%;
    font-size: 1.75rem;
    transition: background-color 0.3s ease;
}

.stat-card:hover .stat-icon {
    background-color: rgba(78, 84, 200, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color, #4e54c8);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted, #6c757d);
    margin-bottom: 0;
}

/* Documents Section Base */
.documents-section {
    background-color: var(--bg-color);
}

/* Filter Card */
.documents-filter {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
}

.documents-filter .card-header {
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
}

/* Document Card */
.document-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.document-icon {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    font-size: 2rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.document-card:hover .document-icon {
    background-color: var(--primary-color);
    color: white;
}

.document-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.document-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.document-expiry {
    font-size: 0.75rem;
    color: var(--warning);
    background-color: rgba(var(--warning-rgb), 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    display: inline-block;
}

.document-link {
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.document-link:hover {
    color: var(--primary-dark);
}

.document-link i {
    transition: transform 0.3s ease;
}

.document-link:hover i {
    transform: translateX(3px);
}

/* Group Title */
.documents-group-title {
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.1);
}

.documents-group-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Empty State */
.documents-empty {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-sm);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .documents-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .documents-count {
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .documents-grid .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* Service Card Base */
.service-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    background-color: var(--bg-color);
    box-shadow: var(--box-shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow);
}

/* Icon Style */
.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(78, 84, 200, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.6rem;
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: #fff;
}

/* Title & Description */
.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.service-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.service-features i {
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-features i {
    color: var(--white);
}

/* Link Style */
.service-link {
    font-weight: 500;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-link i {
    margin-left: 0.5rem;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
}

.service-link:hover i {
    transform: translateX(5px);
}


/* === Filter Pills === */
.portfolio-filter .nav-pills .nav-link {
    color: var(--text-color);
    font-weight: 500;
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    margin: 0.25rem;
    background-color: transparent;
    border: 1px solid var(--border-color, #ddd);
    transition: all 0.3s ease;
}

.portfolio-filter .nav-pills .nav-link:hover,
.portfolio-filter .nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* === Portfolio Card === */
.portfolio-card {
    background-color: var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* === Portfolio Image === */
.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #f8f8f8;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

/* === Overlay === */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.75) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: #fff;
    padding: 1.25rem;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

/* === Overlay Icons === */
.portfolio-overlay .overlay-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.portfolio-overlay .overlay-actions a {
    width: 42px;
    height: 42px;
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.portfolio-overlay .overlay-actions a:hover {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: #fff;
}

/* === Tech Badges === */
.portfolio-technologies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
}

.portfolio-technologies .badge {
    font-size: 0.7rem;
    font-weight: 500;
    background-color: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
}

/* === Card Content === */
.portfolio-content {
    padding: 1rem 1rem 1.25rem;
    text-align: center;
}

.portfolio-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.portfolio-category {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* === Responsive Improvements === */
@media (max-width: 767.98px) {
    .portfolio-filter .nav-pills {
        flex-wrap: wrap;
    }

    .portfolio-overlay {
        padding: 1rem;
        justify-content: center;
        text-align: center;
    }

    .portfolio-overlay .portfolio-technologies {
        justify-content: center;
    }
}



/* ===== Enhanced Newsletter Section ===== */
.newsletter-section {
    background-color: var(--bg-light, #f8f9fa);
    position: relative;
    padding: 4rem 0;
    isolation: isolate;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
                rgba(var(--primary-color-rgb), 0.03) 0%, 
                rgba(var(--secondary-color-rgb), 0.03) 100%);
    z-index: -1;
}

.newsletter-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-color-dark, #212529);
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.newsletter-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted, #6c757d);
    margin-bottom: 2rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
}

.newsletter-form .input-group {
    display: flex;
    border-radius: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form .input-group:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.15);
}

.newsletter-form .form-control {
    height: 3.75rem;
    border-radius: 3rem 0 0 3rem !important;
    padding: 0 1.75rem;
    border: 2px solid transparent;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.newsletter-form .form-control:focus {
    border-color: rgba(var(--primary-color-rgb), 0.3);
    box-shadow: none;
}

.newsletter-form .btn {
    height: 3.75rem;
    border-radius: 0 3rem 3rem 0 !important;
    padding: 0 2.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.newsletter-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
                var(--primary-color), 
                var(--secondary-color));
    z-index: -1;
    transition: transform 0.5s ease;
    transform: scaleX(1);
    transform-origin: right;
}

.newsletter-form .btn:hover::before {
    transform: scaleX(1.05);
}

.newsletter-form .form-check {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-left: 0;
}

.newsletter-form .form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0;
    border: 2px solid var(--text-muted);
}

.newsletter-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.newsletter-form .form-check-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Success state */
.newsletter-success {
    display: none;
    text-align: center;
}

.newsletter-success .icon {
    font-size: 3rem;
    color: var(--success-color, #28a745);
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 3rem 0;
    }
    
    .newsletter-subtitle {
        max-width: 100%;
    }
    
    .newsletter-form .btn {
        padding: 0 1.75rem;
    }
}

@media (max-width: 576px) {
    .newsletter-form .input-group {
        flex-direction: column;
        border-radius: 1rem;
        box-shadow: none;
        gap: 1rem;
    }
    
    .newsletter-form .form-control,
    .newsletter-form .btn {
        width: 100%;
        border-radius: 3rem !important;
        height: 3.25rem;
    }
}



/* Partners Section */
.partner-logo {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: transform 0.3s ease;
    cursor: default;
}

.partner-logo img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* Hover Effects */
.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive tweak for smaller logos */
@media (max-width: 576px) {
    .partner-logo {
        height: 80px;
        padding: 1rem;
    }

    .partner-logo img {
        max-height: 50px;
    }
}


/* Team Card */
.team-card {
    text-align: center;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
    cursor: default;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

/* Team Image Container */
.team-image {
    position: relative;
    overflow: hidden;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

/* Team Image */
.team-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

/* Social Icons Container */
.team-social {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--primary-light);
    padding: 0.75rem 0;
    transition: bottom 0.3s ease;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.team-card:hover .team-social {
    bottom: 0;
}

/* Social Links */
.team-social a {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0.2);
}

/* Team Content */
.team-content {
    padding: 1.5rem 1.25rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Name and Position */
.team-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-color);
}

.team-position {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}
/* Team Image Container */
.team-image {
    position: relative;
    overflow: hidden;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

/* Team Image */
.team-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    z-index: 1;
    position: relative;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

/* Social Icons */
.team-social {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    /*background: transparent;*/
    background-color: var(--primary-color);
    display: flex;
    gap: 0.5rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Social Link Style */
.team-social a {
    width: 38px;
    height: 38px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.team-social a:hover {
    background-color: var(--secondary-light);
    transform: scale(1.1);
}

/* Blogs Section */
.blogs-section {
    /*background-color: var(--section-bg, #f9f9f9);*/
    position: relative;
}

/* Blog Card Base */
.blog-card {
    background-color: var(--bg-color, #fff);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

[data-bs-theme="dark"] .blog-card {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Hover Effect */
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Image Container */
.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

/* Date Badge */
.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color, #0d6efd);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 0.875rem;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.blog-date span:first-child {
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

/* Blog Content */
.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta Info */
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted, #6c757d);
    margin-bottom: 0.75rem;
}

.blog-meta i {
    margin-right: 0.4rem;
    color: var(--primary-color, #0d6efd);
}

/* Blog Title */
.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-title a {
    color: var(--dark-color, #212529);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--primary-color, #0d6efd);
}

/* Blog Excerpt */
.blog-excerpt {
    color: var(--text-muted, #6c757d);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

/* Read More Link */
.blog-read-more {
    font-weight: 500;
    color: var(--primary-color, #0d6efd);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.blog-read-more i {
    margin-left: 0.4rem;
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 576px) {
    .blog-image img {
        height: 200px;
    }

    .blog-title {
        font-size: 1.1rem;
    }

    .blog-excerpt {
        font-size: 0.875rem;
    }
}

/* Pagination Container */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

/* Pagination Item */
.page-item {
    display: inline-block;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color, #212529);
    background-color: var(--bg-color, #fff);
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Hover & Active */
.page-link:hover,
.page-item.active .page-link {
    background-color: var(--primary-color, #0d6efd);
    color: #fff;
    border-color: var(--primary-color, #0d6efd);
}

/* Disabled State */
.page-item.disabled .page-link {
    color: var(--text-muted, #6c757d);
    pointer-events: none;
    background-color: var(--bg-muted, #f8f9fa);
    border-color: var(--border-color, #dee2e6);
}

/* Icon Arrows */
.page-link i {
    font-size: 0.9rem;
}


/* === Testimonials Section === */
.testimonials-section {
    background-color: var(--bg-color);
    position: relative;
    padding: 4rem 0;
}

/* === Testimonial Slider Wrapper === */
.testimonial-slider {
    max-width: 960px;
    margin: 0 auto;
}

/* === Testimonial Card === */
.testimonial-item {
    padding: 1rem;
}

.testimonial-content {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-bs-theme="dark"] .testimonial-content {
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* === Decorative Quote Mark === */
.testimonial-content::before {
    content: '“';
    position: absolute;
    top: -30px;
    left: 30px;
    font-size: 6rem;
    color: rgba(0, 123, 255, 0.08);
    font-family: Georgia, serif;
    z-index: 0;
    pointer-events: none;
}

/* === Rating Stars === */
.testimonial-rating {
    color: var(--warning-color, #ffc107);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    z-index: 1;
    position: relative;
}

/* === Quote Text === */
.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-color, #333);
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

/* === Author Info === */
.testimonial-author {
    display: flex;
    align-items: center;
    z-index: 1;
    position: relative;
}

.testimonial-author-image {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-right: 1rem;
}

.testimonial-author-info .testimonial-author-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-author-info .testimonial-author-position {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* === Hover Effect === */
.testimonial-content:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

/* === Responsive Adjustments === */
@media (max-width: 767.98px) {
    .testimonial-content {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonial-author-image {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}



/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color, #0d6efd); /* fallback */
    color: var(--light, #ffffff);
    padding: 3rem 0;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--light, #ffffff);
}

.cta-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 0;
    color: var(--light, #ffffff);
}

.cta-section .btn {
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-section .btn:hover {
    background-color: var(--light-hover, #f8f9fa);
    color: var(--primary-color, #0d6efd);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .cta-section .btn {
        font-size: 1rem;
        width: 100%;
        padding: 0.75rem;
    }

    .cta-section .col-lg-4 {
        text-align: center !important;
    }
}


/* ===== Enhanced Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--darker-color) 100%);
    color: var(--text-color, #333); /* Falls back to #333 if undefined */
    position: relative;
    padding: 4rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer a {
    color: var(--text-color, #333); /* Falls back to #333 if undefined */
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer a:hover {
    color: var(--text-color, #333); /* Falls back to #333 if undefined */
    text-decoration: underline;
}

.footer-widget {
    margin-bottom: 2.5rem;
}

.footer-logo img {
    height: 42px;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-about {
    color: var(--text-color, #333); /* Falls back to #333 if undefined */
    margin-bottom: 1.75rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: var(--secondary-light);
    color: var(--text-color, #333); /* Falls back to #333 if undefined */
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-social a:hover::before {
    opacity: 1;
}

.footer-social i {
    position: relative;
    z-index: 1;
}

.footer-widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color, #333);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
    position: relative;
    padding-left: 1rem;
}

.footer-links li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

.footer-links a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    transform: translateX(5px);
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 2rem;
}

.footer-contact-info i {
    position: absolute;
    left: 0;
    top: 0.25rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
}

.footer-contact-info span {
    display: inline-block;
}

.footer-bottom {
    /*background-color: var(--secondary-light);
    color: var(--text-color, #333);*/
    padding: 1.5rem 0;
    font-size: 0.85rem;
    margin-top: 3rem;
}

.footer-bottom a {
    color: var(--text-color, #333);
}

.footer-bottom a:hover {
    color: var(--text-color, #333);
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.footer-bottom-links li {
    position: relative;
}

.footer-bottom-links li:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -0.75rem;
    /*color: rgba(255, 255, 255, 0.3);*/
    color: var(--text-color, #333);
}

/* Newsletter in Footer */
.footer-newsletter {
    margin-top: 1.5rem;
}

.footer-newsletter .form-control {
    background-color: var('--primary-color');
    /*border: none;*/
    color: var(--text-color, #333);
    height: 2.75rem;
    margin-bottom: 0.75rem;
}

.footer-newsletter .form-control::placeholder {
    background-color: var('--primary-light');
}

.footer-newsletter .btn {
    width: 100%;
    height: 2.75rem;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .footer {
        padding: 3rem 0 0;
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .footer {
        /*text-align: center;*/
    }
    
    .footer-widget-title::after {
        left: 5%;
        transform: translateX(-50%);
    }
    
    .footer-links li {
        padding-left: 0;
    }
    
    .footer-links li::before {
        display: none;
    }
    
    .footer-social {
        /*justify-content: center;*/
    }
    
    .footer-contact-info li {
        /*justify-content: center;*/
        padding-left: 0;
    }
    
    .footer-contact-info i {
        position: static;
        margin-right: 0.75rem;
    }
}

/* Section Styling */
.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-description {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Utility Classes */
.bg-light {
    background-color: var(--light-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

/* Neumorphism Effect */
.neumorphism-effect {
    border-radius: var(--border-radius);
    background: var(--bg-color);
    box-shadow:  8px 8px 16px #d1d1d1,
                -8px -8px 16px #ffffff;
}

[data-bs-theme="dark"] .neumorphism-effect {
    box-shadow:  8px 8px 16px #1a1a1a,
                -8px -8px 16px #2a2a2a;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0;
    }
    
    .nav-buttons {
        margin-top: 1rem;
        display: flex;
    }
    
    .hero-section {
        padding: 5rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 4rem 0 3rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-bottom-links li {
        margin: 0 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .newsletter-form .btn {
        position: relative;
        width: 100%;
       /* right: auto;
        top: auto;
        height: auto;*/
        right: 5px;
        top: 5px;
        height: 50px;
        border-radius: 2rem;
    }
}

/* new */
/* Page Header */
.page-header {
    padding: 6rem 0 3rem;
    background: linear-gradient(135deg, var(--primary-color, #0d6efd) 0%, #1a1a1a 100%);
    color: #fff;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.page-header h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p.lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.page-header .breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.page-header .breadcrumb-item a {
    color: var(--text-muted, #dee2e6);
    text-decoration: none;
}

.page-header .breadcrumb-item a:hover {
    color: var(--primary-light, #66b2ff);
}

.page-header .breadcrumb-item.active {
    color: var(--primary-color, #0d6efd);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted, #dee2e6);
}

.page-header .post-meta {
    font-size: 0.95rem;
    color: #f1f1f1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.page-header .post-meta i {
    margin-right: 0.3rem;
}

.page-header .badge {
    font-size: 0.85rem;
    padding: 0.5em 0.75em;
    border-radius: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0 2rem;
        text-align: center;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p.lead {
        font-size: 1.1rem;
    }

    .page-header .post-meta {
        justify-content: center;
        text-align: center;
        font-size: 0.9rem;
    }

    .page-header .breadcrumb {
        justify-content: center;
    }
}


/* Project Header */
.project-header {
    background-color: var(--bg-color);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
}

.meta-label {
    font-weight: 600;
    margin-right: 0.5rem;
    color: var(--text-muted);
}

.meta-value {
    color: var(--text-color);
}

/* Project Gallery */
.project-gallery .gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.project-gallery .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.project-gallery .gallery-item img {
    transition: var(--transition);
}

.project-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

/* Project Details */
.project-details h2, 
.project-details h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.project-sidebar {
    background-color: var(--bg-color);
    position: sticky;
    top: 20px;
}

[data-bs-theme="dark"] .project-sidebar {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.project-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-sidebar li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.project-sidebar li:last-child {
    border-bottom: none;
}

.tech-tags {
    margin-top: 0.5rem;
}

.share-buttons {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.related-projects {
    margin-top: 2rem;
}

.related-project {
    display: block;
    color: var(--text-color);
    transition: var(--transition);
}

.related-project:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.related-project h6 {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

/* Project Navigation */
.project-navigation .project-nav-link {
    display: inline-block;
    color: var(--text-muted);
    transition: var(--transition);
}

.project-navigation .project-nav-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.project-navigation h5 {
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* About Page */
.about-intro {
    background-color: var(--bg-color);
    padding: 3rem 0;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-stats-card {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background-color: var(--bg-color);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.stat-item:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-text {
    color: var(--text-muted);
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .about-stats-card {
        position: static;
        margin-top: 2rem;
        justify-content: center;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .stat-item:not(:last-child) {
        border-right: none;
    }
}

@media (max-width: 576px) {
    .about-stats-card {
        flex-direction: row;
        align-items: center;
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding:0 1.5rem
    }

    .stat-item {
        border-right: none !important;
        padding: 0.5rem 0;
    }

    .feature-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .feature-icon {
        margin-bottom: 0.5rem;
    }
}


/* Values Section */
.value-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(78, 84, 200, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.5rem;
}

.value-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.value-description {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Mission & Vision */
.mission-statement, 
.vision-statement {
    position: relative;
    overflow: hidden;
}

.mission-icon, 
.vision-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Approach Section */
.approach-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.approach-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.approach-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.approach-text {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Impact Section */
.impact-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.impact-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.impact-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Team Page */
.team-card .team-bio {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.department-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.department-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.department-card.popular {
    border: 2px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.department-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.department-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 1rem;
}

.department-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.department-link:hover i {
    transform: translateX(5px);
}

/* Services Page */
.service-process .process-steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.service-process .process-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.service-process .process-step:last-child {
    margin-bottom: 0;
}

.service-process .step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-process .step-content {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-sm);
}

.service-process .process-step::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    width: 2px;
    height: calc(100% - 60px);
    background-color: var(--primary-color);
}

.service-process .process-step:last-child::before {
    display: none;
}

/* Tech Stack */
.tech-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

/* Service Detail */
.service-overview .feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-overview .feature-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.benefit-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.benefit-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.benefit-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.benefit-text {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Service Packages */
.package-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

[data-bs-theme="dark"] .package-card {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.package-name {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.package-duration {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.package-features li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border-color);
}

.package-features li:last-child {
    border-bottom: none;
}

.service-card-sm {
    display: flex;
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-card-sm:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.service-icon-sm {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.service-title-sm {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.service-text-sm {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.service-link-sm {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
}

.service-link-sm i {
    margin-left: 0.25rem;
    transition: var(--transition);
}

.service-link-sm:hover i {
    transform: translateX(3px);
}

/* Blog Pages */
.featured-post {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);

    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

[data-bs-theme="dark"] .featured-post {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.featured-image {
    overflow: hidden;
}

.featured-image img {
    transition: var(--transition);
    width: 100%;
    height: 400px;
    object-fit: cover;
}
/* Hover Effect */
.featured-post:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.featured-post:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.post-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.post-date, 
.post-author, 
.post-comments {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.post-title a {
    color: var(--dark-color);
    transition: var(--transition);
}

.post-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.post-excerpt {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Blog Detail */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.article-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.article-date, 
.article-author, 
.article-read-time {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.toc-card {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-sm);
}

[data-bs-theme="dark"] .toc-card {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.toc-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-nav li {
    margin-bottom: 0.5rem;
}

.toc-nav a {
    color: var(--text-color);
    transition: var(--transition);
}

.toc-nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
    padding-left: 5px;
}

.article-featured-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.image-caption {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

.article-image {
    margin: 2rem 0;
}

.article-blockquote {
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    background-color: rgba(78, 84, 200, 0.05);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.article-blockquote p {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.article-blockquote footer {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.article-video {
    margin: 2rem 0;
}

.video-caption {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

.article-share .share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.author-bio {
    background-color: var(--bg-color);
}

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(78, 84, 200, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: var(--transition);
}

.author-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.related-articles .related-article-card {
    display: block;
    color: var(--text-color);
    transition: var(--transition);
}

.related-articles .related-article-card:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.related-articles .related-image {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.related-articles .related-image img {
    transition: var(--transition);
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-articles .related-article-card:hover .related-image img {
    transform: scale(1.05);
}

.related-articles .related-category {
    font-size: 0.75rem;
}

.related-articles .related-title {
    font-size: 1.125rem;
    margin: 0.5rem 0;
}

.related-articles .related-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    /*background-color: var(--bg-color);*/
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-sm);

    background: var(--bg-color-light, #f8f9fa);
    border: 1px solid var(--border-color, #e9ecef);
}


[data-bs-theme="dark"] .sidebar-widget {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.widget-title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;

    font-weight: 600;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.sidebar-widget p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.sidebar-newsletter-form .form-control {
    height: 2.75rem;
    border-radius: 8px !important;
    padding: 0 1rem;
    font-size: 0.9rem;
    border: 1px solid var(--border-color, #e9ecef);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.sidebar-newsletter-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

.sidebar-newsletter-form .btn {
    height: 2.75rem;
    border-radius: 8px !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-newsletter-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
                var(--primary-color), 
                var(--secondary-color));
    z-index: -1;
    transition: transform 0.4s ease;
    transform: scaleX(1);
    transform-origin: right;
}

.sidebar-newsletter-form .btn:hover::before {
    transform: scaleX(1.05);
}

/* Success message */
.sidebar-newsletter-success {
    display: none;
    text-align: center;
    padding: 0.5rem;
}

.sidebar-newsletter-success .icon {
    color: var(--success-color, #28a745);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.sidebar-newsletter-success p {
    margin-bottom: 0;
    font-size: 0.85rem;
}


.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--border-color);
}

.category-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
    transition: var(--transition);
}

.category-list a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.category-list .count {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.recent-post {
    display: flex;
    margin-bottom: 1rem;
}

.recent-post:last-child {
    margin-bottom: 0;
}

.recent-post-image {
    flex: 0 0 80px;
    margin-right: 1rem;
}

.recent-post-image img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.recent-post-content h4 {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.recent-post-content h4 a {
    color: var(--text-color);
    transition: var(--transition);
}

.recent-post-content h4 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.recent-post-content .post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--light-color);
    color: var(--text-color);
    border-radius: 20px;
    font-size: 0.75rem;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Comments Section */
.comments-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.comment {
    padding: 1.5rem;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.comment:last-child {
    margin-bottom: 0;
}

.comment-author img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.comment-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.comment-body {
    margin-left: 63px;
}

.comment-reply {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
}

.divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
    z-index: -1;
}

.divider-text {
    display: inline-block;
    padding: 0 1rem;
    background-color: var(--bg-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Contact Page */
.contact-method {
    padding: 1.5rem;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.method-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(78, 84, 200, 0.1);
    border-radius: 50%;
}

.method-content h5 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.method-content p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-form {
    background-color: var(--bg-color);
}

[data-bs-theme="dark"] .contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.contact-map {
    margin-top: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.emergency-contact {
    background: var(--bg-color);
    padding: 15px;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 5px 5px 0;
}

.emergency-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Login & Register Pages */
.login-section, 
.register-section {
    background-color: var(--bg-color);
}

.login-card, 
.register-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

[data-bs-theme="dark"] .login-card, 
.register-card {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.login-logo, 
.register-logo {
    height: 50px;
}

.password-strength .progress {
    background-color: var(--light-color);
}

.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-google {
    background-color: #fff;
    color: #4285F4;
    border: 1px solid #ddd;
}

.btn-google:hover {
    background-color: #f8f9fa;
}

.btn-facebook {
    background-color: #3b5998;
    color: white;
}

.btn-facebook:hover {
    background-color: #344e86;
    color: white;
}

/* Error Pages */
.error-section, 
.maintenance-section, 
.coming-soon-section {
    display: flex;
    align-items: center;
    min-height: 70vh;
    text-align: center;
}

.error-icon, 
.maintenance-icon, 
.coming-soon-logo {
    margin-bottom: 2rem;
}

.error-icon i, 
.maintenance-icon i {
    font-size: 5rem;
    color: var(--primary-color);
}

.error-title, 
.maintenance-title, 
.coming-soon-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.error-text, 
.maintenance-text, 
.coming-soon-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.error-search .search-form {
    max-width: 500px;
    margin: 0 auto;
}

.contact-email {
    font-size: 1.25rem;
    font-weight: 500;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(78, 84, 200, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
}

.countdown-item {
    text-align: center;
}

.countdown-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.countdown-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .project-header, 
    .service-overview, 
    .about-intro {
        text-align: center;
    }
    
    .project-meta, 
    .article-meta {
        justify-content: center;
    }
    
    .service-process .process-step {
        padding-left: 60px;
    }
    
    .service-process .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .service-process .process-step::before {
        left: 25px;
    }
    
    .comment-body {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .comment.reply {
        margin-left: 1rem;
    }
}

@media (max-width: 575.98px) {
    .countdown-container {
        gap: 0.5rem;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
}

/* ============================================= */
/* Vacancy Pages CSS                             */
/* ============================================= */

/* Vacancy Listing Page */
.vacancy-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--primary-color);
}

.vacancy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-left: 3px solid var(--primary-hover);
}

.vacancy-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.vacancy-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.vacancy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.vacancy-body {
    margin-bottom: 1.5rem;
}

.vacancy-excerpt {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.vacancy-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vacancy-footer {
    display: flex;
    justify-content: flex-end;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
}

.benefits-list i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.tips-content {
    background-color: rgba(78, 84, 200, 0.05);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.tips-content ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

/* Vacancy Detail Page */
.vacancy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vacancy-actions {
    margin-bottom: 2rem;
}

.salary-badge {
    display: inline-block;
    background-color: rgba(78, 84, 200, 0.1);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-align: center;
    box-shadow: var(--box-shadow-sm);
}

.salary-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.salary-amount {
    font-weight: 700;
    font-size: 1.1rem;
}

.vacancy-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px dashed var(--border-color);
}

.vacancy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.vacancy-cta {
    background-color: rgba(78, 84, 200, 0.05);
    border: 1px dashed var(--primary-color);
}

.job-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-details-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--border-color);
}

.job-details-list li:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-muted);
}

.detail-value {
    color: var(--text-color);
    font-weight: 500;
}

.social-share .btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.related-jobs {
    margin-top: 1rem;
}

.related-job {
    padding: 1rem;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.related-job:hover {
    background-color: rgba(78, 84, 200, 0.05);
}

.related-job:last-child {
    margin-bottom: 0;
}

.job-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.job-title a {
    color: var(--dark-color);
    transition: var(--transition);
}

.job-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.job-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background-color: rgba(78, 84, 200, 0.03);
    border-radius: var(--border-radius);
}

.benefit-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(78, 84, 200, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Application Form */
.application-form-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.application-form-card .section-title {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.section-number {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
    flex-shrink: 0;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-check-label {
    font-weight: 400;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-facebook {
    background-color: #3b5998;
    color: white;
}

.btn-facebook:hover {
    background-color: #344e86;
}

.btn-twitter {
    background-color: #1DA1F2;
    color: white;
}

.btn-twitter:hover {
    background-color: #0d8bd9;
}

.btn-linkedin {
    background-color: #0077B5;
    color: white;
}

.btn-linkedin:hover {
    background-color: #00669c;
}

/* Application Success Modal */
#applicationSuccessModal .modal-content {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.modal-success-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.modal-success-content {
    text-align: center;
    padding: 2rem;
}

/* ============================================= */
/* Responsive Adjustments                        */
/* ============================================= */

@media (max-width: 767.98px) {
    .vacancy-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .vacancy-footer .btn {
        width: 100%;
        text-align: center;
    }
    
    .salary-badge {
        margin-top: 1rem;
        width: 100%;
    }
    
    .vacancy-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .vacancy-actions .btn {
        width: 100%;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-item i {
        margin: 0 auto 0.75rem;
    }
    
    .section-title {
        flex-direction: column;
        text-align: center;
    }
    
    .section-number {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 575.98px) {
    .vacancy-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .job-details-list li {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .detail-label, 
    .detail-value {
        width: 100%;
    }
}