* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;
}

html,
body {

    overflow-x: hidden;
}

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

/* ================= CUSTOM PROPERTIES ================= */
:root {
    --primary-color: #3b82f6;
    /* Vibrant Royal Blue */
    --primary-hover: #1d4ed8;
    /* Cobalt Blue */
    --primary-glow: rgba(59, 130, 246, 0.35);
    --bg-dark: #0a1128;
    /* Premium Deep Navy Blue */
    --bg-card: rgba(20, 30, 55, 0.65);
    /* Semitransparent navy card */
    --bg-header: rgba(30, 58, 138, 0.92);
    /* Updated nav bar background */
    --border-color: rgba(255, 255, 255, 0.08);
    /* Fine border */
    --border-hover: rgba(59, 130, 246, 0.35);
    --text-main: #f8fafc;
    /* White text */
    --text-muted: #94a3b8;
    /* Ice grey text */
    --text-highlight: #60a5fa;
    /* Light Blue Accent */
    --font-family: 'Outfit', sans-serif;
    --header-height: 80px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================= GLOBAL RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.5px;
    text-decoration: none;
}

.logo img {
    height: 48px;
    width: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.logo span {
    background: linear-gradient(135deg, #fff 40%, var(--text-highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= EXACT CAPSULE NAVBAR ================= */

nav {

    position: relative;
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 0.3vw;

    width: fit-content;

    padding: 0.6vh 0.6vw;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.45);

    overflow: hidden;
}

/* ================= NAV ITEMS ================= */

nav a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3vh;
    min-width: auto;
    padding: 0.6rem 0.8rem;
    color: #6f6f6f;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: 0.4s ease;
    z-index: 1;
}

/* ================= ICON ================= */

nav a i {

    font-size: 1rem;
    transition: 0.4s ease;
    color: #fff;
}

/* ================= TOP BAR ================= */

/* ================= PREMIUM HOVER EFFECT ================= */
nav a {
    position: relative;
    overflow: hidden;
    transition: color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Centered diagonal glossy overlay */
nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05), transparent);
    transform: translate(-50%, -50%) rotate(45deg) scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

/* Hover state expands overlay */
nav a:hover::before,
nav a.active::before {
    transform: translate(-50%, -50%) rotate(45deg) scaleX(1);
}

nav a:hover,
nav a.active {
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

nav a:hover i,
nav a.active i {
    transform: scale(1.08);
}

/* Subtle elevation */
nav a:hover,
nav a.active {
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ================= MOBILE ================= */

.hero {
    position: relative;

    min-height: calc(100vh - 4.8rem);
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(rgba(12, 14, 18, 0.8), rgba(12, 14, 18, 0.85)),
        url('../images/sponge\ ore.jpg') no-repeat center center/cover;
}

.service-title{
    cursor: pointer;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--primary-glow), transparent 45%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 2rem;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-tagline {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    color: var(--text-highlight);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--text-highlight), #fde047);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--primary-glow);
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* ================= BUTTONS ================= */
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(245, 158, 11, 0.05);
    color: var(--text-highlight);
    transform: translateY(-2px);
}

/* =========================================================
   HERO STATS SQUARE CARDS
========================================================= */

.hero-stats {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 1.5rem;

    flex-wrap: wrap;
}


/* ================= STAT BOX ================= */

.hero-stats .stat-box {

    width: 13rem;

    height: 13rem;

    border-radius: 1.5rem;

    background: rgba(255, 255, 255, 0.06);

    border: 0.08rem solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(0.8rem);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    transition: all 0.4s ease;

    padding: 1.5rem;
}


/* ================= NUMBER ================= */

.hero-stats .stat-box h2 {

    font-size: 3rem;

    margin-bottom: 0.6rem;

    color: #4da3ff;
}


/* ================= TEXT ================= */

.hero-stats .stat-box span {

    font-size: 1rem;

    line-height: 1.5;

    color: #ffffff;
}


/* ================= HOVER ================= */

.hero-stats .stat-box:hover {

    transform: translateY(-0.5rem);

    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
}


/* ================= TABLET ================= */

@media screen and (max-width: 992px) {

    .hero-stats .stat-box {

        width: 11rem;

        height: 11rem;
    }

}


/* ================= MOBILE ================= */

@media screen and (max-width: 768px) {

    .hero-stats {

        gap: 1rem;
    }

    .hero-stats .stat-box {

        width: 9rem;

        height: 9rem;

        padding: 1rem;
    }

    .hero-stats .stat-box h2 {

        font-size: 2rem;
    }

    .hero-stats .stat-box span {

        font-size: 0.8rem;
    }

}


/* ================= SECTIONS ================= */
section {

    padding: 2rem 4rem;
}

.inner-page-section {

    min-height: calc(100vh - 4.8rem);

    display: block;

    padding-top: 0 !important;

    padding-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-main);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 650px;
    margin: -2rem auto 3rem;
    font-size: 1.1rem;
}

