* {
  box-sizing: border-box;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}

/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    background: url("images/ostwalimperialpalghar.png") no-repeat center center fixed;
    background-size: cover;
    scroll-behavior: smooth;
}

/* Header */
header {
    background: linear-gradient(90deg, #3d3838, #1f1c1c);
    color: white;
    padding: 10px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    flex-wrap: wrap;
}

header h1 {
    font-size: 1.5rem;
    margin: 0;
}

header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

header nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #ffcc00;
}

/* Section Headings */
section h2 {
    font-size: 2rem;
    color: #003366;
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

section h2::after {
    content: "";
    display: block;
    width: 60%;
    height: 4px;
    background-color: #ffcc00;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Company Description Section */
#company-description {
    background-color: #ffffff;
    padding: 50px 20px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

#company-description p {
    font-size: 17px;
    line-height: 1.8;
    color: #333333;
}

/* Projects Section */
.projects-section {
    padding: 50px 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(3px);
    border-radius: 16px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.project-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.project-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.project-image-container {
    /* The width will be the card's width (300px) minus padding (20px left + 20px right) */
    width: 100%; 
    height: 300px; /* **Fixed height as requested** */
    overflow: hidden; /* Hide any parts of the image that exceed the container */
    border-radius: 8px;
    margin-bottom: 10px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Removes any potential bottom margin/spacing */
    border-radius: 8px; /* Keep the border radius on the image/container */
    margin-bottom: 0; /* Remove old margin from image tag */
}

.project-card .view-more {
    margin-top: 10px;
    padding: 8px 15px;
    background: #0077cc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.project-card .view-more:hover {
    background: #005fa3;
}

/* About Owner Section */
#about-owner {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(3px);
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.owner-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    text-align: left;
    animation: fadeIn 1s ease-in-out;
}

.owner-image img {
    width: 300px;
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.owner-details {
    max-width: 700px;
}

.owner-details h3 {
    color: #003366;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #3d3838, #1f1c1c);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}


/* The main section now acts as a full-screen, visually engaging background area */
.contact-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 90vh; /* Make it nearly full height of the viewport */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1; /* To control layering with the overlay */
}

/* Add a dark overlay to make text and the card highly readable */
.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 40% opaque dark overlay */
    z-index: 2; /* Below the content wrapper */
}

/* Wrapper for centering content over the background */
.contact-content-wrapper {
    position: relative;
    z-index: 3; /* Ensure content is on top of the overlay */
    max-width: 90%;
    width: 100%;
}

/* Title Styling - Now clearly visible */
.contact-section h2 {
    /* Set color to white/light to contrast with the dark overlay */
    color: #ffffff;
    font-size: 48px; /* Larger title */
    margin-bottom: 30px;
    font-weight: 700;
    position: relative; /* For the custom underline */
    display: inline-block;
}

/* Custom Gold Underline for the Title */
.contact-section h2::after {
    content: "";
    width: 60%;
    height: 4px;
    background: #ffcc00; /* Gold color for accent */
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Contact Card Styling */
.contact-card {
    /* Added subtle blur to the background for a modern effect */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px); 
    border-radius: 12px;
    padding: 35px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Stronger shadow to pop out */
    text-align: left;
    font-size: 17px;
    line-height: 1.8;
}

.contact-card p {
    margin: 12px 0;
}

.contact-card p strong {
    color: #003366; /* Deep blue for labels */
    font-weight: 700;
    min-width: 120px;
    display: inline-block; /* Helps align label and value */
}

.contact-card a {
    color: #0077cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-card a:hover {
    color: #ffcc00; /* Gold highlight on hover */
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-section {
        height: 80vh; 
    }
    .contact-section h2 {
        font-size: 36px;
    }
    .contact-card {
        width: 90%;
        padding: 25px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* Image Slider */
.image-slider {
    width: 100%;
    overflow: hidden;
    background: #f8f8f8;
    padding: 10px 0;
}

.slider {
    display: flex;
    animation: scroll 12s linear infinite;
}

.slider img {
    height: 500px;
    width: auto;
    margin-right: 20px;
    border-radius: 8px;
    object-fit: cover;
}

@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Completed & In-progress Projects Section */
.completed-projects,
.inprogress-projects {
    position: relative;
    padding: 60px 20px;
    text-align: center;
}

/* Section Heading */
.completed-projects h2,
.inprogress-projects h2 {
    display: inline-block;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    padding: 10px 25px;
    border-radius: 12px;
    font-size: 28px;
    color: #003366;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

}

.project-page-section {
    position: relative;
    /* NOTE: Replace 'images/project-background.jpg' with your actual image file */
    background-image: url('images/project-background.jpg'); 
    background-size: cover;
    background-position: center center; /* Adjust if your image needs a different focus */
    background-attachment: fixed; /* Optional: adds a nice parallax effect */
    min-height: 100vh; /* Minimum full viewport height */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align content to the top area */
    padding: 100px 0; /* Add padding to the top and bottom */
    z-index: 1; 
}

/* Dark Overlay for readability */
.project-page-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45); /* Darker overlay than contact page to ensure white text pops */
    z-index: 2; 
}

/* Wrapper for the content (H2 and grid) */
.projects-content-wrapper {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

/* Remove old project section styles */
.completed-projects,
.inprogress-projects {
    padding: 0; 
    text-align: center;
}

.project-page-section h2 {
    display: inline-block;
    padding: 0; /* Remove padding for cleaner look */
    border-radius: 0;
    font-size: 48px; /* Larger text */
    color: #ffffff; /* White text for contrast */
    position: relative;
    z-index: 3;
    font-weight: 700;
    margin-bottom: 30px;
    box-shadow: none; /* Remove box-shadow */
}

/* Optional underline effect (Gold) */
.project-page-section h2::after {
    content: "";
    width: 100%; /* Wider underline for emphasis */
    height: 4px;
    background: #ffcc00; /* Gold accent */
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* Increased gap */
    padding: 20px 0; /* Removed excessive left padding */
    margin: 0;
}

/* Project Card */
.project-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    padding-bottom: 20px;
}

.project-card img {
    width: 100%;
    height: 400px; 
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
}

.project-card h3 {
    color: #003366;
    font-size: 18px;
    font-weight: 700;
    padding: 15px 15px 5px 15px;
    margin: 0;
}

.project-details {
    padding: 0 15px;
}

.project-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.project-details p strong {
    color: #0077cc;
    font-weight: 600;
}

.project-card a.image-link {
    display: block;
    line-height: 0; /* Remove potential extra line spacing */
}

/* Media Query for Responsiveness */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 600px) {
    .project-page-section {
        padding: 50px 0;
        background-attachment: scroll; /* Disable fixed background on mobile */
    }
    .project-page-section h2 {
        font-size: 36px;
    }
    .projects-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 20px;
    }
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination button {
    background-color: #003366;
    color: #fff;
    border: none;
    padding: 8px 14px;
    margin: 0 5px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
}

