/* ======================= General Styles & Variables ======================= */
:root {
    --primary-color:  #5FCFF3;
    --secondary-color: #eff6ff;
    --dark-color: #1e293b;
    --gray-color: #64748b;
    --light-gray-color: #f1f5f9;
    --white-color: #ffffff;
    --danger-color: #ef4444;
    --remove-item: #f9eff0;
    --service-color: #5d5dd1;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: var(--dark-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================= Header Section ======================= */
.header {
    background-color: var(--white-color);
    padding: 15px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--dark-color);
    margin-left: 145px;
}


.nav-links{
    display: flex;
    list-style: none;
}

.nav-links a {
    color: gray;
    text-decoration: none;
    margin: 0.5rem 0.8rem;
    font-size: large;
    position: relative; 
    padding-bottom: 0.3rem; 
}

.nav-links a::after {
    content: '';
    position: absolute;
    height: 2px; 
    width: 0; 
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #5FCFF3;
    transition: width 0.3s ease-in-out; 
}
.nav-links a:hover::after {
    width: 100%; 
}

.username-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    margin-right: 2rem;
    cursor: default;
}

/* ======================= Hero Section ======================= */
.hero-section {
    background-color: var(--white-color);
    margin-left: 150px;
    margin-top: 4rem;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 50px;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--dark-color);
}

span.highlight {
    display: block;
}

.hero-text h1 .highlight {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 16px;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 25px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 60%;
    height: auto;
}

/* Achievements Section Styling */
.achievements {
    margin-top: 5rem;
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #45b7f2; /* Light blue background */
    color: white;
    padding: 20px 0;
    text-align: center;
}


.achievements h2 {
    
  font-size: 32px;
  color: black;
}

.achievements-cards {
  display: flex;
  justify-content: center;
  gap: 60px;
  
  /* flex-wrap: wrap; */
}

.achievement {
  
  background: transparent;
  padding-right:50px;
  /* border-radius: 0px; */
  color: black;
  border-right: 2px solid skyblue;
}
.achievement:last-child {
  border-right: none; /* Remove border for the last item */
}

.achievement h3 {
  font-size: 28px;
  margin: 0;
  font-weight: bold;
}

.achievement p {
  font-size: 16px;
    margin: 0;
}

.achievements-cards{
    margin-right: 50px;
}

/* ======================= Services Section ======================= */
.services-section {
    background-color: var(--light-gray-color);
    padding: 80px 0;
}

.services-container {
    display: flex;
    gap: 40px;
}

.available-services, .cart-and-booking {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.available-services {
    flex: 1.5;
}

.cart-and-booking {
    flex: 1;
}

.available-services h2, .cart-and-booking h3 {
    margin-top: 0;
    font-size: 28px;
}

.subtitle {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray-color);
}

.service-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-info .service-icon {
    font-size: 24px;
    color: var(--primary-color);
}

.service-info div {
    display: flex;
    flex-direction: column;
}

.service-info .price {
    font-weight: 600;
    color: var(--service-color);
}

.btn-add-item, .btn-remove-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 145px;
    height: 45px;
    padding: 0 15px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    gap: 8px;
    border: none;
    transition: all 0.2s ease;
}

/* Specific style for the "Add Item" button */
.btn-add-item {
    background-color: var(--light-gray-color);
    color: var(--dark-color);
}

/* Specific style for the "Remove Item" button */
.btn-remove-item {
    background-color: var(--remove-item);
    color: var(--danger-color);
}

/* --- Styles for the new custom icons --- */
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    color: var(--white-color);
}

.add-icon {
    background-color: var(--dark-color);
}

.remove-icon {
    background-color: var(--danger-color);
}

.info-text {
    margin-top: 20px;
    color: var(--service-color);
    font-size: 14px;
}

/* ======================= STYLE FOR EMPTY CART VIEW ======================= */

#empty-cart-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-color);
}

#empty-cart-message i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--gray-color);
}

#empty-cart-message p {
    margin: 0;
    line-height: 1.5;
}

#empty-cart-message .sub-text {
    font-size: 14px;
}

/* A helper class to easily hide and show elements with JavaScript */
.hidden {
    display: none !important;
}

