/* --- General Layout --- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  
}

/* --- Header & Navigation (Desktop) --- */
header {
  background: #004080;
  color: white;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 150px;
  width: auto;
  margin-right: 1rem;
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.desktop-nav {
  display: flex;
  gap: 0.5rem;
}

.desktop-nav a {
  color: white;
  text-decoration: none;
  font-size: 1.08rem;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.desktop-nav a.active,
.desktop-nav a:hover {
  text-decoration: underline;
  background: #003060;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(rgba(0, 64, 128, 0.8), rgba(0, 64, 128, 0.6)), url('assets/hero-bg.jpg') center/cover no-repeat;
  color: white;
  padding: 60px 0;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 20px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.cta-button {
  display: inline-block;
  background: #ffcc00;
  color: #004080;
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

/* --- Main Content --- */
main {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

main h2 {
  color: #004080;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  margin-top: 30px;
  padding-top: 20px;
}

/* Service Cards */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 4px solid #004080;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: #004080;
  margin-bottom: 10px;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #004080;
}

input, textarea, select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  background: #004080;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
}

button:hover {
  background: #003060;
}

/* Contact Info */
.contact-info {
  background: #f0f7ff;
  border-radius: 8px;
  padding: 20px;
  margin-top: 25px;
}

.contact-info h3 {
  color: #004080;
  margin-bottom: 15px;
}

/* Reviews */
.review-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 4px solid #ffcc00;
}

.review-card strong {
  color: #004080;
  display: block;
  margin-bottom: 10px;
}

/* --- Footer --- */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}
/* --- Checklist Styles --- */
.checklist {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.checklist li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 1.1rem;
}

.checklist li:before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2em;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Section styling */
.section {
    padding: 60px 0;
    min-height: 50vh;
}

/* Alternate background colors for sections */
#services, #contact, #reviews {
    background-color: #f9f9f9;
}

/* Ensure proper scrolling to account for fixed header */
html {
    scroll-padding-top: 80px; /* Height of your fixed header */
}

/* Form notification styles */
#form-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    z-index: 10000;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    animation: slideIn 0.3s ease-out;
}

#form-notification.success {
    background-color: #28a745;
}

#form-notification.error {
    background-color: #dc3545;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #004080;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

form button {
    background: #004080;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

form button:hover {
    background: #003060;
}

/* File input styling */
.form-group input[type="file"] {
    padding: 8px;
    border: 2px dashed #ddd;
    background: #f9f9f9;
}

.form-group input[type="file"]:hover {
    border-color: #004080;
    background: #f0f7ff;
}

/* Reviews Section Styles */
#reviews-container {
    min-height: 100px;
    margin-bottom: 30px;
}

.no-reviews-message {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #004080;
    font-style: italic;
    color: #666;
}

.add-review {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #004080;
}

.review-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #ffcc00;
}

.review-card .rating {
    color: #ffc107;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.review-card strong {
    color: #004080;
    display: block;
    margin-top: 15px;
    font-size: 1.1em;
}

.review-card .date {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}

/* Review Management Styles */
.delete-review-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 0.9em;
}

.delete-review-btn:hover {
    background: #c82333;
}

.admin-panel {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #004080;
}

.admin-panel h3 {
    color: #004080;
    margin-bottom: 15px;
}

.admin-panel button {
    background: #004080;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.admin-panel button:hover {
    background: #003060;
}