/********** Template CSS **********/
:root {
    --primary: #009CFF;
    --secondary: #777777;
    --light: #F8F8F8;
    --dark: #252525;
}

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

[dir="rtl"] body {
    direction: rtl;
    text-align: right;
    font-family: 'Noto Nastaliq Urdu', sans-serif;
}


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

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: white;  */
}

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

p {
    text-align: justify;
}

/* Footer address alignment fix */
.footer p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer p i {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Address text alignment fix - ensure second line starts under first line text, not icon */
.footer p:first-of-type {
    text-align: justify;
}

.footer p:first-of-type i {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Ensure the text content flows properly and aligns correctly */
.footer p:first-of-type {
    position: relative;
}

.footer p:first-of-type i {
    position: absolute;
    left: 0;
    top: 0.125rem;
}

.footer p:first-of-type {
    padding-left: 1.5rem; /* Space for the icon */
}

/* Employee SAP buttons responsive styling */
.sap-buttons-container {
    max-width: 100%;
    width: 100%;
}

.sap-btn {
    width: 100%;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
}

.sap-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 1200px) {
    .sap-btn {
        padding: 10px 16px;
        min-height: 44px;
        font-size: 0.9rem;
    }
}

@media (max-width: 991px) {
    .sap-btn {
        padding: 8px 14px;
        min-height: 40px;
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .sap-btn {
        padding: 6px 12px;
        min-height: 36px;
        font-size: 0.8rem;
    }
    
    .sap-buttons-container {
        max-width: 100%;
    }
}

.fountainTextG{
	color:rgb(0,156,255);
	font-family:Arial;
	font-size:38px;
	text-decoration:none;
	font-weight:normal;
	font-style:normal;
	float:left;
	animation-name:bounce_fountainTextG;
		-o-animation-name:bounce_fountainTextG;
		-ms-animation-name:bounce_fountainTextG;
		-webkit-animation-name:bounce_fountainTextG;
		-moz-animation-name:bounce_fountainTextG;
	animation-duration:2.64s;
		-o-animation-duration:2.64s;
		-ms-animation-duration:2.64s;
		-webkit-animation-duration:2.64s;
		-moz-animation-duration:2.64s;
	animation-iteration-count:infinite;
		-o-animation-iteration-count:infinite;
		-ms-animation-iteration-count:infinite;
		-webkit-animation-iteration-count:infinite;
		-moz-animation-iteration-count:infinite;
	animation-direction:normal;
		-o-animation-direction:normal;
		-ms-animation-direction:normal;
		-webkit-animation-direction:normal;
		-moz-animation-direction:normal;
	transform:scale(.5);
		-o-transform:scale(.5);
		-ms-transform:scale(.5);
		-webkit-transform:scale(.5);
		-moz-transform:scale(.5);
}#fountainTextG_1{
	animation-delay:0.94s;
		-o-animation-delay:0.94s;
		-ms-animation-delay:0.94s;
		-webkit-animation-delay:0.94s;
		-moz-animation-delay:0.94s;
}
#fountainTextG_2{
	animation-delay:1.13s;
		-o-animation-delay:1.13s;
		-ms-animation-delay:1.13s;
		-webkit-animation-delay:1.13s;
		-moz-animation-delay:1.13s;
}
#fountainTextG_3{
	animation-delay:1.32s;
		-o-animation-delay:1.32s;
		-ms-animation-delay:1.32s;
		-webkit-animation-delay:1.32s;
		-moz-animation-delay:1.32s;
}
#fountainTextG_4{
	animation-delay:1.51s;
		-o-animation-delay:1.51s;
		-ms-animation-delay:1.51s;
		-webkit-animation-delay:1.51s;
		-moz-animation-delay:1.51s;
}
#fountainTextG_5{
	animation-delay:1.7s;
		-o-animation-delay:1.7s;
		-ms-animation-delay:1.7s;
		-webkit-animation-delay:1.7s;
		-moz-animation-delay:1.7s;
}
#fountainTextG_6{
	animation-delay:1.89s;
		-o-animation-delay:1.89s;
		-ms-animation-delay:1.89s;
		-webkit-animation-delay:1.89s;
		-moz-animation-delay:1.89s;
}
#fountainTextG_7{
	animation-delay:2.07s;
		-o-animation-delay:2.07s;
		-ms-animation-delay:2.07s;
		-webkit-animation-delay:2.07s;
		-moz-animation-delay:2.07s;
}
#fountainTextG_8{
	animation-delay:2.26s;
		-o-animation-delay:2.26s;
		-ms-animation-delay:2.26s;
		-webkit-animation-delay:2.26s;
		-moz-animation-delay:2.26s;
}
#fountainTextG_9{
	animation-delay:2.45s;
		-o-animation-delay:2.45s;
		-ms-animation-delay:2.45s;
		-webkit-animation-delay:2.45s;
		-moz-animation-delay:2.45s;
}




