/* =====================================================
   GLOBAL PAGE STRUCTURE
   Controls page height and overall layout
===================================================== */

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background-color: #0d0d0d;
    color: #f5f5f5;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    background: #000;
    padding: 20px 0;
    border-bottom: 1px solid #1a1a1a;
}

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

/* Logo */

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 20px;
    color: #ffffff;
}

.logo svg {
    margin-right: 10px;
}

.logo .accent {
    color: #A3FF12;
}

/* Navigation Links */

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
}

nav a:hover {
    color: #00E0C6;
}

/* =====================================================
   HERO SECTION
===================================================== */

.hero {
    position: relative;
    padding: 100px 0 50px 0;
    text-align: center;
    overflow: hidden;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #A3FF12;
}

.hero p {
    font-size: 18px;
    max-width: 650px;
    margin: auto;
    color: #cccccc;
}

.hero-buttons {
    margin-top: 30px;
}

/* Hero Background Canvas */

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn-primary {
    background: #A3FF12;
    color: #000;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin-right: 15px;
}

.btn-primary:hover {
    background: #8BE000;
}

.btn-secondary {
    border: 1px solid #00E0C6;
    color: #00E0C6;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 4px;
}

.btn-secondary:hover {
    background: #00E0C6;
    color: #000;
}

/* =====================================================
   UNIVERSAL CARD STYLES
   Used across services, pricing, etc.
===================================================== */

.card {
    position: relative;
    background: #111;
    padding: 1.6rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.card h3 {
    color: #A3FF12;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 0 20px rgba(163,255,18,0.4),
        0 0 40px rgba(0,224,198,0.2);
}

/* Subtle glow layer */

/* Subtle neon glow behind card */
.card::before {
    content: "";
    position: absolute;
    inset: -10px; /* extend slightly outside the card */
    border-radius: 12px;
    filter: blur(15px);
    z-index: -1;
}

/* Center text for specific card */
.card.center-text {
    text-align: center;
}

/* =====================================================
   SERVICES SECTION (Homepage)
===================================================== */

.services {
    padding: 40px 0;
}

.services h2 {
    text-align: center;
    margin: 0 0 15px 0;
}

/* Services grid layout */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 10px;
}

/* =====================================================
   SERVICE PAGE CARDS
===================================================== */

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

.service-card {
    background: #111;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.service-card h2 {
    color: #A3FF12;
    margin-bottom: 1rem;
}

.service-card p {
    color: #ffffff;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 0 20px rgba(163,255,18,0.4),
        0 0 40px rgba(0,224,198,0.2);
}

/* =====================================================
   PRICING PAGE
===================================================== */

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: #111;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.pricing-card h2 {
    color: #A3FF12;
    margin-bottom: 1rem;
}

.pricing-card .price {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.pricing-card ul {
    color: #ffffff;
    padding-left: 1rem;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 0 20px rgba(163,255,18,0.4),
        0 0 40px rgba(0,224,198,0.2);
}

/* =====================================================
   CALL TO ACTION SECTION
===================================================== */

.cta {
    padding: 25px 0 35px 0;
    text-align: center;
}

.cta p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* =====================================================
   CONTACT PAGE
===================================================== */

.contact-section {
    padding: 4rem 0;
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

/* Form layout */

.contact-card form {
    display: flex;
    flex-direction: column;
}

.contact-card label {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1.25rem;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #ffffff;
    color: #111;
    font-size: 1rem;
}

.contact-card input:focus,
.contact-card textarea:focus {
    outline: none;
    border-color: #00E0C6;
    box-shadow: 0 0 8px rgba(0,224,198,0.4);
}

/* Contact info section */

.contact-info {
    max-width: 600px;
    margin: 2rem auto 0;
    text-align: center;
    color: #ffffff;
}

.contact-info a {
    color: #A3FF12;
    text-decoration: none;
}

/* =====================================================
   PAGE HEADERS
===================================================== */

.page-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.page-header h1 {
    color: #ffffff;
    font-size: 2rem;
}

/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #000;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    color: #777;
}

/* =====================================================
   RESPONSIVE DESIGN
===================================================== */

/* Tablets & small laptops */

@media (max-width: 1024px) {

    .hero {
        padding: 100px 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

}

/* Tablets */

@media (max-width: 768px) {

    .nav-content {
        flex-direction: column;
        align-items: center;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        margin: 6px 12px;
        font-size: 13px;
    }

    .hero {
        padding: 80px 15px;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        margin: 0 auto;
    }

    .card-grid,
    .services-container,
    .pricing-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .card,
    .service-card,
    .pricing-card {
        width: 100%;
        max-width: 350px;
        margin-bottom: 20px;
    }

    .contact-card {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

    .page-header {
        flex-direction: column;
        text-align: center;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .cta-buttons {
    flex-direction: column;
    align-items: center;
}

.cta-buttons a {
    width: 100%;
    max-width: 260px;
    text-align: center;
}

.card {
    margin-top: 20px;
}

}

/* Small phones */

@media (max-width: 480px) {

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }

    .pricing-card,
    .service-card,
    .card {
        padding: 1.25rem;
    }

}

/*-------*/
/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 20px;
    color: #ffffff;
}

/* Remove spacing between triangle and text */
.logo-triangle {
    margin-right: 3px; /* small gap, adjust as needed */
    transform-origin: 50% 20%; /* center of triangle through top node */
    animation: rotatePulse 3.5s linear infinite;
}

/*!* Rotate + pulse animation *!*/
/*@keyframes rotatePulse {*/
/*    0% {*/
/*        transform: rotateY(0deg) scale(1.0);*/
/*    }*/
/*    50% {*/
/*        transform: rotateY(180deg) scale(1.0); !* pulse bigger at half rotation *!*/
/*    }*/
/*    100% {*/
/*        transform: rotateY(360deg) scale(1.0);*/
/*    }*/
/*}*/

/* Accent text */
.logo .accent {
    color: #A3FF12;
}

/* CTA Buttons Layout */


.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Project button spacing */

.project-link {
    margin-top: 20px;
    text-align: center;
}

