/********** Template CSS **********/
:root {
    --primary: #ff0000;
    --secondary: #001064;
    --light: #F6F7F8;
    --dark: #010A35;
}

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


/*** 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;
}


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

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.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.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand img {
    max-height: 60px;
}

/* .navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #696E77;
    font-weight: 1000;
    outline: none;
}

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

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #696E77;
    font-weight: 900;
    outline: none;
    position: relative;
    transition: color 0.3s ease;
}

.navbar .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: #0b52a9;
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    transform: translateY(-2px);
}

.navbar .navbar-nav .nav-link:hover::before,
.navbar .navbar-nav .nav-link.active::before {
    width: 50%;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 50%;
}

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

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

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

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


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(1, 10, 53, .8);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(1, 10, 53, .8), rgba(1, 10, 53, .8)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

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

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}


/*** Facts ***/
.facts {
	position: relative;
}

.facts * {
	position: relative;
	z-index: 1;
}

.facts::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
    background: rgba(1, 10, 53, .8);
}


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

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

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

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

    .container.quote .quote-form  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

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

    .container.quote .quote-form  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.quote .quote-text,
.container.quote .quote-form {
	position: relative;
}

.container.quote .quote-text *,
.container.quote .quote-form * {
	position: relative;
	z-index: 1;
}

.container.quote .quote-text::after,
.container.quote .quote-form::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.container.quote .quote-text::after {
    background: rgba(1, 10, 53, .8);
}

.container.quote .quote-form::after {
    background: rgba(255, 255, 255, .8);
}

.container.quote .quote-text .h-100,
.container.quote .quote-form .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*** Service ***/
.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}


/*** Team ***/
.team-item .team-img::before,
.team-item .team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(1, 10, 53, .8);
    transition: .5s;
}

.team-item .team-img::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-img::before,
.team-item:hover .team-img::after {
    width: 50%;
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.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 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}


/*** Footer ***/
.footer {
    color: #7F8499;
}

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

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

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

.footer .btn.btn-square {
    color: #7F8499;
    border: 1px solid #7F8499;
}

.footer .btn.btn-square:hover {
    color: var(--light);
    border-color: var(--primary);
}

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

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

.footer .copyright a:hover {
    color: #FFFFFF;
}

/* KKKKKKK */

.phone-cta-animated {
    display: flex;
    align-items: center;
    background: white;
    color: #1e40af;
    padding: 10px 25px 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid #e0e7ff;
}

/* Continuous bounce animation */
.bounce-continuous {
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.bounce-continuous .phone-icon {
    animation: phone-ring 2s infinite;
}

@keyframes phone-ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

.phone-cta-animated:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    padding-right: 30px;
    animation: none;
}

.phone-cta-animated:hover .phone-icon {
    animation: none;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(360deg);
}

.phone-icon {
    background: #dbeafe;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.phone-content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.call-text {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
}

.number {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.phone-cta-animated:hover .call-text {
    opacity: 0.9;
}


/* kkkkk */

.phone-cta-animated {
    display: flex;
    align-items: center;
    background: white;
    color: #1e40af;
    padding: 10px 25px 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid #e0e7ff;
    position: relative;
}

/* Continuous glow/pop animation */
.glow-continuous {
    animation: glow-pop 3s infinite;
}

@keyframes glow-pop {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: scale(1.02);
    }
}

.glow-continuous .phone-icon {
    position: relative;
    overflow: hidden;
}

.glow-continuous .phone-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.phone-cta-animated:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    padding-right: 30px;
    animation: none;
}

.phone-cta-animated:hover .phone-icon::before {
    animation: none;
}

.phone-icon {
    background: #dbeafe;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.phone-cta-animated:hover .phone-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(360deg);
}

.phone-content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.call-text {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
}

.number {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.phone-cta-animated:hover .call-text {
    opacity: 0.9;
}


/* logo animtion code  */


.logo-shake {
    transition: all 0.3s ease;
    cursor: pointer;
    animation: subtle-float 6s ease-in-out infinite;
}

@keyframes subtle-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(1deg);
    }
    75% {
        transform: translateY(5px) rotate(-1deg);
    }
}

.logo-shake:hover {
    animation: shake-bounce 0.8s ease;
}

