/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", "sans-serif";  
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Center and style the appointment section */
.appointment-container {
    text-align: center;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

/* Adjust heading style */
.appointment-container h2 {
    font-size: 2rem;
    color: red;
    margin-bottom: 15px;
}

/* Style the paragraph texts */
.appointment-container p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
}

/* Style the notice message */
.notice {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

/* Style the Services button */
.appointment-container .btn {
    background: red;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin: 10px 0;
}

/* Adjust the iframe widget container */
#appointment-widget {
    margin-top: 20px;
}

/* Header */
header {
    font-family: "Open Sans", "sans-serif"; 
    text-align: center;
    background: #fff;
    padding: 20px 10px;
}

header h1 {
    color: red;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 10px;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav ul li a.active,
nav ul li a:hover {
    color: red;
    border-bottom: 2px solid red;
}

.hero .btn {
    background: red;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Default Navigation (Desktop) */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    display: inline-block;
    padding: 10px 15px;
}

nav ul li a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    text-align: center;
    background-color: red;
    color: white;
    padding: 10px;
    cursor: pointer;
}

/* Mobile Dropdown */
.mobile-dropdown {
    display: none;
    flex-direction: column;
    background-color: #333;
}

.mobile-dropdown a {
    color: white;
    padding: 10px;
    text-decoration: none;
    display: block;
}

.mobile-dropdown a:hover {
    background-color: #555;
}

/* Responsive Design: Hide Desktop Menu on Mobile */
@media screen and (max-width: 768px) {
    nav ul {
        display: none; /* Hide desktop nav on mobile */
    }

    .mobile-nav {
        display: block; /* Show mobile menu button */
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    color: #777;
    font-size: 0.9rem;
    border-top: 1px solid #ddd;
}

.social-media {
    margin-top: 10px;
}

.social-media a {
    text-decoration: none;
    display: inline-block;
    /* margin: 0 10px; */
    transition: transform 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Grid layout for the packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  /* Each card */
  .package-card {
    background-color: #f8f8f8;  /* Slight gray, adjust as desired */
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
    text-align: center;
    position: relative; /* for the “...” button positioning if needed */
  }
  
  /* Puzzle piece icon */
  .package-icon {
    width: 100%;
    height: 220px; /* Adjust height to fit nicely with text */
    object-fit: cover;
    border-radius: 12px; /* Slightly more rounded for a modern feel */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    margin-bottom: 15px;
    transition: transform 0.3s ease; /* Subtle hover effect */
  }

  .paint {
    width: 100%;
    height: 220px; /* Adjust height to fit nicely with text */
    object-fit: cover;
    border-radius: 12px; /* Slightly more rounded for a modern feel */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    margin-bottom: 15px;
    transition: transform 0.3s ease; /* Subtle hover effect */
    object-position: center 20%;
  }
  
  .package-icon:hover {
    transform: scale(1.03); /* Gently zooms on hover */
  }
  
  /* Package title */
  .package-card h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    color: #333;
  }
  
  /* Price list */
  .package-card ul {
    list-style: none;
    margin: 0.5rem 0 0 0;
    padding: 0;
    line-height: 1.4;
    color: #444;
  }
  
  /* Time section (hourglass icon + text) */
  .package-card .time {
    margin: 0.8rem 0;
    font-size: 0.95rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .package-card .time i {
    margin-right: 0.4rem;
  }
  
  /* “Select” button */
  .select-btn {
    background-color: red;
    border: none;
    padding: 0.6rem 1rem;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 4px;
    margin-right: 0.5rem;
  }
  .select-btn:hover {
    background-color: rgb(145, 59, 59); /* slightly darker on hover */
  }
  
  /* “...” more button */
  .more-btn {
    background-color: transparent;
    border: 1px solid #ccc;
    padding: 0.6rem;
    cursor: pointer;
    border-radius: 4px;
  }
  .more-btn:hover {
    background-color: #eee;
  }
  

  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .modal-content {
    background: #fff;
    padding: 2em;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    color: #333;
    font-family: Arial, sans-serif;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
  
    /* Center fallback */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
  
    /* Ensure it works inside flex as well */
    margin: auto;
  }
  
  
/* Reusable classes */
.modal-content {
    animation: fadeInScale 0.4s ease-out;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  
  /* Apply this when closing */
  .modal-content.fade-out {
    animation: fadeOutScale 0.4s ease-out forwards;
  }
  /* Optional smooth animation */
 
  
  .modal-overlay {
    /* ...existing styles... */
    animation: fadeInOverlay 0.2s ease-in-out;
  }
  
  .close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
  }

/* Confirm Section Styles */
#confirmSection {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: #333;
  }
  
  #confirmSection h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
    color: #111;
  }
  
  #confirmSection label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
  }
  
  #confirmSection input,
  #confirmSection select {
    width: 100%;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid #888;
    font-size: 1rem;
    color: #000;
    transition: all 0.3s ease;
  }
  
  #confirmSection input:focus,
  #confirmSection select:focus {
    outline: none;
    border-bottom: 1px solid #000;
  }
  
  #confirmSection input::placeholder {
    color: #aaa;
  }
  
  /* Buttons */
  .btn-small {
    padding: 0.6rem 1.2rem;
    background-color: red;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 1rem;
  }
  
  .btn-small:hover {
    background-color: rgb(115, 55, 55);
  }
  
  /* Success Section */
  #successSection {
    display: none;
    text-align: center;
    padding: 3rem;
    max-width: 600px;
    margin: 3rem auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }

  .iti input {
    min-height: 48px !important;
    padding-left: 52px !important;
    line-height: 1.5;
  }