/* ========================= */
/* GLOBAL STYLES */
/* ========================= */
html, body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8f9fb;
    position: relative;
    
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================= */
/* NAVBAR */
/* ========================= */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 35px;
    background:  #f5f7fa;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    color: #000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* LOGO */
.logo img {
    height: 55px;
    width: auto;
    display: block;
    transition: 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar a {
    color: #000;
    text-decoration: none;
    position: relative;
}

.navbar a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #007bff;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.navbar a:hover::after {
    width: 100%;
}


/* ========================= */
/* HERO */
/* ========================= */
.hero {
    height: 100vh;
    background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero h1 {
    font-size: 50px;
}

.hero p {
    font-size: 20px;
}

/* HERO VIDEO BACKGROUND */

/* VIDEO */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transform: none;        /* IMPORTANT */
    pointer-events: none;   /* IMPORTANT */
}

/* OVERLAY */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6); /* DARKER */
    z-index: 2; /* ABOVE VIDEO */
}

/* CONTENT */
.hero-content {
    position: relative;
    z-index: 3; /* ABOVE OVERLAY */
    color: white;
}

/* TEXT ANIMATION */
.hero-content h1 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.hero-content p {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-content .btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.6s;
}

/* KEYFRAMES */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .btn {
    transition: 0.3s;
}

.hero .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
}

.scroll-down::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: white;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollMove 1.5s infinite;
}

@keyframes scrollMove {
    0% { opacity: 0; transform: translate(-50%, 0); }
    50% { opacity: 1; transform: translate(-50%, 10px); }
    100% { opacity: 0; transform: translate(-50%, 20px); }
}

/* ========================= */
/* SECTION */
/* ========================= */
.section {
    padding: 80px 20px;
    text-align: center;
    max-width: 1100px;
    margin: auto;
}

.section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section p {
    color: #666;
    max-width: 600px;
    margin: auto;
}

/* ========================= */
/* PREMIUM SECTION HEADING */
/* ========================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0f2027;
    position: relative;
    display: inline-block;
}

/* UNDERLINE EFFECT */
.section-header h2::after {
    content: "";
    width: 0; /* start from 0 */
    height: 5px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    border-radius: 3px;
    animation: lineGrow 1s ease forwards;
}

.section-header.active h2::after {
    animation: lineGrow 1s ease forwards;
}

@keyframes lineGrow {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

/* SUBTEXT */
.section-header p {
    margin-top: 20px;
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================= */
/* ABOUT */
/* ========================= */
.about-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.about-box div {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* ========================= */
/* MISSION & VISION */
/* ========================= */
.mission-vision {
    background: linear-gradient(120deg, #f8f9fb, #eef3f7);
    padding: 80px 20px;
}
.about-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    background: white;
    background: white;
    padding: 30px;
    border-radius: 15px;
}

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
}

.about-content {
    flex: 1;
    text-align: left;
}

.about-content h2 {
    margin-bottom: 15px;
}

.about-content p {
    color: #555;
}

.about-row {
    transition: 0.3s;
}

.about-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.mission-vision h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.mission-vision p {
    color: #666;
    margin-bottom: 40px;
}

/* ========================= */
/* SERVICES */
/* ========================= */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service {
    background: white;
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ========================= */
/* INDUSTRIES */
/* ========================= */
.industries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.industry {
    background: white;
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
    text-align: center;
}

.industry:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ========================= */
/* PRODUCTS */
/* ========================= */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.4s;
    position: relative;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product:hover img {
    transform: scale(1.08);
}

.product::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0);
    transition: 0.4s;
}

.product:hover::after {
    background: rgba(0,0,0,0.2);
}

.product-content {
    padding: 20px;
    text-align: left;
}

.product-content h3 {
    margin-bottom: 10px;
}

.product-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

/* ========================= */
/* FEATURES (WHY CHOOSE US) */
/* ========================= */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ========================= */
/* BUTTONS */
/* ========================= */
.btn {
    padding: 12px 25px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background: #0056b3;
}

.small-btn {
    padding: 8px 18px;
    font-size: 14px;
}

/* ========================= */
/* CONTACT FORM */
/* ========================= */
.contact-form {
    max-width: 500px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* ========================= */
/* WHATSAPP BUTTON */
/* ========================= */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;   /* ✅ FIXED */
    left: auto;    /* ✅ IMPORTANT */

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: white;
    border-radius: 50%;

    font-size: 24px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    z-index: 999999;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
}

.whatsapp-btn {
    right: 20px !important;
    left: auto !important;
}

/* ========================= */
/* SCROLL ANIMATION */
/* ========================= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================= */
/* MOBILE RESPONSIVE */
/* ========================= */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        padding: 15px;
    }

    .navbar ul {
        position: static;
        transform: none;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 50px 15px;
    }

    .products {
        grid-template-columns: 1fr;
    }
    
    .about-row {
    flex-direction: column;
    text-align: center;
}

.about-row.reverse {
    flex-direction: column;
}

}

/* ========================= */
/* PREMIUM FOOTER */
/* ========================= */
.footer {
    background: linear-gradient(120deg, #020617, #0b1f2a); color: #ccc;
    color: #ccc;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    
}

/* subtle lines effect */
.footer::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top left, rgba(0,198,255,0.1), transparent 40%);
    top: -50%;
    left: -50%;
    pointer-events: none;
}

/* layout */
.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;   /* 🔥 ADD THIS */

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* headings */
.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
}

/* underline effect */
.footer-col h4::after,
.footer-col h3::after {
    content: "";
    width: 40px;
    height: 3px;
    background: #00c6ff;
    position: absolute;
    left: 0;
    bottom: -8px;
}

/* text */
.footer-col p {
    font-size: 14px;
    line-height: 1.7;
}

/* links */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #00c6ff;
    transform: translateX(5px);
}

/* social icons */
.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid #555;
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #00c6ff;
    border-color: #00c6ff;
}

/* bottom */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 14px;
    color: #aaa;
}