*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial;
    background:#f5f7fb;
    overflow-x:hidden;
}

/* NAVBAR */

.navbar{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 5%;
    background:#ffffff;
    box-shadow:0 3px 15px rgba(0,0,0,0.08);
    position:sticky;
    top:0;
    z-index:9999;
}

/* BRAND */

.brand{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo{
    width:45px;
    height:45px;
    border-radius:50%;
}

.brand h2{
    color:#1e293b;
    font-size:28px;
}

/* MENU */

.nav-links{
    display:flex;
    align-items:center;
    gap:25px;
    list-style:none;
}

.nav-links li{
    position:relative;
}

.nav-links a{
    text-decoration:none;
    color:#334155;
    font-weight:600;
    transition:0.3s;
}

.nav-links a:hover{
    color:#7c3aed;
}

/* DROPDOWN */

.dropdown{
    position:relative;
    padding-bottom:15px;
}

/* MAIN LINK */

.dropdown-link{
    display:flex;
    align-items:center;
    gap:6px;
}

/* MENU */

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:230px;
    background:white;
    border-radius:15px;
    padding:10px 0;
    list-style:none;

    opacity:0;
    visibility:hidden;
    transform:translateY(10px);

    transition:0.3s ease;

    box-shadow:0 10px 30px rgba(0,0,0,0.1);

    z-index:9999;
}

/* SHOW MENU */

.dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

/* LINKS */

.dropdown-menu li{
    width:100%;
}

.dropdown-menu li a{
    display:block;
    padding:14px 20px;
    color:#334155;
    text-decoration:none;
    transition:0.3s;
}

/* HOVER EFFECT */

.dropdown-menu li a:hover{
    background:#f3f4f6;
    color:#7c3aed;
}
/* SOCIAL */

.social-icons{
    display:flex;
    align-items:center;
    gap:15px;
}
.social-icon{
    display:none;
    align-items:center;
    gap:15px;
}

.social-icons a{
    color:#475569;
    font-size:18px;
    transition:0.3s;
}

.social-icons a:hover{
    color:#7c3aed;
}

/* HAMBURGER */

.menu-toggle{
    display:none;
    font-size:28px;
    cursor:pointer;
    color:#1e293b;
}

/* CLOSE BUTTON */

.close-menu{
    display:none;
}

/* MOBILE */

@media(max-width:950px){

    /* HAMBURGER */

    .menu-toggle{
        display:block;
        font-size:30px;
        cursor:pointer;
        color:#111827;
    }

    /* MOBILE MENU */

    .nav-links{
        position:fixed;
        top:0;
        right:-100%;
        width:300px;
        height:100vh;

        background:white;

        flex-direction:column;
        align-items:flex-start;

        padding:80px 25px;

        transition:0.4s ease;

        z-index:999999;

        overflow-y:auto;
    }

    /* SHOW MENU */

    .nav-links.active{
        right:0;
    }

    /* MOBILE SCROLLBAR */

    .nav-links::-webkit-scrollbar{
        width:5px;
    }

    .nav-links::-webkit-scrollbar-thumb{
        background:#cbd5e1;
        border-radius:20px;
    }

    /* CLOSE BUTTON */

    .close-menu{
        display:block;
        position:absolute;
        top:20px;
        right:20px;
        font-size:30px;
        cursor:pointer;
        color:#111827;
    }

    /* MENU ITEMS */

    .nav-links li{
        width:100%;
        list-style:none;
    }

    .nav-links a{
        display:flex;
        justify-content:space-between;
        align-items:center;

        width:100%;

        padding:15px 0;

        color:#334155;
        font-size:17px;
    }

    /* DROPDOWN */

    .dropdown{
        width:100%;
    }

    .dropdown-menu{
        position:relative;

        top:0;
        left:0;

        width:100%;

        opacity:1;
        visibility:visible;

        transform:none;

        display:none;

        background:#4f95dc;

        box-shadow:none;

        border-radius:12px;

        padding:10px;

        margin-top:10px;
    }

    /* SHOW DROPDOWN */

    .dropdown.active .dropdown-menu{
        display:block;
    }

    /* DROPDOWN LINKS */

    .dropdown-menu a{
        padding:14px 15px;
        font-size:15px;
    }
/* MOBILE DROPDOWN ANIMATION */

.dropdown-menu{
    max-height:0;
    overflow:hidden;
    transition:max-height 0.4s ease;
}

/* ACTIVE */

.dropdown.active .dropdown-menu{
    max-height:500px;
}

/* ICON ROTATION */

.dropdown-icon{
    transition:0.3s;
}

.dropdown.active .dropdown-icon{
    transform:rotate(180deg);
}
    /* SOCIAL */

    .social-icons{
        display:none;
    }

    .social-icon{
       display:flex;
       align-items:center;
       gap:15px;
}

.social-icon a{
    color:#475569;
    font-size:18px;
    transition:0.3s;
}

.social-icon a:hover{
    color:#7c3aed;
}

    /* HERO */

    .hero-content h1{
        font-size:40px;
    }

    .hero-content p{
        font-size:18px;
    }

}
/* HERO */

