body{
    font-family: math;
}


/* Top header style */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background:  #ffcf00;
    color: #000;
    padding: 8px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header .header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.top-header p {
    margin-right: 20px;
    font-size: 20px;
}
.header-content p{
    margin: 0px;
}

.top-header button {
    padding: 4px 12px;
    border-radius: 5px;
    background-color: #007BFF;
    border: none;
    color: white;
    cursor: pointer;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-header button:hover {
    background-color: #0056b3;
}

.enquiry-button-2 a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Default Styles */
.call-icon {
    font-size: 18px;
    display: none; /* Hidden by default */
}
@keyframes phoneRing {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Add space to body content to avoid overlap with the header */
.main-content {
    margin-top: 60px; /* Adjust based on header height */
    padding: 20px;
}

/* header style start */
.header-section{
    background: rgb(255,255,255);
    background: linear-gradient(49deg, rgba(255,255,255,1) 0%, rgba(218,239,251,1) 58%);
}
.header {
    margin-top: 45px;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding-left: 11%;
}
.header img {
    height: 67px;
}
.nav-links {
    display: flex;
    gap: 15px;
    padding-left: 5%;
}
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 0px 12px;
}
.dropdown {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    min-width: 120px;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu a {
    display: block;
    padding: 8px 10px;
    color: #333;
    text-decoration: none;
}
.dropdown-menu a:hover {
    background: #f8f9fa;
}

/* Mobile Menu */
.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mobile-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px;
    display: block;
    border-bottom: 1px solid #ddd;
}
.mobile-menu .close-btn {
    font-size: 24px;
    text-align: right;
    cursor: pointer;
    margin-bottom: 20px;
}
.mobile-dropdown {
    cursor: pointer;
    font-weight: bold;
    padding: 10px;
}
.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    padding-left: 20px;
}
.mobile-dropdown-menu a {
    padding: 5px 0;
}
/* header style end */

