/*** Spinner Start ***/
.picha1 {
    height: 50px;
    width: auto;
    max-height: 60px;
    object-fit: contain;
    transition: height 0.3s ease;
}

@media (max-width: 768px) {
    .picha1 {
        height: 40px;
        max-height: 50px;
    }
}
/*** Spinner End ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: white;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: 0.5s;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

/*** Button Start ***/
/* Override primary color to orange */
:root {
    --bs-primary: #2564d880 !important;
}

.btn {
    font-weight: 600;
    transition: .5s;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
}

.btn-square { width: 32px; height: 32px; }
.btn-sm-square { width: 34px; height: 34px; }
.btn-md-square { width: 44px; height: 44px; }
.btn-lg-square { width: 56px; height: 56px; }
.btn-xl-square { width: 66px; height: 66px; }

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
    font-size: 1rem;
}

.btn.btn-primary,
.btn.btn-dark,
.btn.btn-light {
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-primary { background: var(--bs-primary) !important; color: white !important; }
.btn.btn-primary:hover { background: var(--bs-dark) !important; color: white !important; }

.btn.btn-dark { background: var(--bs-dark) !important; color: white !important; }
.btn.btn-dark:hover { background: white !important; color: var(--bs-dark) !important; }

.btn.btn-light { background: var(--bs-primary) !important; color: white !important; }
.btn.btn-light:hover { background: white !important; color: var(--bs-dark) !important; }
/*** Button End ***/

/*** Topbar Start ***/
.topbar {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background: var(--bs-dark) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    color: white;
    font-size: 0.85rem;
}

.topbar .contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.topbar .contact-info i {
    color: var(--bs-primary);
    margin-right: 6px;
    font-size: 1rem;
}

.topbar .social-links {
    display: flex;
    gap: 12px;
}

.topbar .social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    transition: all 0.3s;
    opacity: 0.8;
}

.topbar .social-links a:hover {
    color: var(--bs-primary);
    opacity: 1;
}

@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        text-align: center;
        padding: 12px 15px;
        gap: 10px;
    }
    .topbar .contact-info,
    .topbar .social-links {
        justify-content: center;
        width: 100%;
    }
}
/*** Topbar End ***/

/*** Navbar ***/
.sticky-top,
.sticky-top .container {
    transition: 0.5s !important;
}

.navbar {
    background: white !important;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .navbar-brand {
    margin: 0;
    padding: 0;
}

.navbar .navbar-nav .nav-link {
    color: var(--bs-dark) !important;
    font-weight: 500;
    padding: 8px 15px !important;
    font-size: 0.95rem;
}

.navbar .nav-item {
    margin: 0 5px !important;
    position: relative;
}

.navbar .nav-item::before,
.navbar .nav-item::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 0px solid var(--bs-primary);
    transition: 0.5s;
}

.navbar .nav-item::before { top: 0; left: 0; }
.navbar .nav-item::after { bottom: 0; right: 0; }

.navbar .nav-item:hover::before,
.navbar .nav-item:hover::after,
.navbar .nav-item.active::before,
.navbar .nav-item.active::after {
    width: 100%;
    border-width: 1px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--bs-primary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 992px) {
    .navbar .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        top: 100%;
        margin-top: 20px !important;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        border-radius: 10px;
        border: 0;
        z-index: 9;
    }
    .navbar .nav-item:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: rotateX(0deg);
        background: var(--bs-light) !important;
    }
}

