/* ==============================
   RESET & VARIABLES
   ============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:         #0d1b35;
    --navy-light:   #1a2d4e;
    --cyan:         #00c2e8;
    --cyan-dark:    #0099c0;
    --orange:       #e8620a;
    --orange-hover: #ff7520;
    --white:        #ffffff;
    --gray-light:   #f4f7fa;
    --gray:         #666;
    --text:         #2c2c2c;
    --border:       #dde3ea;
    --shadow:       0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg:    0 8px 40px rgba(0,0,0,0.16);
    --t:            0.22s ease;
    --radius:       8px;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==============================
   WAVE HELPERS
   ============================== */
.wave-bottom, .wave-top, .wave-top-light, .footer-wave-top {
    line-height: 0;
    overflow: hidden;
}
.wave-bottom { position: absolute; bottom: 0; left: 0; width: 100%; z-index: 2; }
.wave-top    { position: absolute; top: 0;    left: 0; width: 100%; }
.wave-top-light { position: absolute; top: 0; left: 0; width: 100%; }

.wave-bottom svg,
.wave-top svg,
.wave-top-light svg,
.footer-wave-top svg { display: block; width: 100%; }

/* ==============================
   HEADER
   ============================== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--t);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.12); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.header-logo { height: 48px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--navy);
    border-radius: 6px;
    transition: background var(--t), color var(--t);
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--cyan-dark);
    background: rgba(0,194,232,0.07);
}
.fa-chevron-down { font-size: 0.65rem; transition: transform var(--t); }
.has-dropdown:hover .fa-chevron-down { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    min-width: 220px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all var(--t);
    z-index: 200;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown li a {
    display: block;
    padding: 9px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    transition: background var(--t), color var(--t);
}
.dropdown li a:hover { background: var(--gray-light); color: var(--cyan-dark); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==============================
   HERO
   ============================== */
.hero {
    position: relative;
    background: #0a1628;
    padding: 130px 0 110px;
    overflow: hidden;
}

/* Layered wave shapes inside the hero — mimics the water depth effect */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    left: -5%;
    width: 110%;
    border-radius: 50%;
    z-index: 0;
}
.hero::before {
    height: 380px;
    bottom: -60px;
    background: #0d1e3a;
}
.hero::after {
    height: 300px;
    bottom: -20px;
    background: #112244;
}
.hero-wave-1, .hero-wave-2 {
    position: absolute;
    left: -5%;
    width: 110%;
    border-radius: 50%;
    z-index: 0;
}
.hero-wave-1 {
    height: 260px;
    bottom: 20px;
    background: #0f2040;
}
.hero-wave-2 {
    height: 200px;
    bottom: 50px;
    background: #162e52;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: center;
}

.hero-left h1 {
    font-size: clamp(2rem, 3.5vw, 2.9rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.hero-left h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 20px;
}
.hero-left p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    max-width: 520px;
    margin-bottom: 28px;
    line-height: 1.7;
}
.hero-stars {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}
.hero-stars .fa-star { color: #fdd835; font-size: 1rem; }

/* Hero CTA card */
.hero-cta-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 12px 48px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.hero-logo {
    width: 240px;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    filter: brightness(0) invert(1);
}
.btn-hero-cta {
    display: block;
    width: 100%;
    background: var(--orange);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    padding: 16px 20px;
    border-radius: var(--radius);
    text-align: center;
    letter-spacing: 0.3px;
    transition: background var(--t), transform var(--t), box-shadow var(--t);
    line-height: 1.3;
}
.btn-hero-cta:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(232,98,10,0.4);
}
.hero-phone {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--t);
}
.hero-phone:hover { color: var(--cyan); }
.hero-phone .fa-phone { color: var(--cyan); }

/* ==============================
   TRUST SECTION
   ============================== */
.trust-section {
    background: #fff;
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.trust-col {
    padding: 32px 40px;
    text-align: center;
    border-right: 1px solid var(--border);
}
.trust-col:last-child { border-right: none; }
.trust-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--cyan-dark), var(--cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
    font-size: 1.4rem;
}
.trust-col h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
}
.trust-col p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}
.btn-outline {
    display: inline-block;
    padding: 10px 28px;
    border: 2px solid var(--navy);
    color: var(--navy);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius);
    letter-spacing: 0.5px;
    transition: all var(--t);
}
.btn-outline:hover {
    background: var(--navy);
    color: #fff;
}

/* ==============================
   ABOUT SECTION (dark)
   ============================== */
.about-section {
    position: relative;
    background: var(--navy);
    padding: 100px 0;
    overflow: hidden;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.about-text h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.3px;
}
.about-text p {
    color: rgba(255,255,255,0.75);
    font-size: 0.975rem;
    line-height: 1.72;
    margin-bottom: 16px;
}
.btn-primary-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: var(--radius);
    transition: background var(--t), transform var(--t);
}
.btn-primary-white:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
}

/* Rating card */
.rating-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 64px rgba(0,0,0,0.3);
}
.rating-card-inner {
    padding: 32px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.rating-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.4;
}
.rating-stars { color: #fdd835; font-size: 1.3rem; letter-spacing: 3px; }
.rating-logo { width: 180px; margin: 4px auto; border-radius: 10px; }
.rating-sub { font-size: 0.8rem; color: var(--gray); }

/* ==============================
   WORKING WITH
   ============================== */
.working-with {
    background: var(--gray-light);
    padding: 72px 0;
    text-align: center;
}
.working-with h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 48px;
    letter-spacing: -0.3px;
}
.working-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
}
.working-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.working-icon {
    width: 72px; height: 72px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 1.6rem;
    transition: background var(--t);
}
.working-item:hover .working-icon { background: var(--cyan-dark); }
.working-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    text-align: center;
    line-height: 1.4;
}

