/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}
/* ===== FLUID TYPOGRAPHY SYSTEM ===== */
:root {
    --fs-h1: clamp(1.9rem, 4vw, 3rem);
    --fs-h2: clamp(1.6rem, 3vw, 2.4rem);
    --fs-h3: clamp(1.4rem, 2.5vw, 2rem);
    --fs-h4: clamp(1.2rem, 2vw, 1.6rem);
    --fs-body: clamp(1rem, 1.4vw, 1.15rem);
    --fs-small: clamp(0.9rem, 1.2vw, 1rem);
}
body {
    font-size: var(--fs-body);
}

.hero-overlay h1,
.cadastral-hero .hero-overlay h1,
.settingout-hero .hero-overlay h1 {
    font-size: var(--fs-h1);
}

.hero h2 {
    font-size: var(--fs-h2);
}

.service-process h3,
.about h3,
.dark-section h3,
.surveying-services h3 {
    font-size: var(--fs-h3);
}

.process-step h4,
.service-card h5 {
    font-size: var(--fs-h4);
}

p,
.process-step p,
.service-block p {
    font-size: var(--fs-body);
}

/* ===== CONTAINER ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 3rem 0;
}

/* ===== NAV ===== */
.navbar {
    background: transparent;  /* makes it see-through */
    color: #fff;              /* keeps text white */
    position: absolute;       /* overlays on hero */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1rem 0;
}
.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}
/* ===== MOBILE NAV TOGGLE ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
}

/* ===== MOBILE DROPDOWN MENU ===== */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    nav {
        width: 100%;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 42, 85, 0.95);
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem 0;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        font-size: 1.1rem;
    }
}


/* ✅ ADD OPTION 1 HERE */
.nav-links a {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.logo img {
    height: 80px;       /* base height for desktop */
    width: auto;        /* keeps aspect ratio */
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}


/* Mobile */
@media (max-width: 768px) {
    .logo img {
        height: 36px;   /* smaller for mobile */
    }
}

/* Optional Retina */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        height: 50px;   /* same as desktop, image should be 2x the pixel size */
    }
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 1.2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* ===== LINKEDIN ICON (NAVBAR) ===== */
.linkedin-icon,
.linkedin-icon i {
    color: #0A66C2 !important; /* LinkedIn blue */
}


.linkedin-icon:hover,
.linkedin-icon:hover i {
    color: #084b8a !important;
}
.hero,
.service-hero,
.cadastral-hero,
.settingout-hero,
.sectional-hero,
.gis-hero,
.town-planning-hero,
.project-scheduling-hero,
.drone-survey-hero,
.lidar-hero,
.qa-hero {
    min-height: clamp(55vh, 70vh, 80vh);
}
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    nav {
        width: 100%;
    }

    /* 🔴 HIDE MENU BY DEFAULT ON MOBILE */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 42, 85, 0.95);
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem 0;
        z-index: 999;
    }

    /* ✅ SHOW ONLY WHEN ACTIVE */
    .nav-links.active {
        display: flex;
    }
}


/* ===== HERO ===== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url("hero-bg.png") center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;

    /* Animation */
    background-size: cover;
    animation: moveHeroBg 30s linear infinite;
}

@keyframes moveHeroBg {
    0% { background-position: center 0; }
    100% { background-position: center 100%; }
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

/* ===== ABOUT ===== */
.about h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: #0a2a55;
}

.about p {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

/* ===== DARK SERVICES ===== */
.dark-section {
    background: #0a2a55;
    color: #fff;
}

.dark-section h3 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 1.5rem;
}

.service-card {
    background: #102f5e;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    animation: fadeUp 0.8s ease forwards;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card i {
    font-size: 2.6rem;
    color: #4da3ff;
    margin-bottom: 1rem;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}
.services-navbar {
    background-color: rgba(255, 255, 255, 0); /* fully transparent */
    text-align: center;
    padding: 10px 0;
    margin-bottom: 30px;
}

.services-navbar ul li a {
    color: #fff; /* links visible over background image */
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
}