/* ======================= CART TABLE LAYOUT FIX ======================= */

.cart-table {
    width: 100%;                  /* Ensures the table uses the full space */
    border-collapse: collapse;    /* Cleans up spacing between cells */
}

/* Apply styles to both headers (th) and data cells (td) */
.cart-table th,
.cart-table td {
    text-align: left;             /* Align text to the left */
    padding: 16px 8px;            /* Add some comfortable padding */
    border-bottom: 1px solid var(--light-gray-color);
    white-space: nowrap;          /* This is the key: Prevents text from wrapping */
    vertical-align: middle;       /* Keeps content vertically centered */
}

/* Style for the remove button specifically within the cart */
.cart-table .btn-remove-item {
    background-color: var(--remove-item);
    color: var(--danger-color);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
}

.cart-table th {
    color: var(--gray-color);
    font-weight: 500;
}


.total-amount {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    padding: 20px 0;
    border-top: 2px solid var(--dark-color);
    border-bottom: 2px solid var(--dark-color);
    margin-bottom: 30px;
}

.booking-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-form input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.btn-book-now {
    background-color: var(--service-color);
    color: var(--white-color);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    font-weight: 600;
}

.success-text {
    color: #22c55e; /* A success green color */
    font-weight: 500;
    text-align: center;
    margin-top: 15px;
}

.success-text i {
    margin-right: 5px;
}

/* =================== BOOKING FORM LAYOUT (FINAL FIX) =================== */

/* General styling for all labels in the form */
.booking-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--gray-color);
}

/* This container creates the side-by-side layout */
.form-row {
    display: flex;
    gap: 15px; /* This is the space between the two fields */
    margin-bottom: 15px; /* Space below the row */
}

.booking-form input[type="text"]{
    width: 94%; 
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}


.btn-book-now.is-disabled {
    background-color: #dbe1e8 !important; /* A light, faded gray */
    color: #8d9aaf !important; /* Faded text color */
    opacity: 0.7 !important; /* Ensure it looks faded */
    cursor: pointer !important; /* Keep the pointer cursor */
}

/* ======================= FEATURES SECTION STYLES ======================= */
.features-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
    margin: 0 50px;
}

.feature-item .feature-icon {
    font-size: 40px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.feature-item p {
    font-size: 15px;
    color: var(--gray-color);
    line-height: 1.6;
}

/* ======================= NEWSLETTER STYLES REFINED ======================= */
.newsletter-section {
  background-color: #34b3f1;
  padding: 30px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.newsletter-container {
  display: flex;
  max-width: 1000px;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.newsletter-text {
  flex: 1;
  min-width: 200px;
}

.newsletter-text h2 {
  font-size: 2.6em;
  color: #fff;
  font-weight: bold;
  line-height: 1.4;
}

.newsletter-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 0;
}

.form-inputs {
  display: flex;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
  margin-bottom: 15px;
  font-size: x-large;
}

.form-inputs input {
  flex: 1;
  min-width: 160px;
  padding: 10px;
  border: none;
  background-color: #58c4f4;
  color: white;
  font-size: 1em;

}

.form-inputs input::placeholder {
  color: #ccd4d8;
  font-size: large;
}

.newsletter-form button {
  padding: 15px 75px;
  border: none;
  background-color: #fff;
  color: #34b3f1;
  font-weight: bold;
  font-size: larger;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #e1f3fc;
}

/* ======================= FOOTER STYLES REFINED ======================= */
.footer {
    background-color: var(--light-gray-color);
    color: #a0aec0;
    padding: 30px;
    font-size: 15px;
    line-height: 0.6;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    /* gap: 30px; */
}

.footer h4 {
    color: var(--dark-color);
    font-size: 18px;
}

.footer-about{
    margin-left: 50px;
    line-height: 1.2;
}
.footer-about h1{
    color: var(--dark-color);
}

.footer-about h4 {
    color: var(--dark-color);
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-about p{
    margin-top: 5px;
}


.footer-about .nav-logo {
    color: var(--white-color);
    display: block;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #a0aec0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    margin: 0 0 10px 0;
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #a0aec0;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
}