/* ==============================
   SERVICES INTRO (dark wave)
   ============================== */
.services-intro {
    position: relative;
    background: var(--navy);
    padding: 90px 0;
    text-align: center;
    overflow: hidden;
}
.services-intro-inner { position: relative; z-index: 1; }
.services-intro h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.services-intro p { color: rgba(255,255,255,0.7); font-size: 1.05rem; }

/* ==============================
   SERVICE SECTIONS
   ============================== */
.service-section {
    padding: 80px 0;
    background: #fff;
}
.service-section.service-alt { background: var(--gray-light); }

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.service-grid-reverse { direction: rtl; }
.service-grid-reverse > * { direction: ltr; }

.service-img-placeholder {
    border-radius: 16px;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.service-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13,27,53,0.1) 0%, rgba(13,27,53,0.5) 100%);
}
.img-label {
    position: relative;
    z-index: 1;
    background: rgba(13,27,53,0.7);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.service-text h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 18px;
    letter-spacing: -0.3px;
}
.service-text p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.72;
    margin-bottom: 14px;
}
.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 26px;
    border-radius: var(--radius);
    transition: background var(--t), transform var(--t);
}
.btn-service:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
}

/* ==============================
   REVIEWS
   ============================== */
.reviews-section {
    background: #f4f8fc;
    padding: 80px 0 70px;
}
.reviews-section h2 {
    text-align: center;
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 10px;
}
.reviews-sub {
    text-align: center;
    margin-bottom: 48px;
}
.reviews-rating-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.2s;
}
.reviews-rating-link:hover { color: var(--cyan-dark); }
.reviews-stars {
    color: #f4b942;
    font-size: 1.2rem;
    letter-spacing: 2px;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.review-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 2px 16px rgba(13,27,53,0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(13,27,53,0.13);
}
.review-card .review-stars { color: #f4b942; font-size: 0.9rem; letter-spacing: 2px; }
.review-text {
    color: #444;
    font-size: 0.93rem;
    line-height: 1.65;
    flex: 1;
    margin: 0;
}
.review-author {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
    margin: 0;
}
.review-service {
    font-size: 0.8rem;
    color: var(--cyan-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}
.reviews-cta {
    text-align: center;
}
.btn-google-reviews {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--navy);
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
}
.btn-google-reviews:hover {
    background: var(--cyan-dark);
    transform: translateY(-2px);
}
.btn-google-reviews .fab { font-size: 1.1rem; }

/* ==============================
   AREAS (dark wave)
   ============================== */
.areas-section {
    position: relative;
    background: var(--navy);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}
.areas-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.areas-sub {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}
.area-tag {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background var(--t), border-color var(--t);
}
.area-tag:hover {
    background: var(--cyan-dark);
    border-color: var(--cyan-dark);
}
.areas-note {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}
.areas-note a { color: var(--cyan); text-decoration: underline; }
.areas-detail {
    margin: 2rem 0 1.5rem;
    position: relative;
    z-index: 1;
}
.areas-detail p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.areas-detail strong { color: #fff; }

/* ==============================
   FOOTER
   ============================== */
.footer { background: #fff; }
.footer-wave-top svg { display: block; width: 100%; }
.footer-body { background: var(--navy); padding: 60px 0 0; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-logo { height: 80px; width: auto; margin-bottom: 16px; background: #fff; border-radius: 12px; padding: 8px; }
.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 280px;
}
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: all var(--t);
}
.social-links a:hover { background: var(--cyan-dark); border-color: var(--cyan-dark); color: #fff; }

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    transition: color var(--t);
}
.footer-col ul a:hover { color: #fff; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}
.footer-contact i { color: var(--cyan); width: 16px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.7); transition: color var(--t); }
.footer-contact a:hover { color: #fff; }

.btn-footer-cta {
    display: block;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 12px 20px;
    border-radius: var(--radius);
    text-align: center;
    letter-spacing: 0.3px;
    transition: background var(--t);
}
.btn-footer-cta:hover { background: var(--orange-hover); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.09);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; }

/* ==============================
   FADE-IN ON SCROLL
   ============================== */
.fade-ready {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-ready.fade-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-right { display: flex; justify-content: center; }
    .hero-cta-card { max-width: 380px; width: 100%; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-right { display: flex; justify-content: center; }
    .working-grid { grid-template-columns: repeat(2, 1fr); }
    .service-grid { grid-template-columns: 1fr; gap: 32px; }
    .service-grid-reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .nav {
        display: none;
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: #fff;
        border-top: 1px solid var(--border);
        padding: 16px 20px 24px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    .nav.open { display: block; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-links > li > a { padding: 13px 16px; font-size: 0.95rem; border-radius: 8px; }
    .has-dropdown .dropdown {
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: var(--gray-light);
        border-radius: 8px;
        margin-top: 4px;
        display: none;
    }
    .has-dropdown.open .dropdown { display: block; }
    .has-dropdown .dropdown li a { color: var(--text); }
    .hamburger { display: flex; }

    .trust-grid { grid-template-columns: 1fr; }
    .trust-col { border-right: none; border-bottom: 1px solid var(--border); }
    .trust-col:last-child { border-bottom: none; }

    .working-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }

    .service-section { padding: 56px 0; }
    .service-img-placeholder { min-height: 240px; }
}

@media (max-width: 480px) {
    .hero { padding: 100px 0 90px; }
    .working-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