.services-navbar ul li a:hover {
    background-color: rgba(255, 215, 0, 0.8); /* semi-transparent hover */
    color: #000;
}


/* ===== CLIENTS ===== */
.clients h4 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0a2a55;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.client-card {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff; /* safe for transparent PNGs */
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Universal image handling */
/* Universal image handling – FULL COLOR */
.client-card img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

/* Hover effect */
.client-card:hover img {
    transform: scale(1.05);
}


@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}





/* ===== CONTACT ===== */
.contact h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #0a2a55;
}

.contact-form {
    display: grid;
    gap: 1rem;
    max-width: 600px;
    margin: auto;
}

.contact-form input,
.contact-form textarea {
    padding: 0.9rem;
    border-radius: 4px;
    border: 1px solid #aaa;
}

.contact-form button {
    background: #0a2a55;
    color: #fff;
    padding: 0.9rem;
    border: none;
    cursor: pointer;
}

.contact-details {
    text-align: center;
    margin-top: 2rem;
}

.contact-details i {
    margin-right: 8px;
    color: #0a2a55;
}

/* ===== FOOTER ===== */
.footer {
    background: #0a2a55;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

/* ===== ANIMATION ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= SERVICES BACKGROUND ================= */
.services {
    position: relative;
    background: url("images/serv-bg.jpg") center/cover no-repeat fixed;
    /* fixed = parallax-like effect */
    color: #fff;
    overflow: hidden;
}

/* Optional dark overlay for readability */
.services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
 /*   background: rgba(10, 42, 85, 0.7); /* semi-transparent overlay */
    z-index: 0;
}

/* Make text appear above overlay */
.services .container {
    position: relative;
    z-index: 1;
}

/* Moving (parallax) effect */
@media (min-width: 768px) {
    .services {
        background-attachment: fixed;
    }
}

@media (max-width: 768px) {
    /* Disable fixed background on mobile for performance */
    .services {
        background-attachment: scroll;
    }
}
.surveying-services {
    position: relative;
    background-image: url('serv bg.jpg'); /* Replace with your image path */
    background-size: cover;
    background-repeat: repeat-y;
    background-position: center top;
    padding: 80px 0;
    color: #fff;
    animation: moveBackground 30s linear infinite;
}

@keyframes moveBackground {
    0% { background-position: center top; }
    100% { background-position: center bottom; }
}

.surveying-services h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(0, 38, 77, 0.6); /* Semi-transparent cards */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.service-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-card h5 {
    font-size: 1.2rem;
}
.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background-color: rgba(0, 38, 77, 0.65); /* dark blue */
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: rgba(0, 38, 77, 0.9);
}

.service-card i {
    font-size: 2.6rem;
    margin-bottom: 15px;
    color: #ffd700; /* gold */
}

.service-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
}
/* ===== SERVICE HERO ===== */
.service-hero {
    height: 45vh;
    background-size: cover;
    background-position: center;
    position: relative;
}
/* ===== CADASTRAL HERO ===== */
.cadastral-hero {
    position: relative;  /* needed for overlay */
    background-image: url('images/cadastral-bg.png');
    background-size: 80%;          /* slightly zoomed out */
    background-position: center 90%;
    background-repeat: no-repeat;
    min-height: 80vh;              /* hero section height */
    overflow: hidden;              /* keeps overlay inside */
}

/* dark overlay over the background image */
.cadastral-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);  /* adjust opacity for darkness */
    z-index: 1;                          /* behind text */
}

/* overlay text container */
.cadastral-hero .hero-overlay {
    position: relative;        /* above the dark layer */
    z-index: 2;                /* ensures text is on top */
    display: flex;
    flex-direction: column;
    justify-content: center;   /* vertical centering */
    padding: 0 10%;            /* left/right spacing */
    height: 100%;
    color: #ffffff;
    text-align: left;          /* left-aligned text */
}

/* heading and paragraph styling */
.cadastral-hero .hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.cadastral-hero .hero-overlay p {
    font-size: 1.15rem;
}