@keyframes shake-bounce {
    0%, 100% {
        transform: translateX(0) scale(1);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px) scale(1.05);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px) scale(1.05);
    }
}

#footerlogo{
    height: 120px;
    width: 250px;
}

/* KKK */

#navbar{
    font-weight: bold;
}

#explbt {
    color: rgb(255, 255, 255);
    background-color: #ff0000;
    border-color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

#explbt:hover {
    background-color: #ff3333;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.5),
                0 0 30px rgba(255, 0, 0, 0.4);
    letter-spacing: 1px;
}

#explbt::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: 1;
}

#explbt:hover::before {
    left: 100%;
}

/* Continuous pulse animation when not hovering */
#explbt {
    animation: gentle-red-pulse 3s infinite;
}

@keyframes gentle-red-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 0, 0, 0.5);
    }
}

#techicon{
    color: red;
}

.copyright-text {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.company-name {
    color: #f00d0d;
 
    transition: color 0.3s ease;
}

.company-name:hover {
    color: white;
}

#current-year {
    animation: year-pulse 2s infinite;
}

@keyframes year-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}


/* kkk */

.hover-effect {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #e9ecef;
}
.bg-primary {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7) !important;
}
.bg-danger {
    background: linear-gradient(135deg, #dc3545, #bb2d3b) !important;
}
.rounded-3 {
    border-radius: 0.75rem !important;
}
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important;
}
.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}

/* new form code start */
/* Background Pattern */
.bg-pattern {
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(13, 110, 253, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(220, 53, 69, 0.3) 0%, transparent 20%);
    z-index: 0;
}

.contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-top: 5px solid #0d6efd;
    position: relative;
    z-index: 1;
}

/* Animated Border */
.animated-border {
    height: 4px;
    width: 100px;
    background: linear-gradient(90deg, #0d6efd, #dc3545, #0d6efd);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: slideGradient 3s linear infinite;
}

@keyframes slideGradient {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Form Input Styling - CORRECTED */
.form-floating {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-control, .form-select {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 1rem 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    height: calc(3.5rem + 2px);
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    outline: none;
    transform: translateY(-2px);
}

.form-control#email:focus,
.form-control#message:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.15);
}

/* FIXED: Proper form-floating label positioning */
.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
    color: #6c757d;
    display: flex;
    align-items: center;
}

/* FIXED: Label animation when focused or has value */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select:focus ~ label,
.form-floating > .form-select:not(:placeholder-shown) ~ label {
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
    color: #0d6efd;
    background: white;
    padding: 0 0.5rem;
    height: auto;
    margin-top: 0.5rem;
}

/* FIXED: Red color for email and message */
.form-floating > #email:focus ~ label,
.form-floating > #email:not(:placeholder-shown) ~ label,
.form-floating > #message:focus ~ label,
.form-floating > #message:not(:placeholder-shown) ~ label {
    color: #dc3545;
}

/* FIXED: Select placeholder styling */
.form-select:not(:focus):not(:valid) {
    color: #6c757d;
}

.form-select:focus ~ label,
.form-select:not([value=""]):valid ~ label {
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
    color: #0d6efd;
    background: white;
    padding: 0 0.5rem;
    height: auto;
    margin-top: 0.5rem;
}

/* Textarea specific - FIXED */
textarea.form-control {
    height: 150px !important;
    min-height: 150px;
    padding-top: 1.5rem;
}

.form-floating > textarea ~ label {
    align-items: flex-start;
    padding-top: 1.5rem;
}

/* Button Styling */
.btn-primary-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: auto;
    padding: 1rem 2rem;
}

.btn-primary-gradient:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
}

.btn-primary-gradient:hover .btn-shine {
    left: 100%;
}

/* Contact Items Styling - FIXED for PC */
.contact-item {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    min-height: 90px;
    overflow: hidden;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: rgba(13, 110, 253, 0.2);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.15);
}

.contact-item.bg-danger:hover {
    border-color: rgba(220, 53, 69, 0.2);
    box-shadow: 0 15px 30px rgba(220, 53, 69, 0.15);
}

.contact-item .flex-grow-1 {
    min-width: 0; /* Prevents text overflow */
}

