html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
* {
    margin: 0;
    padding: 0;
    font-family: Poppins, sans-serif;
    box-sizing: border-box;
}

/* -------------------------------- HERO SECTION -------------------------------- */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.black {
    height: 100vh;
    width: 100%;
    z-index: 2;
    top: 0;
    position: absolute;
    background-color: black;
    opacity: 0.5;
}

.slides {
    position: relative;
    width: 100%;
    height: 100vh;
}

.slide {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Slide images */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tagline styling */
.slide h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: white;
    font-size: 40px;
    width: 80%;
    text-align: center;
    line-height: 2;

    z-index: 5;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active h1 {
    opacity: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .slide h1 {
        font-size: 22px;
        width: 90%;
    }
}

/* -------------------------------- NAVBAR -------------------------------- */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 40px;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(5px);
}

.navlogo img {
    height: 70px;
    width: auto;
}

/* Desktop menu */
.navlinks ul {
    list-style: none;
    display: flex;
    gap: 28px;
}

.navlinks ul li a {
    text-decoration: none;
    color: black;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
    transition: 0.3s ease;
}

.navlinks ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.navlinks ul li a:hover::after {
    width: 100%;
}

.navlinks ul li a:hover {
    color: #007bff;
}

.navbar i{
    display: none;
}

.navbar .fa-bars,.fa-xmark{
    color: black;
    font-size: 24px;
}

/* Dropdown Container */
.dropdown {
    position: fixed;
    top: 93px; /* below navbar */
    right: 0px;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 15px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 998;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;

    transition: 
        opacity 0.4s ease,
        transform 0.4s ease,
        pointer-events 0s linear 0.4s;
}

/* Active dropdown (when menu icon clicked) */
.dropdown.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: 
        opacity 0.4s ease,
        transform 0.4s ease;
}

.dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.dropdown ul li {
    padding: 12px 20px;
}

.dropdown ul li a {
    text-decoration: none;
    color: black;
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
    transition: 0.3s ease;
}

.dropdown ul li a:hover {
    color: #007bff;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .navbar .fa-bars{
        display: block;
    }
    .navlinks{
        display: none;
    }
}


/* When navbar is hidden */
.navbar.hidden {
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

/* When navbar is visible */
.navbar.visible {
    transform: translateY(0);
    transition: transform 0.4s ease;
}


.about-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: #f4f6ff;
    backdrop-filter: blur(5px);
}

.about-section .circle-about1,
.about-section .circle-about2 {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.45;
    z-index: 1;
}

.circle-about1 {
    background: radial-gradient(circle, #00eaff, #0084ff);
    top: -50px; left: -80px;
}

.circle-about2 {
    background: radial-gradient(circle, #3bc4ff, #0077ff);
    bottom: -60px; right: -60px;
}

.about-container {
    width: 85%;
    max-width: 1300px;
    margin: auto;
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
}

.about-header p {
    font-size: 18px;
    color: #555;
    margin-top: 10px;
}

/* Two Columns */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #222;
}

.about-text p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #007bff, #005fcc);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.about-btn:hover {
    background: #0077ff;
}

/* Features */
.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 32px;
    color: #0077ff;
    margin-bottom: 15px;
}

.feature-box h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.feature-box p {
    color: #555;
}

/* Responsive */
@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    .about-features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

.stats-section {
    position: relative;
    overflow: hidden;
    background: #f4f6ff;
    text-align: center;
    backdrop-filter: blur(5px);
}

.stats-section .circle-stat1,
.stats-section .circle-stat2 {
    position: absolute;
    width: 300px;
    height: 300px;
    filter: blur(140px);
    opacity: 0.43;
    border-radius: 50%;
}