.hero{
    width:100%;
    height:90vh;
    position:relative;
    overflow:hidden;
}

/* SLIDER */

.hero-slider{
    width:100%;
    height:100%;
    position:relative;
}

.slide{
    width:100%;
    height:100%;
    position:absolute;
    opacity:0;
    transition:1s ease;
}

.slide.active{
    opacity:1;
    z-index:1;
}

/* IMAGE */

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* VIDEO */

.slide video{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* OVERLAY */

.slide-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:linear-gradient(
        rgba(15,23,42,0.7),
        rgba(15,23,42,0.7)
    );

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

/* CONTENT */

.hero-content{
    width:80%;
    color:white;
}

.hero-content h1{
    font-size:65px;
    margin-bottom:20px;
    line-height:1.2;
}

.hero-content p{
    font-size:22px;
    margin-bottom:30px;
    color:#e2e8f0;
}

/* BUTTON */

.hero-btn{
    display:inline-block;
    padding:15px 35px;
    border-radius:12px;
    background:linear-gradient(
        45deg,
        #7c3aed,
        #9333ea
    );

    color:white;
    text-decoration:none;
    font-size:18px;
    transition:0.3s;
}

.hero-btn:hover{
    transform:translateY(-5px);
}

/* SLIDER BUTTONS */

.slide-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,0.2);
    backdrop-filter:blur(10px);
    color:white;
    font-size:25px;
    cursor:pointer;
    z-index:10;
}

.prev{
    left:20px;
}

.next{
    right:20px;
}

/* MOBILE */

@media(max-width:900px){

    .hero{
        height:70vh;
    }

    .hero-content h1{
        font-size:38px;
    }

    .hero-content p{
        font-size:18px;
    }

    .slide-btn{
        width:45px;
        height:45px;
        font-size:20px;
    }

}
/* SECTION */

.section{
    padding:60px 5%;
}

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.section-header h2{
    color:#1e293b;
    font-size:35px;
}

.section-header button{
    background:#7c3aed;
    color:white;
    border:none;
    padding:12px 22px;
    border-radius:10px;
    cursor:pointer;
}

/* PRODUCTS */

.products-row{
    display:flex;
    gap:25px;
    overflow:hidden;
    scroll-behavior:smooth;
}

.card{
    min-width:280px;
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-10px);
}

.card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.card h3{
    padding:18px 18px 10px;
    color:#1e293b;
}

.card p{
    padding:0 18px;
    color:#64748b;
}

.card h4{
    padding:15px 18px;
    color:#7c3aed;
}

.btn{
    display:block;
    margin:18px;
    text-align:center;
    background:linear-gradient(
        45deg,
        #7c3aed,
        #9333ea
    );
    color:white;
    padding:13px;
    border-radius:12px;
    text-decoration:none;
}

/* INFO SECTION */

.info-section{
    padding:80px 5%;
    background:#ffffff;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.info-box{
    background:#f8fafc;
    padding:35px;
    border-radius:20px;
    text-align:center;
    transition:0.3s;
}

.info-box:hover{
    transform:translateY(-8px);
}

.info-box i{
    font-size:45px;
    color:#7c3aed;
    margin-bottom:20px;
}

.info-box h3{
    margin-bottom:15px;
    color:#1e293b;
}

.info-box p{
    margin-bottom:20px;
    color:#64748b;
}

.info-box a{
    color:#7c3aed;
    text-decoration:none;
    font-weight:bold;
}

/* FOOTER */

.footer{
    background:#0f172a;
    color:white;
    padding-top:60px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:35px;
    padding:0 5%;
}

.footer-grid a{
    display:block;
    color:#cbd5e1;
    text-decoration:none;
    margin-top:12px;
}