/* ================= CARDS ================= */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card.service-card {
    opacity: 0;
    animation: cardAnim 0.9s ease forwards;
}

@keyframes cardAnim {
    0% {
        opacity: 0;
        transform: translateY(30px) rotate(-5deg) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

/* Staggered delays for each card */
.card.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.card.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.card.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.card.service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.card.service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.card.service-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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


.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    transform-origin: left;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ================= FORM ================= */
form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

input,
textarea {
    padding: 0.875rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(7, 13, 25, 0.8);
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
    width: 100%;
}

input:focus,
textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

button[type="submit"] {
    padding: 1rem;
    border: none;
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    margin-top: 1rem;
    box-shadow: 0 4px 14px var(--primary-glow);
}

button[type="submit"]:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

/* ================= FOOTER ================= */
.footer {
    background: linear-gradient(180deg, #070d19, #03060c);
    padding: 5rem 4rem 2rem;
    color: var(--text-main);
    border-top: 1px solid var(--border-color);
}

.footer-brand h2,
.footer-links h3,
.footer-contact h3 {
    color: var(--text-main);
}

.footer-brand p,
.footer-links a,
.footer-contact p {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--text-highlight);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-brand img {
    height: 54px;
    width: auto;
    align-self: flex-start;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.footer-brand h2 {
    font-size: 1.75rem;
    font-weight: 700;
}

.footer-brand h2 span {
    color: var(--text-highlight);
}

.footer-brand p {
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--text-highlight);
    transform: translateX(4px);
}

.footer-contact p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--text-highlight);
    font-size: 1rem;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================= WHATSAPP FLOATING ================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    background: #20ba5a;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* ================= SPLIT LAYOUT ================= */
.split-layout {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 6rem 0;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-text {
    flex: 1;
}

.split-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-highlight);
}

.split-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.split-image {
    gap: 2vw;
    flex: 0.4;
}

/* Limit image width for better proportion */
.split-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.split-image img:hover {
    transform: scale(1.02);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px var(--primary-glow);
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 1024px) {
    header {
        padding: 0 2rem;
    }

    section {
        padding: 4rem 2rem;
    }

    .footer {
        padding: 4rem 2rem 2rem;
    }

    .footer-container {
        grid-template-columns: 1.5fr 1fr;
        gap: 3rem;
    }

    .footer-contact {
        grid-column: span 2;
    }
}

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

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #021426;
}

::-webkit-scrollbar-thumb {
    background: #00c2ff;
    border-radius: 20px;
}

/* BACKGROUND */

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -3;
}

.glow1 {
    position: fixed;
    width: 500px;
    height: 500px;
    background: #00c2ff20;
    filter: blur(120px);
    top: -100px;
    right: -100px;
    z-index: -2;
}

.glow2 {
    position: fixed;
    width: 400px;
    height: 400px;
    background: #0077ff20;
    filter: blur(120px);
    bottom: -100px;
    left: -100px;
    z-index: -2;
}

/* HEADER */

.gallery-header {
    padding: 120px 8% 50px;
    text-align: center;
}