.contact-item h6 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-item p {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-item small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-item:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Pulse Animation for Icons */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

.bg-danger.pulse-animation {
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* Map Styling */
.map-container {
    min-height: 650px;
    position: relative;
}

.map-info-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    max-width: 280px;
    z-index: 1000;
    border-top: 4px solid #0d6efd;
}

.floating {
    animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Service Tags */
.badge.bg-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
    padding: 8px 12px;
    font-weight: 500;
}

.badge.bg-danger.bg-gradient {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

/* Responsive Design - IMPROVED */
@media (max-width: 992px) {
    .contact-item {
        min-height: 100px;
    }
    
    .contact-item p {
        font-size: 1rem;
    }
    
    .contact-item .icon-wrapper {
        padding: 0.75rem !important;
    }
}

@media (max-width: 768px) {
    .map-info-overlay {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
        max-width: 100%;
    }
    
    .contact-item {
        margin-bottom: 15px;
        min-height: 85px;
    }
    
    .animated-border {
        width: 80px;
    }
    
    .form-control, .form-select {
        height: calc(3rem + 2px);
    }
    
    .contact-item h6 {
        font-size: 0.9rem;
    }
    
    .contact-item p {
        font-size: 0.95rem;
    }
    
    .contact-item small {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .contact-card {
        padding: 1.5rem !important;
    }
    
    .display-6 {
        font-size: 2rem;
    }
    
    .btn-primary-gradient {
        padding: 0.75rem 1.5rem;
    }
    
    .contact-item {
        padding: 1rem !important;
        min-height: 80px;
    }
    
    .contact-item .icon-wrapper {
        padding: 0.5rem !important;
        margin-right: 0.75rem !important;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
}

/* FIXED: Ensure proper form placeholder behavior */
.form-control::placeholder,
.form-select::placeholder {
    color: transparent;
}

.form-control:focus::placeholder {
    color: #adb5bd;
}

/* FIXED: Prevent text overflow in contact cards */
.text-truncate-container {
    overflow: hidden;
}

/* FIXED: Ensure consistent spacing */
.row.g-4 .form-floating {
    margin-bottom: 1rem;
}

/* FIXED: Select dropdown arrow alignment */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

.form-select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%230d6efd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

/* form fixed code */
/* Contact Items Styling - FIXED for full text display */
.contact-item {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    min-height: 90px;
    overflow: visible; /* Changed from hidden */
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: rgba(13, 110, 253, 0.2);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.15);
}

.contact-item.bg-danger:hover {
    border-color: rgba(220, 53, 69, 0.2);
    box-shadow: 0 15px 30px rgba(220, 53, 69, 0.15);
}

.contact-item .flex-grow-1 {
    min-width: 0;
    flex: 1 1 auto; /* Allow flexible growth */
}

.contact-item h6 {
    white-space: normal; /* Changed from nowrap */
    overflow: visible; /* Changed from hidden */
    text-overflow: clip; /* Changed from ellipsis */
    word-break: break-word;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.contact-item p {
    font-size: 1.0rem; /* Slightly larger for phone numbers */
    white-space: normal; /* Changed from nowrap */
    overflow: visible; /* Changed from hidden */
    text-overflow: clip; /* Changed from ellipsis */
    word-break: break-all; /* Allow numbers to break if needed */
    font-weight: 50;
    color: #212529;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.contact-item small {
    display: block;
    white-space: normal; /* Changed from nowrap */
    overflow: visible; /* Changed from hidden */
    text-overflow: clip; /* Changed from ellipsis */
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.2;
}

/* Arrow icon adjustments */
.arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.contact-item:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Icon wrapper adjustments */
.icon-wrapper {
    flex-shrink: 0; /* Prevent icon from shrinking */
    margin-right: 1rem !important;
}

/* Contact link styling */
.contact-item-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    height: 100%;
}

.contact-item-link:hover {
    color: inherit !important;
}

/* Responsive adjustments for full text display */
@media (max-width: 1200px) {
    .contact-item p {
        font-size: 1.15rem;
    }
}

@media (max-width: 992px) {
    .contact-item {
        min-height: 95px;
    }
    
    .contact-item p {
        font-size: 1.1rem;
    }
    
    .icon-wrapper {
        padding: 0.8rem !important;
        margin-right: 0.8rem !important;
    }
}

@media (max-width: 768px) {
    .contact-item {
        margin-bottom: 15px;
        min-height: 90px;
        padding: 1rem !important;
    }
    
    .contact-item h6 {
        font-size: 0.9rem;
    }
    
    .contact-item p {
        font-size: 1.05rem;
    }
    
    .contact-item small {
        font-size: 0.8rem;
    }
    
    .icon-wrapper {
        padding: 0.7rem !important;
        margin-right: 0.7rem !important;
    }
    
    .arrow {
        display: none; /* Hide arrow on mobile for more space */
    }
}

@media (max-width: 576px) {
    .contact-item {
        padding: 0.75rem !important;
        min-height: 85px;
    }
    
    .contact-item p {
        font-size: 1rem;
    }
    
    .icon-wrapper {
        padding: 0.6rem !important;
        margin-right: 0.6rem !important;
    }
    
    .icon-wrapper i {
        font-size: 0.9rem !important;
    }
}

/* For very small screens */
@media (max-width: 400px) {
    .contact-item {
        flex-wrap: nowrap;
    }
    
    .contact-item p {
        font-size: 0.95rem;
        word-break: break-all;
    }
    
    .contact-item small {
        font-size: 0.75rem;
    }
}

/* Ensure email addresses break properly */
.contact-item a[href^="mailto:"] p {
    word-break: break-all;
    hyphens: auto;
}

/* Emergency number specific */
.contact-item a[href^="tel:"] p {
    font-family: monospace; /* Makes numbers more readable */
    letter-spacing: 0.50px;
}

/* 
service section style start  */
/* Service Card Styling */
.service-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    background: white;
    margin-bottom: 1.5rem;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(13, 110, 253, 0.15);
}

/* Gradient Title */
.gradient-title {
    background: linear-gradient(135deg, #0d6efd 0%, #dc3545 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.animated-divider {
    height: 4px;
    width: 100px;
    background: linear-gradient(90deg, #0d6efd, #dc3545);
    border-radius: 2px;
    animation: slideGradient 3s linear infinite;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

@keyframes slideGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Image Container */
.service-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.service-card:hover .overlay-content {
    transform: translateY(0);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease 0.1s;
}

.service-card:hover .service-badge {
    opacity: 1;
    transform: translateX(0);
}

.service-badge .badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    border-radius: 20px;
}

/* Service Content */
.service-content {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    position: relative;
    min-height: 100px;
    border-top: 3px solid #0d6efd;
}

.service-card:nth-child(even) .service-content {
    border-top-color: #dc3545;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.icon-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.service-card:hover .icon-shine {
    left: 150%;
}

.service-title {
    color: #212529;
    text-decoration: none;
    font-weight: 700;
    flex-grow: 1;
    margin-left: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 30px;
}

.service-title:hover {
    color: #0d6efd;
}

.service-card:nth-child(even) .service-title:hover {
    color: #dc3545;
}

.service-arrow {
    position: absolute;
    right: 1.5rem;
    color: #6c757d;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #0d6efd;
}

.service-card:nth-child(even):hover .service-arrow {
    color: #dc3545;
}

/* Hover Info */
.service-hover-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s ease;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    z-index: 10;
    border-radius: 0 0 15px 15px;
}

.service-card:hover .service-hover-info {
    transform: translateY(0);
    opacity: 1;
}

.hover-info-content ul li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: #495057;
}

/* Button Styling */
.btn-primary-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-gradient:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.3);
}

