body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

/* Banner Section */
/* Background Image Setting */
.hero-section {
    background: url('assets/home-page-banner.webp') no-repeat center center;
    ;
    /* Unga image path-a inga kudunga */
    background-size: cover;
    /* background-position: center; */
}

/* Glass effect for the card */
.hero-card {
    background: rgba(255, 255, 255, 0.9);
    /* Pure white with slight transparency */
    backdrop-filter: blur(10px);
    /* Blur effect */
    border-radius: 40px;
    /* Screenshot-la irukura madhiri round corners */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Button Colors */
.btn-purple {
    background-color: #5a32a8 !important;
    color: white !important;
    border: none;
}

.btn-teal {
    background-color: #1b6b50 !important;
    color: white !important;
    border: none;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    transition: 0.3s;
}

.navbar-brand .logo-img {
    height: 60px;
    /* Desktop view size */
    width: auto;
    transition: 0.3s;
    margin-left: -85px;
}

/* Dropdown menu-la hover effect and colors */
.dropdown-menu {
    border-radius: 12px;
    padding: 10px;
    min-width: 200px;
}

.dropdown-item {
    border-radius: 8px;
    transition: 0.3s;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: #f1ecff;
    /* Purple tint matching your theme */
    color: #5a32a8;
}

/* Desktop-la hover pannale dropdown open aaga (Optional) */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Mobile-la logo innum konjam chinadha theriya */
@media (max-width: 768px) {
    .navbar-brand .logo-img {
        height: 50px;
        margin-left: -11px;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .hero-card {
        margin: 20px 0;
        text-align: center;
    }

    .d-flex {
        justify-content: center;
    }
}

/* About Section */

.about-section {
    background-color: #ffffff;
}

.img-fluid.rounded-5 {
    border-radius: 40px !important;
}

.exp-badge {
    min-width: 150px;
}

/* Section heading purple color tint */
.text-primary {
    color: #5a32a8 !important;
}

/* Experience badge primary color */
.border-primary {
    border-color: #5a32a8 !important;
}

/* Services Section */

.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.icon-box i {
    transition: transform 0.3s ease;
}

.service-card:hover .icon-box i {
    transform: scale(1.1);
}

/* Counter Card Styles home page  */
.counter-card {
    background: rgba(255, 255, 255, 0.1);
    /* Glass effect */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: all 0.4s ease;
}

.counter-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    /* Floating effect */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.counter-icon {
    opacity: 0.8;
    transition: 0.3s;
}

.counter-card:hover .counter-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Optional: Background decoration icons opacity */
.achievements-section .fas {
    color: rgba(255, 255, 255, 0.2);
}

/* Testimonials */
.swiper-slide {
    height: auto;
    /* Card heights equal-ah iruka */
    display: flex;
}

.testimonial-card {
    border-radius: 20px;
    border: 1px solid #eee;
    transition: transform 0.3s;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    font-style: italic;
}

.swiper-pagination-bullet-active {
    background-color: #6c63ff !important;
    /* Unga theme color-ku mathikonga */
}

/* FAQ Section */
.faq-section {
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
    /* Use your existing font */
}

.faq-title {
    color: #3f3a64;
    /* Matching your image purple */
    font-weight: 700;
    font-size: 2.5rem;
}

.faq-subtitle {
    color: #777;
    font-size: 1rem;
}

/* Accordion Item */
.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Question Button */
.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    color: #333;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none !important;
}

/* Arrow Icon (Image style) */
.arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-right: 5px;
}

.faq-question:not(.collapsed) .arrow {
    transform: rotate(-135deg);
}

/* Answer Text */
.faq-answer {
    padding: 0 25px 20px 25px;
    color: #666;
    line-height: 1.6;
}

/* Arrow Style - Pure CSS (No Font Required) */
.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    transition: background 0.3s ease;
}

.faq-question .arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(45deg);
    /* Downward arrow */
    transition: all 0.3s ease;
    margin-right: 10px;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

/* Arrow rotation when opened */
.faq-question:not(.collapsed) .arrow {
    transform: rotate(-135deg);
}

/* footer */

.footer-section {
    /* Intha moonula ethavathu onnu select pannunga */
    background-color: #241e3c;
    /* Option 2: Best Match for your theme */
    color: #ffffff;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #fff;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-section ul li a::before {
    content: '\f0da';
    /* FontAwesome play icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}

.footer-section ul li a:hover {
    color: #a29bfe;
    /* Light purple hover effect */
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    border: 1px solid #fff;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 33px;
    margin-right: 10px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #fff;
    color: #1a73e8;
}