.gallery-header h1 {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(to right, #ffffff, #00c2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.gallery-header p {
    max-width: 850px;
    margin: auto;
    color: #c8d7e5;
    line-height: 1.8;
}

/* FILTER */

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.filter-btn {
    padding: 14px 30px;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 50px;
    font-size: 15px;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #00c2ff, #0077ff);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 194, 255, 0.35);
}

/* GALLERY */

.gallery-container {
    padding: 20px 8% 100px;
}

/* =========================================================
   PROFESSIONAL GALLERY LAYOUT
========================================================= */

.gallery-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));

    gap: 1.8rem;

    align-items: start;

    justify-content: center;

    width: 100%;

    margin-top: 2rem;
}


/* ================= GALLERY CARD ================= */

.gallery-card {

    position: relative;

    width: 100%;

    height: 18rem;

    overflow: hidden;

    border-radius: 1.5rem;

    background: rgba(255, 255, 255, 0.05);

    border: 0.08rem solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(0.8rem);

    transition: all 0.4s ease;

    margin: auto;
    cursor: pointer;
}


/* ================= IMAGE ================= */

.gallery-card img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}


/* ================= HOVER ================= */

.gallery-card:hover img {

    transform: scale(1.06);
}

.gallery-card:hover {

    transform: translateY(-0.5rem);

    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
}


/* ================= TABLET ================= */

@media screen and (max-width: 992px) {

    .gallery-grid {

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

    .gallery-card {

        height: 16rem;
    }
}


/* ================= MOBILE ================= */

@media screen and (max-width: 768px) {

    .gallery-grid {

        grid-template-columns: 1fr;

        gap: 1.4rem;
    }

    .gallery-card {

        height: 14rem;

        max-width: 22rem;
    }
}


/* ================= SMALL MOBILE ================= */

@media screen and (max-width: 480px) {

    .gallery-card {

        height: 13rem;

        border-radius: 1.2rem;
    }
}


/* OVERLAY */

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.15));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.overlay h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    transform: translateY(40px);
    opacity: 0;
    transition: 0.6s;
}

.overlay p {
    color: #d7e6f2;
    line-height: 1.6;
    transform: translateY(40px);
    opacity: 0;
    transition: 0.8s;
}

.gallery-card:hover .overlay h3,
.gallery-card:hover .overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* TAG */

.tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.civil .tag {
    background: #00c2ff30;
    border: 1px solid #00c2ff80;
}

.mechanical .tag {
    background: #ff880020;
    border: 1px solid #ff880080;
}

/* ICON */

.icon-box {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.mechanical .icon-box {
    animation: rotateGear 6s linear infinite;
}

/* LIGHT EFFECT */

.light {
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-25deg);
}

.gallery-card:hover .light {
    animation: shine 1s ease;
}

/* ANIMATION */

@keyframes shine {
    100% {
        left: 150%;
    }
}

@keyframes rotateGear {
    100% {
        transform: rotate(360deg);
    }
}

/* RESPONSIVE */
/* ================= DEFAULT HAMBURGER ================= */

.nav-toggle {
    display: none;
}

