/********** CSS **********/
:root {
    --primary:  #2bc413;
    --secondary: #cb9839;
    --light: #cb9839;
    --dark: #363636;
}

.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 {
    font-weight: 500;
    transition: .5s;
}

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

.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-nav .nav-link {
    margin-left: 30px;
    padding: 25px 0;
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

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

.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-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 25px;
        border-top: 1px solid #EEEEEE;
    }
}

@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;
    text-align: start;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

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

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

.carousel-caption .breadcrumb-item+.breadcrumb-item::before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
}

@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;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-width: 12px;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/Hero-1.png) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #2bc413;
}


/*** Facts ***/
.facts-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, .45);
}

.facts-overlay h1 {
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
}

.facts-overlay a:hover {
    color: var(--primary) !important;
}


/*** Service ***/
.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/Hero-2.png) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-text {
    position: absolute;
    width: 75%;
    bottom: 30px;
    left: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    width: 100%;
}

.team-text * {
    transition: .5s;
}

.team-item:hover .team-text * {
    letter-spacing: 2px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #cb9839
    ;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #cb9839;
    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: #cb9839;
    margin-right: 10px;
}

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

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

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

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



/* Investment Section Centering & Responsive */
.investment-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content */
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background-color: var(--light);
    width: 100%;
}

/* Center Heading & Text */
.investment-section h2 {
    color: var(--primary);
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 15px;
}

.investment-section p {
    font-size: 18px;
    color: var(--secondary);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Table Container Centering & Responsiveness */
.table-container {
    width: 90%;
    max-width: 800px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin: 0 auto; /* Ensures centering */
}

/* 3D Paper Look Table */
.investment-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 8px solid #cb9839; /* Thick Borders */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    margin: 0 auto; /* Center the table */
}

/* Table Headers */
.investment-table th {
    background: #cb9839; /* Header Color */
    color: white;
    padding: 15px;
    font-size: 18px;
    border: 4px solid #ff8c00;
}

/* Table Data Cells */
.investment-table td {
    padding: 12px;
    font-size: 16px;
    border: 4px solid #ff8c00;
    background: #fff;
}

/* Alternate Row Color */
.investment-table tr:nth-child(even) {
    background: #fbe4af;
}

/* Responsive Table */
@media screen and (max-width: 768px) {
    .investment-section {
        padding: 30px 10px; /* Adjust padding */
    }

    .table-container {
        width: 100%;
        overflow-x: auto; /* Enable horizontal scroll */
    }

    .investment-table {
        width: 100%;
        display: block;
        overflow-x: auto; /* Enable horizontal scroll */
        white-space: nowrap;
        margin: 0 auto; /* Ensures centering */
    }

    .investment-table th,
    .investment-table td {
        padding: 10px; /* Reduce padding */
        font-size: 14px; /* Reduce font size */
    }
}
@media screen and (max-width: 300px) {
    .investment-section {
        padding: 15px 5px; /* Adjust padding */
    }

    .investment-table th,
    .investment-table td {
        padding: 5px; /* Reduce padding */
        font-size: 7px; /* Reduce font size */
    }
}

/* Flash Message Styling */
  #flash-message {
    position: fixed;
    bottom: 88px;
    right: 120px;
    width: 190px;
    height: auto;
    background: linear-gradient(45deg, #2bc413, #cb9839, #f4e4a3);
    color: rgb(0, 0, 0);
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 9999;
    animation: flashEffect 1s infinite alternate;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
  }

  /* Flashing Effect */
  @keyframes flashEffect {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.85; transform: scale(1.05); }
  }

  /* Responsive */
  @media screen and (max-width: 600px) {
    #flash-message {
      right: 20px;
      bottom: 70px;
      width: 180px;
      font-size: 16px;
      padding: 12px;
    }
  }

/* WhatsApp Floating Button */
#whatsapp-container {
    position: fixed;
    bottom: 90px; /* Adjust to place above scroll button */
    right: 20px;
    z-index: 9999;
    text-align: center;
}

#whatsapp-btn img {
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

#whatsapp-btn img:hover {
    transform: scale(1.1);
}

/* Message Bubble */
#whatsapp-message {
    display: none;
    position: absolute;
    bottom: 60px;
    right: 10px;
    background-color: #25d366;
    color: white;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInOut 10s infinite; /* Total 10s duration */
}

@keyframes fadeInOut {
    0%, 50% { opacity: 1; transform: scale(1); } /* Stay visible for first 5 seconds */
    60%, 100% { opacity: 0; transform: scale(0.9); } /* Fade out after 5s */
}





.terms-container, .privacy-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.terms-container h2, .privacy-container h2 {
    text-align: center;
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.terms-container h3, .privacy-container h3 {
    color: #444;
    font-size: 20px;
    margin-top: 15px;
}

.terms-container p, .privacy-container p, 
.terms-container ul, .privacy-container ul {
    color: #555;
    font-size: 16px;
}

.terms-container ul, .privacy-container ul {
    padding-left: 20px;
}

.terms-container ul li, .privacy-container ul li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .terms-container, .privacy-container {
        padding: 15px;
    }
}


.logo-img {
    width: 150px; 
    height: auto; 
    display: block;
    margin: 10px auto; 
    border-radius: 8px; 
}

/********** Gallery CSS **********/
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gallery-btn:hover {
    background: var(--secondary);
}

.gallery-btn i {
    color: white;
    font-size: 1.5rem;
}

.gallery-item video {
    display: none; 
}

.gallery-item.video-item::after {
    content: '\f04b'; 
    font-family: "Font Awesome 5 Free";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5rem;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.299);
    opacity: 0.9;
    z-index: 2;
}

#galleryLightbox .video-container {
    position: relative;
    padding-top: 56.25%; 
    background: transparent;
}

#galleryLightbox video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.nav-pills .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.nav-pills .nav-link.active {
    background: var(--primary);
    color: white;
}

#galleryLightbox .modal-content {
    background: transparent;
    box-shadow: none;
}

#galleryLightbox video {
    max-width: 100%;
    max-height: 80vh;
}

#lightbox-content img {
    max-height: 80vh;
    width: auto;
    max-width: 100%;
}

#media-counter {
    font-size: 1.2rem;
    margin: 0 1rem;
}