 /* ✅ REMOVE any extra padding/margin from html/body in service page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ✅ Hero section - Positioned below fixed header */
.service-hero-section {
    height: 40vh;
    min-height: 260px;
    background-image: url('images/serviceimghero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

/* ✅ Desktop: Hero section ko topbar + header ke neeche push karo */
@media (min-width: 992px) {
    .service-hero-section {
        margin-top: calc(60px + 80px); /* topbar 60px + header 80px = 140px */
    }
    
    /* ✅ When scrolled and topbar hidden */
    body.nav-scrolled .service-hero-section {
        margin-top: 80px; /* only header height */
    }
}

/* ✅ Mobile/Tablet: NO margin needed because body already has padding-top */
@media (max-width: 991px) {
    .service-hero-section {
        margin-top: 0; /* Header CSS already has body padding-top: 80px */
        padding-top: 0;
    }
}

/* Overlay for better text visibility */
.service-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.service-hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #d32f2f;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.service-hero-breadcrumb {
    font-size: 1.3rem;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.service-hero-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-hero-breadcrumb a:hover {
    color: #d32f2f;
}

.service-hero-breadcrumb span {
    color: white;
}

/* ✅ Mobile optimizations for better fit */
@media (max-width: 768px) {
    .service-hero-title {
        font-size: 2.5rem;
    }
    
    .service-hero-breadcrumb {
        font-size: 1rem;
    }
    
    .service-hero-content {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .service-hero-title {
        font-size: 2rem;
    }
    
    .service-hero-breadcrumb {
        font-size: 0.9rem;
        gap: 10px;
    }
}
/* ========================================
   ✅ SERVICES SECTION STYLES
======================================== */

.services-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-subtitle {
    font-size: 1rem;
    color: #d32f2f;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #062a4b;
    margin-bottom: 20px;
}

.services-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d32f2f, #ff5252);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d32f2f, #ff5252);
    border-radius: 50%;
    font-size: 2.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #062a4b;
    margin-bottom: 15px;
}

.service-card-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d32f2f;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: gap 0.3s ease;
}

.service-card-link:hover {
    gap: 12px;
}

.service-card-link::after {
    content: '→';
    font-size: 1.2rem;
}

/* Tablet View */
@media (max-width: 1024px) and (min-width: 769px) {
    .service-hero-section {
        height: 50vh;
        min-height: 240px;
    }

    .service-hero-title {
        font-size: 50px;
    }

    .service-hero-breadcrumb {
        font-size: 1.2rem;
    }

    .services-section {
        padding: 60px 20px;
    }

    .services-title {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .service-hero-section {
        height: 50vh;
        min-height: 260px;
    }

    .service-hero-content {
        padding: 30px 20px;
    }

    .service-hero-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
        letter-spacing: 1px;
    }

    .service-hero-breadcrumb {
        font-size: 1rem;
        gap: 10px;
        flex-wrap: wrap;
    }

    .services-section {
        padding: 50px 15px;
    }

    .services-header {
        margin-bottom: 40px;
    }

    .services-title {
        font-size: 1.8rem;
    }

    .services-description {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding: 35px 25px;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .service-card-title {
        font-size: 1.3rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .service-hero-section {
        min-height: 260px;
    }

    .service-hero-title {
        font-size: 2rem;
    }

    .service-hero-breadcrumb {
        font-size: 0.9rem;
        gap: 8px;
    }

    .services-section {
        padding: 40px 15px;
    }

    .services-title {
        font-size: 1.6rem;
    }

    .services-subtitle {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .service-card-title {
        font-size: 1.2rem;
    }

    .service-card-description {
        font-size: 0.95rem;
    }
}


        /* service section */
             /* Main Section Styling */
/* Main Section Styling */
.unique-service-main-section {
    padding: 37px 32px;
    background-color: #fff;
}

.unique-service-main-container {
    max-width: 1400px;
    margin: 0 auto;
}

.unique-service-main-header {
    text-align: center;
    margin-bottom: 60px;
}

.unique-service-main-subtitle {
    font-size: 1rem;
    color: #d32f2f;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.unique-service-main-title {
    font-size: 22px;
    color: #2c2c2c;
    font-weight: 700;
}

/* Service Cards Grid */
.unique-service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default: 3 cards per row for laptop view */
    gap: 30px;
}

.unique-service-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    height: 480px;
    width: 100%;
    margin: 0 auto;
}

.unique-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Service Card Image Container */
.unique-service-card-image-container {
    position: relative;
}

.unique-service-card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.unique-service-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c2c2c;
}

/* Card Content Styling */
.unique-service-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* padding: 20px; */
    text-align: center;
    height: 160px;
}

