﻿/* css/style.css */
/* Maeliza Enterprise - Complete Stylesheet */


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');


/* ========================================
   ROOT VARIABLES
   ======================================== */
:root {
    --primary-color: #00d4ff;
    --primary-dark: #0099cc;
    --secondary-color: #ffffff;
    --background-color: #0a0e13;
    --card-color: #151b23;
    --border-color: #2d3748;
    --text-color: #e2e8f0;
    --text-secondary-color: #94a3b8;
    --accent-color: #64ffda;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-bg: linear-gradient(135deg, #0a0e13 0%, #1a202c 100%);
    --shadow-primary: 0 20px 40px rgba(0, 212, 255, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --header-height: 72px;
}


/* ========================================
   GLOBAL STYLES
   ======================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}


html { 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
}


body { 
    font-family: 'Poppins', sans-serif; 
    background: var(--gradient-bg); 
    color: var(--text-color); 
    line-height: 1.6; 
    overflow-x: hidden;
    font-size: 14px;
}


body.modal-open { 
    overflow: hidden; 
}


body::before { 
    content: ''; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%), 
                radial-gradient(circle at 80% 20%, rgba(100, 255, 218, 0.08) 0%, transparent 50%), 
                radial-gradient(circle at 40% 80%, rgba(0, 153, 204, 0.08) 0%, transparent 50%); 
    pointer-events: none; 
    z-index: -1; 
    animation: backgroundFloat 30s ease-in-out infinite; 
}


@keyframes backgroundFloat { 
    0%, 100% { opacity: 0.6; transform: translateY(0px) rotate(0deg); } 
    50% { opacity: 0.8; transform: translateY(-20px) rotate(1deg); } 
}


.container { 
    max-width: 1200px; 
    margin: auto; 
    padding: 0 20px; 
}


/* ========================================
   HEADER STYLES
   ======================================== */
header { 
    background: rgba(10, 14, 19, 0.95); 
    backdrop-filter: blur(20px); 
    padding: 12px 0; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid rgba(45, 55, 72, 0.3); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
}


header.scrolled { 
    padding: 8px 0; 
    background: rgba(10, 14, 19, 0.98); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); 
}


header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}


.logo { 
    z-index: 1002; 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
}


.logo img { 
    height: 60px; 
    width: auto; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.3)); 
}


.logo-text { 
    color: var(--secondary-color); 
    font-size: 1.4rem; 
    font-weight: 700; 
    margin-left: 12px; 
}


.logo:hover img { 
    transform: scale(1.05); 
    filter: drop-shadow(0 6px 16px rgba(0, 212, 255, 0.5)); 
}


header.scrolled .logo img { 
    height: 48px; 
}


nav { 
    display: flex; 
    align-items: center; 
}


nav ul { 
    list-style: none; 
    display: flex; 
    align-items: center; 
    gap: 30px; 
    margin: 0; 
    padding: 0; 
}


nav ul li a { 
    color: var(--text-color); 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 0.9rem; 
    position: relative; 
    padding: 8px 5px; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    letter-spacing: 0.3px; 
}


nav ul li a::before { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 0; 
    height: 2px; 
    background: var(--gradient-primary); 
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
}


nav ul li a:hover, 
nav ul li a.active { 
    color: var(--primary-color); 
    transform: translateY(-2px); 
}


nav ul li a:hover::before, 
nav ul li a.active::before { 
    width: 100%; 
}


.menu-toggle { 
    display: none; 
    width: 28px; 
    height: 28px; 
    position: relative; 
    cursor: pointer; 
    z-index: 1002; 
    background: none; 
    border: none; 
    padding: 0; 
}


.menu-toggle span { 
    display: block; 
    width: 100%; 
    height: 2px; 
    background: var(--text-color); 
    border-radius: 3px; 
    position: absolute; 
    left: 0; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}


.menu-toggle span:first-child { 
    top: 0; 
}


