/* --- Best Web Makers - Final Stylesheet (v3 with All Fixes) --- */

/* --- Variables and Global Styles --- */
:root {
    --primary-color: #ffab00;
    --secondary-color: #ff6d00;
    --background-color: #121212;
    --surface-color: #1e1e1e;
    --text-color: #e0e0e0;
    --light-border-color: rgba(255, 255, 255, 0.1);
    --excluded-color: #666;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none;sc
}

/*html { scroll-behavior: smooth; }*/

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}
p {
            text-align: justify;
        }
        
        /* Ensure footer-content is a flex container for better centering of its children */
        footer .footer-content {
            display: flex;
            flex-direction: column; /* Stack children vertically */
            align-items: center;   /* Center children horizontally */
            text-align: center;    /* Fallback for text alignment */
            padding: 2rem 5%; /* Existing padding */
            max-width: 1100px; /* Existing max-width */
            margin: 0 auto; /* Existing margin for overall centering */
        }

        .copyright {
            text-align: center;
            font-size: 0.9rem;
            color: #888;
            margin-top: 1rem; /* Space from links */
            margin-bottom: 5px; /* Small space before visitors count */
        }

        .footer-visitors {
            text-align: center;
            font-size: 1rem; /* Slightly larger font size */
            color: var(--primary-color); /* Use primary color for prominence */
            font-weight: 600; /* Make it bold */
            margin-top: 5px; /* Small margin from copyright */
            display: flex; /* Use flex to align text and count horizontally */
            align-items: center;
            gap: 5px; /* Space between "Total Visitors:" and the number */
        }

        .footer-visitors .visitor-count {
            font-size: 1.1rem; /* Make the number slightly larger than the text */
            color: var(--text-color); /* Use general text color for the number itself */
        }

/* --- Interactive Cursor --- */
.cursor { width: 20px; height: 20px; border: 2px solid var(--primary-color); border-radius: 50%; position: fixed; transform: translate(-50%, -50%); pointer-events: none; transition: width 0.3s, height 0.3s, background-color 0.3s, border-width 0.3s; z-index: 9999; }
.cursor.hover-grow { width: 40px; height: 40px; background-color: rgba(255, 171, 0, 0.2); border-width: 3px; }