/* responsive adjustments */
@media (max-width: 768px) {
    .cadastral-hero .hero-overlay {
        padding: 0 5%;
    }

    .cadastral-hero .hero-overlay h1 {
        font-size: 2rem;
    }

    .cadastral-hero .hero-overlay p {
        font-size: 1rem;
    }
}




/* ===== SERVICE HERO (shared) ===== */
.service-hero {
    height: 45vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* ===== SETTING OUT & TOPOGRAPHIC HERO ===== */

.settingout-hero {
    position: relative;  /* needed for overlay */
    background-image: url('images/settingout-bg.png');
    background-size: 80%;          /* slightly zoomed out */
    background-position: center 90%;
    background-repeat: no-repeat;
    min-height: 80vh;              /* hero section height */
    overflow: hidden;              /* keeps overlay inside */
}

/* dark overlay over the background image */
.settingout-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);  /* adjust opacity for darkness */
    z-index: 1;                          /* behind text */
}

/* overlay text container */
.settingout-hero .hero-overlay {
    position: relative;        /* above the dark layer */
    z-index: 2;                /* ensures text is on top */
    display: flex;
    flex-direction: column;
    justify-content: center;   /* vertical centering */
    padding: 0 10%;            /* left/right spacing */
    height: 100%;
    color: #ffffff;
    text-align: left;          /* left-aligned text */
}

/* heading and paragraph styling */
.settingout-hero .hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.settingout-hero .hero-overlay p {
    font-size: 1.15rem;
}

/* responsive adjustments */
@media (max-width: 768px) {
    .settingout-hero .hero-overlay {
        padding: 0 5%;
    }

    .settingout-hero .hero-overlay h1 {
        font-size: 2rem;
    }

    .settingout-hero .hero-overlay p {
        font-size: 1rem;
    }
}
/* ===== SERVICE HERO (shared) ===== */
.service-hero {                     
    height: 45vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}


/* ===== HERO CONTENT ===== */
.hero-overlay {
    background-color: transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    color: #ffffff;
}

.hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-overlay p {
    font-size: 1.15rem;
    max-width: 650px;
}

/* ===== CONTENT ===== */
.intro-text {
    font-size: 1.1rem;
    margin: 40px 0;
    line-height: 1.8;
}

.service-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-block h3 {
    color: #00264d;
    margin-bottom: 10px;
}

.service-block p {
    line-height: 1.7;
}

/* ================= SECTIONAL TITLE HERO ================= */

.sectional-hero {
    background-image: url('images/s-title.png'); /* replace with your image */
    background-size: cover;
    background-position: center 70%; /* zoomed out & well balanced */
    background-repeat: no-repeat;

    min-height: 80vh;
    position: relative;
}

/* Dark overlay for text readability */
.sectional-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Ensure text sits above overlay */
.sectional-hero .hero-overlay {
    position: relative;
    z-index: 2;
}
/* ================= SECTIONAL PROCESS ================= */

.service-process {
    padding: 4rem 0;
}

.service-process h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
}

.process-step {
    background: #f7f9fc;
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid #0a2a55;
}

.process-step span {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0a2a55;
}

.process-step h4 {
    margin: 0.8rem 0;
}

.process-step p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================= GIS HERO ================= */
.gis-hero {
    background-image: url('images/gis.jpg'); /* replace with your GIS image */
    background-size: cover;
    background-position: center 70%; /* adjust if needed */
    background-repeat: no-repeat;
    min-height: 80vh;
    position: relative;
}

/* Dark overlay for text readability */
.gis-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Ensure text sits above overlay */
.gis-hero .hero-overlay {
    position: relative;
    z-index: 2;
}

/* ================= town planning hero ================= */
.town-planning-hero {
    background-image: url('images/tplan.jpg'); /* replace with your GIS image */
    background-size: cover;
    background-position: center 70%; /* adjust if needed */
    background-repeat: no-repeat;
    min-height: 80vh;
    position: relative;
}

/* Dark overlay for text readability */
.town-planning-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Ensure text sits above overlay */
.town-planning-hero .hero-overlay {
    position: relative;
    z-index: 2;
}

