/* =====================================================
   GLOBAL RESET & THEME
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #f8fafc;
    color: #0f172a;
}

/* =====================================================
   FIXED PREMIUM HEADER
===================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.35s ease;
}

/* Shadow on scroll */
header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* Prevent content hiding under fixed header */
body {
    padding-top: 80px;
}

.nav-container {
    max-width: 1300px;
    margin: auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ================= LOGO ================= */
/* ==============================
   CODEPRENEUR LOGO DESIGN
============================== */

.logo-link {
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease;
}

/* CODE part */
.logo-code {
    background: linear-gradient(135deg, #0ea5a4, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* PRENEUR part */
.logo-preneur {
    background: linear-gradient(135deg, #6366f1, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 3px;
}

/* Glow shadow */
.logo {
    text-shadow:
        0 2px 6px rgba(99,102,241,0.25),
        0 1px 3px rgba(14,165,164,0.3);
}

/* Hover animation */
.logo:hover {
    transform: scale(1.05);
}

/* Optional small tagline */
.logo::after {
    
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    margin-top: -4px;
    color: #64748b;
}

/* =====================
   MOBILE RESPONSIVE
===================== */
@media (max-width: 576px) {
    .logo {
        font-size: 26px;
    }

    .logo::after {
        font-size: 9px;
    }
}

/* =====================================================
   NAVIGATION MENU
===================================================== */
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: nowrap;

}
.nav-container {
    flex-wrap: nowrap;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #334155;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s ease;
}

/* Hover color */
nav ul li a:hover {
    color: #0ea5a4;
}

/* Underline animation */
nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0%;
    height: 2px;
    border-radius: 4px;
    background: linear-gradient(90deg, #0ea5a4, #6366f1);
    transition: 0.35s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Dropdown icon */
.icon {
    font-size: 12px;
    transition: 0.3s ease;
}

.has-dropdown.active .icon {
    transform: rotate(45deg);
    color: #0ea5a4;
}

/* ===== COLLABORATE BUTTON ===== */
.collaborate {
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    display: inline-block;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 114, 255, 0.35);
}

/* Hover Effect */
.collaborate:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 114, 255, 0.5);
    background: linear-gradient(45deg, #0072ff, #00c6ff);
}

/* Mobile Full Width */
@media (max-width: 900px) {
    .collaborate {
        width: 100%;
        text-align: center;
    }
}

/* ===== SUBMIT PROJECT BUTTON ===== */
.submit {
    background: linear-gradient(45deg, #ff9f1c, #ff3d00);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    display: inline-block;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 61, 0, 0.35);
}

/* Hover Effect */
.submit:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(255, 61, 0, 0.5);
    background: linear-gradient(45deg, #ff3d00, #ff9f1c);
}

/* Mobile Full Width */
@media (max-width: 900px) {
    .submit {
        width: 100%;
        text-align: center;
        margin-top: 5%;
        margin-bottom: 5%;
        padding: 10px 20px;
    }
}

/* =====================================================
   DROPDOWN MENU
===================================================== */
.dropdown-menu {
    position: absolute;
    top: 35px;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    min-width: 230px;
    border-radius: 15px;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.18);
    display: none;
    overflow: hidden;
    animation: fadeUp 0.25s ease;
    border-top: 1px solid rgb(184, 183, 183);

}

.dropdown-menu a {
    padding: 14px 18px;
    display: block;
    font-size: 14px;
    color: #334155;
}

.dropdown-menu a:hover {
    background: #ecfeff;
    color: #0ea5a4;
}

/* Desktop hover */
@media (min-width: 769px) {
    .has-dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* =====================================================
   MOBILE MENU
===================================================== */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #334155;
}

/* =====================================================
   RESPONSIVE MENU
===================================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(10px);
        display: none;
        border-radius: 0 0 22px 22px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
        animation: slideDown 0.3s ease;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li {
        border-bottom: 1px solid #e5e7eb;
    }

    nav ul li a {
        padding: 18px 26px;
        justify-content: space-between;
        font-size: 16px;
    }

    nav ul li.active>a {
        background: #ecfeff;
        color: #0ea5a4;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        max-height: 0;
        display: block;
        transition: max-height 0.35s ease;
    }

    .has-dropdown.active .dropdown-menu {
        max-height: 500px;
    }
}

@media (max-width: 1100px) {
    nav ul {
        gap: 14px;
    }

    nav ul li a {
        font-size: 12px;
    }
}












/* =====================================================
   HERO SECTION (RESPONSIVE FIXED)
===================================================== */
.hero {
    position: relative;
    min-height: 60vh;
    /* Desktop default */
    padding: 80px 20px;
    /* Allows content breathing */
    background: url("../images/banner.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.25));
}




.hero-content {
    position: relative;
    color: #ffffff;
    text-align: center;
    max-width: 850px;
    padding: 20px;
    animation: fadeUp 0.8s ease;
}

.hero-content h1 {
    font-size: 54px;
    font-weight: 600;
}

.hero-content p {
    margin: 22px 0;
    font-size: 18px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    /* prevents overflow */
}

.btn {
    padding: 14px 34px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
    display: inline-block;
}

.primary {
    background: linear-gradient(135deg, #0ea5a4, #6366f1);
    color: #fff;
}

.primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(14, 165, 164, 0.5);
}

.secondary {
    border: 2px solid #fff;
    color: #fff;
}

.secondary:hover {
    background: #fff;
    color: #0ea5a4;
}

/* Tablet */
@media (max-width: 992px) {
    .hero {
        min-height: 55vh;
        padding: 70px 18px;
    }

    .hero-content h1 {
        font-size: 42px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .hero {
        min-height: 70vh;
        /* more vertical space for text */
        padding: 60px 15px;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* =====================================================
   PROJECT DESCRIPTION
===================================================== */
.project-description {
    background: #ffffff;
    padding: 90px 20px;
}

.project-box {
    max-width: 1150px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.project-image {
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, #ecfeff, #eef2ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image i {
    font-size: 52px;
    color: #0ea5a4;
}

.project-content h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.project-content p {
    color: #475569;
    line-height: 1.7;
    max-width: 700px;
}

/* =====================================================
   ENQUIRY FORM
===================================================== */


/* ================= MODERN LAYOUT ================= */

/* ================= SECTION ================= */

.glass-section {
    padding: 120px 20px;
    background: radial-gradient(circle at top left, #ecfeff, #f8fafc 60%);
}

/* ================= GLOW WRAPPER ================= */

.glow-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 3px;
    border-radius: 36px;
    position: relative;

}

.glow-wrapper::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 40px;
    background: inherit;
    filter: blur(18px);
    opacity: 0.5;
    z-index: -1;
}

/* ================= MAIN CARD ================= */

.modern-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #ffffff;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.15);
}

/* ================= IMAGE SIDE ================= */

.hero-preview {
    position: relative;
    min-height: 520px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(15, 23, 42, 0.85),
            rgba(15, 23, 42, 0.15));
    /* display: flex; */
    flex-direction: column;
    justify-content: flex-end;
    padding: 42px;
    color: white;
    
    
    
}

.hero-text h2 {
    font-size: 40px;
    margin-bottom: 10px;
    font-weight: 900 !important;
}

.hero-text p {
    font-size: 17px;
    line-height: 1.7;
    max-width: 420px;
    opacity: 0.95;
    font-weight: 900 !important;
}

/* ================= FORM ================= */

.enquiry-form-box {
    padding: 56px 52px;
    display: grid;
    grid-template-columns: 1fr;
    /* ✅ ALWAYS SINGLE COLUMN */
    gap: 22px;
    align-content: center;
    width: 100%;
}

/* Input wrapper */
.input-group {
    position: relative;
    width: 100%;
}

/* Icon */
.input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #0ea5a4, #6366f1);
    color: #ffffff;
    padding: 9px;
    border-radius: 50%;
    font-size: 13px;
}

/* Inputs */
.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px 16px 15px 52px;
    border-radius: 14px;
    border: 1px solid #707070;
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    /* ✅ DARK TEXT */
    outline: none;
    transition: 0.25s ease;
    box-sizing: border-box;
    margin-top: 2%;
}

.input-group textarea {
    resize: none;
    min-height: 120px;
    margin-top: 2%;
}

/* Focus */
.input-group input:focus,
.input-group textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

/* Placeholder styling */
.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #64748b;
    font-weight: 700;
    opacity: 1;
}


/* Button */
.submit-btn {
    height: 54px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #0ea5a4, #6366f1);
    transition: 0.35s ease;
}

.submit-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.45);
}