.open-hours li {
    font-size: 0.9rem;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
}

.footer-divider {
    background-color: rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.copyright-text {
    font-size: 0.85rem;
}

.developer-brand {
    font-weight: 900;
    background: #fff;
    color: #1a73e8;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Floating Contact Widgets */
/* Container Settings */
.floating-contact-container {
    position: fixed;
    bottom: 30px;
    width: 100%;
    pointer-events: none;
    /* Allows clicking through the empty middle space */
    z-index: 9999;
    padding: 0 30px;
}

.float-left,
.float-right {
    position: absolute;
    bottom: 0;
    pointer-events: auto;
    /* Re-enables clicking on the buttons */
    display: flex;
    flex-direction: column;
}

.float-left {
    left: 30px;
}

.float-right {
    right: 30px;
}

/* Icon Base Styles */
.float-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 25px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.float-icon:hover {
    transform: scale(1.1);
    color: white;
}

/* Specific Colors & Icons */
.phone-icon {
    background: #5a32a8;
    /* Image-la irukura madhiri dark brownish-red */
}

.whatsapp-icon {
    background: #25D366;
}

.google-icon {
    background: white;
    padding: 2px;
    /* For the logo border effect */
}

/* For Google icon, if you don't have an image, use this FA style:
.google-icon i { color: #4285F4; } 
*/

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .floating-contact-container {
        padding: 0 15px;
        bottom: 20px;
    }

    .float-left {
        left: 15px;
    }

    .float-right {
        right: 15px;
    }

    .float-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

.transition-hover {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.transition-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

* Smooth Pulse Animation for the Badge */ .pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }

    70% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 15px rgba(255, 193, 7, 0);
    }

    100% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

.transition-hover {
    transition: all 0.3s ease;
}

.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .08) !important;
}

/* Custom Accordion Styling */
.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--bs-primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

.accordion-item {
    margin-bottom: 10px;
    border-radius: 15px !important;
}

.accordion-button {
    border-radius: 15px !important;
}

.transition-hover {
    transition: transform 0.3s ease;
}

.transition-hover:hover {
    transform: translateX(10px);
}

/* 320px maadhiri chinna screens-la font romba perusa theriyaama irukka */
@media (max-width: 576px) {
    .fs-2 {
        font-size: 1.8rem !important;
    }

    .small-mobile {
        font-size: 0.9rem !important;
    }

    /* Mobile-la height-ai auto panna dhaan content ulla adangum */
    .about-hero {
        height: auto !important;
        min-height: 600px !important;
        padding-top: 100px !important;
    }
}

/* Bootstrap default-la illadha negative margin extension */
@media (min-width: 992px) {
    .mt-lg-n5 {
        margin-top: -125px !important;
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

/* Desktop-la mattum mela thookuradhuku */
@media (min-width: 992px) {
    .mt-lg-custom-n {
        margin-top: -35px !important;
    }
}

/* Mobile & Tab View Fixes */
@media (max-width: 991px) {
    .about-hero {
        height: auto !important;
        /* Fixed height-ai cancel panrom */
        padding-top: 120px !important;
        /* Header mela idikkaama irukka padding */
        padding-bottom: 60px !important;
        background-attachment: scroll;
        /* Mobile smooth scrolling-ku */
    }

    .display-4 {
        font-size: 2rem !important;
        /* Font size mobile-ku yetha madhiri */
    }

    .glass-card {
        padding: 30px !important;
        /* Mobile side space adjustments */
    }
}

@media (min-width: 992px) {
    .about-hero {
        /* Mela overlap aagama irukka padding use panrom margin-ku badhila */
        margin-top: 0 !important;
        height: 540px;
    }
}

/* Mobile & Tab view fix (Screenshot image_03d0ba.png gap adjustment) */
@media (max-width: 991px) {
    .about-hero {
        margin-top: 0px !important;
        /* Header-ku keela image-ai thallum */
        min-height: 300px !important;
        height: auto;
    }
}

/* Removes the arrow and styles the menu like your image */
.dropup .dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    min-width: 200px;
    border-radius: 15px !important;
    /* Soft rounded corners as seen in img */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    font-family: 'Poppins', sans-serif;
    /* Or your preferred font */
    font-size: 1.1rem;
    color: #333;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #000;
    border-radius: 8px;
}

/* Footer link text color */
.dropup .nav-link {
    color: #ffffff !important;
    /* Unga footer dark ah irundha white kudunga */
    font-weight: bold;
}

/* Dropdown menu ulla irukura list items color */
.dropdown-menu .dropdown-item {
    color: #212529 !important;
    /* Menu background white nala text black/dark grey */
    padding: 10px 20px;
}

/* Hover pannum pothu text color */
.dropdown-item:hover {
    background-color: #0d6efd;
    /* Blue color background */
    color: #ffffff !important;
    /* Hover pannum pothu text white ah maarum */
}

.dropdown-menu {
    z-index: 9999 !important;
}

.transition-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    /* Makes it look clickable */
}

