/* RESET */

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", sans-serif !important;
    scroll-behavior: smooth;
}

/* ---------------- NAVBAR ---------------- */
header {
  background: #0d4f6d;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* desktop default: center content with logo in middle */
.navbar {
  display: flex;                 /* desktop layout */
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  position: relative;
}

/* Desktop Menu */
.nav-left,
.nav-right {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-left a,
.nav-right a {
  color: white;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
}

.logo img {
  width: 90px;
  margin: 0 30px;
  display: block;
}

@media (max-width: 768px) {

    /* stack vertically */
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 12px 0;
        gap: 10px;
    }

    /* show both menus always */
    .nav-left,
    .nav-right {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    /* merge both UL visually into one centered row */
    .nav-left li,
    .nav-right li {
        margin: 0;
    }

    .nav-left a,
    .nav-right a {
        color: white;
        font-size: 16px;
        padding: 4px 6px;
        text-decoration: none;
        font-weight: 600;
        white-space: nowrap;
    }

    /* logo top */
    .logo {
        order: -1; /* move logo above menu */
    }

    .logo img {
        width: 78px;
    }
}

/* Force menu visible for tablet + mobile view */
@media (max-width: 900px) {

    .nav-left,
    .nav-right {
        display: flex !important;
    }

    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 12px 0;
        gap: 10px;
    }

    .nav-left,
    .nav-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .logo {
        order: -1; /* logo on top */
        margin-bottom: 5px;
    }

    .logo img {
        width: 78px;
    }
}


/* ---------------- BANNER ---------------- */
.banner {
    position: relative;
    width: 100%;
    height:900px; /* your banner height */
    overflow: hidden;
}

.banner-img {
    background-image: url("images/banner.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    z-index: 1;
    position: relative;
    animation: zoomFade 10s infinite ease-in-out;
    opacity: 0.9;
}

@keyframes zoomFade {
    0% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.85; }
}

/* ---------------- SECTIONS ---------------- */
.section {
    padding: 20px 20px;
    text-align: center;
}

.section h2 {
    margin-bottom: 20px;
    color: #0d4f6d;
    font-size: 28px;
}

/* ---------------- RESPONSIVE ---------------- */

/* Tablets & Below */
@media (max-width: 900px) {
    .nav-left,
    .nav-right {
        display: none;
    }

    .hamburger {
        display: block;
    }

    #menu-toggle:checked ~ .nav-left,
    #menu-toggle:checked ~ .nav-right {
        display: flex;
        flex-direction: column;
        background: #0d4f6d;
        position: absolute;
        top: 65px;
        width: 100%;
        left: 0;
        padding: 20px 0;
        gap: 20px;
        text-align: center;
    }

    .logo img {
        width: 65px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .banner {
        height: 50vh;
    }
}


/* BASIC RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

 

/* ABOUT SECTION LAYOUT */
.about-section {
    display: flex;
    padding: 60px 40px;
    gap: 50px;
    align-items: flex-start;
}

.about-left {
    flex: 1;
    font-size: 17px;
    line-height: 1.5;
    text-align:left !important;
}

.about-left h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.about-left h3 {
    margin-top: 10px;
    font-size: 24px;
    color: #004f78;
}
.about-left p
{
   text-align: justify;
    font-size: 13px;
    font-family: "Open Sans", sans-serif;

}
.location-box {
    background: #f2c230;
    padding: 18px;
    margin-top: 4px;
    border-left: 6px solid #004f78;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    padding-top: 8px;
    padding-bottom: 8px;
    
}

/* SLIDER FIXED SIZE */
.about-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.slider {
    position: relative;
    width: 560px;
    height: 330px;
    border-radius: 18px;
    overflow: hidden;
}

.slide {
    width: 560px;
    height: 330px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.fade {
    opacity: 1;
}

 
/* WAVES IMAGE */
.waves img {
    width: 100%;
    margin-top: 60px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .about-section {
        flex-direction: column;
    }
    .slider {
        height: 260px;
         width:400px;
    }
}

@media (max-width: 500px) {
    .about-section {
        padding: 40px 20px;
    }
    .slider {
        height: 220px;
        width:400px;
    }
}

/* ==== Section Title ==== */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #0c4a6e;
    font-weight: bold;
    letter-spacing: 2px;
}

/* ==== SERVICES GRID (4 per row) ==== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);   /* <<< FIXED 4 BLOCKS */
    gap: 20px;
    padding: 0 20px;
}

/* ==== SERVICE CARD ==== */
.service-card {
    background: #e6f5fb;
    padding: 25px;
    border-radius: 6px;
    text-align: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    transform: scale(0.85);
}

