:root {
    --bg-dark: #0a0f1d;
    --card-bg: rgba(16, 22, 45, 0.7);
    --accent-neon: #00f2fe;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --border-glow: rgba(0, 242, 254, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background: rgba(10, 15, 29, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent-neon);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-neon);
}

/* Dynamic Hero Background Animation */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Hero Section with Intro Animation */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem 2rem;
    background: linear-gradient(-45deg, rgba(10, 15, 29, 0.9), rgba(0, 30, 60, 0.8), rgba(10, 15, 29, 0.95)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') center/cover;
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero h1 span {
    color: var(--accent-neon);
}

.hero h1 .cursor {
    display: inline-block;
    width: 4px;
    height: 1em;
    background-color: var(--accent-neon);
    animation: blink 0.8s infinite;
    vertical-align: middle;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.3s;
}

.hero-badge {
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--accent-neon);
    border-radius: 50px;
    font-weight: 600;
    color: var(--accent-neon);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.4s;
}

.hero-badge i {
    margin-right: 8px;
}

.hero-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.5s;
}

/* Cards & Sections */
.section-padding {
    padding: 8rem 2rem 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tech-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-neon);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-glow);
}

/* Layout Utilities */
.split-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}
.split-layout > div {
    flex: 1;
    min-width: 300px;
}

/* Contact Grid layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}
@media(max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
.contact-info {
    padding: 2.5rem;
    background: rgba(10, 15, 29, 0.5);
    border-left: 4px solid var(--accent-neon);
    border-radius: 12px;
    border: 1px solid var(--border-glow);
    border-left: 4px solid var(--accent-neon);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-info h3 { margin-bottom: 1.5rem; font-size: 1.8rem; }
.contact-info p { margin-bottom: 1.2rem; display: flex; align-items: center; gap: 1rem; color: var(--text-muted); }
.contact-info i { color: var(--accent-neon); font-size: 1.2rem; width: 25px; text-align: center; }

/* Generic Animation Trigger */
.animate-on-scroll {
    will-change: transform, opacity;
}

/* Contact Form styling */
.form-container {
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    padding: 3rem;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1.2rem;
    background: rgba(10, 15, 29, 0.5);
    border: 1px solid var(--border-glow);
    border-radius: 6px;
    color: #fff;
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--accent-neon);
}

.btn-tech {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #0a0f1d;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-tech:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-neon);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(0, 242, 254, 0.1);
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    width: auto;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    text-decoration: none;
    font-size: 30px;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Footer Architecture */
footer {
    background: rgba(10, 15, 29, 0.95);
    border-top: 1px solid var(--border-glow);
    padding: 4rem 2rem 2rem 2rem;
    color: var(--text-muted);
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-neon);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Keyframe Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Admin Styles Quick Setup */
.admin-body {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 260px;
    background: #0d1326;
    border-right: 1px solid var(--border-glow);
    padding: 2rem;
}
.main-content {
    flex: 1;
    padding: 3rem;
}
.table-ui {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}
.table-ui th, .table-ui td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-glow);
}
.table-ui th {
    background: rgba(0, 242, 254, 0.05);
}