/* Reset & Core Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background: transparent;
    color: #f5f6f9;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(0,255,204,0.08), transparent 35%),
        radial-gradient(circle at 80% 10%, rgba(0,119,255,0.08), transparent 30%);
}

html, body {
    min-height: 100%;
}

/* Background Canvas */
#particleCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #111726 0%, #0a0c10 100%);
    pointer-events: none;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(10, 12, 16, 0.7);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: #00ffcc;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f5f6f9;
    text-decoration: none;
}

.navbar-logo .dot {
    color: #00ffcc;
}

.navbar-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar-links a {
    color: #a0a5b5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: #00ffcc;
}

.nav-links a {
    color: #a0a5b5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00ffcc;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00ffcc, #0077ff);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #f5f6f9;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    max-width: 700px;
    flex: 1;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    letter-spacing: -0.04em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(45deg, #00ffcc, #0077ff);
    background-clip: text;          /* Standard property */
    -webkit-background-clip: text;  /* Safari/Chrome */
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: #a0a5b5;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, #00ffcc, #0077ff);
    color: #0a0c10;
    margin-right: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(0,255,204,0.2);
}

.btn-secondary {
    border: 2px solid #a0a5b5;
    color: #f5f6f9;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 204, 0.2);
}

/* Services Section */
.services-section {
    padding: 100px 10%;
    background: transparent;
}

.about-section {
    padding: 110px 10%;
    background: transparent;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.testimonials-section {
    padding: 110px 10%;
    background: transparent;
    position: relative;
    z-index: 1;
}

.about-section p {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.9;
    color: #c6d0e1;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg,#00ffcc,#0077ff);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 28px;
    text-align: center;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(5px);
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: linear-gradient(135deg, transparent, rgba(0,255,204,0.08), transparent);
    transform: rotate(20deg) translateX(-120%);
    transition: transform 0.8s ease;
}

.service-card:hover::before {
    transform: rotate(20deg) translateX(120%);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: #00ffcc;
    box-shadow: 0 15px 30px rgba(0, 255, 204, 0.05);
}

.card-icon {
    font-size: 3rem;
    color: #00ffcc;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #a0a5b5;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 100px 10%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    background: transparent;
}

.contact-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 25px;
    width: 100%;
    max-width: 600px;
    backdrop-filter: blur(5px);
}

.contact-container h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #f5f6f9;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-group textarea {
    resize: none;
}

.input-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #a0a5b5;
    transition: 0.3s ease all;
    pointer-events: none;
}

/* Floating Label Animation */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -0.75rem;
    left: 0.5rem;
    font-size: 0.8rem;
    background: #0a0c10;
    padding: 0 0.5rem;
    color: #00ffcc;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: #00ffcc;
}

.form-feedback {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

/* Dynamic Scroll Reveal Base */
.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .navbar-links {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.1rem;
    }
}
/* Glass utility */
.glass {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
}
.testimonials-section .service-card {
    transform: rotate(-1deg);
}
.testimonials-section .service-card:nth-child(even) {
    transform: rotate(1deg);
}
.testimonials-section .service-card:hover {
    transform: translateY(-10px) rotate(0deg) scale(1.03);
}

/* Footer */
.site-footer {
    margin-top: 80px;
    padding: 70px 10% 25px;
    background: linear-gradient(180deg, rgba(12,16,24,0.95), rgba(6,8,12,1));
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: #aeb8c8;
    line-height: 1.8;
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer a:hover {
    color: #00ffcc;
}

.footer-brand h3 {
    font-size: 2rem;
    background: linear-gradient(90deg, #00ffcc, #4da3ff);
    background-clip: text;          /* Add this line */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.footer-bottom p {
    color: #7f8b9e;
    font-size: 0.95rem;
}

.hero-logo {
    flex: 0 0 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo img {
    width: min(100%, 320px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 255, 204, 0.2));
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .hero-logo {
        order: -1;
        margin-bottom: 2rem;
    }
}