/*** otp button ****/

/* ================= OTP BUTTON ================= */

.otp-btn {
    padding: 9px 16px;
    border-radius: 22px;
    border: none;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: 0.25s ease;
}

.otp-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* Verify button highlight */
.otp-btn.verify {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

/* Disabled state */
.otp-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(40%);
}

/* ================= OTP LAYOUT ================= */

/* Hide OTP section initially */
.otp-verify {
    display: none;
}

/* Force row layout */
.input-group.otp-verify,
.input-group.otp-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Input full width */
.input-group.otp-verify input,
.input-group.otp-group input {
    flex: 1;
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(40%);
}

#toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    min-width: 260px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: #334155;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all .4s ease;
    z-index: 9999;
}

#toast.show {
    opacity: 1;
    transform: translateY(0);
}

#toast.success {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

#toast.error {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

/* ===== Validation Styles ===== */

/* ================= FORM VALIDATION UI ================= */

.input-group {
    position: relative;
}

.error-msg {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    display: none;
}

.input-error {
    border-color: #ef4444 !important;
}

.input-success {
    border-color: #22c55e !important;
}




/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    .modern-layout {
        grid-template-columns: 1fr;
    }

    .hero-preview {
        min-height: 240px;
    }

    .hero-text {
        padding: 26px;
        text-align: center;
        align-items: center;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    .enquiry-form-box {
        padding: 26px 18px;
        gap: 16px;
    }

    .glass-section {
        padding-bottom: 140px;
    }
}