/* --- Header & Navigation --- */
header { background-color: rgba(18, 18, 18, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--light-border-color); padding: 1rem 5%; position: fixed; width: 100%; z-index: 1000; }
nav { display: flex; justify-content: space-between; align-items: center; }
nav .logo { font-size: 1.5rem; font-weight: 700; text-decoration: none; background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: filter 0.3s ease; }
nav .logo:hover { filter: brightness(1.2); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 2rem; }
.nav-links li { margin-left: 0; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 600; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--primary-color); }
.cta-button { background-color: var(--primary-color); color: #000; padding: 0.7rem 1.5rem; border-radius: 25px; text-decoration: none; transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); border: none; font-size: 1rem; font-weight: 600; }
.cta-button:hover { background-color: var(--secondary-color); color: #000; }
.section { padding: 60px; text-align: center; opacity: 0; transform: translateY(20px); animation: fadeInUp 1s ease-out forwards;
            background: rgba(255, 255, 255, 0.05); /* Light semi-transparent section backgrounds */
            border-radius: 8px;
            margin: 20px auto;
            max-width: 900px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(5px); /* Adds a frosted glass effect */
            color: white;
        }

        .section:nth-child(even) { animation-delay: 0.2s; }
        .section h2 { margin-bottom: 30px; color: #3498db; animation: pulse 2s infinite ease-in-out; }
        .section p { line-height: 1.6; max-width: 800px; margin: 0 auto 30px; }
        .section ul { list-style: none; padding: 0; }
        .section ul li { margin-bottom: 10px; }

/* --- General Section & Title Styles --- */
.content-section { padding: 6rem 5%; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; position: relative; color: #fff; }
.section-title::after { content: ''; display: block; width: 80px; height: 4px; background-color: var(--primary-color); margin: 0.5rem auto 0; border-radius: 2px; }
.section-subtitle { text-align: center; max-width: 600px; margin: -2rem auto 3rem; color: #aaa; }

/* --- Hero Section --- */
#hero { height: 100vh; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.pexels.com/photos/3184418/pexels-photo-3184418.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover; color: #fff; display: flex; justify-content: center; align-items: center; text-align: center; padding: 0 5%; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.hero-content h1.char-animated { clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); }
.hero-content h1 .char { display: inline-block; transform: translateY(115px); transition: transform .5s cubic-bezier(.215,.61,.355,1); }
.hero-content p { font-size: 1.5rem; margin-bottom: 2rem; }



/* --- About & Why Choose Us Sections --- */
#about { background-color: var(--surface-color); }
.about-container { display: flex; align-items: center; gap: 3rem; }
.about-text { flex: 1; }
.about-text h3 { margin-top: 2rem; color: var(--primary-color); font-size: 1.5rem; }
.about-text h3:first-of-type { margin-top: 0; }
.about-image { flex: 1; }
.about-image img { width: 100%; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.why-choose-us-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 4rem; text-align: center; }
.why-choose-us-item h4 { font-size: 1.2rem; color: var(--text-color); margin-bottom: 0.5rem; position: relative; display: inline-block; }
.why-choose-us-item h4::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background-color: var(--primary-color); border-radius: 2px; }
.why-choose-us-item p { color: #aaa; }

/* --- Team Section --- */
#team { background-color: var(--background-color); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.team-card { background-color: var(--surface-color); border: 1px solid var(--light-border-color); border-radius: 10px; padding: 2rem; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.team-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.team-image-wrapper { width: 150px; height: 150px; margin: 0 auto 1.5rem; border-radius: 50%; overflow: hidden; border: 4px solid var(--primary-color); }
.team-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: 1.5rem; color: var(--text-color); margin-bottom: 0.25rem; }
.team-role { color: var(--primary-color); font-weight: 600; margin-bottom: 1.5rem; }
.team-social-links { display: flex; justify-content: center; gap: 1rem; }
.team-social-links a { color: #aaa; transition: color 0.3s ease, transform 0.3s ease; }
.team-social-links a:hover { color: var(--primary-color); transform: scale(1.2); }
.team-social-links svg { width: 24px; height: 24px; }

/* --- Services Section --- */
#services { background-color: var(--surface-color); }
.services-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; align-items: stretch; perspective: 1500px; }
.service-card { flex: 0 1 320px; display: flex; flex-direction: column; position: relative; transform-style: preserve-3d; overflow: hidden; background-color: var(--background-color); padding: 2rem; text-align: center; border-radius: 10px; border: 1px solid var(--light-border-color); transition: transform 0.3s ease, border-color 0.3s ease; }
.service-card:hover { transform: translateY(-10px); border-color: var(--primary-color); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient( circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 25% ); opacity: 0; transition: opacity 0.3s ease; z-index: 1; }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 80px; height: 80px; margin: 0 auto 1rem; }

/* --- Gallery Section --- */
/*#gallery-container { overflow: hidden; padding: 6rem 0; background-color: var(--background-color); }*/
/*#gallery { padding: 0; }*/
/*.gallery-grid { display: flex; flex-wrap: nowrap; padding: 0 5%; }*/
/*.gallery-item { width: 30vw; flex-shrink: 0; margin-right: 2vw; position: relative; overflow: hidden; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }*/
/*.gallery-item img { width: 100%; display: block; transition: transform 0.4s ease; }*/
/*.gallery-item:hover img { transform: scale(1.1); }*/
/*.gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(255, 171, 0, 0.7), rgba(255, 109, 0, 0.7)); color: #fff; display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.4s ease; }*/
/*.gallery-item:hover .gallery-overlay { opacity: 1; }*/
/*.gallery-overlay h3 { font-size: 1.5rem; transform: translateY(20px); transition: transform 0.4s ease; }*/
/*.gallery-item:hover .gallery-overlay h3 { transform: translateY(0); }*/


/* --- Gallery Section --- */
/* --- Gallery Section - Modified for Vertical Grid with Reliable Centering --- */
#gallery-container {
    overflow: visible; /* Allows content to flow naturally vertically */
    padding: 6rem 5%; /* Standard section padding */
    background-color: var(--background-color);
    position: relative;
    z-index: 1; /* Ensure this section is above the body's animated background */
}
#gallery {
    padding: 0; /* Ensures the inner section doesn't add extra padding */
}
.gallery-grid {
    display: grid; /* Use CSS Grid */
    /*
     * Key change for centering:
     * - `auto-fit`: creates as many columns as can fit.
     * - `minmax(280px, 350px)`: This sets a more constrained width for each column.
     * It means each column will be at least 280px, and at most 350px.
     * By not using `1fr` directly as the max, we allow the grid to have "empty" space,
     * which `justify-content` can then use for centering.
     * Adjust `350px` to your desired maximum width for each gallery item.
     */
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
    gap: 2rem; /* Spacing between grid items */

    /* === CRUCIAL FOR CENTERING THE ENTIRE SET OF COLUMNS === */
    justify-content: center; /* Centers the grid tracks/columns horizontally */
    /* This will center the row if it contains fewer items than columns that could fit */

    /* Align items within their cells (optional, if you want content within card centered) */
    /* justify-items: center; */
}


.gallery-item {
    /* No need for explicit width: 100% here as grid-template-columns defines it */
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    /* Ensure no conflicting max-width or min-width that interferes with grid */
}
.gallery-item img {
    width: 100%;
    height: 250px; /* Example fixed height for consistent card appearance */
    object-fit: cover; /* Ensures images cover the area without distortion */
    display: block;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 171, 0, 0.7), rgba(255, 109, 0, 0.7));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 1rem;
    text-align: center;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay h3 {
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
}
.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}
.gallery-item:hover .gallery-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* Adjust media queries if needed for this specific section */
@media (max-width: 992px) {
    #gallery-container {
        padding: 4rem 5%;
    }
    .gallery-grid {
        grid-template-columns: 1fr; /* Single column on tablets/mobiles */
        gap: 1.5rem;
    }
    .gallery-item img {
        height: 200px;
    }
}

