/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  transition: all 0.4s ease-in-out;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #e0eafc, #cfdef3);
  color: #333;
  overflow-x: hidden;
  position: relative;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(2, 28, 59, 0.9);
  color: white;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: #ffc107;
  transform: scale(1.05);
}

.track-btn {
  background: #ffc107;
  color: #021C3B;
  padding: 0.6rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.track-btn:hover {
  background: #e0a800;
  transform: translateY(-2px);
}


.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url('../images/hero-bg.png') no-repeat center center/cover;
  position: relative;
  color: white;
  text-align: center;
  padding: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.hero-content {
  z-index: 2;
  position: relative;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.cta-btn {
  background: #ffc107;
  color: #021C3B;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-btn:hover {
  background: #e0a800;
  transform: scale(1.05);
}

.section {
  padding: 5rem 2rem;
  min-height: 100vh;
  background: linear-gradient(to bottom, #ffffff, #f2f6fc);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.section:nth-child(even) {
  background: linear-gradient(to top, #ffffff, #e3ecf9);
}

.section h2 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  color: #00416A;
  position: relative;
}

.section h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #ffc107;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
}

.section p,
.services-list li {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0.8rem auto;
  line-height: 1.8;
  color: #444;
}

.services-list {
  list-style: none;
  padding-left: 0;
  text-align: left;
  max-width: 800px;
}

.services-list li {
  padding: 1rem;
  margin: 1rem 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 3rem;
  font-weight: 500;
}

.services-list li::before {
  content: '🚚';
  position: absolute;
  left: 1rem;
  font-size: 1.3rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  margin: 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  text-align: left;
}

.review-card:hover {
  transform: translateY(-4px);
  background: #f8f9fb;
}

.blog-snippet {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 2rem auto;
  text-align: left;
  backdrop-filter: blur(6px);
}

.blog-snippet h3 {
  margin-bottom: 1rem;
  color: #00416A;
}

.contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
  border-color: #00416A;
  outline: none;
  background: #f1f8ff;
}

.contact button {
  background: #ffc107;
  color: #021C3B;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact button:hover {
  background: #022c4d;
  transform: translateY(-2px);
}

.footer {
  background: #021C3B;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.95rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  color: #00416A;
  font-weight: 600;
  text-decoration: underline;
}

.read-more:hover {
  color: #00233d;
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .section h2 {
    font-size: 2rem;
  }
  .review-card,
  .blog-snippet {
    padding: 1.5rem;
  }
}

/* ... (existing CSS from index.css) ... */

/* CSS extracted from about-us.html starts here */
.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.content-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  margin: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  text-align: left;
  backdrop-filter: blur(6px);
}

.content-card:hover {
  transform: translateY(-4px);
  background: #f8f9fb;
}

.content-card h3 {
  margin-bottom: 1rem;
  color: #00416A;
  font-size: 1.5rem;
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto;
}

.service-item {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 3rem;
  font-weight: 500;
  text-align: left;
  margin-top: 10px;
}

.service-item::before {
  content: '🚚';
  position: absolute;
  left: 1rem;
  font-size: 1.3rem;
}

.service-item h4 {
  color: #00416A;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.stats-section {
  background: rgba(2, 28, 59, 0.95);
  color: white;
  padding: 4rem 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: #ffc107;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.why-choose-list {
  list-style: none;
  padding-left: 0;
  text-align: left;
  max-width: 800px;
  margin: 2rem auto;
}

.why-choose-list li {
  padding: 1rem;
  margin: 1rem 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 3rem;
  font-weight: 500;
}

.why-choose-list li::before {
  content: '⭐';
  position: absolute;
  left: 1rem;
  font-size: 1.3rem;
}