.btn-primary-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-primary-gradient:hover::after {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-img-container {
        height: 200px;
    }
    
    .service-content {
        padding: 1rem;
        min-height: 85px;
    }
    
    .service-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .service-title {
        font-size: 1.2rem;
        margin-left: 0.75rem;
    }
    
    .service-hover-info {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .service-card {
        margin-bottom: 1rem;
    }
    
    .display-6 {
        font-size: 2rem;
    }
    
    .btn-primary-gradient {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Enhanced Button Styling */
.btn-estimate {
    background: linear-gradient(135deg, #0d6efd 0%, #dc3545 100%);
    color: white;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1.1rem;
    border: 2px solid transparent;
}

.btn-estimate:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.4);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-estimate:active {
    transform: translateY(-2px) scale(1.02);
}

/* Button shine effect */
.btn-estimate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-estimate:hover::before {
    left: 100%;
}

/* Arrow icon animation */
.arrow-icon {
    transition: transform 0.3s ease;
}

.btn-estimate:hover .arrow-icon {
    transform: translateX(5px);
}

/* Pulse animation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

.btn-estimate {
    animation: pulse 2s infinite 3s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-estimate {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .btn-estimate {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* team section :start */
/* Team Card Styling */
.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(13, 110, 253, 0.15);
    border-color: rgba(13, 110, 253, 0.2);
}

/* Image Container */
.team-img-container {
    position: relative;
    overflow: visible;
    height: 320px;
}

.team-img-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

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

.team-card:hover .team-img {
    transform: scale(1.1);
}

.team-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-img-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.team-card:hover .overlay-content {
    transform: translateY(0);
}

/* Badge */
.team-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease 0.1s;
}

.team-card:hover .team-badge {
    opacity: 1;
    transform: translateY(0);
}

.team-badge .badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Social Icons */
.team-social-icons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease 0.2s;
}