.transition-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.rounded-top-5 {
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
}

/* Modal height adjustment for large screens */
@media (min-width: 992px) {
    .modal-xl {
        max-width: 1140px;
    }
}

/* Smooth line height for long content */
.service-details p {
    font-size: 1.05rem;
    color: #444;
    text-align: justify;
}

/* Optional: Scrollbar style for long content inside modal */
.modal-body {
    max-height: 90vh;
    overflow-y: auto;
    margin-top: -20px;
}

.rounded-5 {
    border-radius: 30px !important;
}

.btn-close {
    z-index: 1060 !important;
    /* Modal-a vida mela iruka */
    position: relative;
}

.modal-header {
    z-index: 1061;
}

.hover-link {
    transition: color 0.2s ease;
}

.hover-link:hover {
    color: #1a4d2e !important;
    /* Dark Green */
}

/* Responsive adjustment for the Hero Section */
    .about-hero {
        background: url('assets/about.webp') center center / cover no-repeat;
        min-height: 540px; /* Default Desktop height */
        display: flex;
        align-items: center;
        width: 100%;
        position: relative;
    }

    /* Mobile and Tablet optimization */
    @media (max-width: 991px) {
        .about-hero {
            min-height: 400px; /* Tablet height reduce panrom */
            padding: 40px 0;
        }
        .hero-card {
            margin-top: 0 !important; /* Mobile-la negative margin vendaam */
            padding: 30px !important; /* Padding-a reduce panrom */
            text-align: center;
        }
    }

    @media (max-width: 576px) {
        .about-hero {
            min-height: 350px; /* Mobile height */
            background-position: 75% center; /* Mobile-la image-oda mukkiyama part theriya adjust panrom */
        }
        .hero-card h2 {
            font-size: 2rem; /* Title size mobile-ku yethapadi */
        }
    }

    .hero-section {
        /* Background Image Configuration */
        background: url('assets/home-page-banner.webp') center center / cover no-repeat;
        min-height: 100vh; /* Laptop/Desktop-ku full screen */
        display: flex;
        align-items: center;
        position: relative;
    }

    /* Glassmorphism Card Style */
    .hero-card {
        background: rgba(255, 255, 255, 0.45); /* Slight white tint */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 40px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }

    /* Responsive Adjustments */
    @media (max-width: 991px) {
        .hero-section {
            min-height: 80vh; /* Tablet-la konjam height kammi panrom */
            padding: 60px 0;
        }
        .hero-section h1 {
            font-size: 3rem; /* Display-3 size-ai Tablet-ku adjust panrom */
        }
    }

   @media (max-width: 576px) {
    .hero-section {
        padding-top: 100px !important; /* Header-ku keela gap vara */
        min-height: auto !important;
    }
    
    .hero-card {
        margin-top: 20px !important;
        padding: 25px 15px !important; /* Mobile padding tight-a irukanum */
    }

    .hero-card h1 {
        font-size: 1.8rem !important; /* Heading romba perusa iruku, adhai koraikuren */
        line-height: 1.2;
    }
    
    .hero-card .badge {
        font-size: 11px; /* Badge text-a konjam koraikuren */
        white-space: normal; /* Mobile-la text wrap aaga */
    }
}

.main-logo {
        max-height: 65px; /* Desktop height */
        transition: 0.3s;
    }
    
    @media (max-width: 576px) {
        .main-logo {
            max-height: 45px; /* Mobile-la height-a koraikiren */
        }
        /* Logo sub-text sizing */
        .logo-sub-text {
            font-size: 10px !important;
            letter-spacing: 0px !important;
        }
    }