:root {
    --bg-color: #0b1120;
    --bg-surface: rgba(30, 41, 59, 0.7);
    --bg-surface-hover: rgba(51, 65, 85, 0.8);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #ff7000;
    --accent-hover: #e06000;
    --accent-glow: rgba(255, 112, 0, 0.5);
    --accent-secondary: #00cc33;
    --accent-secondary-glow: rgba(0, 204, 51, 0.5);
    
    --border-glass: rgba(255, 255, 255, 0.1);
    
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px 0 var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 112, 0, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(255, 112, 0, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

.logo i {
    color: var(--accent);
}

.brand-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.footer .brand-logo {
    height: 60px;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.brand-green { color: var(--accent-secondary); }
.brand-blue { color: #a2b2ee; }
.brand-orange { color: var(--accent); }

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 112, 0, 0.1);
    color: var(--accent);
    border: 1px solid rgba(255, 112, 0, 0.2);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--accent);
    background: linear-gradient(to right, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-glass-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 1rem;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-glass-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 112, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero-glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero-glass-card p {
    color: var(--text-muted);
}

.tech-pulse {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: var(--accent-secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 204, 51, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 204, 51, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 204, 51, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 204, 51, 0); }
}

/* Background Blobs */
.blur-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.blob-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent);
}

.blob-2 {
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent-secondary);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2rem auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-glass-card {
        transform: none;
        max-width: 450px;
        margin: 0 auto;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
        padding: 2rem;
        border-left: 1px solid var(--border-glass);
    }
    
    .nav.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .blob-1, .blob-2 {
        opacity: 0.2;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

/* Globals & Layouts */
.section-padding {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--accent);
}

.section-subtitle {
    color: var(--text-muted);
}

.glass-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card.has-image {
    padding: 1.5rem;
}

.card-image {
    width: 100%;
    height: 180px;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 112, 0, 0.3);
    background: var(--bg-surface-hover);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 112, 0, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card.has-image .service-icon {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

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

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

.feature-service {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 112, 0, 0.3);
}

.feature-service > div {
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 1rem;
}

.service-link:hover {
    gap: 0.75rem;
}

/* About Section */
.about {
    position: relative;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-card {
    height: auto;
    min-height: 400px;
    padding: 2.5rem 2rem 5rem 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom right, rgba(30, 41, 59, 0.8), rgba(255, 112, 0, 0.15));
    position: relative;
    border-radius: 1rem;
}

.testimonials-title {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-align: center;
}

.testimonial {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-glass);
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    position: relative;
    transition: var(--transition);
}

.testimonial:hover {
    border-color: rgba(0, 204, 51, 0.3);
    transform: translateX(5px);
}

.quote-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--border-glass);
    opacity: 0.3;
}

.testimonial p {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.client-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.client-name {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-secondary);
    font-weight: 600;
}

.client-role {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.stats {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    display: flex;
    gap: 2rem;
    box-shadow: 0 10px 25px rgba(255, 112, 0, 0.4);
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-weight: 500;
}

.about-list i {
    color: #10b981;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 112, 0, 0.1);
    border-radius: 50%;
}

.contact-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

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

.contact-form {
    padding: 2.5rem;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 0.5rem;
    color: var(--text-main);
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 112, 0, 0.2);
}

.w-100 {
    width: 100%;
}

/* Footer */
.footer {
    background: #060913;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
    max-width: 450px;
}

.footer-social h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

.social-icon:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 1rem 0;
    border-top: 1px solid var(--border-glass);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .about-container, .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .stats {
        right: 50%;
        transform: translateX(50%);
        bottom: -30px;
    }
    
    .feature-service {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .about-list {
        grid-template-columns: 1fr;
    }
}

/* Scroll Reveal Animations */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Off-Canvas */
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

.offcanvas-panel {
    position: absolute;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    border-left: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    overflow-y: auto;
}

.offcanvas-overlay.active .offcanvas-panel {
    right: 0;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-glass);
}

.offcanvas-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.close-canvas {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-canvas:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.offcanvas-body {
    padding: 2rem;
    flex: 1;
}

/* Contact Adjustments */
.contact-container.centered {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-container.centered .contact-cards {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 112, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-5px);
    color: #fff;
}

/* Responsive Grid Adjustments */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 0.85rem;
        max-width: 150px;
        white-space: normal;
        line-height: 1.1;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container.centered .contact-cards {
        flex-direction: column;
    }
}