@media(max-width:768px) {

    .gallery-header h1 {
        font-size: 2.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card {
        height: 320px;
    }

}

/* ================= SMALL MOBILE ================= */

@media screen and (max-width: 480px) {

    .hero h1 {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .gallery-header h1 {
        font-size: 1.9rem;
    }

}

.card {
    position: relative;
    overflow: hidden;
}

header.nav-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

header.nav-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

/* ================= CARD BASE FIX ================= */

.card {
    position: relative;
    overflow: hidden;

    background: var(--bg-card);

    border: 1px solid var(--border-color);

    border-radius: 1.5rem;

    padding: 2rem;

    backdrop-filter: blur(12px);

    transition: var(--transition-smooth);
}

/* ================= SERVICE ICON ================= */

.service-icon {
    width: 4.5rem;
    height: 4.5rem;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 1.5rem;

    border-radius: 1rem;

    background: linear-gradient(135deg,
            rgba(0, 194, 255, 0.18),
            rgba(0, 119, 255, 0.12));

    border: 1px solid rgba(255, 255, 255, 0.08);

    color: var(--text-highlight);

    font-size: 1.6rem;

    transition: 0.4s ease;
}

.card:hover .service-icon {
    transform: rotateY(180deg) scale(1.08);
}

/* ================= LEGAL PAGES ================= */

.policy-container,
.terms-container {

    max-width: 56rem;

    margin: auto;

    padding: 3rem;

    border-radius: 1.5rem;

    background: var(--bg-card);

    border: 1px solid var(--border-color);

    backdrop-filter: blur(12px);

    box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.28);
}

.policy-container h3,
.terms-container h3 {

    font-size: 1.35rem;

    margin: 2rem 0 1rem;

    color: var(--text-highlight);

    line-height: 1.5;
}

.policy-container p,
.terms-container p {

    color: var(--text-muted);

    line-height: 1.9;

    margin-bottom: 1rem;

    font-size: 1rem;
}

/* ================= CONTACT PAGE ================= */

form {

    width: 100%;

    max-width: 42rem;
}

input,
textarea {

    min-height: 3.4rem;
}

textarea {

    min-height: 9rem;

    resize: vertical;
}

/* ================= BUTTON FIX ================= */

button,
.btn {

    font-family: inherit;
}

/* ================= TABLET RESPONSIVE ================= */

@media screen and (max-width: 992px) {

    html {
        font-size: 95%;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .split-layout,
    .split-layout.reverse {

        flex-direction: column;
    }

    .split-image {

        display: flex;
        justify-content: center;
    }

}

/* ================= SMALL MOBILE ================= */

@media screen and (max-width: 480px) {

    html {
        font-size: 87%;
    }

    .hero {
        padding-top: 0 !important;
    }

    .hero-tagline {

        font-size: 0.62rem;

        line-height: 1.6;
    }

    .hero-buttons {

        width: 100%;
    }

    .btn {

        width: 100%;
    }

    .stat-box {

        padding: 1.3rem;
    }

    .stat-box h2 {

        font-size: 1.8rem;
    }

    .gallery-card {

        height: 18rem;
    }

    .overlay {

        padding: 1.4rem;
    }

    .overlay h3 {

        font-size: 1.2rem;
    }

    .overlay p {

        font-size: 0.9rem;
    }

    .whatsapp-float {

        width: 3.5rem;
        height: 3.5rem;

        font-size: 1.4rem;
    }

}

/* ================= EXTRA PROFESSIONAL SMOOTHNESS ================= */

.card,
.gallery-card,
.btn,
nav a,
.service-icon,
.stat-box,
input,
textarea,
button {

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

/* ================= NAV OVERLAY ================= */

header.nav-open::before {

    content: '';

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.55);

    backdrop-filter: blur(3px);

    z-index: 1000;
}

/* ================= MOBILE MENU ABOVE OVERLAY ================= */

header nav,
.nav-toggle {

    position: relative;

    z-index: 1200;
}

/* ================= PREVENT HORIZONTAL SCROLL ================= */

html,
body {

    overflow-x: hidden;
}

/* ================= SMOOTH SECTION SPACING ================= */

.inner-page-section {

    padding-bottom: 6rem;
}

/* ================= BETTER GRID ALIGNMENT ================= */

.cards,
.gallery-grid {

    align-items: stretch;
}

.card,
.gallery-card {

    height: 100%;
}

/* =========================================================
   PROFESSIONAL NAVBAR FIX
   REPLACE ONLY NAVBAR RELATED CSS
========================================================= */

header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 6.2rem;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 4vw;

    background: rgba(6, 43, 79, 0.96);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    z-index: 9999;
}

/* ================= LOGO ================= */

.logo {

    display: flex;
    align-items: center;
    gap: 1rem;

    z-index: 1200;
}

.logo img {

    width: 3.4rem;
    height: 3.4rem;

    object-fit: cover;

    border-radius: 0.7rem;
}

.logo span {

    font-size: 2rem;

    font-weight: 800;

    color: #fff;

    letter-spacing: 0.03em;
}

/* ================= CLEAN PROFESSIONAL NAV ================= */

nav {

    display: flex;
    align-items: center;
    gap: 1.2rem;

    padding: 0;

    background: transparent;

    border: none;

    border-radius: 0;

    backdrop-filter: none;

    box-shadow: none;
}

nav a {

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 0.35rem;

    min-width: 5rem;

    padding: 0.6rem 0.8rem;

    border-radius: 0.8rem;

    color: rgba(255, 255, 255, 0.78);

    font-size: 0.9rem;

    font-weight: 500;

    transition: all 0.35s ease;
}

nav a i {

    font-size: 1rem;
}

nav a:hover {

    color: #ffffff;

    background: rgba(255, 255, 255, 0.06);

    transform: translateY(-0.15rem);
}

/* ================= ACTIVE LINK ================= */

nav a.active {

    color: #ffffff;

    background: rgba(0, 194, 255, 0.14);
}

/* ================= TABLET ================= */

@media screen and (max-width: 992px) {

    nav {

        gap: 0.5rem;
    }

    nav a {

        min-width: 4.5rem;

        font-size: 0.8rem;
    }

}

/* ================= MOBILE NAVBAR ================= */

@media screen and (max-width: 768px) {

    header {

        height: 4.8rem;

        padding: 0 1rem;
    }

    .logo {

        gap: 0.5rem;
    }

    .logo img {

        width: 2.4rem;
        height: 2.4rem;
    }

    .logo span {

        font-size: 1rem;
    }

    nav {

        position: static;

        width: auto;
        height: auto;

        display: flex;
        flex-direction: row;

        align-items: center;

        gap: 0.15rem;

        padding: 0;

        background: transparent;

        border: none;

        box-shadow: none;
    }

    nav {

        width: 100%;

        justify-content: space-between;

        gap: 0.25rem;
    }

    nav a {

        flex: 1;

        min-width: 0;

        padding: 0.45rem 0.3rem;

        border-radius: 0.5rem;

        gap: 0.2rem;

        font-size: 0.62rem;

        text-align: center;
    }

    nav a i {

        font-size: 0.9rem;
    }


}

/* ================= EXTRA SMALL MOBILE ================= */

@media screen and (max-width: 480px) {

    .logo span {

        font-size: 0.95rem;
    }

    nav a {

        padding: 0.3rem;

        font-size: 0.38rem;
    }

    nav a i {

        font-size: 0.65rem;
    }

}


/* ================= EXTRA SMALL MOBILE ================= */

@media screen and (max-width: 480px) {

    body {

        padding-top: 4.8rem !important;
    }

    header {

        height: 4.8rem !important;
    }

    .hero {
        padding-top: 0 !important;
    }

}


/* ================= SMALL MOBILE ================= */

@media screen and (max-width: 480px) {

    header {

        height: 4.8rem !important;
    }

    body {

        padding-top: 4.8rem !important;
    }

    .logo img {

        width: 2.1rem;
        height: 2.1rem;
    }

    .logo span {

        font-size: 0.88rem;
    }
}

/* =========================================================
   FORCE SAME SIZE FOR ALL GALLERY CARDS
========================================================= */

.gallery-grid {

    display: grid !important;

    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)) !important;

    gap: 1.5rem !important;
}


