
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}
.container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}
h1 {
  color: #004aad;
}
.tagline {
  font-style: italic;
  color: #666;
}
ul {
  list-style: none;
  padding: 0;
}
ul li {
  background: #e9f0ff;
  margin: 5px 0;
  padding: 10px;
  border-radius: 5px;
}
.contact-buttons {
  margin-top: 20px;
}

iframe {
  border-radius: 8px;
  margin-top: 10px;
}

.service-item img {
  height: 80px;
  margin-bottom: 10px;
}

.service-item p {
  font-weight: bold;
  font-size: 14px;
  margin: 0;
}
/* Center the heading */
h2 {
  text-align: center;
}

/* Center the contact buttons container */
.contact-buttons {
  text-align: center;
}

/* Style for the service bundle container */
.service-bundle {
  background-color: #0056b3; /* Dark blue background */
  color: white; /* White text */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  display: inline-block;
  width: 250px; /* Adjust width as needed */
  margin: 10px;
  box-sizing: border-box;
}

/* Style for the service name */
.service-name {
  margin-top: 10px;
  font-size: 1.2em;
  font-weight: bold;
}
.enquiry-button {
  display: block;
  width: 100%;
  max-width: 250px;
  margin: 10px auto 0 auto;
  padding: 10px 0;
  background-color: #003366; /* Dark Blue */
  color: white;
  border: none;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

/* Floating footer */
.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid #ddd;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  z-index: 1000;
}

/* Icon buttons */
.fixed-footer a img {
  width: 36px;
  height: 36px;
  transition: transform 0.2s;
}

.fixed-footer a:hover img {
  transform: scale(1.1);
}
.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f2f2f7; /* iPhone-style grey */
  border-top: 1px solid #ccc;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  z-index: 1000;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05); /* subtle shadow for elevation */
}
/* Light Theme (Default) */
body.light-theme {
  background-color: #f9f9f9;
  color: #333;
}
.light-theme .btn,
.light-theme .service-bundle {
  background-color: #0056b3;
  color: white;
}

/* Dark Theme */
body.dark-theme {
  background-color: #121212;
  color: #f1f1f1;
}
.dark-theme .btn,
.dark-theme .service-bundle {
  background-color: #333;
  color: white;
}
.dark-theme ul li {
  background-color: #1e1e1e;
}
.dark-theme .enquiry-button {
  background-color: #444;
}
/* Theme toggle removed */
body {
  padding-bottom: 70px; /* Enough space for footer */
}



.video-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    width: 100%;
    line-height: 0;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* VERY IMPORTANT: makes the button invisible to clicks */
    z-index: 10;
}

.video-wrapper.is-playing .play-button {
    display: none; /* Completely removes it when playing */
}



.vertical-scroll-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    height: calc(100vh - 180px); 
    overflow-y: auto;
    overflow-x: visible;        /* was hidden — that scissors the left/right card borders */
    padding: 4px 12px 20px;     /* horizontal room for border + box-shadow */
    box-sizing: border-box;
    overscroll-behavior: contain; 
}

/* Individual gallery card */
.gallery-item {
    width: 100%;
    margin-bottom: 30px;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    border: 4px solid #1a3a5f;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    flex-shrink: 0;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    transform: translateZ(0);
}