/* ================= project scheduling hero ================= */
.project-scheduling-hero {
    background-image: url('images/project sche.jpg'); /* replace with your GIS image */
    background-size: cover;
    background-position: center 70%; /* adjust if needed */
    background-repeat: no-repeat;
    min-height: 80vh;
    position: relative;
}

/* Dark overlay for text readability */
.project-scheduling-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Ensure text sits above overlay */
.project-scheduling-hero .hero-overlay {
    position: relative;
    z-index: 2;
}
/* ================= drone survey hero ================= */
.drone-survey-hero {
    background-image: url('images/drone.jpg'); /* replace with your GIS image */
    background-size: cover;
    background-position: center 70%; /* adjust if needed */
    background-repeat: no-repeat;
    min-height: 80vh;
    position: relative;
}

/* Dark overlay for text readability */
.drone-survey-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Ensure text sits above overlay */
.drone-survey-hero .hero-overlay {
    position: relative;
    z-index: 2;
}
/* ================= lidar survey hero ================= */
.lidar-hero {
    background-image: url('images/lidar.jpg'); /* replace with your GIS image */
    background-size: cover;
    background-position: center 70%; /* adjust if needed */
    background-repeat: no-repeat;
    min-height: 80vh;
    position: relative;
}

/* Dark overlay for text readability */
.lidar-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Ensure text sits above overlay */
.lidar-hero .hero-overlay {
    position: relative;
    z-index: 2;
}

/* ================= quality assurance hero ================= */
.qa-hero {
    background-image: url('images/qa.jpg'); /* replace with your GIS image */
    background-size: cover;
    background-position: center 70%; /* adjust if needed */
    background-repeat: no-repeat;
    min-height: 80vh;
    position: relative;
}

/* Dark overlay for text readability */
.qa-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Ensure text sits above overlay */
.qa-hero .hero-overlay {
    position: relative;
    z-index: 2;
}
/* ===== COMPLIANCE (BASE – SHARED) ===== */
.service-compliance {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0;
    color: #ffffff;
}
 
/* ===== CADASTRAL SURVEY PAGE ===== */
.service-compliance.cadastral {
    background-image: url('images/ts bg.png');
}

/* ===== SETTING OUT & TOPOGRAPHIC ===== */
.service-compliance.setting-out {
    background-image: url('images/set out.jpg');
}

/* ===== SECTIONAL TITLE ===== */
.service-compliance.sectional-title {
    background-image: url('images/st.jpg');
}

/* ===== GIS & MAPPING ===== */
.service-compliance.gis-mapping {
    background-image: url('images/gis2.jpg');
}

/* ===== TOWN PLANNING ===== */
.service-compliance.town-planning {
    background-image: url('images/tplan2.jpg');
}

/* ===== PROJECT SCHEDULING ===== */
.service-compliance.project-scheduling {
    background-image: url('images/pro sche2.jpg');
}

/* ===== DRONE SURVEYS ===== */
.service-compliance.drone-surveys {
    background-image: url('images/drone2.jpg');
}

/* ===== LIDAR SCANNING ===== */
.service-compliance.lidar-scanning {
    background-image: url('images/point cloud.jpg');
}

/* ===== QUALITY ASSURANCE ===== */
.service-compliance.quality-assurance {
    background-image: url('images/qa.jpg');
}


.service-compliance::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55); /* darkens background */
}

.service-compliance .container {
    position: relative; /* keeps text above overlay */
}



/* ===== CTA ===== */
.service-cta {
    text-align: center;
    padding: 60px 0;
}

.cta-button {
    background-color: #00264d;
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
}

/* ================= PROJECTS HERO ================= */
.projects-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('images/projects-hero.jpg');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* ================= PROJECTS GRID ================= */
.projects {
    padding: 4rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* ================= PROJECT CARD ================= */
.project-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-info h4 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.project-info p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.8rem;
}

.project-info span {
    font-size: 0.85rem;
    color: #777;
}

.project-info i {
    margin-right: 6px;
    color: #0b5ed7;
}