@media (max-width: 480px) {

    .input-group i {
        left: 10px;
        padding: 7px;
        font-size: 11px;
    }

    .input-group label {
        left: 48px;
    }

    .input-group input,
    .input-group textarea {
        padding-left: 44px;
        font-size: 13px;
    }

    .hero-text h2 {
        font-size: 20px;
    }

    .hero-text p {
        font-size: 13px;
    }
}

/* =====================================================
   PROJECT CATEGORIES
===================================================== */
.project-categories {
    padding: 100px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 38px;
}

.section-title p {
    color: #64748b;
}

.category-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease;
}

.category-card:hover {
    transform: translateY(-12px) scale(1.02);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ecfeff, #eef2ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto auto 18px;
}

.icon-box i {
    font-size: 34px;
    color: #0ea5a4;
}

.category-card h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 18px;
}

.btn.small {
    padding: 8px 20px;
    font-size: 13px;
}



/* =====================================================
   FOOTER
===================================================== */
/* ================= FOOTER PREMIUM DESIGN ================= */

.site-footer {
    background: radial-gradient(circle at top, #020617, #020617 40%, #020617);
    color: #cbd5f5;
    padding: 90px 20px 0;
    position: relative;
    overflow: hidden;
}

/* subtle glow background */
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%,
            rgba(14, 165, 164, 0.25),
            transparent 40%),
        radial-gradient(circle at 80% 80%,
            rgba(99, 102, 241, 0.25),
            transparent 40%);
    pointer-events: none;
}

/* Grid */
.footer-container {
    position: relative;
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 2fr 2fr 2fr;
    gap: 60px;
    z-index: 1;
}