/* ================= ALL CARDS SAME SIZE ================= */

.gallery-card {

    width: 100% !important;

    height: 18rem !important;

    min-height: 18rem !important;

    max-height: 18rem !important;

    overflow: hidden !important;

    border-radius: 1.4rem !important;

    position: relative !important;
}


/* ================= IMAGE SAME SIZE ================= */

.gallery-card img {

    width: 100% !important;

    height: 100% !important;

    min-height: 100% !important;

    max-height: 100% !important;

    object-fit: cover !important;

    display: block !important;
}


/* ================= OVERLAY FIX ================= */

.gallery-card::before,
.gallery-card::after {

    border-radius: 1.4rem !important;
}


/* ================= TABLET ================= */

@media screen and (max-width: 992px) {

    .gallery-card {

        height: 16rem !important;

        min-height: 16rem !important;

        max-height: 16rem !important;
    }

}


/* ================= MOBILE ================= */

@media screen and (max-width: 768px) {

    .gallery-grid {

        grid-template-columns: 1fr !important;
    }

    .gallery-card {

        width: 100% !important;

        max-width: 22rem !important;

        margin: auto !important;

        height: 14rem !important;

        min-height: 14rem !important;

        max-height: 14rem !important;
    }

}


/* ================= SMALL MOBILE ================= */