/* Hero Banner Section */
p{
    text-align: left;
}
.hero-banner {
    padding: 50px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-banner .col-lg-8 {
    flex: 1;
}

.hero-banner .col-lg-4 img {
    max-width: 90%;
    border-radius: 3px;
}

.heads {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-family: math;
    font-weight: bold;
}

select {
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 27%;
    max-width: 300px;
    /* margin-bottom: 20px; */
}
/* Centering the .location container */
.location {
    display: flex;
    flex-direction: row;
    align-items: center;  /* Centers all child elements */
    /* justify-content: center; */
    gap: 10px; /* Adds spacing between elements */
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Styling the dropdown */
#city-select {
    padding: 8px;
    font-size: 16px;
    width: 30%;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Styling the Submit button */
.submit-button {
    padding: 8px 15px;
    font-size: 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #218838;
}

/* Styling the Enquiry button */
.enquiry-button {
    display: inline-block;
    padding: 5px 15px;
    margin-left: 30px;
    font-size: 16px;
    color: white;
    background-color: #088ee6;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    animation: zoomInOut 2s infinite;
}

.enquiry-button:hover {
    background-color: rgb(25, 160, 201);
    color: white;
}

/* Zoom In and Out Animation */
@keyframes zoomInOut {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}



/* Submit Button Style */
.hero-banner .submit-button {
    padding: 5px 15px;
    font-size: 15px;
    margin-left: 15px;
    font-weight: bold;
    color: white;
    background-color: #e12028;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Button Hover Effects */
.hero-banner .submit-button:hover {
    background-color: #c7000a;
   
}

/* Button Focus Effect */
.hero-banner .submit-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 10, 19, 0.6);
}

.steps{
    gap:62px;
}

.book-steps {
    width: 30%;
    padding: 10px;
    box-sizing: border-box;  
}

.oval {
    width: 60px;
    height: 60px;
    background-color:rgb(224, 241, 248);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color:rgb(39, 37, 37);
    font-size: 30px;
    margin-bottom: 10px;
}


.t-b {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.pra {
    font-size: 0.9em;
    color: #555;
}

.col-lg-4 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}


/* Scholor Section Style */
.scholar-section {
    padding: 10px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.scholar-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.scholar-logos {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.scholar-logos img {
    height: 80px;
    max-width: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.scholar-logos img:hover {
    transform: scale(1.1);
}

.carousel-inner img {
  height:150px;
}



.content-div {
    text-align: left;
    padding: 30px 20px;
    }
   

    /* Heading Styling */
    .b-text2 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 30px;
    }

    /* Box Area */
    .b-area {
        width: 100%;
        display: inline-block;
        background: #fff;
        margin-bottom: 25px;
        border: 1px solid #cfc6c6;
        border-radius: 7px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        text-align: center;
    }
    

    /* Hover Effect */
    .b-area:hover {
        transform: translateY(-5px);
        box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    }

    /* Box Image */
    .box img {
        width: 100%;
        height:100%;
      
    }

    /* Step Number */
    .number, .number1 {
        width: 10%;
        float: left;
        font-size: 45px;
        font-weight: bold;
        color: #DE262D;
        display: inline-block;
        padding-top: 10px;
        position: relative;
        padding-left: 10px;
    }

    .detail2 {
        width: 90%;
        float: right;
    }

    /* Step Heading */
    .hd {
        font-size: 1.2rem;
        font-weight: bold;
        margin: 20px 10px 0;
        text-align: left;
    }

    /* Step Description */
    .pd {
        font-size: 0.9rem;
        color: #666;
        text-align: left;
        margin-left: 10px;
    }

    .add{
        padding-bottom: 20px;
    }
    .add p{
        color: #000;
        font-size: 30px;
        font-weight: Bold;
        font-family: math;
    }
    
    .submit-button2{
        padding: 5px 15px;
        font-size: 15px;
        margin-left: 15px;
        font-weight: bold;
        color:  white;
        background-color:  #e12028;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }


/* FAQ CSS start */
.accordion {
    font-family: Arial, sans-serif;
   
  }
  
  .faq-item {
    margin-bottom: 15px; /* Adds space between questions */
  }
  
  .tab__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f9f9f9;
    /* border: 1px solid #ddd; */
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .tab__label:hover {
    background-color: #f1f1f1;
  }
  
  .tab__label h6 {
    margin: 0;
    font-size: 18px;
    color: #333;
  }
  
  .tab__input {
    display: none;
  }
  
  .tab__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 15px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }
  
  .tab__input:checked + .tab__content {
    max-height: 200px;
    padding: 15px;
  }
  
  .arrow::before {
      content: "\276F";
      display: inline-block;
      transition: transform 0.3s ease;
    }
    
    .tab__input:checked + .tab__content .arrow::before {
      transform: rotate(90deg);
    }

    .arrow::before {
        content: "\25BC"; /* Downward arrow by default */
        display: inline-block;
        transition: transform 0.3s ease;
      }
      
      .tab_input:checked + .tab_content .arrow::before {
        content: "\25B2"; /* Upward arrow when expanded */
      }
/* FAQ CSS end */

.feature {
    padding-top:10px ;
}

/* why booking section start */

.why-book-section {
    background-color: #f4f4f4;
    margin-top: 30px;
    border-radius: 10px;
}
.why-book-section ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.why-book-section ul li {
    background: #f7f7f7;
    margin: 10px 0;
    padding: 12px 15px 15px 40px; /* Left padding for image */
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    border-radius: 5px;
    position: relative;
    align-items: center;
}

.why-book-section ul li::before {
    content: "";
    background: url('/category/images/listing-arrow.jpeg') no-repeat center center;
    background-size: contain;
    width: 17px;
    height: 30px;
    position: absolute;
    left: 10px;
    top: 35%;
    transform: translateY(-50%);
}
a{
    text-decoration: none;
    color: black;
}

/* why booking section end */

/* custom-list section start */



.custom-list li{
        padding: 10px;
        border-radius: 10px;
        margin-bottom: 10px;
        background-color: #f4f4f4;
        color: black;
        font-weight: 400;
        cursor: pointer;
        border: none;
    }

.custom-list li:hover{
    background-color: #ece1e1;
    color: black;
} 

/* custom-list section end */

/* obituary-section css start */


.obituary-section h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.obituary-section p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

.obituary-section h4 {
    color: #444;
    font-size: 20px;
    margin-top: 20px;
    padding-bottom: 5px;
}

.obituary-section ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.obituary-section ul li {
    background: #f7f7f7;
    margin: 10px 0;
    padding: 12px 15px 15px 40px;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    border-radius: 5px;
    position: relative;

}

.obituary-section ul li::before {
    content: "";
    background: url('/category/images/listing-arrow.jpeg') no-repeat center center;
    background-size: contain;
    width: 17px;
    height: 30px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* obituary-section css end */


/* format css start */

.format{
        display: flex;
        gap: 20px;
        list-style-type: none;
        padding: 0;
        margin: 0;
}
.format li{
    flex: 1;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    background-color: #eaedee;
}
.format li:hover{
    background-color: rgb(237, 233, 241);
}

/* format css end */

/* newspaper-footer section style start  */
.newspapers{
    margin-top: 30px;
    padding: 15px 30px;
    background-color:#D8E4ED;
    color: black;

}
.newspapers ul {
    list-style: none ;
}
.newspapers ul li a:hover{
    color: black;
  font-weight: 600 !important;
}

.newspaper-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 5px; /* Space between items */
    list-style: none;
    padding-top: 15px;
}



/* newspaper-footer section style end  */

/* footer section style start  */
.footer{
    background-color: #000;
}
.footer-social{
    display: flex;
    gap: 15px;
    width: fit-content;
    padding: 5px 10px;
}
.footer-social li{
    list-style: none;
}
.footer-heading a{
    color: white;
}
.bullet6 li a {
    color: white;
}
.bullet6 li{
    list-style: none;
}
.footer-box-3 img{
    width: 80% ;
    height: 80%;
    border-radius: 5px;
}
.copyright{
    padding-bottom: 10px;
    text-align: center;
    margin-bottom: 0;
}
/* footer section style end  */
/* Responsive Layout */
@media (max-width: 768px) {
    .header{
        flex-direction: row;
        justify-content: space-between;
        padding-top: 32px;
      }
      .top-header p {
        font-size: 15px;
      }
        .nav-links {
            display: none;
        }
        .menu-icon {
            display: block;
        }

        .top-header{
            width: 100%;
        }

        .call-text {
            display: none; /* Hide "Call Now" text */
        }
        .top-header button{
            background-color: #ffcf00;
            margin-top: 0px;
        }
        .call-icon {
            display: inline-block; /* Show phone icon */
            color: red; /* Make phone icon red */
            font-size: 24px; /* Increase icon size */
        }
        .call-text {
            display: none; /* Hide "Call Now" text */
        }
        
        .call-icon {
            display: inline-block; /* Show phone icon */
            color: red; /* Make phone icon red */
            font-size: 24px; /* Increase icon size */
            animation: phoneRing 1s infinite ease-in-out; /* Add animation */
        }
    .hero-banner {
        flex-direction: column;
        align-items: center;
        padding: 0px;
    }
     .image img {
        max-width: 80% !important;
        padding: 0px !important;
    }
    .image {
        order: -1; /* Moves the image div to the top */
        text-align: center;
    }
    .image video {
         width: 100%;
    }

    .heads{
        font-size: 29px;
    }

    #city-select{
        width: 60%;
    }
    .hero-banner .submit-button {
        font-size: 16px;
        padding: 3px 13px;
    }
        
    .location{
        display: block;
    }
    .enquiry-button{
        display: block;
        text-align: center;
        margin-top: 20px;
        margin-left:0px;
    }
    .col-lg-8, .col-lg-4 {
        width: 100%;
        padding: 20px;
    }

    .scholar-section h2 {
        font-size: 2rem;
    }

    .b-text2 {
font-size: 1.3rem;
}

.b-area{
    display: grid;
    width: 40vh;
}
.steps{
    gap: 41%;
    padding-left: 2px;
}
.number, .number1 {
width: 30px;
height: 30px;
font-size:2.5rem;
padding-top: 20px;
}
.hd{
    margin: 0px 50px 0;
}

.pd{
    font-size: 0.8rem;
    margin-left: 43px;
}
#city-select1{
    width: 70%;
}

.add p{
    font-size: 22px;
}

}

/* Responsive Styles */
@media (max-width: 768px) {
    .features {
      flex-direction: column;
      align-items: center;
    }
    .feature{
        font-size: 1.2rem;
    }
    .about-us h2 {
      font-size: 24px;
    }
  }
  
  @media (max-width: 480px) {
    .about-us h2 {
      font-size: 20px;
    }
  
    .feature h3 {
      font-size: 18px;
    }
  
    .feature p {
      font-size: 14px;
    }

    .format{
        display: grid;
    }

    .why-book-section h2{
        font-size: 1.2rem;
    }

    .how-book{
        font-size: 1.2rem;
    }

    .types{
        font-size: 1.2rem;
    }
  }

  @media (min-width: 768px) {
    .set {
        display: none;
    }
    .set2 {
        display: none;
    }
}

@media (max-width: 767px) {
    .set {
        display: block;
    }
    .set2{
        display: block;
    }
    .imp{
        width: 50%;
        text-align: center;
    }
    .imp  p {
        text-align: center;
    }
    .oval{
        align-items: center;
    }
    .t-b{
        font-size: 15px;
    }
    .pra{
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .row {
        display: flex;
        flex-wrap: wrap; /* Ensures items wrap properly */
    }

    .col-lg-6 {
        width: 50%; /* Makes each column take half the width */
        text-align: center; /* Centers text for a clean look */
    }

    .bullet6 {
        padding: 0;
        list-style: none; /* Removes default bullets */
    }

    .bullet6 li {
        margin-bottom: 5px; /* Adds spacing between list items */
    }
}

/* obituary ad style start */

.category-section{
    background-color: #e7f5fd;
    padding: 20px;
}


/* Heading */
.heading {
    text-align: left;
    color: #000;
    margin-bottom: 20px;
}

/* Responsive Grid Layout for Obituary Categories */
.obituary-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr)!important; /* 6 columns on large screens */
    gap: 15px;
    padding: 10px;
  }
  
  /* Category Box Styling */
  .category-box {
    background-color: #F3F6F8;
    color: #000;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    cursor: pointer;
  }
  
  .category-box:hover {
    background-color: #e7f5fd;
  }
  
  /* Responsive Breakpoints */
  
  /* For tablets and smaller desktops */
 
  /* For smaller tablets */
  @media (max-width: 768px) {
    .obituary-grid {
      grid-template-columns: repeat(2, 1fr)!important; /* 2 columns */
    }
  }
  
  /* For mobile screens */

  