/* --- Our Clients Section (NEW) --- */
        #clients {
            background-color: var(--background-color); /* Slightly darker background */
            padding: 6rem 5%; /* Standard section padding */
            overflow: hidden; /* Important for the endless scroll */
        }

        .clients-carousel-container {
            width: 100%;
            max-width: 1100px; /* Limit the carousel width */
            margin: 3rem auto;
            overflow: hidden; /* Hide overflow for the endless scroll effect */
            position: relative;
            border-radius: 10px;
            background-color: var(--surface-color); /* Matches other cards */
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
            padding: 2rem 0; /* Vertical padding inside container */
        }

        .clients-logo-track {
            display: flex;
            width: fit-content; /* Allows content to extend indefinitely */
            animation: scrollLogos 30s linear infinite; /* Key animation for endless scroll */
            padding-left: 20px; /* Initial offset for seamless loop */
        }

        .clients-logo-track:hover {
            animation-play-state: paused; /* Pause animation on hover */
        }

        .client-logo-item {
            flex-shrink: 0; /* Prevent logos from shrinking */
            width: 150px; /* Fixed width for each logo container */
            height: 80px; /* Fixed height for each logo container */
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 25px; /* Spacing between logos */
            opacity: 0.7; /* Initial slight transparency */
            filter: grayscale(100%); /* Start as grayscale */
            transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
            cursor: pointer;
        }

        .client-logo-item:hover {
            opacity: 1; /* Fully opaque on hover */
            filter: grayscale(0%); /* Colorize on hover */
            transform: scale(1.1); /* Slight zoom on hover */
        }

        .client-logo-item img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain; /* Ensure logo fits within its box */
            display: block; /* Remove extra space below image */
        }

        /* Keyframes for the endless logo scroll */
        @keyframes scrollLogos {
            from { transform: translateX(0); }
            to { transform: translateX(-50%); } /* Scrolls half the track width (the duplicated part) */
        }

        /* Duplicate logos for seamless effect */
        .clients-logo-track::after {
            content: attr(data-logos); /* Content from JS will be duplicated */
            display: flex;
            white-space: nowrap;
            /* This is a trick to visually duplicate the content, if using pure CSS copy
               However, it's safer to duplicate actual HTML content with JS for robustness */
        }
        
        