@media screen and (max-width: 480px) {

    .gallery-card {

        height: 13rem !important;

        min-height: 13rem !important;

        max-height: 13rem !important;
    }

}

/* =========================================================
   PREVENT CONTENT HIDING BEHIND FIXED NAVBAR
========================================================= */

/* ================= DESKTOP ================= */

.hero,
.inner-page-section,
.gallery-section,
.services-section,
.about-section,
.contact-section {

    padding-top: 6rem !important;
}

/* ================= SMALL MOBILE ================= */

@media screen and (max-width: 480px) {

    .hero,
    .inner-page-section,
    .gallery-section,
    .services-section,
    .about-section,
    .contact-section {

        padding-top: 5rem !important;
    }

}

/* =========================================================
   ABOUT PAGE STATS SECTION
========================================================= */

.stats-section {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 1.5rem;

    margin-top: 3rem;
}


/* ================= STAT BOX ================= */

.stat-box {

    position: relative;

    min-height: 16rem;

    padding: 2rem;

    border-radius: 1.5rem;

    background: rgba(255, 255, 255, 0.05);

    border: 0.08rem solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(0.8rem);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    transition: all 0.4s ease;

    overflow: hidden;
}


/* ================= ICON ================= */

.stat-box i {

    font-size: 2rem;

    color: #4da3ff;

    margin-bottom: 1rem;
}


/* ================= NUMBER ================= */

.stat-box h2 {

    font-size: 3rem;

    margin-bottom: 0.8rem;

    color: #4da3ff;
}


/* ================= TEXT ================= */

.stat-box p {

    font-size: 1rem;

    color: #ffffff;
}


/* ================= HOVER ================= */

.stat-box:hover {

    transform: translateY(-0.5rem);

    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
}


/* ================= TABLET ================= */