.footer-bottom{
    text-align:center;
    padding:25px;
    margin-top:40px;
    border-top:1px solid rgba(255,255,255,0.1);
}

/* WHATSAPP */

.whatsapp{
    position:fixed;
    right:20px;
    bottom:20px;
    width:65px;
    height:65px;
    background:#25d366;
    color:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
    text-decoration:none;
    z-index:99999;
}

/* MOBILE MENU */

.menu-toggle{
    display:none;
    font-size:28px;
    cursor:pointer;
    color:#1e293b;
}

.close-menu{
    display:none;
}

/* MOBILE */

@media(max-width:950px){

    .menu-toggle{
        display:block;
    }

    .nav-links{
        position:fixed;
        top:0;
        right:-100%;
        width:300px;
        height:100vh;
        background:white;
        flex-direction:column;
        align-items:flex-start;
        padding:80px 30px;
        transition:0.4s;
        z-index:999999;
    }

    .nav-links.active{
        right:0;
    }

    .close-menu{
        display:block;
        position:absolute;
        top:25px;
        right:25px;
        font-size:28px;
        cursor:pointer;
        color:#111;
    }

    .dropdown-menu{
        position:relative;
        top:10px;
        display:block;
        box-shadow:none;
        background:#f8fafc;
        margin-top:10px;
    }

    .social-icons{
        display:none;
    }

    .hero-content h1{
        font-size:42px;
    }

    .hero-content p{
        font-size:18px;
    }

}
/* PAGE BANNER */

.page-banner{
    height:45vh;
    background:url('../images/banner.png') center/cover;
    position:relative;
}

.banner-overlay{
    width:100%;
    height:100%;
    background:rgba(15,23,42,0.75);

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;
    color:white;
}

.banner-overlay h1{
    font-size:55px;
    margin-bottom:15px;
}

.banner-overlay p{
    font-size:20px;
}

/* PAGE CONTENT */

.page-content,
.contact-section,
.tutorials,
.research-section{
    padding:70px 5%;
}

/* ABOUT */

.bg-light{
    background:#f8fafc;
}

.about-grid{
    max-width:1200px;
    margin:auto;
    padding:80px 20px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.about-grid.reverse{
    direction:rtl;
}

.about-grid.reverse .about-text{
    direction:ltr;
}

.about-image img{
    width:100%;
    border-radius:20px;
}

.about-text h2{
    font-size:36px;
    margin-bottom:20px;
}

.about-text p{
    line-height:1.9;
    margin-bottom:15px;
    color:#555;
}

.mission-vision{
    padding:80px 20px;
    background:#fff;
}

.mv-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.mv-card{
    background:#f8fafc;
    padding:40px;
    border-radius:20px;
    text-align:center;
}

.mv-card i{
    font-size:50px;
    color:#2563eb;
    margin-bottom:20px;
}

.mv-card h2{
    margin-bottom:15px;
}

.mv-card p{
    line-height:1.8;
}

.company-stats{
    padding:80px 20px;
    text-align:center;
}

.company-stats h2{
    margin-bottom:40px;
    font-size:36px;
}

.about-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    max-width:1000px;
    margin:auto;
}

.stat-box{
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.stat-box h3{
    font-size:32px;
    color:#2563eb;
    margin-bottom:10px;
}

@media(max-width:768px){

    .about-grid{
        grid-template-columns:1fr;
    }

    .mv-container{
        grid-template-columns:1fr;
    }

    .about-stats{
        grid-template-columns:repeat(2,1fr);
    }

}
/* CONTACT */

.contact-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:40px;
}

.contact-info h2{
    font-size:40px;
    margin-bottom:20px;
}

.contact-box{
    display:flex;
    align-items:center;
    gap:15px;

    margin-top:25px;

    background:#f8fafc;
    padding:20px;
    border-radius:15px;
}

.contact-box i{
    color:#7c3aed;
    font-size:22px;
}

/* FORM */

.contact-form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:18px;
    border:none;
    background:#f8fafc;
    border-radius:15px;
    outline:none;
}

.contact-form textarea{
    height:160px;
    resize:none;
}

.contact-form button{
    padding:16px;
    border:none;
    background:linear-gradient(
        45deg,
        #7c3aed,
        #9333ea
    );

    color:white;
    border-radius:15px;
    cursor:pointer;
}

/* TUTORIALS */