@media (max-width: 991px) {
    .navbar .nav-link {
        margin: 8px 0 !important;
        text-align: center;
        font-size: 0.95rem;
    }
    .navbar-collapse {
        background: white;
        margin-top: 15px;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .navbar .dropdown-menu {
        margin-top: 10px !important;
        background: #f8f9fa !important;
    }
}

.navbar .navbar-toggler {
    padding: 8px 12px;
    background: var(--bs-primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
}

#searchModal .modal-content {
    background: rgba(250, 250, 250, .6);
    border-radius: 15px;
}
/*** Navbar End ***/

/*** Carousel Header Start ***/
.header-carousel .header-carousel-item {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
}

.header-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-carousel .carousel-caption {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: 90%;
    max-width: 700px;
    text-align: left;
    z-index: 9;
    padding: 15px 0;
}

.header-carousel .carousel-caption h1 {
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.875rem;
    line-height: 1.25;
    color: #fff;
    letter-spacing: -0.02em;
    text-align: left;
}

.header-carousel .carousel-caption p {
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    color: #f4f4f4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-align: left;
}

.header-carousel .carousel-caption .btn {
    font-size: clamp(0.75rem, 1.6vw, 0.85rem) !important;
    padding: 0.45rem 1.1rem !important;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Owl navigation buttons */
.owl-prev, .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(245, 166, 35, 0.7) !important;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: 0.5s;
    z-index: 10;
    opacity: 0.8;
    backdrop-filter: blur(5px);
}

.owl-prev { left: 30px; }
.owl-next { right: 30px; }
.owl-prev:hover, .owl-next:hover { 
    background: rgba(16, 33, 71, 0.8) !important;
    opacity: 1;
}

/* Tablets */
@media (max-width: 992px) {
    .header-carousel .header-carousel-item { min-height: 55vh; }
    .carousel-caption { left: 5%; width: 90%; }
    .header-carousel .carousel-caption h1 { font-size: clamp(1.5rem, 4vw, 2rem); }
    .header-carousel .carousel-caption p { font-size: clamp(0.85rem, 2vw, 0.95rem); }
    .header-carousel .carousel-caption .btn { 
        font-size: 0.75rem !important; 
        padding: 0.4rem 0.95rem !important; 
    }
    .owl-prev, .owl-next { 
        width: 50px; 
        height: 50px; 
        font-size: 1.2rem;
        opacity: 0.8;
    }
    .owl-prev { left: 15px; }
    .owl-next { right: 15px; }
}

/* Mobile - UPDATED HEIGHT AND POSITIONING */
@media (max-width: 768px) {
    .header-carousel .header-carousel-item { 
        min-height: 50vh !important;
        height: auto;
    }
    
    .header-carousel-item img {
        height: 100% !important;
        min-height: 50vh;
        object-fit: cover;
    }
    
    /* Move text to bottom and remove background */
    .header-carousel .carousel-caption {
        top: auto !important;
        bottom: 10% !important;
        transform: none !important;
        left: 5%;
        width: 90%;
        padding: 0 !important;
    }
    
    /* Remove background and border completely */
    .header-carousel .carousel-caption-inner {
        padding: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
        backdrop-filter: none !important;
    }
    
    .header-carousel .carousel-caption h1 { 
        font-size: clamp(1.4rem, 4.5vw, 1.8rem) !important;
        margin-bottom: 0.75rem !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }
    
    .header-carousel .carousel-caption p { 
        font-size: clamp(0.85rem, 3vw, 0.95rem) !important;
        margin-bottom: 1rem !important;
        line-height: 1.5;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }
    
    /* Smaller, slightly rounded buttons */
    .header-carousel .carousel-caption .btn { 
        font-size: 0.75rem !important; 
        padding: 0.35rem 0.9rem !important; 
        border-radius: 20px !important;
        margin-right: 0.4rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
        display: inline-block;
        width: auto;
    }
}

/* Extra small phones */
@media (max-width: 576px) {
    .header-carousel .header-carousel-item { 
        min-height: 45vh !important;
    }
    
    .header-carousel .carousel-caption {
        bottom: 8% !important;
    }
    
    .header-carousel .carousel-caption h1 { 
        font-size: clamp(1.3rem, 5vw, 1.6rem) !important;
        margin-bottom: 0.5rem !important;
    }
    
    .header-carousel .carousel-caption p { 
        font-size: clamp(0.8rem, 3.2vw, 0.9rem) !important;
        margin-bottom: 0.8rem !important;
    }
    
    .header-carousel .carousel-caption .btn { 
        font-size: 0.7rem !important; 
        padding: 0.3rem 0.8rem !important; 
        border-radius: 18px !important;
        margin-right: 0.3rem;
        margin-bottom: 0.3rem;
    }
}

/* Very small phones */
@media (max-width: 480px) {
    .header-carousel .header-carousel-item { 
        min-height: 40vh !important;
    }
    
    .header-carousel .carousel-caption {
        bottom: 5% !important;
    }
    
    .header-carousel .carousel-caption .btn { 
        font-size: 0.65rem !important; 
        padding: 0.25rem 0.7rem !important; 
        border-radius: 15px !important;
        display: inline-block;
        width: auto;
        max-width: 48%;
    }
}

/* Tablet specific improvements */
@media (min-width: 768px) and (max-width: 992px) {
    .service-item, .team-item, .blog-item {
        margin-bottom: 30px;
    }
    .carousel-caption { left: 3% !important; width: 94% !important; }
}

/*** Carousel End ***/

/*** Animations - LIGHTWEIGHT & FAST ***/
.header-carousel .header-carousel-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1 !important;
}