@media screen and (max-width: 992px) {

    .stats-section {

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

}


/* ================= MOBILE ================= */

@media screen and (max-width: 768px) {

    .stats-section {

        grid-template-columns: 1fr;

        gap: 1rem;
    }

    .stat-box {

        min-height: 12rem;
    }

}

/* =========================================================
   FOUNDATION TITLE
========================================================= */

.foundation-title {

    font-size: clamp(2rem, 4vw, 3.2rem);

    font-weight: 700;

    text-align: center;

    margin-bottom: 2.5rem;

    color: #ffffff;

    letter-spacing: 0.05rem;

    position: relative;

    line-height: 1.2;
}


/* ================= GRADIENT TEXT ================= */

.foundation-title span {

    background: linear-gradient(90deg, #4da3ff, #00d4ff);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
}


/* ================= UNDERLINE EFFECT ================= */

.foundation-title::after {

    content: "";

    width: 5rem;

    height: 0.22rem;

    background: linear-gradient(90deg, #4da3ff, #00d4ff);

    display: block;

    margin: 1rem auto 0;

    border-radius: 2rem;
}


/* ================= MOBILE ================= */

@media screen and (max-width: 768px) {

    .foundation-title {

        font-size: 2rem;

        margin-bottom: 2rem;
    }

}

/* =========================================================
   FORCE PERFECT SQUARE HERO STAT CARDS
========================================================= */

.hero-stats {

    display: flex !important;

    justify-content: center !important;

    align-items: center !important;

    gap: 1.5rem !important;

    flex-wrap: wrap !important;

    margin-top: 3rem !important;
}


/* ================= PERFECT SQUARE ================= */

.hero-stats .stat-box {

    width: 12rem !important;

    aspect-ratio: 1 / 1 !important;

    height: auto !important;

    min-height: unset !important;

    max-height: unset !important;

    padding: 1.5rem !important;

    border-radius: 1.5rem !important;

    display: flex !important;

    flex-direction: column !important;

    justify-content: center !important;

    align-items: center !important;

    text-align: center !important;
}


/* ================= MOBILE ================= */

@media screen and (max-width: 768px) {

    .hero-stats .stat-box {

        width: 8.5rem !important;

        aspect-ratio: 1 / 1 !important;
    }

}


/* ================= SMALL MOBILE ================= */

@media screen and (max-width: 480px) {

    .hero-stats .stat-box {

        width: 7.5rem !important;

        aspect-ratio: 1 / 1 !important;
    }

}

.stats-section .stat-box:hover {

    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
}

/* =========================================================
   FIX AOS + HOVER CONFLICT
========================================================= */

.stats-section .stat-box {

    will-change: transform;

    backface-visibility: hidden;
}


/* ================= SAFE HOVER ================= */

.stats-section .stat-box:hover {

    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);

    border-color: rgba(77, 163, 255, 0.35);
}


/* ================= AOS FIX ================= */

[data-aos="zoom-in"] {

    transform-origin: center !important;
}

/* =========================================
   FINAL MOBILE NAVBAR CONSISTENCY FIX
========================================= */

@media screen and (max-width:768px) {

    body {
        padding-top: 4.8rem !important;
    }

    .hero,
    .inner-page-section,
    .gallery-section,
    .services-section,
    .about-section,
    .contact-section {

        padding-top: 4.8rem !important;
    }

    header {
        height: 4.8rem !important;
    }

    nav {
        flex-wrap: nowrap !important;
    }

    nav a {
        white-space: nowrap !important;
    }
}
/* ================= SERVICE DETAILS ================= */
/* 
.service-details{
    margin-top:60px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:start;
}

.service-content{

    background:rgba(255,255,255,.05);

    padding:35px;

    border-radius:20px;

    border:1px solid rgba(255,255,255,.08);
}

.service-content h2{

    font-size:2rem;

    margin-bottom:20px;

    color:#4da3ff;
}

.service-content p{

    color:#d9d9d9;

    line-height:1.8;

    margin-bottom:20px;
}

.service-content ul{

    padding-left:20px;
}

.service-content li{

    margin-bottom:12px;

    color:white;
}

.service-gallery{

    display:flex;

    justify-content:center;
}

.service-gallery .gallery-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;
}

.service-gallery .gallery-card{

    height:220px;
}
@media(max-width:768px){

.service-details{

grid-template-columns:1fr;

}

.service-gallery .gallery-grid{

grid-template-columns:1fr;

}

} */
 /* ================= SERVICE DETAILS ================= */

/* ================= SERVICE DETAILS ================= */

.service-details{
    display:flex;
    align-items:flex-start;
    gap:40px;
    margin-top:4rem;
}

/* LEFT SIDE */

.service-content{
    width:35%;
    flex:none;
}

.service-content h2{
    margin-bottom:1rem;
}

.service-content p{
    margin-bottom:1.5rem;
    line-height:1.8;
}

.service-content ul{
    padding-left:1.2rem;
}

.service-content li{
    margin-bottom:12px;
}

/* RIGHT SIDE */

.service-gallery{
    width:65%;
    flex:none;
}

/* 3 COLUMN IMAGE GRID */

#service-gallery{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:18px;
    width:100%;
}

#service-gallery .gallery-card{
    width:100%;
    overflow:hidden;
    border-radius:12px;
}

#service-gallery img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
    border-radius:12px;
    transition:.4s;
}

#service-gallery img:hover{
    transform:scale(1.05);
}

/* ================= RESPONSIVE ================= */

@media (max-width:768px){

    .service-details{
        flex-direction:column;
    }

    .service-content,
    .service-gallery{
        width:100%;
    }

    #service-gallery{
        grid-template-columns:repeat(2,1fr);
    }

    #service-gallery img{
        height:180px;
    }

}

@media (max-width:480px){

    #service-gallery{
        grid-template-columns:1fr;
    }

}

@media (max-width:480px){

    #service-gallery{
        grid-template-columns:1fr;
    }

}
#service-description{
    white-space: pre-line;
}
/* ================= PROJECT DETAILS PAGE ================= */

.project-header{
    width:90%;
    margin:40px auto 20px;
}

.back-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:12px 22px;
    background:#0d6efd;
    color:#fff;
    text-decoration:none;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
}

.back-btn:hover{
    background:#084298;
}

.project-details-container{
    width:90%;
    margin:30px auto 60px;
    display:flex;
    gap:35px;
    align-items:flex-start;
}

