:root {
    --bg-color: #050505;
    /* True Black for OLED/LED feel */
    --text-color: #f0f0f0;
    --primary-color: #ffb700;
    /* Richer Gold/Orange */
    --secondary-color: #2a2a2a;
    --card-bg: #121212;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 183, 0, 0.2);
    --font-main: 'Outfit', sans-serif;
    --gradient-main: linear-gradient(135deg, #ffb700, #ff8c00);
    --gradient-glow: linear-gradient(to right, #ffb700, #ff8c00);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Orbs */
.background-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: orbFloat 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: #ff00ea;
    bottom: 10%;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #00d4ff;
    top: 40%;
    right: 15%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(30px, 50px) rotate(120deg) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg) scale(0.9);
    }

    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-glow {
    text-shadow: 0 0 15px rgba(255, 172, 24, 0.8), 0 0 30px rgba(255, 172, 24, 0.4);
    color: var(--primary-color);
    background: linear-gradient(to right, #ffac18, #ffcc00);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    /* Required for transform alignment if needed */
}

.highlight {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 172, 24, 0.3);
    border: 2px solid transparent;
    /* Match secondary button border width */
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(255, 172, 24, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    /* margin-left removed, handling with flex gap */
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #000;
}

/* Fix button container alignment */
.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    /* More gap between buttons */
    margin-top: 40px;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.9s;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.center {
    text-align: center;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 183, 0, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    height: 90px;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.5;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 120px;
    width: auto;
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 5px rgba(255, 183, 0, 0.2));
    }

    50% {
        transform: translateY(-8px);
        filter: drop-shadow(0 0 15px rgba(255, 183, 0, 0.6));
    }
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 500;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.btn-contact {
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color) !important;
}

.btn-contact:hover {
    background: var(--primary-color);
    color: #000 !important;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    background: url('../images/website-banner-led.jpg') no-repeat center center/cover;
    /* Add a subtle animation to background if desired, keeping it static for now but optimized */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Solid dark overlay for clear text visibility without boxes */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), #000);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    /* Wider container */
    padding: 20px;
    /* Reduced padding since no border */
    background: transparent;
    /* Removed glass effect */
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    margin-top: 40px;
    /* Added gap from top */
}

.hero h1 {
    font-size: 5.5rem;
    /* Larger and cleaner */
    line-height: 1.05;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -3px;
    color: #fff;
    /* Removed text-shadow for a cleaner, flatter 'Standard' look, relying on contrast */
    text-shadow: none;
    transition: transform 0.4s ease;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.5s;
}

.hero h1:hover {
    transform: scale(1.01);
}

.hero p {
    font-size: 1.3rem;
    /* Slightly smaller but more readable with line-height */
    line-height: 1.8;
    margin-bottom: 50px;
    color: #ddd;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.7s;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 40px;
    /* Increased bottom spacing */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2s;
    z-index: 10;
}