@media (max-width: 768px) {
  .content-card {
    padding: 1.5rem;
    margin: 1rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Contact Page Specific Styles --- */

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 2rem auto;
    text-align: left;
}

.contact-detail-item {
    margin-top: 10px;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-detail-item h3 {
    color: #00416A;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-detail-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0.5rem 0;
}

.contact-detail-item p strong {
    color: #333;
}

.whatsapp-cta {
    margin-top: 3rem;
    text-align: center;
}

.whatsapp-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #444;
}

.whatsapp-btn {
    background-color: #25D366; /* WhatsApp green */
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn:hover {
    background-color: #1DA851;
    transform: scale(1.05);
}

.map-container {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
    border-radius: 10px;
    overflow: hidden; /* Ensures the iframe respects border-radius */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    display: block; /* Removes extra space below iframe */
}

/* Service Popup Styles */
.service-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    z-index: 1001;
    max-width: 500px;
    width: 90%;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.popup-content {
    padding: 20px;
}

/* Responsive adjustments for contact page */
@media (max-width: 768px) {
    .contact-details-grid {
        grid-template-columns: 1fr; /* Stack items on small screens */
    }

    .form-container {
      display: flex;
      flex-direction: column;
      gap: 10px; /* Space between fields */
      padding: 20px; /* Padding around the form */
    }

    input, textarea {
      width: 90%; /* Adjust as needed */
      max-width: 400px; /* Limit max width */
      box-sizing: border-box; /* Include padding in width calculations */
    }
}

/* Admin Panel Styles */
.admin-header {
    background-color: #0a3d62;
    padding: 1.5rem 0;
    text-align: center;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.admin-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
}

/* === Main Layout === */
.admin-main {
    padding: 2rem;
    max-width: 1100px;
    margin: auto;
}

/* === Stats Section === */
.admin-quick-stats {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.stat-card {
    flex: 1;
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0a3d62;
}

.stat-label {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #555;
}

/* === Sections === */
.admin-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.admin-section h2 {
    font-size: 1.5rem;
    color: #0a3d62;
    margin-bottom: 1rem;
}

/* === Forms === */
.admin-section form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-section input,
.admin-section textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s ease;
}

.admin-section input:focus,
.admin-section textarea:focus {
    outline: none;
    border-color: #0a3d62;
    box-shadow: 0 0 0 2px rgba(10, 61, 98, 0.2);
}

.admin-section button {
    padding: 0.8rem 1.5rem;
    background-color: #f1c40f;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    color: #0a3d62;
    cursor: pointer;
    transition: background 0.3s ease;
}

.admin-section button:hover {
    background-color: #e1b70d;
}

/* === Dynamic Lists === */
#blogs-list,
#enquiries-list,
#reviews-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* === Enquiry / Review Card === */
.enquiry-card,
.review-card {
    padding: 1rem;
    background-color: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* === Delete / Update Buttons in Lists === */
.enquiry-card button,
.review-card button {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
}

.enquiry-card .update-btn {
    background: #27ae60;
    color: white;
    border: none;
    margin-right: 0.5rem;
}

.enquiry-card .delete-btn,
.review-card .delete-btn {
    background: #e74c3c;
    color: white;
    border: none;
}

/* === Footer === */
.admin-footer {
    text-align: center;
    padding: 1rem;
    background-color: #0a3d62;
    color: white;
    font-size: 0.9rem;
    border-top: 2px solid #f1c40f;
}

/* Scrollable container for Customer Enquiries */
#enquiries-list,
#blogs-list,
#reviews-list,
#contact-list-container {
    max-height: 400px;  /* Adjust height as needed */
    overflow-y: auto;
    padding-right: 8px;
    scroll-behavior: smooth;
}

/* Services Styles */

#service-enquiry-form,
#contact-form{
  width: 60vh;
}

#service-enquiry-form input,
#service-enquiry-form textarea {
  font-family: 'Poppins', sans-serif;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}


#service-enquiry-form button {
  background: #ffc107;
  color: #fff;
  border: none;
  padding: 0.9rem 2rem;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  align-self: flex-start;
  transition: 0.3s ease-in-out;
}

/* --- NEW STYLES FOR ADMIN BUTTONS --- */
.update-status-btn, .delete-btn {
    padding: 0.8rem 1.5rem;
    background-color: #f1c40f;
    border: none;
    border-radius: 8px;
    color: #0a3d62;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-left: 10px;
    transition: background 0.3s ease;
}