.project-content-card,
.project-image-card{
    background:#fff;
    border-radius:18px;
    padding:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.project-content-card{
    width:45%;
}

.project-image-card{
    width:55%;
}

.project-image-card img{
    width:100%;
    border-radius:15px;
    display:block;
    object-fit:cover;
    transition:.4s;
}

.project-image-card img:hover{
    transform:scale(1.03);
}

@media(max-width:992px){

    .project-details-container{
        flex-direction:column;
    }

    .project-content-card,
    .project-image-card{
        width:100%;
    }

}
.project-details-container{
    width:90%;
    margin:30px auto 60px;
    display:flex;
    gap:35px;
    align-items:flex-start;
}

.project-header{
    width:90%;
    margin:0 auto 20px;
    padding-top:120px;
}
.project-category{
    display:inline-block;
    background:#0d6efd;
    color:#fff;
    padding:8px 16px;
    border-radius:30px;
    font-size:.9rem;
    margin-bottom:20px;
}

.project-content-card h1{
    font-size:2rem;
    margin-bottom:20px;
    color:#1f2937;
}

.project-content-card p{
    line-height:1.9;
    color:#555;
    margin-bottom:30px;
    white-space:pre-line;
}

.project-content-card h3{
    margin-bottom:15px;
    color:#0d6efd;
}

.project-content-card ul{
    padding-left:22px;
}

.project-content-card li{
    margin-bottom:12px;
    color:#444;
}
/* =====================================================
   OWNERS SECTION
===================================================== */

.owners-section{

    display:flex;

    justify-content:center;

    gap:2rem;

    margin:4rem auto 5rem;

    flex-wrap:wrap;
}

.owner-card{

    flex:1;

    max-width:32rem;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    border-radius:1.5rem;

    padding:2rem;

    display:flex;

    align-items:center;

    gap:1.5rem;

    backdrop-filter:blur(12px);

    transition:.35s ease;

    box-shadow:0 12px 30px rgba(0,0,0,.15);
}

.owner-card:hover{

    transform:translateY(-8px);

    border-color:rgba(77,163,255,.35);

    box-shadow:0 18px 40px rgba(0,0,0,.35);
}

.owner-image{

    width:9rem;

    height:9rem;

    flex-shrink:0;
}

.owner-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:50%;

    border:4px solid #4da3ff;

    transition:.4s ease;
}

.owner-card:hover .owner-image img{

    transform:scale(1.05);
}

.owner-info{

    flex:1;
}

.owner-info h3{

    color:#fff;

    font-size:1.5rem;

    margin-bottom:.4rem;
}

.owner-info span{

    display:inline-block;

    color:#4da3ff;

    font-weight:600;

    margin-bottom:1rem;
}

.owner-info p{

    color:var(--text-muted);

    line-height:1.8;
}

/* ================= TABLET ================= */

@media(max-width:992px){

    .owner-card{

        max-width:100%;
    }

}

/* ================= MOBILE ================= */

@media(max-width:768px){

    .owners-section{

        gap:1.5rem;
    }

    .owner-card{

        flex-direction:column;

        text-align:center;

        padding:2rem 1.5rem;
    }

    .owner-image{

        width:8rem;

        height:8rem;
    }

    .owner-info h3{

        font-size:1.3rem;
    }

}

/* ================= SMALL MOBILE ================= */

@media(max-width:480px){

    .owners-section{

        margin:3rem auto;
    }

    .owner-card{

        padding:1.5rem;
    }

    .owner-image{

        width:7rem;

        height:7rem;
    }

    .owner-info p{

        font-size:.95rem;
    }

}
.mechanical-subfilters{

display:none;

justify-content:center;

gap:15px;

margin-top:20px;

flex-wrap:wrap;

}

.sub-filter-btn{

padding:10px 22px;

border:none;

cursor:pointer;

background:rgba(255,255,255,.08);

color:white;

border-radius:40px;

transition:.3s;

}

.sub-filter-btn:hover,
.sub-filter-btn.active{

background:#0d6efd;

}
.gallery-grid{

    transition:opacity .3s ease;

}