.tutorial-grid,
.research-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.tutorial-card,
.research-card{
    background:white;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.tutorial-card img,
.research-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.tutorial-card h3,
.research-card h3{
    padding:20px;
    color:#1e293b;
}

.tutorial-card p,
.research-card p{
    padding:0 20px 20px;
    color:#64748b;
}

.tutorial-card a{
    display:inline-block;
    margin:0 20px 20px;
    color:#7c3aed;
    text-decoration:none;
    font-weight:bold;
}
/* PRODUCTS PAGE */

.products-page{
    padding:70px 5%;
}

.products-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;
}

/* RESEARCH INTRO */

.research-intro{
    padding:80px 5%;
    background:#ffffff;
}

.research-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:50px;
    align-items:center;
}

.research-tag{
    display:inline-block;
    padding:10px 18px;
    background:#ede9fe;
    color:#7c3aed;
    border-radius:30px;
    font-size:14px;
    font-weight:bold;
    margin-bottom:20px;
}

.research-content h2{
    font-size:48px;
    color:#1e293b;
    margin-bottom:25px;
    line-height:1.2;
}

.research-content p{
    color:#64748b;
    line-height:1.9;
    margin-bottom:20px;
    font-size:17px;
}

.research-image img{
    width:100%;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

/* FEATURES */

.research-features{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-top:30px;
}

.feature-box{
    background:#f8fafc;
    padding:20px;
    border-radius:18px;
    display:flex;
    align-items:center;
    gap:15px;
}

.feature-box i{
    font-size:25px;
    color:#7c3aed;
}

/* VOLUNTEER */

.volunteer-section{
    padding:80px 5%;
    background:#f8fafc;
}

.volunteer-header{
    text-align:center;
    margin-bottom:50px;
}

.volunteer-header h2{
    font-size:45px;
    margin-bottom:20px;
    color:#1e293b;
}

.volunteer-header p{
    max-width:800px;
    margin:auto;
    color:#64748b;
    line-height:1.8;
}

.volunteer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.volunteer-card{
    background:white;
    padding:35px;
    border-radius:22px;
    text-align:center;
    transition:0.3s;
}

.volunteer-card:hover{
    transform:translateY(-10px);
}

.volunteer-card i{
    font-size:50px;
    color:#7c3aed;
    margin-bottom:20px;
}

.volunteer-card h3{
    margin-bottom:15px;
    color:#1e293b;
}

.volunteer-card p{
    color:#64748b;
    line-height:1.7;
}

/* APPLICATION */

.application-section{
    padding:80px 5%;
    background:white;
}

.application-box{
    max-width:900px;
    margin:auto;
    background:#ffffff;
    border-radius:25px;
    padding:50px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.application-box h2{
    text-align:center;
    margin-bottom:15px;
    color:#1e293b;
    font-size:40px;
}

.application-box p{
    text-align:center;
    color:#64748b;
    margin-bottom:40px;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.volunteer-form input,
.volunteer-form textarea{
    width:100%;
    padding:18px;
    border:none;
    background:#f8fafc;
    border-radius:15px;
    outline:none;
    margin-bottom:20px;
}

.volunteer-form textarea{
    height:180px;
    resize:none;
}

.volunteer-form button{
    width:100%;
    padding:18px;
    border:none;
    border-radius:15px;

    background:linear-gradient(
        45deg,
        #7c3aed,
        #9333ea
    );

    color:white;
    font-size:18px;
    cursor:pointer;
}

/* MOBILE */

@media(max-width:900px){

    .research-content h2{
        font-size:35px;
    }

    .volunteer-header h2,
    .application-box h2{
        font-size:32px;
    }

    .application-box{
        padding:30px;
    }

}

/* SUCCESS MESSAGE */

.success-message{

    background:#dcfce7;
    color:#166534;

    padding:18px;
    border-radius:12px;

    margin-bottom:25px;

    text-align:center;
    font-weight:600;

}


.search-wrapper{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:20px;
}

/* SMALL TUBE INPUT */
.search-filter-box{
    display:flex;
    align-items:center;
    width:260px;
    border-radius:999px;
    overflow:hidden;
    background:#fff;
    border:1px solid #e5e7eb;
    box-shadow:0 2px 6px rgba(0,0,0,0.06);
}

/* INPUT */
.search-filter-box input{
    flex:1;
    padding:10px 12px;
    border:none;
    outline:none;
    font-size:13px;
    background:transparent;
}

/* BUTTON OUTSIDE */
.search-btn{
    padding:10px 16px;
    background:#2563eb;
    color:#fff;
    border:none;
    border-radius:999px;
    cursor:pointer;
    font-size:13px;
    font-weight:600;
    transition:0.2s;
}

.search-btn:hover{
    background:#1d4ed8;
}

.pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    margin-top:40px;
    flex-wrap:wrap;
}

.pagination a{
    padding:10px 15px;
    border-radius:10px;
    text-decoration:none;
    background:#f3f4f6;
    color:#111827;
    font-weight:600;
    transition:0.2s;
}

.pagination a:hover{
    background:#2563eb;
    color:#fff;
}

.pagination a.active{
    background:#2563eb;
    color:#fff;
}

.cart-page{
    padding:60px 5%;
}

.cart-container{
    max-width:1100px;
    margin:auto;
}

.cart-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    background:#fff;
    padding:20px;
    border-radius:16px;
    margin-bottom:20px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
    flex-wrap:wrap;
}

.cart-image img{
    width:120px;
    height:120px;
    object-fit:cover;
    border-radius:12px;
}

.cart-info{
    flex:1;
}

.cart-info h3{
    margin-bottom:10px;
    font-size:20px;
}

.cart-type{
    display:inline-block;
    background:#eff6ff;
    color:#2563eb;
    padding:5px 12px;
    border-radius:999px;
    font-size:12px;
    margin-bottom:10px;
}

.price{
    font-size:20px;
    font-weight:bold;
    color:#111827;
}

.remove-btn{
    background:#ef4444;
    color:#fff;
    padding:10px 16px;
    border-radius:10px;
    text-decoration:none;
    transition:0.2s;
}

.remove-btn:hover{
    background:#dc2626;
}

.cart-summary{
    margin-top:40px;
    text-align:right;
}

.cart-summary h2{
    margin-bottom:20px;
    font-size:28px;
}

.checkout-btn{
    display:inline-block;
    background:#2563eb;
    color:#fff;
    padding:14px 24px;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
}

.checkout-btn:hover{
    background:#1d4ed8;
}

.empty-cart{
    text-align:center;
    padding:80px 20px;
}

.shop-btn{
    display:inline-block;
    margin-top:20px;
    background:#2563eb;
    color:#fff;
    padding:12px 22px;
    border-radius:10px;
    text-decoration:none;
}

/* MOBILE */
@media(max-width:768px){

    .cart-item{
        flex-direction:column;
        align-items:flex-start;
    }

    .cart-summary{
        text-align:left;
    }

}

.checkout-page{
    padding:60px 5%;
}

.checkout-container{
    max-width:1200px;
    margin:auto;
}

.checkout-grid{
    display:grid;
    grid-template-columns:1fr 400px;
    gap:30px;
}

.checkout-form-box,
.order-summary{
    background:#fff;
    padding:30px;
    border-radius:18px;
    box-shadow:0 2px 12px rgba(0,0,0,0.05);
}

.checkout-form-box h2,
.order-summary h2{
    margin-bottom:25px;
}

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.form-group input,
.form-group textarea{
    width:100%;
    padding:14px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    outline:none;
    font-size:14px;
}

.form-group textarea{
    resize:none;
    height:120px;
}

.place-order-btn{
    width:100%;
    padding:15px;
    border:none;
    background:#2563eb;
    color:#fff;
    border-radius:12px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:0.2s;
}

.place-order-btn:hover{
    background:#1d4ed8;
}

.summary-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-bottom:20px;
    padding-bottom:15px;
    border-bottom:1px solid #f1f5f9;
}

