@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;700;800&display=swap');

:root {
    --bg-color: #050808;
    /* Deep dark background */
    --surface-color: #0b1111;
    /* Slightly lighter for cards */
    --text-main: #f0f4f4;
    --text-muted: #8e9c9c;
    --accent-teal: #078373;
    --accent-teal-glow: rgba(7, 131, 115, 0.4);
    --accent-teal-light: #0af2d4;
    --card-border: rgba(7, 131, 115, 0.2);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

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

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: var(--accent-teal-light);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-teal);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor.hover-active {
    width: 12px;
    height: 12px;
    background-color: white;
}

.custom-cursor-follower.hover-active {
    width: 50px;
    height: 50px;
    background-color: rgba(7, 131, 115, 0.1);
    border-color: var(--accent-teal-light);
}

a,
button,
.btn {
    cursor: none !important;
}

/* Dotted Matrix Background Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(var(--card-border) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    opacity: 0.5;
}

/* Animated Aurora Background Glow */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.glow-blob {
    position: absolute;
    filter: blur(140px);
    border-radius: 50%;
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}

.glow-blob-1 {
    width: 700px;
    height: 700px;
    background: var(--accent-teal);
    top: -200px;
    left: -200px;
    animation-duration: 25s;
}

.glow-blob-2 {
    width: 600px;
    height: 600px;
    background: #005045;
    /* Darker cyan/teal */
    bottom: -200px;
    right: -200px;
    animation-duration: 30s;
    animation-delay: -5s;
}

.glow-blob-3 {
    width: 800px;
    height: 800px;
    background: #023630;
    /* Very dark green/blue */
    top: 30%;
    left: 20%;
    animation-duration: 35s;
    animation-delay: -10s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(8vw, -10vh) scale(1.1);
    }

    66% {
        transform: translate(-8vw, 10vh) scale(0.9);
    }

    100% {
        transform: translate(4vw, 5vh) scale(1.2);
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.text-teal {
    color: var(--accent-teal-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--accent-teal-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(5, 8, 8, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
}

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

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

.logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* Custom CSS Logo replicating the image */
.logo-icon {
    display: grid;
    grid-template-columns: repeat(4, 8px);
    grid-template-rows: repeat(4, 8px);
    gap: 2px;
}

.logo-icon div {
    background: white;
}

/* Creating the stair shape */
.logo-icon div:nth-child(1) {
    grid-column: 2;
    grid-row: 1;
}

.logo-icon div:nth-child(2) {
    grid-column: 2;
    grid-row: 2;
}

.logo-icon div:nth-child(3) {
    grid-column: 3;
    grid-row: 2;
}

.logo-icon div:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
}

.logo-icon div:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
    background: var(--accent-teal);
}

.logo-icon div:nth-child(6) {
    grid-column: 3;
    grid-row: 3;
}

.logo-icon div:nth-child(7) {
    grid-column: 4;
    grid-row: 3;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    display: flex;
    flex-direction: column;
}

.logo-text span {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    align-items: center;
    justify-content: center;
    gap: 40px;
    font-size: 1.5rem;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 1000;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-teal-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--accent-teal);
    color: white;
    box-shadow: 0 0 15px var(--accent-teal-glow);
}

.btn-primary:hover {
    background: var(--accent-teal-light);
    color: #000;
    box-shadow: 0 0 25px var(--accent-teal-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--accent-teal);
}

.btn-outline:hover {
    background: var(--accent-teal);
    box-shadow: 0 0 15px var(--accent-teal-glow);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    display: flex;
    align-items: center;
    position: relative;
    min-height: 100vh;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

/* Removed hardcoded hero-visual rules to use flex layout */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Brands Section */
.brands {
    padding: 40px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    background: rgba(5, 8, 8, 0.5);
    text-align: center;
}

.brands-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
    opacity: 0.6;
}

.brands-wrapper img {
    height: 30px;
    filter: grayscale(100%) brightness(200%);
}

/* Glass Card Global Style */
.glass-card {
    background: rgba(11, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--accent-teal-glow);
    transform: translateY(-5px);
}

/* Services Features */
.services-intro {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-teal-light);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Popular Services Grid */
.popular-services {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 131, 115, 0.05) 50%, transparent 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-item {
    display: flex;
    flex-direction: column;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-item h3 i {
    color: var(--accent-teal);
}

.service-item p {
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    align-self: flex-start;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--accent-teal-light);
}

/* Process Section */
.process {
    padding: 50px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-step {
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(7, 131, 115, 0.1);
    font-family: var(--font-heading);
    z-index: 0;
}

.process-step h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
    color: var(--accent-teal-light);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stars {
    color: var(--accent-teal-light);
    margin-bottom: 15px;
}

.client-name {
    margin-top: 20px;
    font-weight: 600;
    color: var(--accent-teal);
}

/* Contact Section */
.contact-section {
    padding: 50px 0;
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-form {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 35px;
}

.info-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(7, 131, 115, 0.1);
    border: 1px solid var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal-light);
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--accent-teal-glow);
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    background: var(--accent-teal);
    color: #fff;
    box-shadow: 0 0 25px var(--accent-teal-glow);
    transform: scale(1.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-teal-light);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(10, 242, 212, 0.15), inset 0 0 10px rgba(10, 242, 212, 0.05);
    transform: translateY(-2px);
}

.form-control option {
    background: var(--surface-color);
    color: white;
}

textarea.form-control {
    height: 150px;
    resize: none;
}

/* Unique Grid */
.unique {
    padding: 50px 0;
}

.unique-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.unique-item h4 {
    color: var(--accent-teal-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* CTA Banner */
.cta-banner {
    margin: 100px 0;
    background: linear-gradient(90deg, rgba(11, 17, 17, 1) 0%, rgba(7, 131, 115, 0.2) 100%);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Footer */
footer {
    border-top: 1px solid var(--card-border);
    padding: 60px 0 20px;
    background: #030505;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-teal-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-visual {
        opacity: 0.3;
    }

    .features-grid,
    .services-grid,
    .process-grid,
    .testimonial-grid,
    .unique-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    /* Reduce global padding on mobile */
    section[style*="padding: 180px"] {
        padding-top: 120px !important;
        padding-bottom: 50px !important;
    }
    
    section[style*="padding: 100px"], 
    section[style*="padding-bottom: 100px"],
    .unique, .testimonials {
        padding-bottom: 60px !important;
        padding-top: 60px !important;
    }

    .features-grid,
    .services-grid,
    .process-grid,
    .testimonial-grid,
    .unique-grid {
        grid-template-columns: 1fr;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links:not(.active) {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}