.menu-toggle span:nth-child(2) { 
    top: 50%; 
    transform: translateY(-50%); 
}


.menu-toggle span:nth-child(3) { 
    bottom: 0; 
}


.menu-toggle.active span:first-child { 
    top: 50%; 
    transform: translateY(-50%) rotate(45deg); 
}


.menu-toggle.active span:nth-child(2) { 
    opacity: 0; 
    transform: translateX(20px); 
}


.menu-toggle.active span:nth-child(3) { 
    bottom: 50%; 
    transform: translateY(50%) rotate(-45deg); 
}


/* ========================================
   SECTION STYLES
   ======================================== */
section { 
    padding: 80px 0; 
    position: relative; 
}


.section-title { 
    text-align: center; 
    font-size: 2.2rem; 
    font-weight: 700; 
    margin-bottom: 50px; 
    color: var(--secondary-color); 
}


.section-title span { 
    background: var(--gradient-primary); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text; 
}


/* ========================================
   HERO SECTION
   ======================================== */
#home { 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    text-align: center; 
    position: relative; 
    background: linear-gradient(rgba(10, 14, 19, 0.7), rgba(26, 32, 44, 0.8)), 
                url('https://i.ibb.co/XfmJ0rt1/Generated-File-September-22-2025-11-36-PM.gif') no-repeat center center/cover; 
}


.hero-content { 
    position: relative; 
    z-index: 2; 
}


.hero-content h1 { 
    font-size: clamp(2rem, 5vw, 3.5rem); 
    font-weight: 700; 
    margin-bottom: 20px; 
    line-height: 1.4; 
    min-height: 120px;
}


#typed-strings { 
    display: none; 
}


.typed-cursor {
    color: var(--primary-color);
    animation: blink 0.7s infinite;
}


@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}


.hero-content p { 
    font-size: clamp(0.95rem, 2vw, 1.1rem); 
    max-width: 700px; 
    margin: 0 auto 35px; 
    color: var(--text-secondary-color); 
    line-height: 1.7; 
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 3s;
}


.cta-button { 
    display: inline-block; 
    background: var(--gradient-primary); 
    color: var(--background-color); 
    padding: 14px 32px; 
    text-decoration: none; 
    font-weight: 600; 
    border-radius: 50px; 
    font-size: 0.95rem; 
    letter-spacing: 0.5px; 
    position: relative; 
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    box-shadow: var(--shadow-primary); 
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 3.5s;
}


.cta-button:hover { 
    transform: translateY(-3px) scale(1.05); 
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.3); 
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========================================
   SERVICES SECTION
   ======================================== */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 25px; 
    margin-top: 40px; 
}


.service-card { 
    background: var(--card-color); 
    padding: 35px 25px; 
    border-radius: 20px; 
    border: 1px solid var(--border-color); 
    position: relative; 
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    cursor: pointer;
}


.service-card:hover { 
    transform: translateY(-8px); 
    border-color: var(--primary-color); 
    box-shadow: var(--shadow-card); 
}


.service-icon { 
    width: 80px; 
    height: 80px; 
    margin: 0 auto 20px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: rgba(0, 212, 255, 0.1); 
    border-radius: 15px;
}


.service-icon lottie-player {
    width: 100%;
    height: 100%;
}


.service-card h3 { 
    font-size: 1.3rem; 
    color: var(--secondary-color); 
    margin-bottom: 12px; 
    font-weight: 600; 
}


.service-card p { 
    color: var(--text-secondary-color); 
    line-height: 1.6; 
    font-size: 0.9rem;
}


/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio-slider-wrapper { 
    position: relative; 
}


.portfolio-slider { 
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scrollbar-width: none; 
    padding-bottom: 20px; 
}


.portfolio-slider::-webkit-scrollbar { 
    display: none; 
}


