@import url('https://fonts.googleapis.com/css2?family=Hind:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #00bcd9;
    --secondary: #0086bf;
    --gold: #e6b34b;
    --green: #25d366;
    --radius: 18px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Hind', 'Poppins', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

body[data-theme="dark"] {
    --bg: #071827;
    --bg-alt: #0c2438;
    --card: #112d43;
    --text: #f2f8ff;
    --muted: #b3c7d6;
    --border: rgba(255,255,255,.12);
    --header: rgba(7,24,39,.96);

    background: var(--bg);
    color: var(--text);
}

body[data-theme="light"] {
    --bg: #f6fbff;
    --bg-alt: #eaf5fa;
    --card: #ffffff;
    --text: #102c40;
    --muted: #516778;
    --border: rgba(0,0,0,.1);
    --header: rgba(255,255,255,.96);

    background: var(--bg);
    color: var(--text);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1150px, 92%);
    margin: auto;
}

.section {
    padding: 90px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-label {
    color: var(--primary);
    font-weight: 700;
}

.section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.section-heading h2,
.about-grid h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.3;
    margin: 12px 0;
}

.section-heading p,
.about-grid p {
    color: var(--muted);
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 700;
    text-align: center;
    transition: transform .3s, background .3s;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, #00c9e7, #0086bc);
    color: #ffffff;
}

.btn-outline {
    border-color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.08);
    color: #fff;
}

.btn-whatsapp {
    background: var(--green);
    color: white;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.navigation {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand img {
    width: 61px;
    height: 61px;
    object-fit: contain;
}

.brand strong,
.brand span {
    display: block;
    font-family: 'Poppins', sans-serif;
    line-height: 1.25;
}

.brand strong {
    font-size: 1.13rem;
    color: var(--primary);
    letter-spacing: 1px;
}

.brand span {
    font-size: .66rem;
    letter-spacing: 2.5px;
}

.navigation nav {
    display: flex;
    gap: 17px;
    align-items: center;
}

.navigation nav a {
    font-size: .91rem;
    font-weight: 600;
}

.navigation nav a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 8px;
}

.icon-btn {
    width: 39px;
    height: 39px;
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 9px;
}

.menu-btn {
    display: none;
}

/* HERO */

.hero {
    position: relative;
    min-height: max(680px, 100svh);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #061523 url("images/machine1.webp") center/cover no-repeat;
    color: #fff;
}

.video-background,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.background-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.3s ease;
}

.background-video.active {
    opacity: 1;
}

.hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(2,15,28,.92),
        rgba(2,20,36,.7),
        rgba(2,15,28,.35)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 135px;
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-block;
    padding: 9px 18px;
    border: 1px solid rgba(0,230,255,.4);
    background: rgba(0,180,215,.15);
    border-radius: 40px;
    margin-bottom: 25px;
}

.hero-slider {
    min-height: 240px;
}

.hero-slide {
    display: none;
    animation: slideIn .6s ease;
}

.hero-slide.active {
    display: block;
}

.hero-slide h1 {
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    line-height: 1.2;
    max-width: 800px;
    margin-bottom: 20px;
}

.hero-slide p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #deedf5;
    max-width: 650px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
}

.slider-controls > button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.4);
    background: rgba(255,255,255,.1);
    color: white;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 11px;
    height: 11px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
}

.dot.active {
    background: #00e5ff;
    width: 25px;
    border-radius: 20px;
}

/* STATS */

.stats {
    background: var(--bg-alt);
    padding: 30px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stats-grid > div {
    text-align: center;
}

.stats-grid strong {
    display: block;
    color: var(--primary);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    overflow-wrap: anywhere;
}

.stats-grid span {
    color: var(--muted);
}

/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.about-photo {
    position: relative;
}

.about-photo img {
    width: 100%;
    min-height: 400px;
    max-height: 550px;
    object-fit: cover;
    border-radius: var(--radius);
}

.photo-badge {
    position: absolute;
    bottom: 20px;
    right: -10px;
    background: var(--gold);
    color: #10263b;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 800;
    font-size: .8rem;
}

.about-grid p {
    margin-bottom: 17px;
}

.owner-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 12px;
    margin: 25px 0;
}

.owner-card > span {
    font-size: 2rem;
}

.owner-card strong,
.owner-card small {
    display: block;
}