.pagination button:hover:not(:disabled) {
    background-color: #0055aa;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .active-page {
    background-color: #ffcc00;
    color: #003366;
    font-weight: bold;
}

/* Responsive Design */

/* Tablet view - 2 images per row */
@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        padding-left: 25px; 
    }
    .slider img {
        height: 220px;
    }
}

/* Mobile view - 1 image per row */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    header nav {
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        padding-left: 10px;
    }

    .owner-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .owner-details {
        max-width: 100%;
    }
    .slider img {
        height: 180px;
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 180px;
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-content a {
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #555;
    color: #ffcc00;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Team Section */
#our-team {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly less transparent white */
    backdrop-filter: blur(5px); /* Increased blur for more depth */
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* More pronounced shadow */
    /* background-image: url('images/salasarwoodsmr.png'); */
    background-size: cover;
    background-position: center;
}

#our-team h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #003366;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

#our-team h2::after {
    content: "";
    width: 100%; /* Wider underline for emphasis */
    height: 4px;
    background: #ffcc00; /* Gold accent color */
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.team-block {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 12px;
    /* Removed individual box-shadow for cleaner look, relying on container shadow */
    max-width: 350px; /* Increased max width slightly */
    flex: 1 1 30%; /* Flex basis for better control */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    border: 1px solid #e0e0e0; /* Subtle border for definition */
}

.team-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2); /* Deeper shadow on hover */
}