/* Single lightweight animation */
.header-carousel .header-carousel-item::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: -30px;
    right: -30px;
    border-radius: 50%;
    border: 25px solid rgba(245, 166, 35, 0.1);
    animation: simplePulse 6s ease-in-out infinite;
    background: transparent;
    z-index: 2 !important;
}

@keyframes simplePulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.2;
    }
    50% { 
        transform: scale(1.1) rotate(180deg);
        opacity: 0.4;
    }
}

/* Remove all heavy animations for performance */
.header-carousel .header-carousel-item-img-1::before,
.header-carousel .header-carousel-item-img-2::before,
.header-carousel .header-carousel-item-img-3::before,
.header-carousel .header-carousel-item-img-1::after,
.header-carousel .header-carousel-item-img-2::after,
.header-carousel .header-carousel-item-img-3::after {
    display: none !important;
}

/* Remove animations on mobile for best performance */
@media (max-width: 768px) {
    .header-carousel .header-carousel-item::before {
        display: none !important;
    }
}
/*** Animations End ***/

/*** Images - Responsive & Sharp ***/
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.service-img img,
.project-img img,
.blog-item .project-img img,
.team-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service .service-item:hover .service-img img,
.project .project-carousel .project-item:hover .project-img img,
.blog .blog-item:hover .project-img img {
    transform: scale(1.1);
}

/*** Grid & Spacing ***/
.container, .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.row > * {
    padding: 15px;
}

@media (max-width: 768px) {
    .col-lg-4, .col-lg-3, .col-md-6 {
        margin-bottom: 30px;
    }
    .container { padding-left: 10px; padding-right: 10px; }
}

/* About Section Customer Images */
.about-customer {
    min-height: 80px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
}

.about-customer img {
    position: relative !important;
    left: auto !important;
    margin-right: 10px;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .about-customer {
        overflow: visible;
    }
    .about-customer img {
        position: absolute !important;
    }
    .about-customer img:nth-child(1) { left: 0 !important; }
    .about-customer img:nth-child(2) { left: 45px !important; }
    .about-customer img:nth-child(3) { left: 90px !important; }
    .about-customer img:nth-child(4) { left: 135px !important; }
}

@media (max-width: 575px) {
    .about-customer {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .about-customer > div.position-absolute {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        margin-left: 10px;
    }
}

/*** Typography ***/
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.65;
    font-size: 0.95rem;
}