.portfolio-slide { 
    flex: 0 0 90%; 
    scroll-snap-align: center; 
    margin-right: 20px; 
    border-radius: 15px; 
    overflow: hidden; 
    background: var(--card-color); 
    border: 1px solid var(--border-color); 
    transition: transform 0.3s ease; 
}


@media (min-width: 768px) { 
    .portfolio-slide { flex-basis: 45%; } 
}


@media (min-width: 1024px) { 
    .portfolio-slide { flex-basis: 31%; } 
}


.portfolio-slide:hover { 
    transform: translateY(-5px); 
}


.portfolio-media { 
    height: 200px; 
}


.portfolio-media img, 
.portfolio-media iframe { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border: none; 
}


.portfolio-content { 
    padding: 18px; 
}


.portfolio-content h3 { 
    font-size: 1.1rem; 
    font-weight: 600; 
    margin-bottom: 8px; 
}


.portfolio-content .category { 
    color: var(--primary-color); 
    font-weight: 500; 
    font-size: 0.85rem; 
}


/* ========================================
   TOOL CATEGORIES
   ======================================== */
.tool-category { 
    background: rgba(21, 27, 35, 0.8); 
    border: 1px solid var(--border-color); 
    border-radius: 15px; 
    margin-bottom: 15px; 
    overflow: hidden;
    transition: all 0.3s ease; 
}


.category-header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 20px 25px; 
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}


.category-header:hover {
    background: rgba(0, 212, 255, 0.05);
}


.category-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}


.category-icon { 
    width: 45px; 
    height: 45px; 
    border-radius: 10px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 1.3rem; 
    background: var(--gradient-primary); 
    color: var(--background-color); 
}


.category-header h2 { 
    font-size: 1.4rem; 
    color: var(--secondary-color); 
    font-weight: 600; 
}


.category-toggle {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}


.category-header.active .category-toggle {
    transform: rotate(180deg);
}


.tools-grid { 
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); 
    gap: 15px; 
    padding: 0 25px 25px;
}


.tools-grid.active {
    display: grid;
}


.tool-card { 
    background: var(--background-color); 
    border-radius: 12px; 
    padding: 20px 15px; 
    text-align: center; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    border: 1px solid var(--border-color); 
}


.tool-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--primary-color); 
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2); 
}


.tool-icon { 
    font-size: 1.8rem; 
    margin-bottom: 10px; 
    color: var(--primary-color); 
}


.tool-card p { 
    font-weight: 500; 
    color: var(--text-secondary-color); 
    font-size: 0.85rem; 
}


/* ========================================
   ABOUT SECTION
   ======================================== */
.about-layout { 
    display: flex; 
    align-items: center; 
    gap: 50px; 
    max-width: 900px;
    margin: 0 auto;
}


.about-photo { 
    width: 200px; 
    height: 200px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 3px solid var(--primary-color); 
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
}


.about-text h3 { 
    font-size: 2rem; 
    font-weight: 700; 
    color: var(--secondary-color); 
    margin-bottom: 8px; 
}


.about-text .title { 
    font-size: 1.1rem; 
    font-weight: 500; 
    color: var(--primary-color); 
    margin-bottom: 20px; 
}


.about-text p { 
    font-size: 0.95rem; 
    line-height: 1.8; 
    color: var(--text-secondary-color); 
}


/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-content { 
    display: flex; 
    gap: 50px; 
    align-items: flex-start; 
}


.contact-info, 
.contact-form { 
    flex: 1; 
}


.contact-info h3 { 
    font-size: 1.5rem; 
    color: var(--primary-color); 
    margin-bottom: 25px; 
    font-weight: 600; 
}


.contact-detail-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 15px; 
    margin-bottom: 20px; 
}


.contact-detail-item i { 
    font-size: 1.2rem; 
    color: var(--primary-color); 
    margin-top: 3px; 
}


.contact-detail-item strong { 
    font-size: 0.95rem; 
    color: var(--secondary-color); 
    display: block; 
    margin-bottom: 3px; 
}


