/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    /* Vibrant Dark Palette */
    --bg-dark: #050a1f;       /* Deepest Blue */
    --bg-gradient: linear-gradient(135deg, #050a1f 0%, #0f172a 100%);
    
    --primary: #3b82f6;       /* Electric Blue */
    --primary-glow: rgba(59, 130, 246, 0.4);
    
    --accent: #06b6d4;        /* Cyan */
    --accent-glow: rgba(6, 182, 212, 0.4);
    
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --gradient-text: linear-gradient(90deg, #3b82f6, #06b6d4);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* =========================================
   HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(5, 10, 31, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: 0.3s;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i { color: var(--primary); }

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: white;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-menu a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.mobile-toggle { display: none; font-size: 24px; color: white; cursor: pointer; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background: var(--bg-gradient);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Canvas Background */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Text Styling */
.hero-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.stat-item h3 {
    font-size: 32px;
    color: white;
    font-weight: 700;
}

.stat-item p {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Image & Floating Cards */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.img-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: -1;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--accent);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* ... (Previous CSS rules) ... */

/* Glassmorphism Floating Cards */
.floating-cards {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.float-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: fit-content;
    animation: floatCard 4s ease-in-out infinite;
}

.float-card i {
    color: var(--accent);
    font-size: 18px;
}

.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: 1.5s; }
.card-3 { animation-delay: 3s; left: 20px; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-left {
    animation: fadeInLeft 1.2s ease-out forwards;
    opacity: 0;
    transform: translateX(30px);
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    to { opacity: 1; transform: translateX(0); }
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
    padding: 100px 0;
    background: #050a1f;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.glass-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: 0.4s;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.glass-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
    transition: 0.3s;
}

.glass-card:hover .service-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

.glass-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--accent);
    gap: 10px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-desc {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        margin-top: 60px;
    }

    .floating-cards {
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        left: -20px;
    }
    
    .float-card {
        width: 140px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(5, 10, 31, 0.98);
        backdrop-filter: blur(20px);
        padding: 80px 30px;
        transition: 0.4s;
        border-left: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }
    
    .floating-cards {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 40px;
        align-items: center;
    }
}
/* =========================================
   CONTACT SECTION
   ========================================= */
.contact {
    padding: 100px 0;
    background: #050a1f;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

/* Info Card */
.info-card {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: white;
}

.info-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 5px;
}

.info-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.social-links {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.social-links h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: 0.3s;
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

/* Form */
.contact-form-wrapper {
    padding: 20px;
}

.contact-form {
    padding: 40px;
}

.contact-form h3 {
    font-size: 26px;
    margin-bottom: 30px;
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: white;
    font-family: var(--font-main);
    font-size: 15px;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.form-group textarea {
    resize: vertical;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 15px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: #02040d;
    padding: 70px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
    display: inline-flex;
    gap: 10px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 25px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 30px;
    }

    .footer-links {
        margin-top: 20px;
    }
}
/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

/* Tablet & Mobile (< 992px) */
@media (max-width: 992px) {
    /* Hero Section */
    .hero-inner {
        grid-template-columns: 1fr; /* Stack text and image */
        text-align: center;
        padding-top: 40px;
    }

    .hero-desc {
        margin: 0 auto 40px; /* Center description */
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-stats {
        justify-content: center;
        margin-top: 40px;
    }

    /* Navigation: Turn into Hamburger */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(5, 10, 31, 0.98);
        backdrop-filter: blur(20px);
        padding: 80px 30px;
        transition: all 0.4s ease;
        border-left: 1px solid rgba(255,255,255,0.1);
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }

    .nav-menu.active {
        right: 0; /* Slide in */
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 25px;
    }

    .nav-menu a {
        font-size: 18px;
        color: white;
    }

    .mobile-toggle {
        display: block; /* Show hamburger */
        font-size: 24px;
        color: white;
        cursor: pointer;
    }

    /* Contact Section */
    .contact-wrapper {
        grid-template-columns: 1fr; /* Stack info and form */
    }

    .info-card {
        margin-bottom: 30px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr; /* 2 columns */
        gap: 30px;
    }
}

/* Small Mobile (< 768px) */
@media (max-width: 768px) {
    /* Typography Adjustments */
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    /* Navigation Tweaks */
    .nav-menu {
        width: 100%; /* Full width on small screens */
    }

    /* Hero Canvas - Ensure it doesn't break layout */
    #hero-canvas {
        height: 300px;
        width: 100%;
    }

    /* Contact Form */
    .contact-form {
        padding: 25px;
    }

    /* Footer - Single Column */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 20px;
    }

    .footer-links {
        text-align: center;
        margin-bottom: 20px;
    }

    /* Buttons */
    .btn {
        width: 100%; /* Full width buttons on mobile */
        justify-content: center;
    }
}

/* Very Small Screens (< 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .section-desc {
        font-size: 14px;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}