/* obituary ad style end */


/* contect form start */

/* Floating Chat Icon */
.chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #007bff;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    animation: vibrateZoom 1s ease-in-out infinite; /* Smooth infinite animation */
}

/* Smooth Vibration with Zoom-out and Zoom-in animation keyframes */
@keyframes vibrateZoom {
    0% {
        transform: translateX(0) scale(1); /* Start normal */
    }
    25% {
        transform: translateX(-2px) scale(1); /* Move left and slightly zoom in */
    }
    50% {
        transform: translateX(4px) scale(0.95); /* Move right and slightly zoom out */
    }
    75% {
        transform: translateX(-3px) scale(1.05); /* Move left and slightly zoom in */
    }
    100% {
        transform: translateX(0) scale(1); /* Return to normal */
    }
}

/* Smooth infinite hover effect with vibration and zoom animation */
.chat-icon:hover {
    background: #0056b3;
   
}


/* Popup Modal */
.modal {
    background-color: rgb(194, 199, 201);
    display: none;
    position: fixed;
    top: 45%;
    left: 83%;
    transform: translate(-50%, -50%) scale(0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    height: auto;
    opacity: 0;
    transition: opacity 0.3s, transform 0.5s;
}

.modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Smooth form opening effect */
#contactForm {
    opacity: 0; /* Initially invisible */
    transform: translateY(20px); /* Start slightly below */
    transition: opacity 0.4s ease, transform 0.4s ease; /* Smooth transition */
}

.modal.active #contactForm {
    opacity: 1; /* Fade in */
    transform: translateY(0); /* Slide up to original position */
}
/* Close Button */
.modal .close-btn {
    position: absolute;
    top: 0px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

.modal h2 {
    padding-top: 10px;
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}

.modal label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #444;
}

.modal input, select {
    width: 95%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.form-btn {
    width: 100%;
    background: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-top: 15px;
    cursor: pointer;
    font-size: 16px;
}

.form-btn:hover {
    background: #0056b3;
}

#responseMsg {
    color: green;
    text-align: center;
    margin-top: 10px;
    display: none;
}

@media (max-width: 600px) {
    .modal {
        width: 85%;
        left: 50%;
    }
}
/* contect form end */