/********** Template CSS **********/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --bs-font-sans-serif: 'Noto Sans', sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
}

/* Team Section Styles */
.team-member {
    position: relative;
    padding: 15px;
    text-align: center;
    transition: .5s;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.team-member .member-img {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.team-member .member-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.team-member:hover .member-img img {
    transform: scale(1.05);
}

.team-member .member-info {
    padding: 15px;
}

.team-member .member-position {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.team-member .member-name {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.achievement-item i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    font-size: 0.75rem;
    color: var(--primary);
}

.member-social {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--dark);
    color: #fff;
    transform: scale(1.1);
}

/* ====================
   LATEST EVENTS SECTION
   ==================== */
.event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.event-img img {
    transition: transform 0.5s ease;
}

.event-card:hover .event-img img {
    transform: scale(1.05);
}

.event-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    text-align: center;
    padding: 10px 15px;
    border-radius: 5px;
    line-height: 1;
    z-index: 2;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.date-month {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-card h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.event-card:hover h4 {
    color: #dc3545;
}

.event-card p {
    color: #6c757d;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-outline-danger {
    border-width: 2px;
    font-weight: 500;
    padding: 0.4rem 1.2rem;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .event-card {
        margin-bottom: 20px;
    }
    
    .event-date {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
    }
    
    .date-day {
        font-size: 1.2rem;
    }
    
    .date-month {
        font-size: 0.7rem;
    }
}

/* ====================
   FEATURES GRID SECTION
   ==================== */
.feature-item {
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    padding: 25px 15px !important;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.feature-item h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .feature-item {
        margin-bottom: 10px;
        padding: 20px 10px !important;
    }
    
    .feature-icon i {
        font-size: 2.2rem !important;
    }
    
    .feature-item h5 {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.8rem;
    }
}

/* ==================================================
   Services Section
   ================================================== */

/* Filter Buttons */
.filter-button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-button-group .btn {
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-width: 2px;
}

.filter-button-group .btn:hover,
.filter-button-group .btn.active {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Service Cards */
.service-item {
    transition: all 0.4s ease;
    margin-bottom: 40px;
}

.service-item .card {
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.service-item .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-item .card-img-top {
    transition: transform 0.4s ease;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.service-item .card:hover .card-img-top {
    transform: scale(1.02);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(220, 53, 69, 0.95);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.service-item h3 {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    font-size: 1.5rem;
}

.service-item h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #dc3545;
}

.service-item .card-text {
    color: #595959;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
    line-height: 1.7;
}

.service-item ul {
    padding-left: 0;
    margin-bottom: 20px;
}

.service-item ul li {
    position: relative;
    padding-left: 0;
    margin-bottom: 8px;
    color: #4a5568;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-item ul li:hover {
    color: #2d3748;
    transform: translateX(5px);
}

.service-item .btn {
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.service-item .btn-outline-danger {
    border-width: 2px;
}

.service-item .btn-danger {
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
}

.service-item .btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(220, 53, 69, 0.4);
}

.service-item .btn-outline-danger:hover {
    background-color: #dc3545;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(220, 53, 69, 0.3);
}

/* Animation for filtered items */
.service-item {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

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

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .filter-button-group {
        gap: 8px;
    }
    
    .filter-button-group .btn {
        padding: 6px 15px;
        font-size: 0.75rem;
    }
    
    .service-item .card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .service-item {
        margin-bottom: 25px;
    }
    
    .service-item .card {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .filter-button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-button-group .btn {
        width: 200px;
        margin-bottom: 8px;
    }
    
    .service-item .btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}

/* ====================
   WHY CHOOSE US SECTION
   ==================== */
.why-choose-us {
    position: relative;
    background: url('../img/25.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 6rem 0;
    overflow: hidden;
}

.why-choose-us .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Slightly lighter overlay for better background visibility */
    z-index: 1;
}

.why-choose-us .container {
    position: relative;
    z-index: 2;
}

/* Feature Cards */
.why-choose-us .row {
    margin: 0 -10px; /* Negative margin to counteract column padding */
}

.why-choose-us [class*='col-'] {
    padding: 10px; /* Consistent padding around each column */
}

.feature-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e9ecef;
    height: 100%;
    padding: 2rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin: 0; /* Remove default margins */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #dc3545;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #e9ecef;
}

.feature-card:hover::before {
    width: 6px;
    background-color: #b02a37;
}

.feature-card i {
    font-size: 2.5rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

.feature-card h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
    margin-top: 0;
}

.feature-card h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #dc3545;
    transition: all 0.3s ease;
    transform: none;
}

.feature-card:hover h4::after {
    width: 60px;
    background-color: #b02a37;
}

.feature-card p {
    color: #4a5568;
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Feature Card Content */
.feature-card i {
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    font-size: 2.25rem;
}

.feature-card h4 {
    margin: 0 0 1rem 0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    line-height: 1.4;
}

.feature-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .row {
        margin-right: -0.5rem;
        margin-left: -0.5rem;
    }
    
    .col-lg-4 {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 991.98px) {
    .feature-card {
        min-height: 280px;
    }
}

@media (max-width: 991.98px) {
    .feature-card {
        min-height: 280px;
        padding: 1.75rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .feature-card {
        padding: 1.5rem 1.25rem;
        min-height: auto;
        margin-bottom: 1rem;
    }
    
    .feature-card i {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
    }
    
    .feature-card h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .why-choose-us {
        padding: 4rem 0;
    }
}

@media (max-width: 575.98px) {
    .feature-card {
        padding: 1.5rem 1.25rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p.lead {
        font-size: 1rem;
    }
}

/* ====================
   TYPOGRAPHY
   ==================== */

/* Base Typography */
body {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #333;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2c3e50;
    letter-spacing: -0.01em;
    text-transform: none;
}

h1, .h1 { 
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
}

h2, .h2 { 
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
}

h3, .h3 { 
    font-size: 1.75rem;
    font-weight: 700;
}

h4, .h4 { 
    font-size: 1.5rem;
    font-weight: 600;
}

h5, .h5 { 
    font-size: 1.25rem;
    font-weight: 600;
}

h6, .h6 { 
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Text Styles */
p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Text Colors */
.text-muted {
    color: #6c757d !important;
}

.text-uppercase {
    letter-spacing: 0.08em;
}

/* Links */
a {
    color: #dc3545;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover, a:focus {
    color: #b02a37;
    text-decoration: none;
}

/* Buttons */
.btn {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-primary:hover {
    background-color: #b02a37;
    border-color: #a52834;
}

/* Navigation */
.navbar {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 500;
}

.nav-link {
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Section Headings */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.section-title h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #dc3545;
}

/* Responsive Typography */
@media (max-width: 991.98px) {
    h1, .h1 { font-size: 2.5rem; }
    h2, .h2 { font-size: 2rem; }
    h3, .h3 { font-size: 1.6rem; }
}

@media (max-width: 767.98px) {
    h1, .h1 { font-size: 2.25rem; }
    h2, .h2 { font-size: 1.8rem; }
    h3, .h3 { font-size: 1.5rem; }
    
    .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    h1, .h1 { font-size: 2rem; }
    h2, .h2 { font-size: 1.6rem; }
    
    p {
        font-size: 0.95rem;
    }
}
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

/* Text Transform Classes */
.text-uppercase { text-transform: uppercase; letter-spacing: 0.05em; }
.text-lowercase { text-transform: lowercase; }
.text-capitalize { text-transform: capitalize; }
.text-normal { text-transform: none; }

/* Font Weights */
.font-weight-light { font-weight: 300 !important; }
.font-weight-normal { font-weight: 400 !important; }
.font-weight-medium { font-weight: 500 !important; }
.font-weight-semibold { font-weight: 600 !important; }
.font-weight-bold { font-weight: 700 !important; }
.font-weight-extrabold { font-weight: 800 !important; }

/* Text Colors */
.text-muted { color: #6c757d !important; }
.text-white { color: #fff !important; }
.text-dark { color: #2c3e50 !important; }
.text-primary { color: #dc3545 !important; }

/* Links */
a {
    color: #dc3545;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #a71d2a;
    text-decoration: none;
}

/* Buttons */
.btn {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: #fff;
}

/* Navigation */
.navbar {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 0.05em;
}

/* Hero Section */
.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Section Headings */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #dc3545;
}

/* Card Text */
.card-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card-text {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1.1rem;
}

.footer p, .footer a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.footer a:hover {
    color: #fff;
    text-decoration: none;
}

/* Responsive Typography */
@media (max-width: 991.98px) {
    h1, .h1 { font-size: 2.25rem; }
    h2, .h2 { font-size: 1.875rem; }
    h3, .h3 { font-size: 1.5rem; }
    h4, .h4 { font-size: 1.25rem; }
    
    .hero-text h1 {
        font-size: 2.75rem;
    }
    
    .hero-text p {
        font-size: 1.125rem;
    }
}

@media (max-width: 767.98px) {
    h1, .h1 { font-size: 2rem; }
    h2, .h2 { font-size: 1.75rem; }
    h3, .h3 { font-size: 1.5rem; }
    
    .hero-text h1 {
        font-size: 2.25rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.4rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, .h1 { font-size: 24pt; }
    h2, .h2 { font-size: 20pt; }
    h3, .h3 { font-size: 16pt; }
    h4, .h4 { font-size: 14pt; }
    
    .no-print {
        display: none !important;
    }
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 15px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-danger)
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-danger);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
/* .hero-header {
    margin-top: -100px;
    padding-top: 150px;
    background: url(../img/hero-bg.jpg) top center no-repeat;
    background-size: cover;
} */

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-danger);
    z-index: -1;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-white);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-white);
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}


/*** Project ***/
.project-item img {
    transition: .5s;
}
  
.project-item:hover img {
    transform: scale(1.2);
}
  
.project-overlay {
    position: absolute;
    padding: 25px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)); /* updated gradient */
    z-index: 1;
}



/*** Service ***/
.service-item {
    position: relative;
    padding: 30px 25px;
    transition: .5s;
}

.service-item.bg-danger:hover {
    background: var(--bs-light) !important;
}

.service-item.bg-danger p {
    color: var(--bs-light);
    transition: .5s;
}

.service-item.bg-danger:hover p {
    color: var(--bs-secondary);
}

.service-item.bg-light:hover {
    background: var(--bs-danger) !important;
}

.service-item.bg-light p {
    color: var(--bs-secondary);
    transition: .5s;
}

.service-item.bg-light:hover p {
    color: var(--bs-light);
}


.service-item .service-img h3 {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 12px 7px 0;
}

.service-item.bg-danger .service-img h3 {
    background: var(--bs-danger);
    color: var(--bs-white);
    transition: .5s;
}

.service-item.bg-danger:hover .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
}

.service-item.bg-light .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
    transition: .5s;
}

.service-item.bg-light:hover .service-img h3 {
    background: var(--bs-danger);
    color: var(--bs-white);
}


/*** Our Team ***/
.team-item img {
    transition: .5s;
}
  
.team-item:hover img {
    transform: scale(1.2);
}
  
.team-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(253, 78, 78, 0.082));
    z-index: 1;
}

.team-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--bs-white);
    background: var(--bs-danger);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-danger);
    z-index: -1;
}

.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

.testimonial-text h5::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--bs-danger);
}

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    background: var(--bs-white);
    border: 2px solid var(--bs-danger);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-danger);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/hero-bg.jpg) bottom right no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-white);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255,255,255,.5);
}

.footer .copyright a:hover {
    color: var(--bs-white);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgb(0, 0, 0);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}