.update-status-btn {
    background-color: #f1c40f; 
}

.update-status-btn:hover {
    background-color: #e1b70d;
}

.delete-btn {
    background-color: #f1c40f; 
}

.delete-btn:hover {
    background-color: #e1b70d;
}

/* blog css */
body {
line-height: 1.6;
}

/* Header */
.blog-header {
background: url("../images/blog-bg.jpeg") no-repeat center center/cover;
padding: 6rem 2rem;
text-align: center;
color: white;
position: relative;
backdrop-filter: blur(2px);
}

.blog-header::before {
content: '';
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 1;
}

.blog-header h1,
.blog-header p {
position: relative;
z-index: 2;
}

.blog-header h1 {
font-size: 3rem;
margin-bottom: 1rem;
}

.blogs-section {
max-width: 1200px;
margin: auto;
padding: 3rem 2rem;
}

.blog-post {
background: white;
margin-bottom: 2rem;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}

.blog-post:hover {
transform: translateY(-5px);
}

.blog-post img {
width: 100%;
max-height: 300px;
object-fit: cover;
border-radius: 8px;
margin: 1rem 0;
}

.blog-post h2 {
color: #021C3B;
margin-bottom: 0.5rem;
}

.blog-post p {
color: #444;
}

.blog-meta {
font-size: 0.9rem;
color: #666;
margin-top: 1rem;
}

.blog-submit-form {
background: rgba(255, 255, 255, 0.7);
padding: 3rem;
border-radius: 12px;
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
margin-top: 4rem;
}

.blog-submit-form h2 {
margin-bottom: 1.5rem;
color: #021C3B;
}

.blog-submit-form form {
display: flex;
flex-direction: column;
gap: 1rem;
}

.blog-submit-form input[type="text"],
.blog-submit-form textarea,
.blog-submit-form input[type="file"] {
padding: 0.8rem;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 1rem;
}

.blog-submit-form button {
background: #ffc107;
color: #021C3B;
padding: 0.8rem 1.5rem;
border: none;
border-radius: 25px;
font-weight: bold;
cursor: pointer;
align-self: flex-start;
}

.blog-submit-form button:hover {
background: #e0a800;
}

footer {
background: #021C3B;
color: white;
text-align: center;
padding: 2rem;
margin-top: 3rem;
}

/* --- NEW STYLES FOR BLOG POSTS --- */

/* Style for the 'Posted by...' text */
.blog-meta {
  font-size: 0.85rem; /* Makes the font smaller */
  font-style: italic;
  color: #00416A; /* Highlights the text with a dark blue color */
  background-color: #eef2f7; /* Adds a very light blue background highlight */
  display: inline-block; /* Allows the background to wrap tightly */
  padding: 4px 10px;
  border-radius: 15px;
  margin-bottom: 1rem; /* Adds some space below the author name */
}

/* Style for the main blog paragraph */
.blog-post p {
  font-size: 1.1rem; /* Makes the main text larger and more readable */
  line-height: 1.7;  /* Increases the space between lines */
}

/* =================================================================
   NEW TOAST NOTIFICATION STYLES
================================================================= */

.toast-notification {
  position: fixed; /* Stays on screen */
  bottom: 20px; /* Position at the bottom */
  left: 50%;
  transform: translateX(-50%); /* Center horizontally */
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  z-index: 2000; /* Ensure it's on top of everything */
  opacity: 0; /* Hidden by default */
  visibility: hidden;
  transition: opacity 0.4s ease, bottom 0.4s ease, visibility 0.4s;
}

/* Style for when the notification is visible */
.toast-notification.show {
  opacity: 1;
  visibility: visible;
  bottom: 40px; /* Animate upwards */
}

/* Style for a success message (green background) */
.toast-notification.success {
  background-color: #27ae60;
}

/* Style for an error message (red background) */
.toast-notification.error {
  background-color: #e74c3c;
}

#navbar-container {
  position: sticky;
  top: 0;
  z-index: 1000;  
}