.team-card:hover .team-social-icons {
    opacity: 1;
    transform: translateX(0);
}

.team-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-social-btn:hover {
    background: #0d6efd;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.3);
}

/* Team Info */
.team-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    background: white;
}

.team-name {
    text-align: center;
    margin-bottom: 1rem;
}

.team-name h4 {
    color: #212529;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.team-card:hover .team-name h4 {
    color: #0d6efd;
}

.team-card:nth-child(even):hover .team-name h4 {
    color: #dc3545;
}

/* Team Details */
.team-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #6c757d;
}

.detail-item i {
    font-size: 0.9rem;
    width: 20px;
}

/* Contact Button */
.team-contact-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-card:nth-child(even) .team-contact-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.team-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.team-card:nth-child(even) .team-contact-btn:hover {
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
}

/* Hover Card */
.team-hover-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s ease;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    z-index: 3;
    border-radius: 0 0 20px 20px;
}

.team-card:hover .team-hover-card {
    transform: translateY(0);
    opacity: 1;
}

.specializations {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.specializations .badge {
    background: #e9ecef;
    color: #495057;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
}

/* Stats Cards */
.stat-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.1);
}

.stat-card:nth-child(even):hover {
    border-color: rgba(220, 53, 69, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .team-img-container {
        height: 280px;
    }
}

@media (max-width: 992px) {
    .team-img-container {
        height: 320px;
    }
    
    .team-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .team-img-container {
        height: 280px;
    }
    
    .team-info {
        padding: 1rem;
    }
    
    .team-hover-card {
        padding: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem !important;
    }
    
    .stat-card h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .team-img-container {
        height: 250px;
    }
    
    .display-6 {
        font-size: 2rem;
    }
    
    .team-name h4 {
        font-size: 1.3rem;
    }
}

/* Gradient Title */
.gradient-title {
    background: linear-gradient(135deg, #0d6efd 0%, #dc3545 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated Divider */
.animated-divider {
    height: 4px;
    width: 100px;
    background: linear-gradient(90deg, #0d6efd, #dc3545);
    border-radius: 2px;
    animation: slideGradient 3s linear infinite;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

@keyframes slideGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



/* navbar section start */

/* ===== NAVBAR STYLING ===== */
.navbar {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar.sticky-top {
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Logo Styling */
.logo-container {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-shake {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.navbar-brand:hover .logo-shake {
    animation: logoShake 0.5s ease;
    transform: scale(1.05);
}

@keyframes logoShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.navbar-brand:hover .logo-glow {
    opacity: 1;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d6efd;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

/* Navigation Links */
.navbar-nav {
    border-radius: 15px;
    padding: 0.5rem 1rem !important;
}

.nav-hover-effect {
    position: relative;
    padding: 0.8rem 1.2rem !important;
    margin: 0 0.3rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #495057 !important;
}

.nav-hover-effect:hover,
.nav-hover-effect.active {
    color: #0d6efd !important;
    background: rgba(13, 110, 253, 0.1);
    transform: translateY(-2px);
}

.nav-hover-effect::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #dc3545);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-hover-effect:hover::after,
.nav-hover-effect.active::after {
    width: 80%;
}

/* Phone CTA - Desktop */
.phone-cta-animated {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    position: relative;
    overflow: hidden;
}

.phone-cta-animated:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
    color: white;
}

.phone-cta-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.phone-cta-animated:hover::before {
    left: 100%;
}

.phone-icon {
    position: relative;
    margin-right: 15px;
    font-size: 1.5rem;
}

.ring-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ringPulse 2s infinite;
}

@keyframes ringPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.phone-content {
    display: flex;
    flex-direction: column;
}

.call-text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.number {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 1px;
}

.phone-arrow {
    margin-left: 10px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.phone-cta-animated:hover .phone-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Phone CTA - Mobile */
.mobile-phone-cta {
    margin-right: 15px;
}

.phone-cta-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

.phone-cta-mobile:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}

.fa-shake {
    animation: phoneShake 0.5s ease infinite;
}

@keyframes phoneShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

/* ===== CAROUSEL STYLING ===== */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-img {
    height: 90vh;
    min-height: 600px;
    object-fit: cover;
    filter: brightness(0.7);
    animation: zoomIn 20s ease infinite alternate;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    bottom: 0;
    top: 50%;
    transform: translateY(-50%);
}

.caption-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

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

/* Carousel Text - RESPONSIVE */
.carousel-caption h1 {
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.carousel-caption p {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Button Styling */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #dc3545 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.4);
    color: white;
}

.btn-primary-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-primary-gradient:hover::before {
    left: 100%;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Carousel Controls */
.control-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.control-btn:hover {
    background: rgba(13, 110, 253, 0.8);
    transform: scale(1.1);
}

/* Indicators */
.carousel-indicators-container {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 3;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: #0d6efd;
    transform: scale(1.3);
}

.carousel-indicators button:hover {
    background: rgba(13, 110, 253, 0.8);
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-20px) translateX(-50%);}
    60% {transform: translateY(-10px) translateX(-50%);}
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1400px) {
    .carousel-caption h1 {
        font-size: calc(1.625rem + 4.5vw) !important;
    }
}

@media (max-width: 1200px) {
    .carousel-img {
        height: 80vh;
    }
    
    .carousel-caption h1 {
        font-size: calc(1.5rem + 3.5vw) !important;
    }
    
    .carousel-caption p {
        font-size: calc(1rem + 0.5vw) !important;
    }
}

@media (max-width: 992px) {
    .navbar-nav {
        background: rgba(255, 255, 255, 0.95) !important;
        margin-top: 1rem;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .carousel-img {
        height: 70vh;
    }
    
    .caption-content {
        padding: 2rem;
    }
    
    .carousel-caption h1 {
        font-size: calc(1.4rem + 2.5vw) !important;
    }
}

@media (max-width: 768px) {
    .carousel-img {
        height: 60vh;
        min-height: 400px;
    }
    
    .caption-content {
        padding: 1.5rem;
    }
    
    .carousel-caption h1 {
        font-size: calc(1.3rem + 2vw) !important;
        margin-bottom: 1rem;
    }
    
    .carousel-caption p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-gradient,
    .btn-outline-light {
        width: 100%;
        max-width: 300px;
        margin-bottom: 0.5rem;
    }
    
    .brand-text {
        display: none;
    }
    
    .logo-container {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .carousel-img {
        height: 50vh;
        min-height: 300px;
    }
    
    .caption-content {
        padding: 1rem;
        margin: 0 10px;
    }
    
    .carousel-caption h1 {
        font-size: calc(1.2rem + 1.5vw) !important;
    }
    
    .phone-content .number {
        font-size: 0.9rem;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .carousel-caption h1 {
        font-size: 1.5rem !important;
    }
    
    .carousel-caption p {
        font-size: 0.9rem !important;
    }
}

/* Ensure Bootstrap classes don't override our styles */
.carousel-caption h1.display-3,
.carousel-caption h1.display-lg-2 {
    font-size: inherit !important;
    line-height: inherit !important;
}

.carousel-caption p.fs-3,
.carousel-caption p.fs-lg-2 {
    font-size: inherit !important;
    line-height: inherit !important;
}



/* Center logo vertically in navbar */
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.logo-container {
    width: 160px;
    height: 80px; /* Match navbar height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-shake {
    width: 100%;
    height: auto;
    max-height: 70px; /* Constrain height */
}