/* --- Contact Section --- */
#contact { background-color: var(--surface-color); }
.contact-container { display: flex; gap: 3rem; align-items: flex-start; max-width: 1100px; margin: 0 auto; }
.contact-details { flex-basis: 40%; }
.contact-form-wrapper { flex-basis: 60%; }
#contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
#contact-form input, #contact-form textarea { width: 100%; padding: 1rem; background-color: var(--background-color); border: 1px solid var(--light-border-color); color: var(--text-color); border-radius: 5px; font-family: 'Poppins', sans-serif; font-size: 1rem; transition: border-color 0.3s ease; }
#contact-form input:focus, #contact-form textarea:focus { outline: none; border-color: var(--primary-color); }

/* --- New Page (Pricing, Legal) Styles --- */
.page-content { padding-top: 100px; max-width: 1100px; margin: 0 auto; }
.legal-content { max-width: 800px; margin: 0 auto; background-color: var(--surface-color); padding: 2rem 3rem; border-radius: 10px; border: 1px solid var(--light-border-color); }
.legal-content h3 { margin-top: 2rem; color: var(--primary-color); }
.legal-content p { line-height: 1.8; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; align-items: center; }
.pricing-card { background-color: var(--surface-color); border: 1px solid var(--light-border-color); border-radius: 10px; padding: 2rem; display: flex; flex-direction: column; transition: transform 0.3s ease, border-color 0.3s ease; }
.pricing-card:hover { transform: translateY(-10px); }
.pricing-card.featured { border-color: var(--primary-color); transform: scale(1.05); }
.pricing-header { text-align: center; padding-bottom: 1.5rem; border-bottom: 1px solid var(--light-border-color); }
.pricing-header h3 { font-size: 1.5rem; }
.pricing-price { font-size: 2.5rem; font-weight: 700; color: var(--primary-color); margin: 0.5rem 0; }
.pricing-desc { color: #aaa; font-size: 0.9rem; }
.pricing-features { list-style: none; margin: 1.5rem 0; flex-grow: 1; text-align: left; }
.pricing-features li { display: flex; align-items: flex-start; padding: 0.5rem 0; }
.pricing-features li::before { margin-right: 0.75rem; font-weight: 700; }
.pricing-features li.included::before { content: '✓'; color: var(--primary-color); }
.pricing-features li.excluded { color: var(--excluded-color); text-decoration: line-through; }
.pricing-features li.excluded::before { content: '—'; color: var(--excluded-color); }

/* --- Footer --- */
footer { border-top: 1px solid var(--light-border-color); max-width: 100%; }
.footer-content { max-width: 1100px; margin: 0 auto; padding: 2rem 5%; text-align: center; }
.footer-links { list-style: none; display: flex; justify-content: center; gap: 2rem; margin-bottom: 1rem; }
.footer-links a { color: #aaa; text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--primary-color); }

/* --- NEW & CORRECTED POP-UP MODAL STYLES --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.modal-overlay.visible {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}
.modal-content {
    background-color: var(--surface-color);
    padding: 2rem 3rem;
    border-radius: 10px;
    border: 1px solid var(--light-border-color);
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    animation: scaleUp 0.3s ease-out;
}
#modal-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 2.2rem;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}
.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}
/* --- Template Carousel Section --- */
        #templates {
            background-color: var(--surface-color);
        }
        .carousel-container {
            position: relative;
            width: 90%;
            max-width: 800px;
            margin: 40px auto;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
            background: rgba(255, 255, 255, 0.05); /* Lighter transparent background */
            backdrop-filter: blur(8px);
            border: 1px solid var(--light-border-color);
        }

        .carousel-slides {
            display: flex;
            transition: transform 0.8s ease-in-out;
        }

        .carousel-slide {
            min-width: 100%;
            box-sizing: border-box;
            padding: 20px; /* Padding inside the slide */
        }

        .carousel-slide img {
            width: 100%;
            height: auto; /* Maintain aspect ratio */
            display: block;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease;
        }
        .carousel-slide img:hover {
            transform: scale(1.02);
        }

        .carousel-slide h3 {
            margin-top: 15px;
            color: var(--primary-color);
            font-size: 1.3rem;
        }
        .carousel-slide p {
            font-size: 0.95rem;
            color: #ccc;
            margin-top: 5px;
        }


        .carousel-controls button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            padding: 15px;
            cursor: pointer;
            font-size: 1.5em;
            border-radius: 50%;
            transition: background-color 0.3s ease, transform 0.3s ease;
            z-index: 10; /* Ensure controls are above slides */
        }

        .carousel-controls button:hover {
            background-color: rgba(0, 0, 0, 0.8);
            transform: translateY(-50%) scale(1.1);
        }

        .carousel-controls .prev {
            left: 10px;
        }

        .carousel-controls .next {
            right: 10px;
        }

        .carousel-dots {
            text-align: center;
            padding: 10px 0;
            position: absolute;
            bottom: 10px;
            width: 100%;
            z-index: 10;
        }

        .carousel-dot {
            height: 12px;
            width: 12px;
            margin: 0 5px;
            background-color: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            display: inline-block;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }

        .carousel-dot.active {
            background-color: var(--primary-color);
            transform: scale(1.2);
        }
        .carousel-dot:hover {
            transform: scale(1.1);
            background-color: var(--primary-color);
        }