.contact-detail-item p, 
.contact-detail-item a { 
    font-size: 0.9rem; 
    color: var(--text-secondary-color); 
    text-decoration: none; 
}


.form-group { 
    margin-bottom: 20px; 
}


.form-group label { 
    display: block; 
    font-weight: 500; 
    margin-bottom: 6px; 
    color: var(--text-secondary-color); 
    font-size: 0.85rem; 
}


.form-group input, 
.form-group textarea { 
    width: 100%; 
    padding: 12px 15px; 
    background: var(--background-color); 
    border: 1px solid var(--border-color); 
    color: var(--text-color); 
    border-radius: 10px; 
    font-size: 0.9rem; 
    font-family: inherit;
}


.form-group textarea { 
    min-height: 100px; 
    resize: vertical; 
}


/* ========================================
   MODAL STYLES
   ======================================== */
.modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(10px); 
    z-index: 2000; 
    display: none; 
    justify-content: center; 
    align-items: center; 
    padding: 20px;
}


.modal-overlay.active { 
    display: flex; 
}


.modal-content { 
    background: var(--card-color); 
    border: 1px solid var(--border-color); 
    border-radius: 20px; 
    padding: 30px; 
    width: 100%; 
    max-width: 550px; 
    max-height: 85vh; 
    overflow-y: auto; 
    color: var(--text-color); 
}


.modal-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 25px; 
    padding-bottom: 15px; 
    border-bottom: 1px solid var(--border-color); 
}


.modal-header h2 { 
    font-size: 1.4rem; 
    color: var(--secondary-color); 
    font-weight: 600; 
    display: flex;
    align-items: center;
    gap: 10px;
}


.modal-header h2 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}


.modal-close { 
    font-size: 1.5rem; 
    color: var(--text-secondary-color); 
    cursor: pointer; 
    background: none; 
    border: none; 
    padding: 5px;
    line-height: 1;
    transition: all 0.3s ease;
}


.modal-close:hover { 
    color: var(--primary-color); 
    transform: rotate(90deg);
}


.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
}


.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}


.file-input-wrapper { 
    border: 2px dashed var(--border-color); 
    border-radius: 12px; 
    padding: 30px; 
    text-align: center; 
    color: var(--text-secondary-color); 
    cursor: pointer; 
    position: relative; 
    transition: all 0.3s ease;
    background: var(--background-color);
}


.file-input-wrapper.dragover,
.file-input-wrapper:hover { 
    border-color: var(--primary-color); 
    background: rgba(0, 212, 255, 0.05);
}


.file-input-wrapper input[type="file"] { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    opacity: 0; 
    cursor: pointer; 
    top: 0;
    left: 0;
}


.file-input-wrapper i { 
    font-size: 2.5rem; 
    margin-bottom: 12px; 
    color: var(--primary-color); 
    display: block;
}


.file-input-wrapper .file-name { 
    font-size: 0.9rem;
    margin-top: 8px;
}


.modal-button,
.submit-btn { 
    display: block; 
    width: 100%; 
    background: var(--gradient-primary); 
    color: var(--background-color); 
    padding: 14px 25px; 
    font-weight: 600; 
    border-radius: 10px; 
    font-size: 0.95rem; 
    border: none; 
    cursor: pointer; 
    margin-top: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.modal-button:hover,
.submit-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3); 
}


.modal-button:disabled,
.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}


.result-area { 
    margin-top: 20px; 
    padding: 20px; 
    background: var(--background-color); 
    border: 1px solid var(--border-color); 
    border-radius: 10px; 
    min-height: 60px; 
    font-size: 0.9rem; 
}


.success-message { 
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}


.error-message { 
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error-color);
    color: var(--error-color);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}


.info-message {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning-color);
    color: var(--warning-color);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}


.progress-message {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    animation: pulse 1.5s ease-in-out infinite;
}


