:root {
    --primary-color: #0275d8;
    --primary-color-dark: #0056b3;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --primary-blue: #0057b8;
    --dark-blue: #003a7a;
    --light-blue: #e6f0ff;
    --black: #14171a;
    --white: #ffffff;
    --light-gray: #f4f6f8;
    --gray: #a0a8b0;
}

        * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    background-color: #f9fafb;
}

header {
    background-color: #2b2c2c;
    color: white;
    padding: 11px 0;
}

.container {
    width: 95%;
    max-width: 1371px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Updated contact-info to align items horizontally */
.contact-info {
    display: flex;
    flex-direction: column; /* Changed from column to row for horizontal alignment */
    gap: 5px; /* Space between the two contact items */
    align-items: center; /* Vertically center the items */
}

/* Updated contact-item for proper alignment of text, icon, and number */
.contact-item {
    display: flex;
    align-items: center; /* Vertically center the text, icon, and number */
    gap: 5px; /* Space between the text, icon, and number */
    white-space: nowrap; /* Prevent wrapping of text */
}

.contact-item p {
    color: white;
    font-size: 14px;
    margin: 0; /* Remove default margin for better alignment */
}

.contact-item a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.phone-icon {
    background-color: #00c853;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-btn {
    background-color: #1776e1;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    height: fit-content;
}

.quote-btn:hover {
    background-color: #232578;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar .container {
    justify-content: center;
    position: relative;
    
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;
    margin-bottom: 0;
    padding-left: 0;
}

.nav-item {
    position: relative;
}

.nav-item a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-item a:hover {
    color: #0000ff;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
    border-radius: 4px;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    color: #000;
    transition: color 0.3s;
}

.dropdown-menu li a:hover {
    color: #0000ff;
}

.services-menu {
    display: none;
    min-width: 360px;
    padding: 15px;
}

.dropdown:hover .services-menu {
    display: flex;
}

.services-column {
    flex: 1;
    padding: 0 10px;
}

.services-column:first-child {
    border-right: 1px solid #0000ff;
}

.services-column li {
    margin-bottom: 10px;
}

.services-column li:not(:last-child) {
    border-bottom: 1px solid #e6e6ff;
    padding-bottom: 10px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: #000;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: #2b2c2c;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Sticky Navbar */
.sticky-nav {
    position: fixed;
    top: 73px; /* Make sure it's below the header */
    width: 100%;
    z-index: 990; /* Ensure navbar is below header but above other content */
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
@media(max-width: 768px){
    
    .sticky-nav{
        top: 51px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 999;
    }

    .nav-menu {
        position: fixed;
        left: -85%;
        top: 70px;
        width: 85%;
        max-width: 350px;
        flex-direction: column;
        background-color: #fff;
        text-align: left;
        transition: 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 20px;
        gap: 10px;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
    }

    .nav-menu.active {
        left: 0;
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        width: 100%;
        padding: 5px 0;
    }

    .nav-item a {
        display: block;
        padding: 10px 15px;
    }

    .dropdown-trigger {
        position: relative;
        padding-right: 25px;
    }

    .dropdown-trigger::after {
        content: "▼";
        font-size: 10px;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-trigger::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        padding: 0 0 0 20px;
        box-shadow: none;
        background-color: #f8f8f8;
        min-width: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .services-menu {
        display: none;
        position: static;
        flex-direction: column;
        padding: 0 0 0 20px;
        width: 100%;
        box-shadow: none;
        background-color: #f8f8f8;
        min-width: 0;
    }

    .dropdown.active .services-menu {
        display: block;
    }

    .services-column {
        padding: 0;
        border: none !important;
    }

    .services-column li {
        margin-bottom: 5px;
        padding-bottom: 5px;
    }

    .services-column:first-child {
        border-right: none;
    }

    .services-column li:not(:last-child) {
        border-bottom: none;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .contact-info {
        display: none;
    }
    .logo img{
        height: 30px;
    }
    .quote-btn{
        padding: 5px 12px;
        font-size: 13px;
        border-radius: 5px;
    }
}

.blog-content {
    padding-bottom: 60px;
}

.featured-post {
    margin-bottom: 2.5rem;
}

.card {
    margin-top: 5px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.featured-post .card {
    overflow: hidden;
}

.featured-image {
    position: relative;
    height: 100%;
}

.featured-image img {
    height: 100%;
    object-fit: cover;
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.meta-info {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.meta-info span {
    margin-right: 1rem;
}

.meta-info i {
    margin-right: 0.3rem;
}

.meta-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.meta-info a:hover {
    color: var(--primary-color-dark);
}

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

.card-footer {
    padding: 0 1.5rem 1.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2, 117, 216, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2, 117, 216, 0.3);
}

.widget-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}

.widget-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.category-list .list-group-item {
    border: none;
    padding: 0.75rem 0;
    background: transparent;
    transition: all 0.3s ease;
}

.category-list .list-group-item:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.recent-post-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    /* display: flex; */
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-item h6 {
    font-size: 0.9rem;
    margin: 0 0 5px;
    font-weight: 600;
}

.recent-post-item h6 a {
    /* margin-left: 10px; */
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-item h6 a:hover {
    color: var(--primary-color);
}

.recent-post-date {
    /* margin-left: 10px; */
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin: 0;
}


img.img-fluid.rounded {
    padding: 3px;
}
.subscribe-card {
    background: linear-gradient(45deg, #0275d8, #00bcd4);
    color: white;
}

.subscribe-card .widget-title:after {
    background-color: white;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: #eaeaea;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
}

.pagination {
    gap: 5px;
}

.pagination .page-link {
    border-radius: 5px;
    border: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    color: white;
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.newsletter-section {
    background-color: var(--light-color);
    padding: 60px 0;
    margin-top: 30px;
}

.newsletter-section h2 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    padding: 12px 20px;
    border-radius: 5px 0 0 5px;
}

.newsletter-form .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 0 5px 5px 0;
}

.footer {
    width: 100%;
    background-color: var(--black);
    color: var(--black);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.footer-left {
    flex: 2;
    padding-right: 50px;
}

.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 50px;
    border-left: 1px solid var(--light-gray);
    min-height: 300px;
}

.footer h2 {
    color: var(--primary-blue);
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.arrow {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.footer-left h2:hover .arrow {
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-blue);
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
}

.social-links img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.connect-details {
    margin-bottom: 25px;
}

.connect-details p {
    margin-bottom: 10px;
    color: var(--white);
    line-height: 1.6;
}

.connect-details strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.locations {
    margin-bottom: 25px;
}

.locations p {
    margin-bottom: 15px;
    color: var(--white);
    line-height: 1.6;
    font-size: 14px;
}

.locations strong {
    color: var(--primary-blue);
    font-weight: 600;
    position: relative;
    margin-right: 5px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--dark-blue);
    text-decoration: underline;
}

.tagline {
    color: var(--white);
    font-size: 26px;
    margin-top: 10px;
    font-style: italic;
}

.footer-bottom {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.back-to-top:hover {
    background-color: var(--primary-color-dark);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 991px) {
    .blog-header {
        padding: 100px 0 50px;
    }
    
    .blog-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .blog-header {
        padding: 80px 0 40px;
        margin-bottom: 40px;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .featured-post .featured-image {
        height: 200px;
    }
    
    .footer {
        padding: 50px 0 20px;
    }
}

@media (max-width: 575px) {
    .blog-header {
        padding: 70px 0 30px;
        margin-bottom: 30px;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        padding: 10px 20px;
    }

    .footer-left {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .footer-right {
        display: none;
    }
}
header .phone-icon .fas.fa-phone {
    transform: none !important;
}

.fas.fa-phone:before {
    transform: none !important;
    content: "\f095"; /* Font Awesome 6’s fa-phone unicode */
}

#popupOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-container {
    background-color: white;
    width: 90%;
    max-width: 800px;
    padding: 30px;
    border-radius: 5px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #555;
}

.popup-container h2 {
    color: #3f3f9f;
    font-size: 32px;
    text-align: left;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #3f3f9f;
    padding-bottom: 5px;
    display: inline-block;
}

.phone-header {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #333;
}

.phone-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    background-color: #7cb342;
    border-radius: 50%;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
    position: relative;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 30px;
    color: #666;
}

.form-group textarea {
    resize: none;
    height: 100px;
}

.error-message {
    color: #ff3333;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.submit-btn {
    background-color: #3f3f9f;
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin: 20px auto 0;
}

.submit-btn:disabled {
    background-color: #b9b9c8;
    cursor: not-allowed;
}

.submit-btn:hover:not(:disabled) {
    background-color: #2e2e8f;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .phone-header {
        display: none;
        /* position: relative;
        top: auto;
        right: auto;
        margin-bottom: 20px;
        justify-content: flex-end; */
    }
    
    .popup-container {
        padding: 20px;
       
    }
    .submit-btn{
        padding: 5px 9px;
    }
    .form-group textarea{
        height: 70px;
    }
    .form-group select, .form-group input{
        font-size: 14px;
    }
}