h1 { font-size: 2rem; margin-bottom: 0.875rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: 1.65rem; margin-bottom: 0.75rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; margin-bottom: 0.625rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 600; line-height: 1.35; }
h5 { font-size: 1rem; margin-bottom: 0.5rem; font-weight: 600; line-height: 1.4; }
h6 { font-size: 0.9rem; margin-bottom: 0.5rem; font-weight: 600; line-height: 1.4; }
p  { font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.65; }

.display-1 { font-size: 3rem !important; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
.display-4 { font-size: 2rem !important; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.display-5 { font-size: 1.75rem !important; line-height: 1.25; font-weight: 600; }

@media (max-width: 768px) {
    h1 { font-size: 1.65rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.15rem; }
    h4 { font-size: 1rem; }
    h5 { font-size: 0.95rem; }
    h6 { font-size: 0.85rem; }
    p  { font-size: 0.9rem; }
    .display-1 { font-size: 2rem !important; }
    .display-4 { font-size: 1.65rem !important; }
    .display-5 { font-size: 1.5rem !important; }
}

/*** Footer ***/
.footer {
    background: #063544;
    color: #ccc;
    padding: 50px 0 20px;
}

.footer h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #fff;
}

.footer .footer-item a {
    color: #ccc;
    transition: 0.3s;
    line-height: 32px;
    font-size: 0.9rem;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
}

/* Social Media Icons */
.footer .btn-light,
.footer .btn-primary,
.team-item .btn-primary,
.topbar .btn-primary,
.topbar .btn-square {
    opacity: 0.7;
    transition: all 0.3s ease;
    background: rgba(56, 131, 201, 0.7) !important;
}

.footer .btn-light:hover,
.footer .btn-primary:hover,
.team-item .btn-primary:hover,
.topbar .btn-primary:hover,
.topbar .btn-square:hover {
    opacity: 1;
    transform: translateY(-2px);
    background: rgba(20, 27, 61, 0.055) !important;
}

.team-icon .btn-primary {
    opacity: 0.7;
    background: rgba(5, 11, 26, 0.7) !important;
    backdrop-filter: blur(5px);
}

.team-icon .btn-primary:hover {
    opacity: 1;
    background: rgba(138, 152, 196, 0.9) !important;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    background:rgba(8, 8, 8, 0.795);
    padding: 15px 0;
    font-size: 0.85rem;
    text-align: center;
}

@media (max-width: 768px) {
    .footer .col-md-4, .footer .col-md-3 {
        margin-bottom: 30px;
    }
}

/* Contact Page Map Responsive */
@media (max-width: 768px) {
    #map {
        height: 350px !important;
    }
}

@media (max-width: 576px) {
    #map {
        height: 300px !important;
    }
}

/* Navbar buttons responsive */
@media (max-width: 991px) {
    .navbar .d-flex.align-items-center {
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
    }
    .navbar .d-flex.align-items-center .btn {
        width: 100%;
        margin: 5px 0;
    }
}

/* Form responsive improvements */
@media (max-width: 768px) {
    .form-floating {
        margin-bottom: 1rem;
    }
    .contact-highlight {
        padding: 20px !important;
    }
}

/* Service cards responsive spacing */
@media (min-width: 768px) and (max-width: 992px) {
    .service .row {
        justify-content: center;
    }
    .service-item {
        max-width: 100%;
    }
}

