:root {
    --primary-bg: #030a16;
    --secondary-bg: #0a192f;
    --text-main: #e6f1ff;
    --text-sub: #a8b2d1;
    --highlight: #64ffda;
    --accent: #ff6b00;
    --glass-bg: rgba(10, 25, 47, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight {
    color: var(--highlight);
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-sub);
    font-size: 1.1rem;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 0.75rem 0;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.header:hover {
    background: rgba(10, 25, 47, 0.85);
    border-color: rgba(100, 255, 218, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-toggle {
    display: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--highlight);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-sub);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background-color: transparent;
    border: 1px solid var(--highlight);
    color: var(--highlight);
}

.btn-primary:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid var(--text-sub);
    color: var(--text-sub);
}

.btn-outline:hover {
    border-color: var(--highlight);
    color: var(--highlight);
    transform: translateY(-3px);
}

/* Background Shapes */
.hero-bg-shapes .shape {
    position: absolute;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--highlight) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-card {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--highlight);
}

.about-card h3 {
    margin-bottom: 1rem;
    color: var(--highlight);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--glass-shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: var(--highlight);
}

.member-avatar {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.team-member h3 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.member-role {
    color: var(--highlight);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--glass-shadow);
    text-align: center;
    transition: var(--transition);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
    border-color: var(--highlight);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Contact Section */
.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--secondary-bg);
    padding: 60px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.contact-item {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--highlight);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-sub);
    font-size: 0.9rem;
}

.nav-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
    margin-left: 15px;
}

/* Portfolio Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-sub);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--highlight);
    color: var(--highlight);
    background: rgba(100, 255, 218, 0.05);
}

.view-project-btn {
    margin-top: 15px;
    background: transparent;
    border: 1px solid var(--highlight);
    color: var(--highlight);
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    width: 100%;
}

.view-project-btn:hover {
    background: var(--highlight);
    color: var(--primary-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--secondary-bg);
    margin: 10% auto;
    padding: 40px;
    border: 1px solid var(--glass-border);
    width: 80%;
    max-width: 800px;
    border-radius: 12px;
    position: relative;
    animation: modalScale 0.3s ease-out;
}

@keyframes modalScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    color: var(--text-sub);
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--highlight);
}

.modal-body-content h2 {
    color: var(--highlight);
    margin-bottom: 20px;
}

.modal-body-content img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-body-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.modal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.modal-details div h4 {
    color: var(--text-sub);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.portfolio-item {
    background: var(--secondary-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: var(--highlight);
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
    color: var(--highlight);
}

.portfolio-info p {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(100, 255, 218, 0.1);
    color: var(--highlight);
    border-radius: 50px;
    font-size: 0.75rem;
    margin-right: 8px;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--highlight);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.client-info {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-weight: 700;
    color: var(--text-main);
}

.client-role {
    font-size: 0.85rem;
    color: var(--highlight);
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: var(--secondary-bg);
    border: none;
    color: var(--text-main);
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--highlight);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: var(--primary-bg);
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 20px;
    color: var(--text-sub);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question {
    border-bottom: 1px solid var(--glass-border);
}

.faq-item.active .icon {
    transform: rotate(45deg);
    color: var(--highlight);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .logo-img {
        height: 60px;
    }

    .header {
        width: 92%;
        padding: 0.6rem 0;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 45px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .header {
        width: 95%;
        padding: 0.4rem 0;
    }

    .nav-toggle {
        display: block;
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 1rem;
        z-index: 1001;
    }

    .hamburger {
        display: block;
        position: relative;
    }

    .hamburger,
    .hamburger::before,
    .hamburger::after {
        background: var(--highlight);
        width: 1.5em;
        height: 2px;
        border-radius: 1em;
        transition: transform 250ms ease-in-out, opacity 250ms ease-in-out;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
    }

    .hamburger::before {
        top: 6px;
    }

    .hamburger::after {
        bottom: -6px;
    }

    /* Animation */
    .nav-open .hamburger {
        transform: rotate(45deg);
    }

    .nav-open .hamburger::before {
        opacity: 0;
    }

    .nav-open .hamburger::after {
        transform: rotate(90deg) translate(-6px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--primary-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 250ms cubic-bezier(0.5, 0, 0.5, 1);
        display: flex;
        gap: 2rem;
    }

    .nav-open .nav-links {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.22rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}