:root {
    --bg-dark: #1a1a1a;
    --primary-dark: #2c2c2c;
    --text-light: #e0e0e0;
    --text-white: #ffffff;
    --accent-teal: #00e5e5; /* A vibrant, neon-like teal */
    --accent-orange: #ff9933;
    --font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Function to create a subtle noise texture */
@function-plugin(noise, size, color) {
    $styles: ();
    @for $i from 1 through 50 {
        $styles: append($styles, (random(size) + 'px ' + random(size) + 'px ' + color));
    }
    @return $styles;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    background-color: var(--bg-dark);
    /* Applying a subtle noise texture */
    background-image: radial-gradient(var(--primary-dark) 1px, transparent 1px),
                      radial-gradient(var(--primary-dark) 1px, var(--bg-dark) 1px);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
    color: var(--text-light);
}

a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-white);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.main-header {
    background: rgba(26, 26, 26, 0.8); /* Semi-transparent background */
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo img {
    height: 60px; /* Slightly adjusted size */
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--text-white);
    font-weight: 600;
    font-size: 1rem;
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--accent-teal);
    border-bottom-color: var(--accent-teal);
}

/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 0;
    min-height: 90vh;
}

#hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

#hero .highlight {
    background: -webkit-linear-gradient(45deg, var(--accent-teal), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px; /* Pill-shaped buttons */
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--accent-teal);
    background: transparent;
    color: var(--accent-teal);
}

.btn:hover {
    background: var(--accent-teal);
    color: var(--primary-dark);
    box-shadow: 0 0 20px rgba(0, 229, 229, 0.5);
    transform: translateY(-3px);
}

#hero-logo-dynamic {
    display: block; /* Ensures it takes its own line */
    margin: 1.5rem auto 0; /* Space above and centers horizontally */
    max-width: 100%; /* Ensures it doesn't overflow its parent */
    height: auto; /* Maintain aspect ratio */
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-white);
}

/* About Section */
#about {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}


/* Services Section */
#services .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

#services .service-card {
    background: rgba(44, 44, 44, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

#services .service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-teal);
}

#services .service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-teal);
}

#services .service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

#services .service-card .service-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

#services .service-card .service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

#services .service-card .service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    background-color: var(--accent-teal);
    border-radius: 50%;
}

/* Contact Section */
#contact {
    background-color: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#contact .contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

#contact .contact-info {
    flex: 1;
}

#contact .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(44, 44, 44, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

#contact .contact-item:hover {
    border-color: var(--accent-teal);
}

#contact .contact-icon {
    font-size: 1.8rem;
    color: var(--accent-teal);
    width: 50px;
    text-align: center;
}

#contact .contact-details h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-weight: 400;
}

#contact .contact-details a,
#contact .contact-details span {
    font-size: 1.1rem;
    color: var(--text-white);
    font-weight: 600;
}

#contact .contact-details a:hover {
    color: var(--accent-teal);
}

#contact .contact-qr {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
}

#contact .contact-qr img {
    width: 180px;
    height: 180px;
}

#contact .contact-qr p {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 600;
}

@media (max-width: 768px) {
    #contact .contact-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    #contact .contact-info {
        width: 100%;
    }

    #contact .contact-qr img {
        width: 150px;
        height: 150px;
    }
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav { display: none; } /* For simplicity, hide nav on mobile */
    #hero h1 { font-size: 2.8rem; }
    #hero p { font-size: 1rem; }
    .section-title { font-size: 2.2rem; }
}