/* Button responsive improvements */
@media (max-width: 576px) {
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .btn-lg, .btn-xl {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* Image responsive improvements */
@media (max-width: 768px) {
    .service-img img,
    .project-img img,
    .blog-item .project-img img,
    .team-img img {
        height: 220px;
    }
}

/* Stats cards responsive */
@media (max-width: 576px) {
    .col-sm-4 {
        margin-bottom: 15px;
    }
}

/* Carousel buttons on mobile */
@media (max-width: 768px) {
    .owl-prev, .owl-next {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
        opacity: 0.8;
    }
    .owl-prev { left: 10px !important; }
    .owl-next { right: 10px !important; }
}

/* Text overflow prevention */
@media (max-width: 768px) {
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .display-1, .display-4 {
        font-size: clamp(1.35rem, 5vw, 2rem) !important;
    }
}

/* Bootstrap font-size utilities */
.fs-1 { font-size: 2rem !important; }
.fs-2 { font-size: 1.65rem !important; }
.fs-3 { font-size: 1.35rem !important; }
.fs-4 { font-size: 1.1rem !important; }
.fs-5 { font-size: 0.95rem !important; }
.fs-6 { font-size: 0.85rem !important; }

.small {
    font-size: 0.85rem !important;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .fs-1 { font-size: 1.65rem !important; }
    .fs-2 { font-size: 1.35rem !important; }
    .fs-3 { font-size: 1.15rem !important; }
    .fs-4 { font-size: 1rem !important; }
    .fs-5 { font-size: 0.9rem !important; }
    .fs-6 { font-size: 0.8rem !important; }
    .small { font-size: 0.8rem !important; }
}

/* Additional typography refinements */
.service-content h4,
.project-content h4,
.blog-item h4,
.team-content h4 {
    font-size: 1.1rem;
    line-height: 1.4;
}

.service-content p,
.project-content p,
.blog-item p {
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .service-content h4,
    .project-content h4,
    .blog-item h4,
    .team-content h4 {
        font-size: 1rem;
    }
    
    .service-content p,
    .project-content p,
    .blog-item p {
        font-size: 0.85rem;
    }
}

/*** Global Reset ***/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a { text-decoration: none; }
ul { list-style: none; }



/* --- BOOM TECH PROFESSIONAL FINAL REFINEMENTS --- */

:root {
    --brand-teal: #007B9D;    /* Main Teal */
    --brand-petrol: #003B4F;  /* Dark Blue */
    --brand-orange: #F48C24;  /* Energy Orange */
}

/* Color Helpers */
.text-teal { color: var(--brand-teal) !important; }
.text-petrol { color: var(--brand-petrol) !important; }
.text-orange { color: var(--brand-orange) !important; }

/* About Section Frames */
.about-img-container {
    position: relative;
    padding: 0 30px 30px 0;
}

.about-img-frame {
    position: relative;
    z-index: 2;
}

.about-img-frame::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 100%;
    height: 100%;
    border: 12px solid var(--brand-teal);
    z-index: -1;
    border-radius: 4px;
}

/* Glassmorphism Badge */
.experience-glass-card {
    position: absolute;
    bottom: -10px;
    right: 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 123, 157, 0.2);
    padding: 25px 35px;
    border-radius: 12px;
    z-index: 10;
}

.glass-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--brand-teal);
    line-height: 1;
    margin-right: 15px;
}

.glass-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-petrol);
    text-transform: uppercase;
    line-height: 1.2;
}

/* Value Icons */
.value-icon-wrap {
    width: 45px;
    height: 45px;
    background: var(--brand-teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 123, 157, 0.2);
}

/* Service Card Refresh */
.modern-service-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 59, 79, 0.05);
    transition: all 0.4s ease;
    overflow: hidden;
}

.modern-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 59, 79, 0.1) !important;
    border-color: var(--brand-teal);
}

.card-img-top {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.modern-service-card:hover .card-img-top img {
    transform: scale(1.15);
    filter: brightness(0.6);
}

.card-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 55px;
    height: 55px;
    background:#0b6680;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: 0.4s;
    z-index: 5;
}

.modern-service-card:hover .card-icon-overlay {
    transform: translate(-50%, -50%) scale(1);
}

.service-link {
    color: var(--brand-teal);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.service-link:hover {
    color: var(--brand-orange);
}

/* Button & Shadow */
.btn-teal-solid {
    background: var(--brand-teal);
    color: white;
    border: none;
    transition: 0.3s;
}

.btn-teal-solid:hover {
    background: var(--brand-petrol);
    color: white;
    transform: translateY(-2px);
}