/*
 * Hiba Enterprises Custom CSS
 * Colors: Navy Blue (#001f3f), Sky Blue (#007bff), Light Gray (#f8f9fa), Gray (#6c757d)
 */

:root {
    --navy-blue: #001f3f;
    --sky-blue: #007bff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --primary-color: var(--navy-blue);
    --secondary-color: var(--sky-blue);
    --font-family: 'Poppins', sans-serif;
}

/* ======================= GLOBAL STYLES & TYPOGRAPHY ======================= */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
}

.section-padding {
    padding: 80px 0;
}
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.bg-navy-blue {
    background-color: var(--navy-blue) !important;
}
.bg-sky-blue {
    background-color: var(--secondary-color) !important;
}
.bg-light-gray {
    background-color: var(--light-gray) !important;
}

/* ======================= BUTTONS ======================= */
.btn-primary-custom {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 50px;
}
.btn-primary-custom:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.btn-outline-primary-custom {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-primary-custom:hover {
    background-color: var(--primary-color);
    color: white;
}
.btn-light-custom {
    background-color: white;
    color: var(--secondary-color);
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}
.btn-light-custom:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* ======================= TOP BAR ======================= */
.top-bar {
    background-color: var(--navy-blue);
    color: #ffffff;
    font-size: 0.9rem;
}
.top-bar a {
    color: #ffffff;
    transition: color 0.3s;
}
.top-bar a:hover {
    color: var(--secondary-color);
}

/* ======================= HEADER & NAVBAR ======================= */
.main-navbar {
    /*background-color: var(--primary-color);*/ /* Navy Blue background */
	background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}
.main-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
}
.logo-text {
    margin-left: 10px;
    letter-spacing: 1px;
}
.main-navbar .nav-link {
     color: #000 !important; 
    font-weight: 600;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--secondary-color) !important;
}
.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) scaleX(0);
    height: 2px;
    width: 80%;
    background-color: var(--secondary-color);
    transition: transform 0.3s ease;
}
.main-navbar .nav-link.active::after,
.main-navbar .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* ======================= CAROUSEL SLIDER ======================= */
#hero-slider {
    /* height: 70vh; */
}
#hero-slider .carousel-item {
    /*height: 70vh;
    min-height: 400px;*/
}
#hero-slider .carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for better text readability */
}
#hero-slider .carousel-caption {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
#hero-slider h5 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
}
#hero-slider p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}
@media (max-width: 768px) {
    #hero-slider, #hero-slider .carousel-item {
        height: 50vh;
    }
    #hero-slider h5 {
        font-size: 1.8rem;
    }
    #hero-slider p {
        font-size: 1rem;
    }
}

/* ======================= ABOUT US ======================= */
.about-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.about-image-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.about-image-card:hover img {
    transform: scale(1.05);
}

/* ======================= SERVICES ======================= */
.service-card {
    background-color: white;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--secondary-color);
}
.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    transition: color 0.3s;
}
.service-card:hover .service-icon {
    color: var(--primary-color);
}
.card-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}
.card-link:hover {
    color: var(--primary-color);
}

/* ======================= WHY CHOOSE US ======================= */
#why-choose-us p {
    color: #ccc;
}
.feature-box {
    background-color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.feature-box:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    transition: color 0.3s;
}
.feature-box:hover .feature-icon {
    color: white;
}

/* ======================= ACHIEVEMENTS ======================= */
.achievement-card {
    padding: 20px;
    transition: all 0.3s ease;
}
.achievement-card:hover {
    transform: scale(1.05);
    background-color: var(--light-gray);
    border-radius: 10px;
}
.achievement-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.counter-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

/* ======================= GALLERY ======================= */
.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 200px; /* Fixed height for consistent look */
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

/* ======================= TESTIMONIALS ======================= */
.testimonial-box {
    background-color: white;
    border-top: 5px solid var(--secondary-color);
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
}
.testimonial-avatar {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}
.lead-quote {
    font-style: italic;
    font-size: 1.15rem;
    color: var(--gray);
}
.carousel-indicators [data-bs-target] {
    background-color: var(--primary-color);
}
.carousel-indicators .active {
    background-color: var(--secondary-color);
}

/* ======================= OPD SECTION ======================= */
#opd-section {
    background-image: linear-gradient(90deg, var(--navy-blue) 0%, var(--secondary-color) 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
#opd-section h2, #opd-section p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ======================= ENQUIRE FORM ======================= */
.enquire-box {
    background-color: white;
    border-top: 5px solid var(--primary-color);
    border-radius: 10px;
}
.enquire-box .form-control, .enquire-box .form-select {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}
.enquire-box .form-label {
    font-weight: 600;
    color: var(--primary-color);
}

/* ======================= CONTACT US & MAP ======================= */
.contact-details {
    background-color: white;
    border-radius: 10px;
    border-left: 5px solid var(--secondary-color);
}
.contact-item {
    display: flex;
    align-items: flex-start;
}
.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}
.map-container {
    border-radius: 10px;
    overflow: hidden;
}

/* ======================= FOOTER ======================= */
.footer-section {
    background-color: var(--primary-color);
    color: white;
}
.footer-heading {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
}
.footer-heading::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: white;
    margin-top: 5px;
}
.footer-links, .footer-contact-info {
    list-style: none;
    padding: 0;
}
.footer-links a, .footer-contact-info p {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 2.2;
}
.footer-links a:hover {
    color: var(--secondary-color);
    margin-left: 5px;
}
.footer-social a {
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s;
}
.footer-social a:hover {
    color: var(--secondary-color);
}
.footer-bottom {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ======================= FLOATING BUTTONS ======================= */
.float-btn {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 1.8rem;
    line-height: 50px;
    z-index: 1000;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    animation: pulse 1.5s infinite;
}

.whatsapp-btn {
    bottom: 90px;
    right: 20px;
    background-color: #25d366; /* WhatsApp Green */
    color: white;
}

.call-btn {
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary-color); /* Sky Blue */
    color: white;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.4);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}
.whatsapp-btn { animation-name: pulse-wa; }
.call-btn { animation-name: pulse-call; }

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-call {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}
.cu-lg-wdth{
	width:220px;
}
.navbar-toggler{
	background:#0311a7!important
}
.cu-ab-pd{
	padding-top:100px;
	padding-bottom:60px;
}
.cu-sr-im{
	border-radius:10px;
}
.cu-glr img{
	width:100%;
	margin-bottom:30px;
}
.cu-fnts-12{
	font-size:12px;
}
#enu-st{
	background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 50px;
	display:block;
	width:100%
}
#cal-icon {
    position: fixed;
    right: 8px;
    bottom: 220px;
    width: 70px;
    height: 70px;
    cursor: pointer;
    z-index: 99990;
}
#cal-icon img {
    width: 50px !important;
}
/* Mobile Adjustments for Floating Buttons */
@media(max-width:991px)
{
	.sticky-top{
		position:relative
	}
	
}
@media(max-width:768px)
{
	.cu-mb-ds-nn{
		display:none!important
	}
	.cu-jf-cntr{
		justify-content:center!important;
	}
}
@media (max-width: 576px) {
	
	
	
	.cu-lg-wdth {
	width:214px;
}
.cu-fnt-szee {
		font-size:12px;
	}
    .float-btn {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
        line-height: 45px;
    }
    .whatsapp-btn {
        bottom: 80px;
        right: 15px;
    }
    .call-btn {
        bottom: 15px;
        right: 15px;
    }
}

@media(max-width:500px)
{
	
}
/* Add custom animations for WOW.js (or similar - here using AOS) */
/* We're using AOS which is initialized at the bottom of the HTML */