/* Brand */
.footer-box h2 {
    font-size: 28px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0ea5a4, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-box p {
    font-size: 14px;
    line-height: 1.8;
    color: #cbd5f5;
}

/* Section headings */
.footer-box h3 {
    font-size: 17px;
    margin-bottom: 16px;
    color: #ffffff;
    position: relative;
}

.footer-box h3::after {
    content: "";
    position: absolute;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, #0ea5a4, #6366f1);
    left: 0;
    bottom: -6px;
}

/* Links */
.footer-box ul {
    list-style: none;
}

.footer-box ul li {
    margin-bottom: 10px;
}

.footer-box ul li a {
    color: #cbd5f5;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    transition: 0.3s ease;
}

.footer-box ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 1px;
    background: #0ea5a4;
    transition: 0.3s ease;
}

.footer-box ul li a:hover {
    color: #0ea5a4;
}

.footer-box ul li a:hover::after {
    width: 100%;
}

/* Contact */
.footer-box i {
    margin-right: 8px;
    color: #0ea5a4;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: 0.35s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.social-icons a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0ea5a4, #6366f1);
    opacity: 0;
    transition: 0.35s ease;
}

.social-icons a:hover::before {
    opacity: 1;
}

.social-icons a i {
    position: relative;
    z-index: 1;
}

.social-icons a:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(14, 165, 164, 0.4);
}