.team-block h3 {
    color: #003366;
    margin: 0 0 20px 0;
    font-size: 24px;
    border-bottom: 3px solid #ffcc00; /* Gold underline for the main team title */
    padding-bottom: 10px;
    text-transform: uppercase;
    font-weight: 800;
    text-align: center;
}

/* Custom styles for the new structure (dl, dt, dd) */
.team-content dl {
    margin: 0;
    padding: 0;
}

.team-block dt {
    color: #0077cc; /* Blue for the main job category (e.g., Structural Engineer) */
    font-size: 18px;
    font-weight: 700;
    margin: 15px 0 5px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #f0f0f0; /* Light line below the main role title */
}

.team-block dd {
    margin: 0 0 20px 0;
    padding: 0;
}

.team-block dd ul {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}

.team-block dd ul li {
    display: flex; /* Use flexbox to align job title and number */
    justify-content: space-between; /* Push title to left and number to right */
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px dotted #e9e9e9; /* Dotted line for separation */
    font-size: 16px;
}

.team-block dd ul li:last-child {
    border-bottom: none;
}

.team-block dd ul li strong {
    color: #333333; /* Darker color for the specific role */
    font-weight: 500;
    display: inline;
}

.team-block dd ul li span {
    /* The number (01, 02, etc.) */
    font-size: 18px;
    font-weight: 700;
    color: #003366; /* Deep blue color for the count */
    background-color: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
    min-width: 30px;
    text-align: center;
}

/* Media Query for Responsiveness */
@media (max-width: 768px) {
    .team-container {
        flex-direction: column;
        align-items: center;
    }
    .team-block {
        max-width: 90%;
        flex: 1 1 100%;
    }
}

/* Header Container */
.header-container {
  display: flex;
  align-items: center;
  gap: 10px; /* spacing between logo and text */
}

/* Logo Styling */
.logo {
  width: 60px;   /* set size of logo */
  height: auto;
}

/* WhatsApp Floating Button */
.whatsapp-float i {
    font-size: 50px;
    color: #25d366;
    background: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.whatsapp-float i:hover {
    transform: scale(1.1);
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;   /* distance from bottom */
    right: 20px;    /* distance from right */
    z-index: 1000;  /* ensure it stays above other elements */
}

/* --- Image Modal (Lightbox) Styles --- */

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    height: auto; /* Auto height to maintain aspect ratio */
    max-height: 90vh; /* Limit height to 90% of viewport height */
    
    /* Zoom effect on hover/click - uses scale and transform-origin */
    transform: scale(1);
    transition: transform 0.4s ease;
    cursor: zoom-out; /* Show zoom-out cursor when image is open */
}

.modal-content.zoom-in {
    transform: scale(1.5); /* 150% zoom */
    cursor: grab; /* Change cursor for dragging/viewing zoomed image */
    transform-origin: center center; /* Zoom from the center */
}

/* The Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001; /* Must be above the modal background */
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
}

/* Fix for mobile/smaller screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
        max-width: 95%;
    }
}

/* map section */
.map-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f8f9fa;
}