.summary-left{
    display:flex;
    align-items:center;
    gap:15px;
}

.summary-left img{
    width:70px;
    height:70px;
    object-fit:cover;
    border-radius:10px;
}

.summary-left h4{
    margin-bottom:5px;
}

.summary-total{
    margin-top:25px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.success-box{
    text-align:center;
    background:#fff;
    padding:60px 30px;
    border-radius:20px;
    box-shadow:0 2px 12px rgba(0,0,0,0.05);
}

.success-box h2{
    color:#16a34a;
    margin-bottom:15px;
}

.continue-btn{
    display:inline-block;
    margin-top:20px;
    padding:14px 22px;
    background:#2563eb;
    color:#fff;
    border-radius:12px;
    text-decoration:none;
}
.checkout-page{
    padding:60px 5%;
    background:#f9fafb;
    min-height:80vh;
}

.checkout-container{
    max-width:1100px;
    margin:auto;
}

/* ================= FORM ================= */
.checkout-form{
    background:#fff;
    padding:30px;
    border-radius:16px;
    box-shadow:0 6px 20px rgba(0,0,0,0.05);
    max-width:500px;
}

.checkout-form input,
.checkout-form textarea{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    font-size:14px;
    outline:none;
    transition:0.2s;
}

.checkout-form input:focus,
.checkout-form textarea:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 3px rgba(37,99,235,0.1);
}