/* Footer bottom */
.footer-bottom {
    margin-top: 70px;
    padding: 18px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ================= FOOTER RESPONSIVE ================= */
@media (max-width: 1000px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 550px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-box h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1000px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-box {
        flex-direction: column;
        text-align: center;
    }

    .enquiry-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= ENQUIRY FORM PREMIUM ================= */

.enquiry-form {
    background: radial-gradient(circle at top left, #ecfeff, #f8fafc);
    padding: 120px 20px;
}

.enquiry-form-box {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 26px;
    padding: 55px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    transition: 0.4s ease;
}

.enquiry-form-box:hover {
    transform: translateY(-6px);
}

/* Input glow */
.input-group input:focus,
.input-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.15);
}

/* Icon bubble */
.input-group i {
    background: linear-gradient(135deg, #0ea5a4, #6366f1);
    color: #fff;
    padding: 8px;
    border-radius: 50%;
    font-size: 13px;
}

/* Button glow */
.submit-btn {
    background: linear-gradient(135deg, #0ea5a4, #6366f1);
    border: none;
    cursor: pointer;
    letter-spacing: 0.4px;
}

.submit-btn:hover {
    box-shadow: 0 15px 40px rgba(14, 165, 164, 0.45);
    transform: translateY(-2px) scale(1.03);
}

/* ================= PROJECT CARDS PREMIUM ================= */

.category-card {
    position: relative;
    overflow: hidden;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0ea5a4, #6366f1);
    opacity: 0;
    transition: 0.4s ease;
    z-index: 0;
}

.category-card:hover::after {
    opacity: 0.06;
}

.category-card * {
    position: relative;
    z-index: 2;
}

/* Gradient strip */
.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, #0ea5a4, #6366f1);
}

/* Icon animation */
.category-card:hover .icon-box {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 30px rgba(14, 165, 164, 0.35);
}

.icon-box {
    transition: 0.4s ease;
}

/* Button hover */
.category-card .btn.small {
    border: 1px solid #0ea5a4;
    color: #0ea5a4;
    background: transparent;
}

.category-card .btn.small:hover {
    background: linear-gradient(135deg, #0ea5a4, #6366f1);
    color: #fff;
    box-shadow: 0 10px 30px rgba(14, 165, 164, 0.4);
}

/* ================= SCROLL TO TOP ================= */
#scrollTopBtn {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #0ea5a4, #6366f1);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 10px 25px rgba(14, 165, 164, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.35s ease;
    z-index: 999;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#scrollTopBtn:hover {
    transform: translateY(-5px) scale(1.05);
}

/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    transition: 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* ================= CONTACT CTA BAR ================= */
.contact-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #0ea5a4, #6366f1);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 12px 15px;
    font-size: 14px;
    z-index: 998;
}

.contact-cta .cta-btn {
    background: #fff;
    color: #0ea5a4;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-cta .cta-btn:hover {
    background: #0f172a;
    color: #fff;
}

/* Mobile fix spacing */
body {
    padding-bottom: 60px;
}

/* ================= PROJECT LIST PAGE  projects.html================= */
/* ================= PROJECT PAGE ================= */
.projects-page {
    padding: 50px 20px 100px;
    background: #f8fafc;
}

.projects-page h1 {
    font-size: 42px;
    text-align: center;
}

.projects-page p {
    text-align: center;
    color: #64748b;
    margin-bottom: 40px;
}

/* Search Bar */
.projects-toolbar {
    max-width: 1200px;
    margin: auto auto 50px;
    background: #ffffff;
    padding: 18px 25px;
    border-radius: 16px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 14px;
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
}

.projects-toolbar .btn {
    border-radius: 10px;
}

.project-count {
    font-size: 14px;
    color: #64748b;
}

/* Grid */
.projects-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Project Card */
.project-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: 0.35s ease;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-img img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

/* ================= PROJECT CARD TEXT IMPROVEMENTS ================= */

.project-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Project Title */
.project-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 4px 0 10px;
    line-height: 1.45;
    letter-spacing: 0.3px;

    /* Keep title neat */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Project Description */
.project-body p {
    font-size: 14.8px;
    font-weight: 400;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 18px;

    /* Align text nicely */
    text-align: left;

    /* Keep cards equal height */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



/* Hover polish */
.project-card:hover h3 {
    color: #6366f1;
    transition: 0.25s ease;
}


/* ================= RESPONSIVE TOOLBAR ================= */

/* Tablet */
@media (max-width: 992px) {
    .projects-toolbar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .search-box {
        flex: 100%;
    }

    .projects-toolbar .btn {
        flex: 1;
        text-align: center;
    }

    .project-count {
        flex: 100%;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 600px) {

    .projects-page {
        padding: 18px 12px 80px;
    }

    .projects-page h1 {
        font-size: 30px;
    }

    .projects-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .search-box {
        width: 100%;
    }

    .search-box input {
        font-size: 15px;
    }

    .projects-toolbar .btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    .project-count {
        text-align: center;
        font-size: 13px;
    }
}

/* ================= BIG CENTER BACK BUTTON ================= */

.back-button {
    position: relative;
    margin: 30px auto 10px auto;
    /* center horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 16px 42px;
    border-radius: 50px;
    border: none;
    cursor: pointer;

    background: linear-gradient(135deg, #0ea5a4, #6366f1);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.4px;

    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
    transition: all 0.3s ease;
}

/* Icon size */
.back-button i {
    font-size: 18px;
}

/* Hover effect */
.back-button:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

/* Click */
.back-button:active {
    transform: scale(0.95);
}


/* Mobile responsive */
@media (max-width: 768px) {
    .back-button {
        font-size: 16px;
        padding: 14px 32px;
    }
}


/* ===== ACTIVE BUTTON ===== */
.collaborate.active,
.submit.active {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    outline: 2px solid rgba(255, 255, 255, 0.6);
}

/* Level badges */
.level-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 16px;
}

.level-tags span {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0ea5a4, #6366f1);
    color: #fff;
    font-weight: 600;
}

/**===== pagination css ========*/

.pagination {
    margin: 50px auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a {
    padding: 8px 14px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #0f172a;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
}

.pagination a:hover {
    background: #6366f1;
    color: #fff;
}

.pagination a.active {
    background: #6366f1;
    color: #fff;
    font-weight: 600;
}

/* Invisible clickable admin area */
.admin-hidden {
  display: inline-block;
  width: 14px;
  height: 14px;
  opacity: 0;
  cursor: pointer;
}

.admin-hidden:hover{
    color: #facc15;
    opacity: 1;
}

/* Developer credit */
.developer-credit {
  font-size: 12px;
  color: #cbd5f5;
  letter-spacing: 0.4px;
}