@keyframes bounce_fountainTextG{
	0%{
		transform:scale(1);
		color:rgb(0,156,255);
	}

	100%{
		transform:scale(.5);
		color:rgb(0,157,255);
	}
}

@-o-keyframes bounce_fountainTextG{
	0%{
		-o-transform:scale(1);
		color:rgb(0,156,255);
	}

	100%{
		-o-transform:scale(.5);
		color:rgb(0,157,255);
	}
}

@-ms-keyframes bounce_fountainTextG{
	0%{
		-ms-transform:scale(1);
		color:rgb(0,156,255);
	}

	100%{
		-ms-transform:scale(.5);
		color:rgb(0,157,255);
	}
}

@-webkit-keyframes bounce_fountainTextG{
	0%{
		-webkit-transform:scale(1);
		color:rgb(0,156,255);
	}

	100%{
		-webkit-transform:scale(.5);
		color:rgb(0,157,255);
	}
}

@-moz-keyframes bounce_fountainTextG{
	0%{
		-moz-transform:scale(1);
		color:rgb(0,156,255);
	}

	100%{
		-moz-transform:scale(.5);
		color:rgb(0,157,255);
	}
}


/* All Pages Custom Background Color*/

.custom-bg {
    position: relative;
    background: linear-gradient(to right, #003c9e, #0077ff); /* Base Gradient */
    overflow: hidden;
}

/* Adding a dynamic TV noise effect */
.custom-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background: 
        repeating-radial-gradient(#000 0 0.0001%, #fff 0 0.0002%) 50% 0/2500px 2500px,
        repeating-conic-gradient(#000 0 0.0001%, #fff 0 0.0002%) 60% 60%/2500px 2500px;
    
    background-blend-mode: overlay, difference;
    opacity: 0.08; /* Adjust noise visibility */
    animation: noiseAnimation 0.2s infinite alternate;
    pointer-events: none;
}


/* All Pages Custom Background Color*/


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.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 ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
    white-space: nowrap; /* Prevent text wrapping */
    line-height: 1.2; /* Consistent line height */
    height: 80px; /* Fixed height to prevent height changes */
    display: flex;
    align-items: center;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

/* Desktop navbar styles */
@media (min-width: 992px) {
    .navbar {
        height: 80px; /* Fixed navbar height */
        overflow: visible;
    }
    
    .navbar .navbar-nav {
        height: 80px;
        align-items: center;
    }
    
    .navbar .nav-item {
        height: 80px;
        display: flex;
        align-items: center;
    }
    
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
        margin-top: 0; /* Remove gap between navbar and dropdown */
        border-radius: 0 0 8px 8px;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
    
    .nav-link {
        font-size: 14px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Responsive spacing for different screen sizes */
    @media (max-width: 1360px) and (min-width: 1200px) {
        .navbar .navbar-nav .nav-link {
            margin-right: 20px;
            font-size: 13px !important;
            max-width: 130px;
        }
    }
    
    @media (max-width: 1199px) and (min-width: 992px) {
        .navbar .navbar-nav .nav-link {
            margin-right: 15px;
            font-size: 12px !important;
            max-width: 120px;
        }
        
        .navbar-brand img {
            height: 45px;
        }
    }
}

/* Mobile navbar adjustments */
@media (max-width: 991px) {
    .navbar {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
        height: auto;
    }

    .navbar-brand img {
        height: 42px !important;
        margin-left: 8px;
    }
    
    .navbar .navbar-nav .nav-link {
        height: auto;
        white-space: normal;
        line-height: normal;
        margin-right: 0;
        padding: 15px 0;
    }
}

/* Ensure navbar items don't overflow */
.navbar-nav {
    overflow: visible !important;
    max-height: none !important;
}

/* Fix dropdown positioning and prevent gaps */
.navbar .dropdown-menu {
    position: absolute;
    top: 100% !important;
    left: 0;
    right: auto;
    margin-top: 0 !important;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Ensure dropdown items are properly aligned */
.navbar .dropdown-item {
    padding: 8px 20px;
    white-space: nowrap;
    min-width: 200px;
}

/* Additional navbar responsiveness fixes */
@media (min-width: 992px) {
    /* Ensure consistent navbar behavior across all desktop sizes */
    .navbar .navbar-nav {
        flex-wrap: nowrap;
        align-items: stretch;
    }
    
    .navbar .nav-item {
        position: relative;
    }
    
    /* Prevent text overflow and maintain consistent heights */
    .navbar .nav-link {
        text-align: center;
        justify-content: center;
        min-width: 0;
        flex-shrink: 1;
    }
    
    /* Optimize spacing for different screen sizes */
    @media (max-width: 1360px) and (min-width: 1200px) {
        .navbar .navbar-nav .nav-link {
            margin-right: 18px;
            padding-left: 8px;
            padding-right: 8px;
        }
        
        .navbar-brand img {
            height: 48px;
        }
    }
    
    @media (max-width: 1199px) and (min-width: 992px) {
        .navbar .navbar-nav .nav-link {
            margin-right: 12px;
            padding-left: 6px;
            padding-right: 6px;
        }
        
        .navbar-brand img {
            height: 45px;
        }
        
        /* Adjust contact button for smaller screens */
        .btn.btn-light {
            font-size: 12px;
            padding: 6px 12px;
        }
    }
    
    /* Ensure dropdowns are properly positioned */
    .navbar .dropdown-menu {
        position: absolute;
        top: 100% !important;
        left: 0;
        right: auto;
        margin-top: 0 !important;
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        z-index: 1000;
    }
    
    /* Fix dropdown positioning for right-aligned items */
    .navbar .nav-item.dropdown:last-child .dropdown-menu {
        left: auto;
        right: 0;
    }
}

/* Ensure smooth transitions */
.navbar .nav-link,
.navbar .dropdown-menu {
    transition: all 0.3s ease;
}

/* Fix any potential overflow issues */
.navbar {
    overflow: visible;
}

.navbar .navbar-collapse {
    overflow: visible;
}

/* Ensure contact button is properly positioned */
.navbar .btn.btn-light {
    white-space: nowrap;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/*** Header ***/
#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 10%;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {

    .custom-heading-phone{
        font-size: 17px !important;
    }

    .custom-heading-phone-2{
        font-size: 15px !important;
        margin-left:15px;
    }

     /* Make tabs scrollable in a single row */
     #mobileTabs .nav-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        border-bottom: 2px solid #ddd;
    }

    #mobileTabs .nav-tabs .nav-item {
        flex: 1;
        text-align: center;
    }

    #mobileTabs .nav-tabs .nav-link {
        display: block;
        padding: 10px;
        font-size: 14px;
        color: #333;
        background: #f9f9f9;
        border: 1px solid #ddd;
        margin-right: 5px;
        border-radius: 5px 5px 0 0;
    }

    #mobileTabs .nav-tabs .nav-link.active {
        background: #d9534f;
        color: white;
        border-color: #d9534f;
    }

    /* Smooth transition for tab content */
    #mobileTabs .tab-content {
        padding: 10px;
        border: 1px solid #ddd;
        border-top: none;
        background: white;
        border-radius: 0 0 5px 5px;
    }


    .display-4{
       font-size:  calc(0.8rem + 2.7vw);
    }

    .consumer-image {
        width: fit-content !important;
        max-width: 80% !important;
        max-height: 100% !important;
        margin-left: 0px !important;
    }

    .fixed-btn {
        right: 3%; /* Slightly adjust position for medium-sized screens */
    }

     /* Adjust Image for Smaller Screens */
     .ceo-image {
        width: 100%;
        max-width: 100%;
        height: auto; /* Prevents image overflow */
    }
    
    /* Ensure CEO image displays properly on mobile */
    .ceo-image .img-border {
        height: 300px; /* Fixed height for mobile */
        min-height: 250px; /* Minimum height */
    }
    
    .ceo-image .img-border img {
        position: relative; /* Change from absolute to relative for mobile */
        top: auto;
        left: auto;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block; /* Ensure image is displayed as block */
        max-width: 100%; /* Prevent overflow */
    }

    .ceo-title {
        font-size: 1.2rem; /* Adjusts the title font size */
    }

    .ceo-heading {
        font-size: 1.5rem; /* Adjusts the heading font size */
        margin-bottom: 1rem; /* Spacing for better readability */
    }

    .ceo-description h6 {
        font-size: 1rem; /* Adjusts the excerpt font size */
    }

    .ceo-description small {
        font-size: 0.9rem; /* Adjusts the meta description font size */
    }

    .ceo-body {
        font-size: 0.95rem; /* Adjusts the body content font size */
    }

    .ceo-btn {
        font-size: 1rem; /* Adjusts the button font size */
        padding: 12px 20px; /* Adjusts button size for mobile */
    }

    /* Ensure columns stack vertically on smaller screens */
    .ceo-image-col, .ceo-info-col {
        width: 100%; /* Ensures they take up full width */
        padding: 0 15px; /* Adds padding on the sides */
    }
    
    /* Ensure CEO image container has proper dimensions on mobile */
    .ceo-image-col {
        display: flex;
        justify-content: center;
        margin-bottom: 2rem; /* Add space between image and text on mobile */
    }
    
    .ceo-image-col .img-border {
        width: 100%;
        max-width: 400px; /* Limit maximum width on mobile */
        min-height: 200px; /* Ensure minimum height for visibility */
        background-color: #f8f9fa; /* Light background to show container */
        border: 1px solid #dee2e6; /* Border to show container boundaries */
    }
    
    /* Mobile-specific CEO layout styles */
    .ceo-image-col-mobile .img-border {
        height: 120px; /* Compact height for mobile side-by-side layout */
        min-height: 100px;
        width: 100%;
        max-width: 100%;
    }
    
    .ceo-image-col-mobile .img-border img {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .ceo-title-mobile {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .ceo-heading-mobile {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .ceo-description-mobile h6 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .ceo-description-mobile small {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .ceo-body-mobile {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .ceo-btn-mobile {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
}

@media (max-width: 576px) {
    .ceo-title {
        font-size: 1.1rem; /* Further adjust title size */
    }

    .ceo-heading {
        font-size: 1.3rem; /* Adjust heading size */
    }

    .ceo-description h6 {
        font-size: 0.9rem; /* Adjust excerpt size */
    }

    .ceo-description small {
        font-size: 0.8rem; /* Adjust meta description size */
    }

    .ceo-body {
        font-size: 0.9rem; /* Adjust body text size */
    }

    .ceo-btn {
        font-size: 0.9rem; /* Adjust button size */
        padding: 10px 18px; /* Smaller padding for buttons */
    }
    
    /* Additional mobile-specific CEO image adjustments */
    .ceo-image .img-border {
        height: 250px; /* Smaller height for very small screens */
        min-height: 200px;
    }
    
    .ceo-image .img-border::before {
        right: 1.5rem; /* Reduce border spacing on small screens */
        bottom: 1.5rem;
    }
    
    .ceo-image .img-border img {
        top: 1rem; /* Reduce image positioning on small screens */
        left: 1rem;
        width: calc(100% - 1.5rem);
        height: calc(100% - 1.5rem);
    }
    
    /* Ensure image is visible on very small screens */
    .ceo-image-col .img-border {
        max-width: 100%;
        margin: 0 auto;
        position: relative; /* Ensure container is positioned */
    }
    
    .ceo-image-col .img-border img {
        display: block;
        margin: 0 auto;
        position: relative; /* Override absolute positioning on small screens */
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
}

#header-carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
    text-indent: 0;
    margin-bottom: 15px;
    border: 2px solid #FFFFFF;
    border-radius: 60px;
    overflow: hidden;
}

#header-carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../images/123.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}
/*** Section Dropdowns ***/
.dropdown-menu {
    background: #009cff;
    border-radius: 8px;
    border: none;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  .dropdown-item {
    color: #ffffff;
    padding: 8px 20px;
    transition: background 0.3s ease;
  }

  .dropdown-item:hover {
      background-color: rgba(0, 86, 210, 0.2);
      color: #ffffff;
  }

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 4px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}



.img-border {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 6px; /* Smooth rounded corners */
    overflow: hidden; /* Ensures the image doesn't overflow the container */
    display: flex; /* Centers the image within the container */
    justify-content: center;
    align-items: center;
}




.img-border::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 3rem;
    bottom: 3rem;
    border: 5px solid var(--primary);
    border-radius: 6px;
}

.img-border img {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    object-fit: cover;
    border-radius: 6px;
}




/*** Facts ***/
.fact-item {
    transition: .5s;

    background-size: cover; /* Ensure the entire image is visible */
    background-repeat: no-repeat; /* Prevent image tiling */
    background-position: center; /* Center the background image */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    border-radius: 10px; /* Rounded corners for a polished look */
    overflow: hidden; /* Ensure no overflow issues */
    height: 170px !important; /* Set a fixed height for the fact item */

    padding: 20px !important; /* Add padding to create space around the image */

}

.fact-item:hover {
    margin-top: -10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


/*** Service ***/
.service-item {
    /* box-shadow: 0 0 45px rgba(0, 0, 0, .07); */
    border: 1px solid transparent;
    transition: all 0.3s ease; /* Smooth transition */
    padding: 20px;
}


/* Individual Background Colors */
/* .service-item:nth-child(1) {
    background-blend-mode: overlay;
    color: #000000; 
} */

.service-item h4 {
    color: #fff; /* Text color */
    font-weight: 600; /* Make text bolder for better readability */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); /* Add subtle shadow */
}

.service-item i.service-icon {
    color: #fff; /* Icon color */
    font-size: 36px; /* Increase icon size */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); /* Shadow for better contrast */
}

/* .service-item:nth-child(2) {
    background: url('../storage/page-images/bill.webp') center/cover, rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
    color: #000000; 
}
.service-item:nth-child(3) {
    background: url('../storage/page-images/tariff.webp') center/cover, rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
    color: #000000; 
}
.service-item:nth-child(4) {
    background: url('../storage/page-images/customer.webp') center/cover, rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
    color: #000000; 
}

.service-item:nth-child(5) {
    background: url('../storage/page-images/loadshedding.webp') center/cover, rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
    color: #000000; 
}

.service-item:nth-child(6) {
    background: url('../storage/page-images/maintenance.webp') center/cover, rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
    color: #000000; 
} */

/* .service-item:hover {
    filter: brightness(0.9); 
    transform: scale(1.05); 
    transition: all 0.3s ease; 
} */


/*** Feature ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Project ***/
.project-item a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, .5);
    border-radius: 6px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover a {
    opacity: 1;
}

.project-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-carousel .owl-dot {
    width: 35px;
    height: 35px;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 35px;
    transition: .5s;
}

.project-carousel .owl-dot:hover,
.project-carousel .owl-dot.active {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-text {
    position: relative;
    height: 65px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-title {
    top: -65px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 65px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    margin: 0 3px;
}

.team-item:hover .team-social {
    top: 0;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #fff41e;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.custom-footer{
    color: #fff41e;
}

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

/* Custom styling for useful links to fix text alignment */
.footer .useful-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #fff41e;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    text-decoration: none;
    position: relative;
    padding-left: 20px;
    line-height: 1.4;
}

.footer .useful-link::before {
    position: absolute;
    left: 0;
    top: 0;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff41e;
}

.footer .useful-link span {
    display: inline-block;
    text-indent: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Ensure our styling overrides Bootstrap defaults */
.footer .useful-link,
.footer .useful-link:hover,
.footer .useful-link:focus,
.footer .useful-link:active {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.footer .useful-link:hover {
    color: #fff !important;
    text-decoration: underline;
}

.footer .useful-link:hover span {
    color: #fff !important;
    text-decoration: underline;
}

.consumer-image {
    width: auto;
    max-width: 40%; /* Image takes up to 40% of the width */
    max-height: 80vh; /* Prevents overflow */
    object-fit: contain;
    margin-left: 100px;
}

.consumer-image {
    width: auto;
    max-width: 40%; /* Image takes up to 40% of the width */
    max-height: 80vh; /* Prevents overflow */
    object-fit: contain;
    margin-left: 100px;
}

/* Responsive styling specifically for Employee SAP buttons in footer */
@media (max-width: 1200px) {
    .footer .custom-footer .position-relative {
        max-width: 100% !important;
    }
    
    .footer .custom-footer .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1rem !important;
    }
}

@media (max-width: 991px) {
    .footer .custom-footer .position-relative {
        max-width: 100% !important;
    }
    
    .footer .custom-footer .btn {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem !important;
        margin-bottom: 0.5rem;
    }
    
    .footer .custom-footer .btn span {
        font-size: 0.85rem;
        line-height: 1.2;
    }
}

@media (max-width: 767px) {
    .footer .custom-footer .position-relative {
        max-width: 100% !important;
    }
    
    .footer .custom-footer .btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.7rem !important;
        margin-bottom: 0.4rem;
        width: 100%;
        text-align: center;
    }
    
    .footer .custom-footer .btn span {
        font-size: 0.8rem;
        line-height: 1.1;
        display: inline-block;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

.footer .btn {
    color: #fff;
    letter-spacing: 1px;
    box-shadow: none;
    text-decoration: none;
}

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

.footer .copyright a {
    color: var(--light);
}

.footer .copyright{
    color: var(--light);
}

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



#flipbook {
    position: relative;
    width: 766px !important;
    height: 500px;
    transform: translate3d(0px, 0px, 0px);
    margin-left: 0px; /* Prevent overflow */
}
#flipbook img {
    width: 100%;
    height: auto;
}
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px; /* Match the height of the flipbook */
    font-size: 1.5rem; /* Larger font for loading text */
}

.footer-bg-blue{

    background: linear-gradient(180deg, rgba(3, 127, 216, 1) 0%, rgba(7, 47, 100, 1) 100%);
}









* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
  }
  
  .custom-pagination {
    position: relative;
    height: auto; /* Adjust as needed */
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .custom-pagination .pagination {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    border-radius: 2px;
  }
  
  .custom-pagination .pagination li {
    list-style-type: none;
    display: inline-block;
  }
  
  .custom-pagination .pagination li a {
    padding: 10px 15px; /* Adjust padding to fit within 40px height */

    position: relative;
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    line-height: 20px; /* Optional: Set line-height for better vertical alignment */

  }
  
  .custom-pagination .pagination li.active a {
    background: rgba(12, 161, 229, 0.6);

  }

  .custom-pagination .pagination li a:hover{
    background: rgba(12, 161, 229, 0.825);

  }

/* iOS/iPhone specific fixes for service images */
@supports (-webkit-touch-callout: none) {
    /* iPhone/iOS Safari specific styles */
    .service-item .creating-clean-thumb {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 75%; /* 4:3 aspect ratio */
        overflow: hidden;
    }
    
    .service-item .image-gradient-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .service-item .service-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        object-position: center;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .service-item .creating-svg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
    }
    
    .service-item .paragrExp {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.2;
    }
}


/* Ensure consistent image sizing across all devices */
.service-item .image-gradient-wrapper {
    width: 100%;
    height: 120px; /* Fixed height for consistency */
    overflow: hidden;
    border-radius: 8px;
}

.service-item .service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Reduce gaps between service items specifically for smaller devices */
@media (max-width: 991px) {
    .service-item {
        margin-bottom: 10px; /* Reduce gap between rows on smaller devices */
    }
    
    .service-item .creating-clean-thumb {
        margin-bottom: 8px; /* Reduce gap between image and text */
    }
}

/* Fix text spacing issues on iPhones */
@supports (-webkit-touch-callout: none) {
    .service-item .paragrExp {
        word-spacing: normal;
        letter-spacing: normal;
        white-space: normal;
        line-height: 1.3;
        font-size: 14px;
        margin: 0;
        padding: 5px 0;
        text-align: center;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
        -webkit-font-feature-settings: "liga" 1, "kern" 1;
        font-feature-settings: "liga" 1, "kern" 1;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Override any conflicting classes that might cause spacing issues */
    .service-item .paragrExp.img-full,
    .service-item .paragrExp.img-responsive {
        word-spacing: normal !important;
        letter-spacing: normal !important;
        white-space: normal !important;
    }
}