.checkout-form textarea{
    height:120px;
    resize:none;
}

/* ================= BUTTON ================= */
.place-order-btn{
    width:100%;
    padding:15px;
    background:#2563eb;
    color:#fff;
    border:none;
    border-radius:12px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:0.2s;
}

.place-order-btn:hover{
    background:#1d4ed8;
}

/* ================= PAYMENT BOX ================= */
.checkout-container h2{
    font-size:24px;
    margin-bottom:20px;
    color:#111827;
}

.checkout-container button{
    max-width:400px;
}

/* ================= SUCCESS STYLE ================= */
.success-box{
    background:#fff;
    padding:50px;
    text-align:center;
    border-radius:16px;
    box-shadow:0 6px 20px rgba(0,0,0,0.05);
}

.success-box h2{
    color:#16a34a;
    margin-bottom:10px;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){

    .checkout-form{
        width:100%;
    }

}
.checkout-container{
    max-width:1200px;
    margin:auto;
}

.checkout-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    align-items:start;
}

/* LEFT */
.checkout-left{
    background:#fff;
    padding:30px;
    border-radius:16px;
    box-shadow:0 6px 20px rgba(0,0,0,0.05);
}

/* RIGHT */
.checkout-right{
    background:#fff;
    padding:30px;
    border-radius:16px;
    box-shadow:0 6px 20px rgba(0,0,0,0.05);
}

.checkout-right h2{
    margin-bottom:20px;
}

/* ORDER ITEM */
.order-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:15px 0;
    border-bottom:1px solid #eee;
}

.order-item img{
    width:60px;
    height:60px;
    object-fit:cover;
    border-radius:10px;
}

.order-info{
    flex:1;
}

.order-info h4{
    margin:0;
    font-size:14px;
}

.order-info small{
    color:#2563eb;
    font-weight:600;
}

.order-price{
    font-weight:bold;
}