.unique-service-card-title {
    font-size: 1.6rem;
    color: #2c2c2c;
    font-weight: 700;
    margin-bottom: 15px;
}

.unique-service-card-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.unique-service-card-link {
    font-size: 1rem;
    color: #2c2c2c;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design for Tablet */
@media (max-width: 1024px) and (min-width: 1024px) {
    .unique-service-cards-grid {
        grid-template-columns: repeat(3, 1fr); /* 2 cards per row */
    }
    .unique-service-card-image {
        height: 250px;
    }
    .unique-service-card {
        height: 450px;
    }
}

/* Mobile View - 1 Card per Row */
@media (max-width: 768px) {
    .unique-service-cards-grid {
      grid-template-columns: repeat(2, 1fr); /* 1 card per row */
    }
    .unique-service-card-image {
        height: 230px;
    }
    .unique-service-card-content {
        padding: 12px 20px;
    }
    .unique-service-card-title {
        font-size: 1.3rem;
    }
    .unique-service-card-description {
        font-size: 0.9rem;
    }
    .unique-service-card {
        height: 420px;
    }
}
/* Mobile View - 1 Card per Row for Screens <= 520px */
@media (max-width: 520px) {
    .unique-service-cards-grid {
        grid-template-columns: 1fr; /* 1 card per row on very small mobile screens */
        gap: 20px; /* Adjusted gap for better spacing */
    }
    .unique-service-card {
        width: 110%; /* Increased card width to 90% of the container */
        margin: 0 auto; /* Center the card */
    }
    .unique-service-card-image {
        height: 200px; /* Adjust image height for very small screens */
    }
    .unique-service-card-content {
        padding: 12px 18px; /* Reduced padding for smaller screens */
    }
    .unique-service-card-title {
        font-size: 1.2rem; /* Smaller title font for mobile */
    }
    .unique-service-card-description {
        font-size: 0.85rem; /* Smaller description text for mobile */
    }
    .unique-service-card {
        height: 380px; /* Adjusted card height for very small screens */
    }
}
/* FAQ Section css */
    /* Service FAQ Section Styling */
/* Service FAQ Section Styling */
/* Service FAQ Section Styling */
.service-faq-section {
    padding: 60px 30px;
    background-color: #f9f9f9;
}

.service-faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.service-faq-title {
    font-size: 22px;
    color: #2c2c2c;
    font-weight: 700;
}

.service-faq-subtitle {
    font-size: 1rem;
    color: #d32f2f;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.service-faq-cards {
    display: grid;
    grid-template-columns: 1fr; /* 1 card per row for mobile */
    gap: 20px;
    margin-top: 20px;
}

/* FAQ Card Styling */
.service-faq-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-right: 20px; /* Added padding to prevent text from touching the red line */
}

/* Red line between columns */
.service-faq-column:nth-child(1) {
    border-right: 2px solid #d32f2f; /* Red line between columns */
}

.service-faq-card {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative; /* To position the "+" sign in the top right corner */
}

.service-faq-card:hover {
    background-color: #f0f0f0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #d32f2f;
    font-weight: bold;
    position: absolute; /* To position the "+" sign in the corner */
    top: 10px; /* Space from the top */
    right: 10px; /* Space from the right */
    cursor: pointer;
}

/* Answer Styling (Initially Hidden) */
.faq-answer {
    display: none;
    font-size: 1rem;
    color: #666;
    margin-top: 10px;
}

/* Tablet View (up to 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .service-faq-cards {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row on tablet */
    }
}

/* Laptop View (1024px or larger) */
@media (min-width: 1025px) {
    .service-faq-cards {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row on laptop */
    }
}

/* Mobile View - 1 Card per Row for Screens <= 520px */
@media (max-width: 520px) {
    .service-faq-cards {
        grid-template-columns: 1fr; /* 1 card per row on very small mobile screens */
        gap: 20px; /* Adjusted gap for better spacing */
    }

    /* Hide the red line between columns for mobile */
    .service-faq-column:nth-child(1) {
        border-right: none; /* Remove the red line */
    }
}