.map-section h2 {
  font-size: 28px;
  color: #003366;
  margin-bottom: 20px;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ==============================
   WHY CHOOSE US SECTION
============================== */
.why-choose-us {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    animation: fadeIn 1s ease-in-out;
}

.why-choose-us h2 {
    color: #003366;
    font-size: 2rem;
    margin-bottom: 25px;
    position: relative;
}

.why-choose-us h2::after {
    content: "";
    display: block;
    width: 60%;
    height: 4px;
    background-color: #ffcc00;
    margin: 10px auto 0;
    border-radius: 2px;
}

.why-content ul {
    list-style: none;
    padding: 0;
    font-size: 18px;
    line-height: 1.8;
    text-align: left;
    display: inline-block;
    margin: 0 auto;
    color: #333;
}

.why-content li {
    margin: 10px 0;
    font-weight: 500;
}

.why-quote {
    margin-top: 25px;
    font-size: 18px;
    color: #0077cc;
    font-weight: 600;
}

@media (max-width: 600px) {
  .why-choose-us {
    padding: 40px 15px;
    margin: 20px auto;
    max-width: 95%;
  }

  .why-choose-us h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .why-content ul {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .why-quote {
    font-size: 1rem;
    margin-top: 15px;
  }

  .services-section h2 {
    font-size: 1.6rem;
  }

  .service-card img {
    height: 200px;
  }

  .service-content {
    padding: 15px;
  }

  .service-content h3 {
    font-size: 1.2rem;
  }
}

/* ==============================
   SERVICES SECTION (Enhanced)
============================== */
.services-section {
  position: relative;
  background: url("images/background.jpg") center/cover no-repeat;
  padding: 100px 20px;
  text-align: center;
  color: #fff;
}

/* Dark overlay for readability */
.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.services-section h2 {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 60px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-section h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background-color: #ffcc00;
  margin: 12px auto;
  border-radius: 2px;
}

.services-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 70px;
  align-items: center;
}

/* ==============================
   SERVICE CARDS
============================== */
.service-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  max-width: 1100px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: all 0.4s ease;
  min-height: 350px; /* keeps consistent height */
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

/* ✅ FIXED: handles vertical images cleanly */
.service-card img {
  width: 40%;
  height: 100%;
  object-fit: cover;          /* removes black bars */
  object-position: center;    /* centers image subject */
  border-right: 5px solid #ffcc00;
  background-color: #000;     /* fallback if image missing */
  transform: translateY(100px); 
}

.service-content {
  width: 60%;
  padding: 35px;
  text-align: left;
  color: #f5f5f5;
}

.service-content h3 {
  color: #ffcc00;
  font-size: 1.8rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.service-content h4 {
  color: #ffdd33;
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 500;
}

.service-content ul {
  margin: 10px 0;
  padding-left: 20px;
  line-height: 1.8;
  color: #e0e0e0;
}

.service-content p {
  line-height: 1.8;
  font-size: 1rem;
  color: #dcdcdc;
}

.commitment {
  margin-top: 20px;
  color: #00c3ff;
  font-style: italic;
  font-weight: 500;
}

/* Alternate layout for variation */
.service-card.reverse {
  flex-direction: row-reverse;
}

.service-card.reverse img {
  border-right: none;
  border-left: 5px solid #ffcc00;
}

/* ==============================
   RESPONSIVE FIXED (Mobile)
============================== */
@media (max-width: 900px) {

  .services-section {
    padding: 60px 15px;
  }

  .service-card,
  .service-card.reverse {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    min-height: auto;
  }

  .service-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border: none;
    transform: translateY(0);
  }

  .service-content {
    width: 100%;
    padding: 16px 18px;
    text-align: center;
  }

  .service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }

  .service-content p,
  .service-content ul {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .service-content ul {
    padding-left: 0;     
    list-style-position: inside;
  }

  .services-section h2 {
    font-size: 1.8rem;
  }
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider .quote {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 600;
  text-shadow: 2px 2px 15px rgba(0,0,0,0.8);
  text-align: center;
  width: 85%;
}

/* Responsive */
@media (max-width: 600px) {
  .hero-slider {
      height: 330px;
  }
  .hero-slider .quote {
      font-size: 1.2rem;
      width: 90%;
  }
}