.owner-card small {
    color: var(--muted);
}

/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card,
.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: transform .3s, border-color .3s;
}

.service-card:hover,
.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
}

.service-card > span {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p,
.pricing-card p {
    color: var(--muted);
}

/* PRICING */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pricing-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
}

.pricing-icon {
    font-size: 2.5rem;
}

.pricing-card h3 {
    margin: 15px 0;
}

.pricing-card strong {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.pricing-card p {
    margin-bottom: 25px;
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

/* SERVICE AREAS */

.area-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.area-list span {
    padding: 12px 20px;
    border-radius: 30px;
    background: var(--card);
    border: 1px solid var(--border);
    font-weight: 600;
}

/* GALLERY */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.gallery-item {
    position: relative;
    height: 300px;
    border: none;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: left;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
    padding: 35px 15px 15px;
    font-weight: 700;
}

.gallery-status {
    text-align: center;
    margin-top: 20px;
    color: var(--muted);
}

/* FAQ */

.faq-container {
    max-width: 900px;
}

.faq-list {
    display: grid;
    gap: 15px;
}

.faq-list details {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 25px;
}

.faq-list summary {
    font-weight: 700;
    cursor: pointer;
}

.faq-list details[open] summary {
    color: var(--primary);
}

.faq-list p {
    color: var(--muted);
    padding-top: 15px;
}

/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 35px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.contact-card {
    display: flex;
    gap: 15px;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 13px;
}

.contact-card > span {
    font-size: 1.6rem;
}

.contact-card p,
.contact-card a {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.enquiry-form {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 35px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.enquiry-form h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.enquiry-form label {
    font-weight: 600;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 13px 15px;
    margin-bottom: 8px;
    outline: none;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
    border-color: var(--primary);
}

.enquiry-form textarea {
    resize: vertical;
}

.enquiry-form small {
    color: var(--muted);
    text-align: center;
}

.map-section {
    line-height: 0;
}

.map-section iframe {
    border: 0;
}

/* FOOTER */

.footer {
    background: #061522;
    color: white;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 45px;
}

.footer-logo {
    width: 110px;
    margin-bottom: 15px;
}

.footer h3 {
    margin-bottom: 15px;
}

.footer p,
.footer a {
    color: #b8cbd9;
}

.footer a {
    display: block;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding: 18px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: #a8bdce;
}

/* FLOATING BUTTONS */

.floating-buttons {
    position: fixed;
    right: 17px;
    bottom: 23px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-buttons a {
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
}

.floating-call {
    background: #008bd1;
}

.floating-whatsapp {
    background: var(--green);
}

/* LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.94);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 25px;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 95%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox p {
    color: white;
    margin-top: 15px;
}

.lightbox button {
    position: absolute;
    top: 10px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
}

body.lightbox-open {
    overflow: hidden;
}

/* ANIMATIONS */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s, transform .7s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media(max-width: 1050px) {

    .navigation nav {
        gap: 10px;
    }

    .navigation nav a {
        font-size: .8rem;
    }

    .brand strong {
        font-size: 1rem;
    }
}

@media(max-width: 850px) {

    .menu-btn {
        display: block;
    }

    .navigation nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: var(--header);
        padding: 20px 5%;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
    }

    .navigation nav.open {
        display: flex;
    }

    .navigation nav a {
        font-size: 1rem;
        padding: 9px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .pricing-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media(max-width: 600px) {

    .section {
        padding: 65px 0;
    }

    .brand img {
        width: 50px;
        height: 50px;
    }

    .brand strong {
        font-size: .95rem;
    }

    .brand span {
        font-size: .55rem;
    }

    .icon-btn {
        width: 35px;
        height: 35px;
    }

    .hero {
        min-height: 690px;
    }

    .hero-content {
        padding-top: 130px;
    }

    .hero-slider {
        min-height: 250px;
    }

    .hero-slide h1 {
        font-size: 2.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 40px;
    }

    .about-photo img {
        min-height: 280px;
    }

    .services-grid,
    .pricing-grid,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 270px;
    }

    .enquiry-form {
        padding: 23px;
    }

    .floating-buttons a {
        width: 49px;
        height: 49px;
    }

    .footer-grid {
        gap: 25px;
    }
}

@media(prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}