
* {
    font-family: 'DM Sans', sans-serif;
}
p{
    font-size: 16px!important;
    @media screen and (max-width: 768px) {
        font-size: 14px!important;
    }
}
/* home page */

/* .gradient-bg {
    background: linear-gradient(135deg, #FF2D55 0%, #FF4F7A 50%, #FF2D55 100%);
    background-size: 200% 200%;
    animation: gradient 15s ease infinite;
} */

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translate(0, 0px); }
    50% { transform: translate(0, 20px); }
    100% { transform: translate(0, 0px); }
}

.emergency-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.emergency-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.6s ease;
}

.emergency-btn:hover::before {
    transform: translate(-50%, -50%) scale(2);
}

.service-card {
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
}

.stat-counter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stat-counter.visible {
    opacity: 1;
    transform: translateY(0);
}

.parallax-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
}

/* about page */

.gradient-bg {
    background: linear-gradient(135deg, #FF2D55 0%, #FF4F7A 50%, #FF2D55 100%);
    background-size: 200% 200%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translate(0, 0px); }
    50% { transform: translate(0, 20px); }
    100% { transform: translate(0, 0px); }
}

.service-card {
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
}

.stat-counter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    color: #fff!important;
}

.stat-counter.visible {
    opacity: 1;
    transform: translateY(0);
}

.parallax-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
}

/* services page */

.service-card {
    transform-style: preserve-3d;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
} */

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

/* .service-card:hover::before {
    left: 100%;
} */

.icon-container {
    background: linear-gradient(135deg, #d40039 0%, #ff2d55 100%);
    transition: all 0.3s ease;
}

.service-card:hover .icon-container {
    transform: scale(1.1);
}

.gradient-text {
    background: linear-gradient(135deg, #d40039 0%, #ff2d55 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-pattern {
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(212, 0, 57, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
}


/* service inner page */
.hero-pattern {
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(212, 0, 57, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #d40039 0%, #ff2d55 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.stats-card {
    background: linear-gradient(135deg, rgba(212, 0, 57, 0.1) 0%, rgba(212, 0, 57, 0.05) 100%);
    border: 1px solid rgba(212, 0, 57, 0.2);
}

/* Owl Carousel Custom Styles */
.owl-carousel {
    display: block !important;
}

.owl-carousel .owl-stage-outer {
    overflow: hidden;
}

/* .services-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.services-carousel .owl-nav button {
    position: absolute;
    width: 50px;
    height: 50px;
    background: white !important;
    border: 2px solid #d40039 !important;
    border-radius: 50% !important;
    color: #d40039 !important;
    font-size: 18px !important;
    font-weight: bold;
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    outline: none !important;
    @media screen and (max-width: 768px) {
        width: 30px;
        height: 30px;
        font-size: 14px !important;
    }
}

.services-carousel .owl-nav button:hover {
    background: #d40039 !important;
    color: white !important;
    transform: scale(1.1);
}

.services-carousel .owl-prev {
    left: -25px;
}

.services-carousel .owl-next {
    right: -25px;
}

.services-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.services-carousel .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #d1d5db !important;
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none !important;
}

.services-carousel .owl-dot.active {
    background: #d40039 !important;
    transform: scale(1.2);
}

.services-carousel .item {
    padding: 0 10px;
    display: block;
} */

.service-card a {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card .p-6 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card .text-gray-600 {
    flex: 1;
}

/* Fix for Tailwind CSS conflicts */
.owl-carousel .owl-item {
    display: block;
    float: left;
    width: auto;
}

.owl-carousel .owl-item.active {
    display: block;
}

.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

/* Fallback styles before carousel loads */
.services-carousel:not(.owl-loaded) {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.services-carousel:not(.owl-loaded) .item {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

@media (max-width: 768px) {
    .services-carousel:not(.owl-loaded) .item {
        min-width: 100%;
    }
}

/* contact page */
.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.form-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input:focus {
    border-color: #e11d48;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

/* Custom Select Dropdown with Flaticon Arrow */
.custom-select {
    position: relative;
}
.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    padding-right: 45px;
}
.custom-select::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/32/32195.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.custom-select:hover::after {
    opacity: 1;
}



.presence-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.presence-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.faq-item {
    transition: all 0.3s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer.active {
    max-height: 500px;
}
.form-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input:focus {
    border-color: #e11d48;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

/* Custom Select Dropdown */
.custom-select {
    position: relative;
}
.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    padding-right: 45px;
}
.custom-select::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 13px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/32/32195.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.custom-select:hover::after {
    opacity: 1;
}

.banner-section {
    background-image: url('../assets/home/banner-img.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    position: relative;
    min-height: 90vh;
    @media screen and (max-width: 768px) {
      background-image: url('../assets/home/banner-res-img.webp');

    }
}
@media screen and (max-width: 768px) {
    .banner-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #0000006b!important;
        z-index: 1;
    }
}
.banner-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #00000093;
    z-index: 1;
}

.banner-section .container {
    position: relative;
    z-index: 3;
}

.banner-section > div:first-child {
    z-index: 2;
}

.hero-btn {
    transition: 0.3s;
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
    animation: borderPulse 2000ms infinite ease-out;
  }
  
  @keyframes borderPulse {
    0%,
      45% {
      box-shadow: 0px 0px 0px 0px rgba(163, 163, 163, 0.815);
    }
  
    100% {
      box-shadow: 0px 0px 0px 15px rgba(167, 167, 167, 0);
    }
  }
  

  /* blog page */

  .blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
    font-weight: bold;
    margin: 1.5rem 0 1rem 0;
    color: #374151;
}
.blog-content h1 { font-size: 2rem; }
.blog-content h2 { font-size: 1.75rem; }
.blog-content h3 { font-size: 1.5rem; }
.blog-content h4 { font-size: 1.25rem; }
.blog-content p {
    margin: 1rem 0;
    line-height: 1.7;
    color: #4b5563;
}
.blog-content ul, .blog-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
    color: #4b5563;
}
.blog-content ul li {
    list-style-type: disc;
    margin: 0.5rem 0;
}
.blog-content ol li {
    list-style-type: decimal;
    margin: 0.5rem 0;
}
.blog-content blockquote {
    border-left: 4px solid #d40039;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
}
.blog-content a {
    color: #d40039;
    text-decoration: underline;
}
.blog-content a:hover {
    color: #b91c1c;
}

/* Custom Scrollbar Styles for Mobile Dropdown */
.scrollbar-thin {
    scrollbar-width: thin;
    scrollbar-color: rgba(239, 68, 68, 0.2) #f3f4f6;
}

.scrollbar-thin::-webkit-scrollbar {
    width: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 10px;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
    background: rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    border: 1px solid #f3f4f6;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: rgba(239, 68, 68, 0.5);
}

/* Smooth scroll behavior */
.scrollbar-thin {
    scroll-behavior: smooth;
}

/* Mobile dropdown animation */
@media (max-width: 1024px) {
    .scrollbar-thin {
        animation: fadeInScroll 0.3s ease-out;
    }
}

@keyframes fadeInScroll {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 12rem;
    }
}