

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



img {
    max-width: 100%;
}

/* ================= NAVBAR ================= */
/*.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 6px 0;
    transition: var(--transition);
    background: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.7);
}


.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}
*/

/* ================= MOBILE NAV ================= */
@media (max-width: 991px) {

    .navbar-collapse {
        position: fixed;
        left: -100%;
        top: 0;
        width: 260px;
        height: 100vh;
        background: var(--white);
        padding: 80px 20px;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }

    .navbar-collapse.show {
        left: 0;
    }

    .nav-link {
        display: block;
        padding: 12px;
        border-radius: 8px;
    }

    .nav-link:hover {
        background: var(--light);
    }

    .nav-overlay {
        position: fixed;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        top: 0;
        left: 0;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-overlay.show {
        opacity: 1;
        visibility: visible;
    }
}

/* ================= HERO ================= */


.hero-description {
    color: var(--text-light);
    
}
.use-case-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

/* KEEP TEXT VISIBLE */
.use-case-card h5,
.use-case-card p {
    opacity: 1 !important;
}

/* ICON */
.use-case-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.1);
}

/* ================= CONTACT ================= */
.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.form-control {
    border-radius: 8px;
    padding: 12px;
}

/* ================= FOOTER ================= */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 50px 0;
}

.footer h5 {
    color: var(--white);
}

.footer a {
    color: rgba(255,255,255,0.6);
}

.footer a:hover {
    color: var(--primary);
}

/* ================= FLOAT BUTTON ================= */
.floating-contact {
    position: fixed;
    bottom: 25px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.whatsapp {
    background: #25D366;
}

.call {
    background: var(--primary);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {


    .hero {
    background: rgba(255, 255, 255, 0.8);
    /*linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 50%, #CCFBF1 100%);*/
}

    .hero-shape-1 {
        background: linear-gradient(135deg, var(--light), var(--a);
        animation: float 9s ease-in-out infinite;
    }



    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
        font-weight: 700;
        padding-top: -30px;

    }


    .hero-buttons {
        flex-direction: row;
    }

    .navbar-brand img {
        width: 110px;
    }

    .feature-card,
    .use-case-card {
        padding: 1.5rem;
    }

    .footer {
        text-align: center;
    }
}


/* ========== GLOBAL RESPONSIVE SYSTEM ========== */

/* container padding fix */
@media (max-width: 576px) {
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* section spacing */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* headings scaling */
h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }


/* ========== NAVBAR MOBILE IMPROVED ========== */
@media (max-width: 991px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

    .navbar-collapse {
        width: 260px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 0.95rem;
    }
}

/* ========== ABOUT MOBILE ========== */
@media (max-width: 991px) {
    .about-content {
        gap: 30px;
        text-align: center;
    }

    .about-card {
        padding: 25px;
    }
}


/* ========== FEATURES MOBILE ========== */
@media (max-width: 576px) {
    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto 1rem;
    }
}


/* ========== USE CASE MOBILE FIX ========== */
@media (max-width: 768px) {

    .use-case-card:hover h5,
    .use-case-card:hover p {
        opacity: 1 !important;
        transform: none !important;
    }

    .use-case-card {
        padding: 2rem 1.5rem;
    }
}

/* ========== API MOBILE ========== */
@media (max-width: 991px) {
    .api-section {
        text-align: center;
    }

    .api-card {
        text-align: left;
    }

    .api-image {
        max-width: 80%;
        margin: auto;
    }
}

/* ========== TESTIMONIALS MOBILE ========== */
@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100% !important;
    }
}

/* ========== CONTACT MOBILE ========== */
@media (max-width: 768px) {

    .contact-wrapper {
        gap: 30px;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========== BUTTON MOBILE FIX ========== */
@media (max-width: 576px) {

    .btn-primary-custom,
    .btn-secondary-custom,
    .btn-accent {
        width: 100%;
        justify-content: center;
    }
}

/* ========== MEDIA SAFETY ========== */
img, svg {
    max-width: 100%;
    height: auto;
}