/* TOTAL */
.order-total{
    margin-top:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* BUTTON */
.place-order-btn{
    width:100%;
    padding:15px;
    background:#2563eb;
    color:#fff;
    border:none;
    border-radius:12px;
    cursor:pointer;
    font-weight:600;
}

.place-order-btn:hover{
    background:#1d4ed8;
}

/* MOBILE */
@media(max-width:900px){

    .checkout-grid{
        grid-template-columns:1fr;
    }

}
/* MOBILE */

@media(max-width:900px){

    .banner-overlay h1{
        font-size:38px;
    }

    .banner-overlay p{
        font-size:17px;
    }

    .about-stats{
        flex-direction:column;
    }

}

/* =========================
   TUTORIAL DETAILS
========================= */

.tutorial-details{
    padding:80px 5%;
}

.tutorial-container{
    max-width:1100px;
    margin:auto;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 25px rgba(0,0,0,0.08);
}

.tutorial-image img{
    width:100%;
    height:450px;
    object-fit:cover;
    display:block;
}

.tutorial-content{
    padding:40px;
}

.tutorial-content h1{
    font-size:36px;
    margin-bottom:15px;
}

.tutorial-meta{
    color:#777;
    margin-bottom:25px;
    font-size:14px;
}

.tutorial-content p{
    line-height:1.9;
    color:#444;
    font-size:16px;
}

.back-btn{
    display:inline-block;
    margin-top:30px;
    padding:12px 24px;
    background:#2563eb;
    color:#fff;
    text-decoration:none;
    border-radius:10px;
}

.back-btn:hover{
    background:#1d4ed8;
}

/* =========================
   RELATED TUTORIALS
========================= */

.related-tutorials{
    padding:60px 5%;
}

.related-tutorials h2{
    text-align:center;
    margin-bottom:40px;
}

@media(max-width:768px){

    .tutorial-image img{
        height:250px;
    }

    .tutorial-content{
        padding:25px;
    }

    .tutorial-content h1{
        font-size:26px;
    }

}
.tutorial-registration{
    margin-top:40px;
    padding:30px;
    background:#f8fafc;
    border-radius:15px;
}

.tutorial-registration h2{
    margin-bottom:20px;
}

.tutorial-registration form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.tutorial-registration input{
    padding:14px;
    border:1px solid #ddd;
    border-radius:10px;
}

.tutorial-registration button{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:14px;
    border-radius:10px;
    cursor:pointer;
}

.success-message{
    background:#dcfce7;
    color:#166534;
    padding:20px;
    border-radius:10px;
}

.whatsapp-btn{
    display:inline-block;
    margin-top:15px;
    background:#25D366;
    color:#fff;
    padding:12px 20px;
    border-radius:10px;
    text-decoration:none;
}

/* =========================
   REPAIR SERVICE PAGE
========================= */

.repair-page{
    padding:80px 20px;
    background:#f8fafc;
}

.repair-container{
    max-width:800px;
    margin:auto;
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.repair-container h1{
    font-size:36px;
    margin-bottom:10px;
    text-align:center;
}

.repair-subtitle{
    text-align:center;
    color:#64748b;
    margin-bottom:35px;
}

.repair-form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.repair-form input,
.repair-form select,
.repair-form textarea{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:10px;
    outline:none;
    font-size:15px;
}

.repair-form input:focus,
.repair-form select:focus,
.repair-form textarea:focus{
    border-color:#2563eb;
}

.repair-form button{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:15px;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
}

.repair-form button:hover{
    background:#1d4ed8;
}

.success-message{
    text-align:center;
    background:#ecfdf5;
    padding:30px;
    border-radius:15px;
    border:1px solid #bbf7d0;
}

.success-message h3{
    color:#166534;
    margin-bottom:10px;
}

.hero-btn{
    display:inline-block;
    margin-top:20px;
    background:#25D366;
    color:#fff;
    text-decoration:none;
    padding:12px 25px;
    border-radius:10px;
    font-weight:600;
}

.hero-btn:hover{
    opacity:.9;
}

/* MOBILE */

@media(max-width:768px){

    .repair-container{
        padding:25px;
    }

    .repair-container h1{
        font-size:28px;
    }

}
/* =========================
   AUTH PAGES (LOGIN/REGISTER)
========================= */

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.auth-form label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.auth-form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.auth-form input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

.btn {
    background: #007bff;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* LOGIN / REGISTER LINK AREA */
.about-text p a {
    text-decoration: none;
}

.about-text p a:hover {
    text-decoration: underline;
}

/* ERROR MESSAGE */
.about-text p[style*="color:red"] {
    background: #ffe5e5;
    padding: 10px;
    border-radius: 6px;
}

/* SUCCESS MESSAGE */
.about-text p[style*="color:green"] {
    background: #e6ffed;
    padding: 10px;
    border-radius: 6px;
}

/* =========================
   PAGE LAYOUT ENHANCEMENT
========================= */

.page-content {
    padding: 60px 10%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-content {
        padding: 30px 5%;
    }
}
form select{
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
form select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}
form textarea{
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    resize: vertical;
    resize:none;
    height:120px;
}

.tutorial-video{
    margin:40px 0;
}

.tutorial-video h2{
    margin-bottom:10px;
}

.video-wrapper{
    position:relative;
    width:100%;
    padding-bottom:56.25%;
    height:0;
    overflow:hidden;
    border-radius:12px;
}

.video-wrapper iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.tutorial-full-content {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-left: 5px solid #007bff;
    border-radius: 8px;
}

.tutorial-full-content h2 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #333;
}

.content-box {
    line-height: 1.8;
    color: #444;
    font-size: 16px;
}

.service-intro {
    padding: 60px 20px;
    text-align: center;
    background: #f4f8ff;
}

.service-intro h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.service-intro p {
    max-width: 800px;
    margin: 0 auto 25px;
    line-height: 1.7;
    color: #444;
}

.hire-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #25D366;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}
/* RESEARCH SUPPORT FORM */

.donation-container{
    max-width:700px;
    margin:60px auto;
    padding:40px;
    background:#fff;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.donation-container h2{
    text-align:center;
    margin-bottom:20px;
    font-size:32px;
}

.donation-container p{
    text-align:center;
    color:#666;
    margin-bottom:30px;
}

.donation-form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.donation-form input{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:16px;
    outline:none;
    transition:0.3s;
}

.donation-form input:focus{
    border-color:#007bff;
    box-shadow:0 0 5px rgba(0,123,255,0.2);
}

.donation-btn{
    background:#007bff;
    color:#fff;
    border:none;
    padding:15px;
    border-radius:8px;
    cursor:pointer;
    font-size:17px;
    font-weight:600;
    transition:0.3s;
}

.donation-btn:hover{
    background:#0056b3;
}

/* PAYMENT SUMMARY */

.donation-summary{
    max-width:700px;
    margin:60px auto;
    padding:40px;
    background:#fff;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    text-align:center;
}

.donation-summary h2{
    margin-bottom:25px;
}

.donation-summary p{
    font-size:18px;
    margin:12px 0;
}

.donation-summary strong{
    color:#007bff;
}

#payBtn{
    background:#28a745;
    color:#fff;
    border:none;
    padding:15px 35px;
    border-radius:8px;
    font-size:18px;
    cursor:pointer;
    margin-top:25px;
    transition:0.3s;
}

#payBtn:hover{
    background:#218838;
}

