/* Viyers Systems and Services - Premium Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4FD1C5;
    --primary-dark: #38B2AC;
    --secondary: #805AD5;
    --secondary-dark: #6B46C1;
    --bg-dark: #0B0F15;
    --bg-darker: #05070A;
    --bg-light: #11151C;
    --bg-card: #161B22;
    --text-light: #F7FAFC;
    --text-muted: #A0AEC0;
    --border-color: #2D3748;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: #EAEAEA;
    line-height: 1.7;
    margin: 0;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}

.section-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0 auto 40px;
    border-radius: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-item {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 5px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Header */
.header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 20%, rgba(79, 209, 197, 0.08), transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(128, 90, 213, 0.08), transparent 35%);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    z-index: 2;
}

.header-text {
    max-width: 900px;
    text-align: center;
}

.header-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.1;
    letter-spacing: -1px;
}

.accent-text {
    color: var(--primary);
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.cta-primary,
.cta-secondary {
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(79, 209, 197, 0.3);
}

.cta-primary:hover {
    box-shadow: 0 6px 20px rgba(79, 209, 197, 0.4);
    transform: translateY(-3px);
    color: white;
}

.cta-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary);
}

.cta-secondary:hover {
    background-color: rgba(79, 209, 197, 0.1);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 100%;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1);
}

.card h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.card-subtitle {
    color: var(--secondary);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.card-detail {
    color: var(--text-muted);
}

.card-list {
    list-style: none;
    margin-top: 15px;
}

.card-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.card-list li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* About Section Premium Styles */
.card-about {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.about-content p {
    font-size: 1.4rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.about-content p:first-child {
    font-size: 1.6rem;
    font-weight: 500;
    color: white;
}

/* Skills/Services */
.skills-container {
    margin-top: 40px;
}

.skills-container h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    display: inline-block;
    padding-bottom: 10px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    background-color: rgba(79, 209, 197, 0.05);
    border: 1px solid rgba(79, 209, 197, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background-color: rgba(79, 209, 197, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.skill-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Contact Section Premium Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-info .section-subtitle {
    text-align: left;
    margin: 0 0 40px 0;
    max-width: 100%;
}

.contact-item {
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text-light);
    /* Ensure text color is inherited/set for <a> */
}



.contact-item:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(79, 209, 197, 0.1);
    border-radius: 50%;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
    border-radius: 50%;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.contact-form {
    background: rgba(22, 27, 34, 0.8);
    /* Matches bg-card with opacity */
    backdrop-filter: blur(10px);
    padding: 45px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(0, 0, 0, 0.4);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 209, 197, 0.25);
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(79, 209, 197, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

/* Animations */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: revealText 1s forwards;
}

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-card.active {
    opacity: 1;
    transform: translateY(0);
}

.header-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 209, 197, 0.15) 0%, rgba(128, 90, 213, 0.15) 100%);
    z-index: -1;
    filter: blur(80px);
    animation: shapeMove 15s ease-in-out infinite alternate;
}

@keyframes shapeMove {
    0% {
        transform: translate(-10%, -10%) rotate(0deg);
    }

    50% {
        transform: translate(10%, 10%) rotate(180deg);
    }

    100% {
        transform: translate(-10%, -10%) rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 1024px) {

    .cards-grid,
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-text h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
        /* Reduced padding */
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--bg-dark);
        padding: 0;
        height: 0;
        overflow: hidden;
        transition: all 0.4s ease-in-out;
        opacity: 0;
        visibility: hidden;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        height: 100vh;
        /* Full screen menu */
        opacity: 1;
        visibility: visible;
        padding-top: 40px;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 15px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
        /* Staggered animation handled by JS or simple CSS delay if possible, 
           but for now simpler transition is fine */
    }

    .nav-item {
        font-size: 1.2rem;
        display: inline-block;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .cards-grid,
    .skills-grid {
        grid-template-columns: 1fr;
        /* Stack cards */
    }

    .header-text h1 {
        font-size: 2.8rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .header-text h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        text-align: center;
    }

    .card {
        padding: 20px;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-item {
        font-size: 1rem;
    }
}

/* =========================================
   New Sections & Premium Overhaul Styles
   ========================================= */

/* Centered Cards for "What We Do" */
.cards-grid {
    justify-content: center;
}

/* Hero Location Text */
.location-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin: 0 auto 35px;
    font-weight: 500;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Section Subtitles & Footers */
.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 50px;
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.section-footer-text {
    text-align: center;
    margin-top: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.9;
}

/* Background Variations */
.bg-light {
    background-color: var(--bg-light);
}

/* Who We Work With - List Grid */
.list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.list-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.list-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.list-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.list-item p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* How We Work - Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.process-step {
    position: relative;
    padding: 20px;
}

.process-step h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Why Clients Stay - Trust Grid */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary);
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateX(10px);
}

.trust-item i {
    font-size: 1.8rem;
    color: var(--secondary);
}

.trust-item h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-light);
}

/* Responsive Adjustments for New Sections */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .list-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }
}