/*
==============================================
--- RESPONSIVE DESIGN MEDIA QUERIES ---
==============================================
*/

/* --- Hide hamburger on desktop --- */
.hamburger-menu { display: none; }

/* --- Tablet and Smaller Devices (max-width: 992px) --- */
@media (max-width: 992px) {
    .content-section { padding: 4rem 5%; }
    .section-title { font-size: 2rem; }
    .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: 70%; max-width: 300px; background-color: var(--surface-color); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; transform: translateX(100%); transition: transform 0.3s ease-in-out; z-index: 100; border-left: 1px solid var(--light-border-color); }
    .nav-links.active { transform: translateX(0); }
    .hamburger-menu { display: flex; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; z-index: 101; }
    .hamburger-menu .line { width: 25px; height: 3px; background-color: var(--text-color); border-radius: 2px; }
    .about-container, .contact-container { flex-direction: column; text-align: center; }
    .contact-details { margin-bottom: 2rem; }
    .carousel-container {
                width: 95%; /* Make carousel wider on smaller screens */
            }
    #gallery-container { overflow: visible; padding: 4rem 5%; }
    #gallery .gallery-grid { display: grid; width: 100%; grid-template-columns: 1fr; gap: 1.5rem; padding: 0; }
    #gallery .gallery-item { width: 100%; margin-right: 0; }
}

/* --- Mobile-Only Devices (max-width: 767px) --- */
@media (max-width: 767px) {
    .cursor { display: none !important; }
    * { cursor: auto !important; }
    .hero-content h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    .hero-content p { font-size: 1.1rem; }
    .section-title { font-size: 1.8rem; }
    header { padding: 1rem 5%; }
    .nav-links { gap: 1.5rem; }
    .hero-content h1 .char { display: none; }
}