/* MOBILE */

@media(max-width:768px){

    .donation-container,
    .donation-summary{
        width:90%;
        padding:25px;
    }

    .donation-container h2,
    .donation-summary h2{
        font-size:26px;
    }
}

/* =========================
   DASHBOARD PAGE
========================= */
:root {
    --header-height: 70px;
}

/* MAIN WRAPPER */
.dashboard-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    background: #f5f7fb;
}

/* ================= SIDEBAR ================= */
.dashboard-sidebar {
    background: #111827;
    color: #fff;
    padding: 20px;
    min-height: 100vh;
    position: sticky;
    top: 0;
}

/* USER BOX */
.sidebar-user {
    text-align: center;
    margin-bottom: 25px;
}

.sidebar-user img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

/* MENU */
.sidebar-menu a {
    display: block;
    padding: 12px;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 6px;
    transition: 0.2s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #2563eb;
    color: #fff;
}

/* ================= MAIN ================= */
.dashboard-main {
    padding: 20px;
    margin-top: var(--header-height); /* keeps header intact */
}

/* ================= CARDS ================= */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.mobile-topbar {
    display: none;
    justify-content: space-between;
    align-items: center;

    background: #111827;
    color: #fff;

    padding: 12px 15px;

    position: sticky;
    top: 0;
    z-index: 998;
}

/* hamburger button */
.menu-toggle-mobile {
    font-size: 22px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px 10px;
}
/* ================= MOBILE ================= */
/* ================= MOBILE ================= */
@media (max-width: 950px) {

    .mobile-topbar {
        display: flex;
    }

    .dashboard-container {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {

        position: fixed;
        top: var(--header-height);
        left: -260px;

        width: 260px;
        height: calc(100vh - var(--header-height));

        padding: 70px 20px 20px; /* top right/left bottom */

        overflow-y: auto;

        transition: left 0.3s ease;

        z-index: 1001;
    }

    .dashboard-sidebar.active {
        left: 0;
    }

    .dashboard-main {
        margin-left: 0;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    /* Overlay */
    .sidebar-overlay {
        display: block;

        position: fixed;
        inset: 0;

        background: rgba(0,0,0,.5);

        opacity: 0;
        visibility: hidden;

        transition: 0.3s;

        z-index: 1000;
    }

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Close button */
.sidebar-close {

    display: flex;

    align-items: center;
    justify-content: center;

    position: absolute;

    top: 15px;
    right: 15px;

    width: 40px;
    height: 40px;

    background: #ef4444;
    color: #fff;

    border: none;
    border-radius: 50%;

    font-size: 20px;
    font-weight: bold;

    cursor: pointer;

    z-index: 1002;
}
}

/* Hide close button on desktop */
@media (min-width: 951px) {

    .sidebar-close {
        display: none;
    }

    .sidebar-overlay {
        display: none;
    }

}
.profile-form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.profile-form input{
    width:100%;
    padding:14px;
    border:1px solid #d1d5db;
    border-radius:10px;
    outline:none;
    font-size:15px;
}

.profile-form input:focus{
    border-color:#2563eb;
}

.save-btn{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:14px;
    border-radius:10px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
}

.save-btn:hover{
    background:#1d4ed8;
}

.success-message{
    background:#dcfce7;
    color:#166534;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
}

@media(max-width:950px){

    .profile-form{
        gap:15px;
    }

    .save-btn{
        width:100%;
    }

}
.error-message{
    background:#fee2e2;
    color:#991b1b;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
}

.success-message{
    background:#dcfce7;
    color:#166534;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
}