@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}


.download-link { 
    display: inline-block; 
    background: var(--success-color); 
    color: white; 
    padding: 10px 20px; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: 500; 
    margin-top: 10px; 
    transition: all 0.3s ease;
}


.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}


/* ========================================
   FORM ELEMENTS
   ======================================== */
.range-slider {
    display: flex;
    align-items: center;
    gap: 15px;
}


.range-slider input[type="range"] {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}


.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}


.range-value {
    min-width: 50px;
    text-align: center;
    padding: 5px 10px;
    background: var(--background-color);
    border-radius: 6px;
    color: var(--primary-color);
    font-weight: 600;
}


.case-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}


.case-btn {
    padding: 10px;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}


.case-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
}


.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
}


.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
}


.checkbox-item label {
    margin: 0;
    font-weight: 400;
}


.copy-btn {
    display: inline-block;
    padding: 8px 16px;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    margin-left: 10px;
}


.copy-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}


.copy-btn.copied {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}


/* ========================================
   QR CODE CONTAINER
   ======================================== */
#qr-output {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    margin-top: 20px;
}


/* ========================================
   FOOTER
   ======================================== */
footer { 
    background: rgba(21, 27, 35, 0.8); 
    padding: 40px 0; 
    text-align: center; 
    border-top: 1px solid rgba(45, 55, 72, 0.3); 
}


footer p { 
    color: var(--text-secondary-color); 
    font-size: 0.9rem; 
}


/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
#scroll-to-top { 
    position: fixed; 
    bottom: 25px; 
    right: 25px; 
    width: 45px; 
    height: 45px; 
    background: var(--gradient-primary); 
    color: var(--background-color); 
    border: none; 
    border-radius: 50%; 
    font-size: 1.1rem; 
    cursor: pointer; 
    z-index: 1001; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(20px); 
    transition: all 0.4s ease; 
}


#scroll-to-top.visible { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}


/* ========================================
   ANIMATIONS
   ======================================== */
.loading { 
    opacity: 0; 
    animation: fadeIn 0.6s ease forwards; 
}


@keyframes fadeIn { 
    to { opacity: 1; } 
}


.fade-in-up { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: opacity 0.8s ease, transform 0.8s ease; 
}


.fade-in-up.visible { 
    opacity: 1; 
    transform: translateY(0); 
}


/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    body { 
        font-size: 13px; 
    }
    
    .logo-text { 
        display: none; 
    }
    
    .menu-toggle { 
        display: block; 
    }
    
    nav ul { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 75%; 
        max-width: 350px; 
        height: 100vh; 
        background: rgba(10, 14, 19, 0.98); 
        backdrop-filter: blur(20px); 
        flex-direction: column; 
        justify-content: center; 
        gap: 30px; 
        padding: 80px 30px 30px; 
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    }
    
    nav ul.active { 
        right: 0; 
    }
    
    nav ul li { 
        width: 100%; 
        text-align: center; 
    }
    
    nav ul li a { 
        display: block; 
        padding: 12px; 
        font-size: 1rem; 
        font-weight: 600; 
    }
    
    .mobile-overlay { 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100vh; 
        background: rgba(0, 0, 0, 0.7); 
        opacity: 0; 
        visibility: hidden; 
        transition: all 0.3s ease; 
        z-index: 999; 
    }
    
    .mobile-overlay.active { 
        opacity: 1; 
        visibility: visible; 
    }
    
    .section-title { 
        font-size: 1.8rem; 
    }
    
    .hero-content h1 { 
        font-size: 1.8rem; 
        min-height: 100px; 
    }
    
    .services-grid { 
        grid-template-columns: 1fr; 
    }
    
    .about-layout { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .contact-content { 
        flex-direction: column; 
        gap: 30px; 
    }
    
    .tools-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .case-buttons { 
        grid-template-columns: 1fr; 
    }
}