.circle-stat1 {
    background: radial-gradient(circle, #d400ff, #8b00ff);
    top: -60px; right: -50px;
}

.circle-stat2 {
    background: radial-gradient(circle, #ff4fd8, #ff00b7);
    bottom: -80px; left: -50px;
}

.stats-top h2 {
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 10px;
}

.stats-top p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.7;
    margin: 0px 20px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    margin-top: 40px;
}

.stat-card {
    background: #fff;
    width: 200px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 5px;
}

.certificates {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cert-card img {
    width: 100px;
    height: 100px;
}

.cert-card span {
    display: block;
    margin-top: 8px;
    font-weight: 500;
}

.stats-bottom {
    margin-top: 50px;
}

.stats-bottom img {
    width: 100%;
    max-width: 900px;
    display: block;
    margin: auto;
    border-radius: 20px;
    box-shadow: 0 7px 25px rgba(0,0,0,0.12);
}

/* Responsive */
@media(max-width: 600px){
    .stat-card {
        display: grid;
        margin: 0px 20px;
        grid-template-columns: 1ft;
        width: 100%;
        padding-bottom: 40px ;
    }
    .stats-bottom{
        margin: 0px 20px;
    }
    .stats-top{
        padding-bottom: 40px;
    }

    .certificates{
        display: flex;
        flex-direction: column;
    }
}

/* Tools Section */
.tools-section {
    width: 100%;
    padding: 80px 40px;
    background: linear-gradient(135deg, #f4f6ff, #aab4e2, #f4f6ff);
    background-size: cover;
}

/* Grid Layout */
.tools-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* Individual Tool Card */
.tool-card {
    background: #f4f6ff;
    padding: 25px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: transform .4s ease, box-shadow .4s ease;
    opacity: 0;
    transform: translateY(40px);
}

/* Hover Effect */
.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Tool Images */
.tool-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 20px;
}

/* Headings */
.tool-card h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 14px;
}

/* Text */
.tool-card p {
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* CTA Button */
.cta-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #007bff;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background .3s ease, transform .3s ease;
}

.cta-btn:hover {
    background: #005fcc;
    transform: scale(1.05);
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

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


/* ------------------ PRODUCT SECTION ------------------ */

.products-section {
    position: relative;
    overflow: hidden;
    background: #f4f6ff;
    padding: 40px;
}

.products-section .circle-prod1,
.products-section .circle-prod2 {
    position: absolute;
    width: 320px;
    height: 320px;
    filter: blur(140px);
    opacity: 0.42;
    border-radius: 50%;
}

.circle-prod1 {
    background: radial-gradient(circle, #ffb800, #ff8c00);
    top: -70px; left: -70px;
}

.circle-prod2 {
    background: radial-gradient(circle, #ffd56a, #ffb700);
    bottom: -90px; right: -70px;
}


.products-header {
    text-align: center;
    margin-bottom: 50px;
}

.products-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
}

.products-header p {
    font-size: 18px;
    margin-top: 8px;
    color: #555;
}

/* Grid Layout */
.products-grid {
    width: 85%;
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* Product Card */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    padding-bottom: 25px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card img {
    width: 100%;
    height: 260px;
    object-fit:contain;
}

/* Title */
.product-card h3 {
    font-size: 20px;
    color: #333;
    padding: 15px;
    font-weight: 600;
}

/* View Report Button */
.view-report {
    display: inline-block;
    padding: 10px 22px;
    background: linear-gradient(135deg, #007bff, #005fcc);
    color: white;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 5px;
    transition: 0.3s ease;
}

.view-report:hover {
    background: #0077ff;
}

/* Responsive */
@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------- PROJECTS SECTION ---------------- */

.projects-section {
    position: relative;
    overflow: hidden;
    background: #f4f6ff;
    /* margin-top: 40px; */
}

.projects-section .circle-proj1,
.projects-section .circle-proj2 {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.42;
}

.circle-proj1 {
    background: radial-gradient(circle, #00ff95, #00c46b);
    top: -80px; right: -80px;
}

.circle-proj2 {
    background: radial-gradient(circle, #00ffa7, #00c17a);
    bottom: -100px; left: -80px;
}


.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 0px 20px;
}

/* Row Layout */
.project-row {
    width: 85%;
    max-width: 1300px;
    margin: 50px auto;
    display: flex;
    align-items: center;
    gap: 50px;

    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.project-row.show {
    opacity: 1;
    transform: translateY(0);
}

/* Reverse Layout */
.project-row.reverse {
    flex-direction: row-reverse;
}

/* Image */
.project-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
    max-height: 1500px;
}

/* Content */
.project-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.project-content p {
    font-size: 17px;
    color: #555;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .project-row, 
    .project-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .project-content {
        padding: 0 10px;
    }
}

.dealer-section {
    width: 100%;
    max-width: 900px;
    margin: 80px auto;
    padding: 40px;
    background: #f4f6ff;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.07);
}

.dealer-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #222;
}

.dealer-subtitle {
    text-align: center;
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 35px;
    color: #666;
}

.dealer-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: flex;
    gap: 30px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

input, select, textarea {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
    border: 1.6px solid #ddd;
    background: #fafafa;
    transition: 0.3s ease;
}

textarea {
    height: 120px;
}

input:focus, select:focus, textarea:focus {
    border-color: #0077ff;
    background: #fff;
    box-shadow: 0 0 8px rgba(255,140,0,0.2);
}

.submit-btn {
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #007bff, #005fcc);
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(90deg, #007bff, #005fcc);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}

/* ULTRA PREMIUM CONTACT SECTION */
.contact-ultra {
    width: 100%;
    padding: 120px 10%;
    position: relative;
    background: #f4f6ff;
    overflow: hidden;
}

/* Floating Gradient Circles */
.circle {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #ff7b00, #ff3c00);
    filter: blur(120px);
    opacity: 0.4;
    border-radius: 50%;
    z-index: 1;
}

.circle1 { top: -50px; right: -80px; }
.circle2 { bottom: -40px; left: -80px; }

.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    z-index: 5;
    flex-wrap: wrap;
}

/* TEXT AREA (LEFT SIDE) */
.contact-left {
    flex: 1;
    min-width: 320px;
}

.contact-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #121212;
}

.contact-subtitle {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 28px;
}

.contact-detail {
    display: flex;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 18px;
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.09);
    margin-bottom: 18px;
    transition: 0.3s ease;
}

.contact-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.contact-detail i {
    font-size: 28px;
    color: #0077ff;
    margin-top: 3px;
}

.contact-detail h4 {
    font-size: 17px;
    font-weight: 600;
}

.contact-detail p {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 3px;
}

/* ULTRA PREMIUM RIGHT FORM */
.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    flex: 1;
    min-width: 320px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-right h3 {
    font-size: 26px;
    margin-bottom: 25px;
}

.input-field {
    margin-bottom: 18px;
}

.input-field input,
.input-field textarea {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: #f8faff;
    font-size: 15px;
    transition: 0.3s ease;
}

.input-field textarea {
    height: 130px;
    resize: none;
}

.input-field input:focus,
.input-field textarea:focus {
    border-color: #0077ff;
    background: white;
    box-shadow: 0 0 8px rgba(255,123,0,0.3);
}

.btn-ultra {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #007bff, #005fcc);
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 5px 20px rgba(255,123,0,0.4);
}

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

/* SCROLL ANIMATION */
[data-anim] {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s ease, opacity 1s ease;
}

[data-anim].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-anim="fade-right"] {
    transform: translateX(-40px);
}

[data-anim="fade-left"] {
    transform: translateX(40px);
}

[data-anim="fade-right"].visible,
[data-anim="fade-left"].visible {
    transform: translateX(0);
}

/* MOBILE FIX */
@media(max-width: 768px) {
    .contact-title {
        font-size: 32px;
    }
}

/* ---------- FOOTER ---------- */
/* ---- ULTRA PREMIUM FOOTER ---- */
.footer {
    padding: 80px 6% 20px;
    backdrop-filter: blur(18px);
    background: transparent !important;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 50px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 15px;
    animation: fadeInUp 1s;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #007bff, #005fcc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section ul li{
    list-style: none;
}

.footer-section ul li a{
    text-decoration: none;
}

.footer-section ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #0077ff;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: #0077ff;
}

.footer-section p,
.footer-section ul li a {
    color: black;
}

.social-icons a {
    font-size: 20px;
    margin-right: 12px;
    color: black;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #0077ff;
    transform: translateY(-4px) scale(1.1);
}

/* Newsletter */
.newsletter {
    margin-top: 18px;
    display: flex;
}

.newsletter input {
    width: 70%;
    padding: 10px;
    border: 1p solid black;
    border-radius: 8px 0 0 8px;
    outline: none;
}

.newsletter input:focus{
    border: 1px solid black;
    border-color: #0077ff;
    background: white;
    box-shadow: 0 0 8px rgba(255,123,0,0.3);
    transition: all ease-in-out 1s;
}

.newsletter button {
    width: 30%;
    background: linear-gradient(135deg, #007bff, #005fcc);
    border: none;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: #ccc;
}

/* ---- Scroll Reveal Animation ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

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

/* ---- Keyframes ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Sticky Mini Footer (Mobile Only) ---- */
.mini-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    padding: 10px 0;
    display: none;
    z-index: 1000;
    justify-content: space-around;
    border-top: 2px solid #0077ff;
}

.mini-footer a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
}

.mini-footer i {
    font-size: 18px;
    display: block;
    margin-bottom: 3px;
}

@media (max-width: 768px) {
    .mini-footer { display: flex; }
}
