/******************************************* GLOBAL ***************************************************/
* {
    font-family: 'Poppins', sans-serif !important;

}

/********************************************* TOP-NAV  **************************************************/
.navbar {
    background-color: #dfdfdfac;
}

.navbar a {
    color: #b96913;
    font-weight: 700;
    font-size: 1rem;
}

.navbar a:hover {
    color: #000000;
}

/* Responsive navbar image */
.navbar-logo {
    max-width: 100%;
    /* Ensures it scales within the container */
    height: auto;
    /* Maintains aspect ratio */
    width: 18rem;
    /* Default size for larger screens */
}

@media (max-width: 768px) {
    .navbar-logo {
        width: 12rem;
        /* Smaller size for tablets */
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        width: 11rem;
        /* Even smaller size for mobile phones */
    }
}


/**************************************** LOADING BANNER **************************************************/
/* Background container styling */
.background-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('images/palace.webp');
    /* Replace with actual path */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

/* Black overlay with opacity */
.background-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.718);
    /* 60% opacity */
    z-index: 1;
}

/* Text overlay styling */
.overlay-text {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    max-width: 85%;
}

/* Heading styling */
.overlay-text h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Paragraph styling */
.overlay-text p {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #ddd;
}

/* Button styling */
.btn {
    display: inline-block;
    margin: 0 10px;
    padding: 12px 25px;
    color: #fff;
    background-color: transparent;
    border: 2px solid #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.btn:hover {
    background-color: #fff;
    color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overlay-text h2 {
        font-size: 2rem;
    }

    .overlay-text p {
        font-size: 1.1rem;
    }

    .btn {
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .overlay-text h2 {
        font-size: 1.8rem;
    }

    .overlay-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .overlay-text h2 {
        font-size: 1.5rem;
    }

    .overlay-text p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/********************************************* SERVICE-CARD *************************************************/
/* Make cards smaller */
.card {
    padding: 25px;
    border: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    /* Soft shadow */
    background-color: #fff3e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px;
    border-radius: 10px;
}

/* Hover effect for card */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

/* Logo-style card image */
.card-img-top {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    margin-top: 30px;

}

/* Card title styling */
.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #b96913;
    padding-bottom: 5px;
}

/* Card text styling */
.card-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Card body styling */
.card-body {
    padding: 15px;

    border-radius: 8px;
    /* Rounded corners */
}

/* Container styling */
.container {
    max-width: 1200px;
    /* Set a max-width for better layout control */
}

/********************************************** ABOUT-US  ***************************************************/
.about-section {
    padding: 50px 0;
}

.about-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.about-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-section .col-4 {
        order: -1;
        /* Moves the image above text on smaller screens */
        margin-bottom: 20px;
    }
}

/************************************** Core value  ********************************************/
.values-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.values-card {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

.values-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.values-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    object-fit: contain;
}

.values-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
}

.values-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/****************************************** EXPERTICE ******************************************************/
.expertise-section {
    padding: 50px 0;
    text-align: center;
}

.expertise-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: bold;
    color: #333;
}

.expertise-circle {
    width: 150px;
    height: 150px;
    background-color: #ff9900;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 5px;
    /* Adjusted margin to bring circles closer */
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .expertise-circle {
        width: 80px;
        height: 80px;
        font-size: 0.75rem;
        margin: 4px;
        /* Smaller margin for mobile */
    }
}

/************************************ EXAM CENTER  ******************************************/
.exam-section {
    padding: 50px 0;
    border-radius: 8px;
    overflow: hidden;
}