.service-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 18px;
    font-weight: 600;
    color: #0c4a6e;
}


/* ==== SPECIALS GRID ==== */
.specials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 20px;
}

/* ==== SPECIAL CARD ==== */
.special-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.special-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==== TEXT OVERLAY ==== */
.special-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px 10px;
    background: rgba(0,0,0,0.5);  /* <<< Transparent dark overlay */
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
    .specials-grid {
        grid-template-columns: 1fr;
    }
    .special-text {
        font-size: 18px;
    }
}


/* ==== ZOOM ANIMATION WHEN VISIBLE ==== */
.zoom-visible {
    opacity: 1 !important;
    transform: scale(1) !important;
}


/* ==== RESPONSIVE ==== */
@media (max-width: 600px) {
    .service-card p,
    .special-card p {
        font-size: 16px;
    }
}
/* ==== RESPONSIVE BREAKPOINTS ==== */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CONTACT + FOOTER SECTION ===== */
.contact-footer {
    background: #0c2d3c;
    color: #ffffff;
    padding: 60px 20px 20px;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

/* Main container */
.contact-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 1000px;
    margin: auto;
    flex-wrap: wrap;
}

/* Boxes */
.contact-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px 35px;
    border-radius: 12px;
    width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Zoom effect */
.contact-box:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 18px rgba(0, 0, 0, 0.3);
}

/* Headings */
.contact-box h3 {
    color: #d9b637;
    margin-bottom: 15px;
    font-size: 24px;
    text-align:left;
}

/* Text */
.contact-box p {
    margin: 8px 0;
    font-size: 18px;
    line-height: 1.6;
    text-align:left;
}

/* Mobile phone links */
.contact-box a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

/* Footer bottom */
.footer-bottom {
    background: #07202c;
    margin-top: 40px;
    padding: 15px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* ===== RESPONSIVE ===== */

/* Tablets (2 blocks centered) */
@media (max-width: 768px) {
    .contact-container {
        gap: 30px;
    }

    .contact-box {
        width: 100%;
        max-width: 400px;
    }
}

/* Mobile (stacked full width) */
@media (max-width: 480px) {
    .contact-box {
        width: 100%;
        padding: 20px;
    }

    .contact-box h3 {
        font-size: 20px;
    }

    .contact-box p {
        font-size: 16px;
    }
}


/* Bubbles Wrapper Positioned Under Banner */

/* bubble layer ALWAYS behind banner image */
#bubble-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bubble {
    background-image: url("images/bubble.png");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.45;
    position: absolute;
    pointer-events: none;
}


.bubble {
    position: absolute;
    background-image: url("images/bubble.png"); /* your bubble image */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.45;
    border-radius: 50%;
}


/* ===== REVIEW SLIDER IN BANNER ===== */
.review-slider {
    position: absolute;
    bottom: 240px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 750px;
    overflow: hidden;
    z-index: 10; /* ensures above banner image */
    padding: 5px;
}

.review-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease-in-out;
}

.review-card {
    min-width: 100%;
    text-align: center;
    background: rgb(33 78 124 / 45%);
    padding: 45px 22px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    color: #ffffff;
    font-family: "Open Sans", sans-serif !important;
    
}

.review-card span {
    display: block;
    font-size: 1rem;
    margin-top: 6px;
    color: #faed5a;
}

/* MOBILE FIX */
/* ---- MOBILE FIX FOR REVIEW SLIDER ---- */
@media (max-width: 768px) {
    .review-slider {
        bottom: 140px;       /* moves it up so it's fully visible */
        width: 95%;
        max-width: 500px;
        padding: 0;
    }

    .review-card {
        font-size: 1rem;
        padding: 22px 18px;
        line-height: 1.4;
    }
}

@media (max-width: 600px) {
    .review-slider {
        bottom: 80px;        /* adjusts for shorter banner */
        width: 92%;
    }

    .review-card {
        font-size: 0.9rem;
        padding: 18px 15px;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 60vh;        /* more height so review slider fits */
    }

    .review-slider {
        bottom: 60px;
        width: 90%;
    }

    .review-card {
        font-size: 0.85rem;
        padding: 14px 14px;
    }
}

/* Floating PNG Bubbles Canvas */
#bubbleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}


/*@keyframes floatUp {*/
/*    0% {*/
/*        transform: translateY(0) scale(1);*/
/*        opacity: 0.4;*/
/*    }*/
/*    100% {*/
/*        transform: translateY(-120vh) scale(1.2);*/
/*        opacity: 0;*/
/*    }*/
}