.mouse {
    width: 32px;
    height: 54px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

/* About Section */
.about {
    padding: 120px 0;
    /* Increased Section Gap */
    background: radial-gradient(circle at top right, #111, var(--bg-color));
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border for separation */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.about-image .image-placeholder {
    width: 100%;
    height: 500px;
    background: #0a0a0a;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 50px rgba(255, 183, 0, 0.05);
}

.about-image .image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 45%, rgba(255, 183, 0, 0.1) 50%, transparent 55%);
    filter: blur(5px);
}

.about-image img {
    max-width: 90%;
    border-radius: 10px;
    /* Filter to blend image better if it has white bg */
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.features-list li {
    background: rgba(255, 255, 255, 0.03);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

.features-list li:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 183, 0, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.features-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(255, 183, 0, 0.1);
    padding: 10px;
    border-radius: 50%;
}


/* Services Section */
.services {
    padding: 100px 0;
    background: #080808;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 183, 0, 0.03), transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 50px 35px;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 183, 0, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover,
.service-card.active-card {
    transform: translateY(-15px);
    border-color: rgba(255, 183, 0, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 183, 0, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.service-card.active-card {
    background: linear-gradient(145deg, #151515, #101010);
    border-top: 2px solid var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 183, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 183, 0, 0.1);
}

.service-card:hover .service-icon,
.service-card.active-card .service-icon {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 183, 0, 0.4);
    transform: scale(1.1);
}

.service-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #fff;
}

.service-content p {
    color: #aaa;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.link-btn {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
}

.link-btn:hover {
    border-bottom-color: var(--primary-color);
    gap: 15px;
    /* Arrow slide effect */
}

/* Gallery/Map Section */
.gallery {
    padding: 100px 0;
    background: #0a0a0a;
}

.section-subtitle {
    margin-bottom: 60px;
    color: #888;
}

/* Map Wrapper */
.map-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    background: #111;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: none;
}

/* Legacy Gallery Grid (kept for reference if needed, but not used now) */
.gallery-grid {
    display: none;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--glass-bg);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.contact-info .info-item {
    margin-top: 30px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    gap: 15px;
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
    border-radius: 8px;
    /* Slightly sharper definition */
    color: white;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 183, 0, 0.15);
    background: rgba(0, 0, 0, 0.6);
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: #666;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -12px;
    left: 10px;
    font-size: 0.8rem;
    background: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    color: #000;
    font-weight: 600;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Feature Card Text */
.features-list strong {
    display: block;
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.features-list span {
    color: #888;
    font-size: 0.95rem;
    font-weight: 300;
}

/* Footer */
footer {
    padding: 60px 0 30px;
    text-align: center;
    background: #000;
    border-top: 1px solid #222;
    color: #666;
}

.social-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 183, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {

    body,
    html {
        overflow-x: hidden;
        /* Prevent horizontal scroll */
        width: 100%;
    }

    .container {
        padding: 0 15px;
    }

    .navbar {
        height: 85px;
        /* Increased height for bigger logo */
        padding: 10px 15px;
        background: #000;
        z-index: 1001;
        /* Ensure navbar stays on top */
    }

    .logo img {
        height: 65px;
        /* Significantly bigger logo */
    }

    .hamburger {
        display: block;
        font-size: 1.5rem;
        color: #fff;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 85px;
        /* Updated to match new navbar height */
        left: 0;
        width: 100%;
        height: calc(100vh - 85px);
        background: #000;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        gap: 25px;
        z-index: 999;
        border-top: 1px solid #222;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }

    /* Hero Fixes */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px 0;
        /* Clear fix for top padding */
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* Ensure background image is locked and visible */
        background-image: url('../images/website-banner-led.jpg') !important;
        background-position: center top !important;
        /* Prioritize top part of image */
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }

    /* Make overlay transparency match desktop for consistency */
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), #000);
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 15px;
        text-align: center;
        z-index: 5;
        /* Ensure content is above everything */
    }

    .hero h1 {
        font-size: 2.2rem;
        /* Much smaller to fit */
        line-height: 1.2;
        margin-bottom: 20px;
        color: #ffffff;
        /* Solid white */
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
        word-wrap: break-word;
        /* Prevent cutoff */
    }

    /* Disable gradient text on mobile for safety */
    .hero h1 .text-glow {
        background: none;
        -webkit-text-fill-color: #ffb700;
        color: #ffb700;
        text-shadow: 0 0 10px rgba(255, 183, 0, 0.5);
        display: inline;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
        color: #eee;
        line-height: 1.6;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
        margin-top: 30px;
    }

    .btn {
        width: 100%;
        margin: 0;
        display: block;
        text-align: center;
    }

    /* General Section Fixes */
    .section-title {
        font-size: 1.8rem;
    }

    .about,
    .services,
    .gallery,
    .contact {
        padding: 60px 0;
        overflow: hidden;
    }

    .about-grid,
    .services-grid,
    .gallery-grid,
    .contact-wrapper,
    .features-list {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .scroll-down {
        display: none;
    }
}

/* Animations Helper */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}