.exam-section img {
    width: 100%;
    max-width: 700px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.exam-section img:hover {
    transform: scale(1.05);
}

.exam-section h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.exam-section p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.exam-section .content {
    padding-left: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .exam-section {
        padding: 30px 15px;
    }

    .exam-section img {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .exam-section .content {
        padding-left: 0;
        text-align: center;
    }
}

/********************************************* Contact US  ***************************************************/

.contact-section {
    padding: 50px 0;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.contact-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.contact-section input,
.contact-section textarea {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 12px;
    font-size: 1rem;
}

.contact-section button {
    background-color: #28a745;
    color: #fff;
    padding: 10px 30px;
    font-size: 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    border: none;
}

.contact-section button:hover {
    background-color: #218838;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-section .col-md-5 {
        margin-bottom: 15px;
    }
}


/*******************************************  CLIENT SPEAK  ******************************************/
/* h2{
    text-align:center;
    padding: 20px;
  } */
/* Slider */

.slider-container {
    width: 80%;
    margin: 50px auto;
}

.slick-slide img {
    width: 100px;
    height: auto;
    margin: auto;
}

/* Arrow Styling */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0;
    /* Hides default text */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    z-index: 1000;
    cursor: pointer;
}

.slick-prev::before,
.slick-next::before {
    font-size: 20px;
    /* Icon size */
    color: rgb(18, 17, 17);
    /* Arrow icon color */
}

.slick-prev {
    left: -35px;
}

.slick-next {
    right: -35px;
}

/* Dots styling */
.slick-dots {
    bottom: -30px;
}

.slick-dots li button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}


/*****************************************  FOOTER  ********************************************/
.footer {
    background-color: #dfdfdfac;
    color: #b96913;
    padding: 40px 0;
}

.footer h2,
.footer h4 {
    font-weight: 600;
}

.footer p {
    font-size: 14px;
    color: #b96913;
}

.footer a {
    color: #b96913;
    text-decoration: none;
}

.footer a:hover {
    color: #000000;
    text-decoration: none;
}

.footer .row {
    margin-bottom: 30px;
}

.footer .col-md-4 {
    margin-bottom: 20px;
}

.footer ul {
    list-style-type: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
}

.footer-bottom h4 {
    font-size: 14px;
}

.text-center {
    text-align: center;
}

/* Responsive styling for mobile devices */
@media (max-width: 768px) {
    .footer .row {
        text-align: center;
    }

    .footer .col-md-4 {
        margin-bottom: 20px;
    }
}


/*************************************************  Right side Menu  ****************************************/
.right-menu {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.007);
    /* Transparent background */
    padding: 5px 0;
    /* Slim padding */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    /* Box shadow added */
    z-index: 1000;
    width: 130px;
    /* Adjusted width */
}

.right-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.right-menu ul li {
    text-align: left;
    padding: 0 10px;
    border-bottom: 1px solid #b96913;
    /* Border added between menu items */
}

.right-menu ul li a {
    color: #ff8400;
    /* Updated text and icon color */
    text-decoration: none;
    font-size: 1rem;
    /* Slightly reduced font size */
    display: flex;
    align-items: center;
    gap: 8px;
    /* Reduced gap between icon and text */
    transition: all 0.3s ease;
}

.right-menu ul li a i {
    font-size: 1rem;
    /* Adjusted icon size */
    color: #ff8400;
    /* Updated icon color */
}

.right-menu ul li a:hover {
    background-color: rgba(185, 105, 19, 0.2);
    /* Slight hover effect with transparency */
    color: #ff8400;
    /* Maintains text color on hover */
    padding: 6px;
    /* Hover padding */
    border-radius: 5px;
}

.right-menu ul li a .menu-text {
    display: inline-block;
    font-size: 1rem;
}

/* Mobile View */
@media (max-width: 768px) {
    .right-menu {
        right: 50%;
        bottom: 45px;
        top: auto;
        transform: translateX(50%);
        width: auto;
        background-color: rgba(255, 255, 255, 0.173);
        /* Maintain transparency */
        border-radius: 10px;
    }

    .right-menu ul {
        flex-direction: row;
        gap: 8px;
        /* Reduced gap for icons in mobile view */
    }

    .right-menu ul li a .menu-text {
        display: none;
    }

    .right-menu ul li a i {
        font-size: 26px;
        /* Icon size for mobile */
    }
}

/*************************************** Spinner  ***************************************/
/* Full-screen loader container */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Make sure it's on top */
  }
  
  /* Spinner animation */
  .spinner {
    border: 5px solid #f3f3f3; /* Light gray */
    border-top: 5px solid #b96913; /* The color of the spinner */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  /* Hide the loader when not needed */
  body.loaded #loader {
    display: none;
  }
  