/* Single clean media rule */
.gallery-item img,
.gallery-item video {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* 4. Caption Styling (if used) */
.client-caption {
    background: #1a3a5f;
    color: white;
    padding: 12px;
    font-size: 14px;
    text-align: center;
    border-top: 2px solid #fff; /* Separation from the image */
}

/* Scrollbar styling - making it subtle since the box has no border now */
.vertical-scroll-gallery::-webkit-scrollbar {
    width: 5px;
}
.vertical-scroll-gallery::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

#gallery.page.active {
    display: flex !important;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    padding-top: 60px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.services-heading {
    text-align: center;
    color: #000080; /* Navy Blue */
    background: #f0f4f8; /* Very light blue-grey background */
    padding: 15px;
    border-bottom: 4px solid #000080; /* Thick Navy bottom border */
    border-radius: 8px;
    margin: 40px auto 20px auto;
    max-width: 90%; /* Keeps it from touching screen edges */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-heading-elegant {
    text-align: center;
    color: #000080;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.services-heading-elegant::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px; /* Length of the border line */
    height: 4px;
    background-color: #000080; /* Navy Border */
    border-radius: 2px;
}

.services-heading-glass {
    text-align: center;
    color: #000080;
    background: rgba(0, 0, 128, 0.05); /* Very faint navy tint */
    border: 1px solid #000080; /* Thin navy border */
    padding: 10px 25px;
    display: inline-block; /* Wraps background tightly around text */
    border-radius: 50px; /* Pill shape */
    margin: 30px auto;
    display: table; /* Centers the inline-block */
}

.section-divider {
    border: 0;                /* Remove default border */
    height: 1.5px;            /* Thickness of the line */
    background-image: linear-gradient(to right, transparent, #000080, transparent); 
    margin: 40px auto;        /* 40px space above and below */
    width: 90%;               /* Width across the screen */
    opacity: 0.6;             /* Makes it subtle and elegant */
}

/* Base state for all pages */
.page {
    display: none !important; /* Hide everything by default */
    width: 100%;
}

/* State when page is active */
.page.active {
    display: block !important; /* Show only active */
}

/* Ensure the Home container doesn't overflow */
#home.page.active {
    display: block !important;
}

.reviews-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 20px auto;
    max-width: 90%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.reviews-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    border-color: #4285F4; /* Google Blue */
}

/* 1. The Container: Use 'auto-fit' to center and '320px' to trim width */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-items: center; /* Centers the cards in the gap */
    padding: 20px;
}

/* The Card: This acts as the frame */
.service-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px; /* Trims the width so it looks elegant */
    margin: 0 auto;
    background: #fff;
    
    /* Rounded Edges & Border */
    border: 3px solid #003366; 
    border-radius: 20px; 
    
    /* This clips the image and button to the 20px corners */
    overflow: hidden; 
    
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* 3. The Image: Aspect ratio prevents 'screwed shapes' */
/* The Image: No individual border needed now */
.service-image {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover;
    display: block;
    border: none !important; /* Removes internal borders that 'screw' shapes */
}

/* The Button: Flushed to the bottom */
.btn {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 15px 0;
    background-color: #003366;
    color: white !important;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border: none;
    border-radius: 0; /* Let the card container handle the rounding */
}

/* 1. The Grid: Centered and trimmed */
.services-grid {
    display: grid;
    /* This "trims" the width to a max of 320px so they don't stretch too wide */
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px)); 
    gap: 30px;
    justify-content: center;
    padding: 20px;
}

/* 2. The Service Block (Card): The border and round edges go here */
.service-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 3px solid #003366; /* Dark blue border for the whole block */
    border-radius: 20px;       /* Smooth rounded corners */
    overflow: hidden;          /* CRITICAL: This "clips" the image and button to the round edges */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px); /* Professional lift on hover */
}

/* 3. The Image: Fixed size to ensure uniformity */
.service-image {
    width: 100% !important;
    height: 200px !important;  /* Forces every image to be the same height */
    object-fit: cover !important; /* Crops image to fit the box without stretching it */
    display: block;
    border: none !important;    /* Remove individual image borders */
}

/* 4. The Button: Perfectly flush with the bottom */
.btn {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 15px 0;
    background-color: #003366;
    color: white !important;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border: none;
    border-radius: 0; /* Let the service-card's overflow handle the bottom rounding */
}







/* Update the grid for better spacing */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px)); 
    gap: 35px; /* Increased horizontal and vertical gap */
    justify-content: center;
    padding: 20px;
    margin-bottom: 40px; /* Space before the next section (Address) */
}

/* The Service Card with guaranteed separation */
.service-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 3px solid #003366; 
    border-radius: 20px;       
    overflow: hidden;          
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    
    /* This adds the vertical separation you asked for */
    margin-bottom: 15px; 
    
    transition: transform 0.3s ease;
}

/* Uniform image size as requested before */
.service-image {
    width: 100% !important;
    height: 200px !important;  
    object-fit: cover !important; 
    display: block;
}