@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-dark: #050a15; /* Slightly lighter, more blue-tinted dark */
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.09);
    --bg-light-accent: #f8fafc; /* For sections that need to pop out */
    
    --border-glass: rgba(255, 255, 255, 0.12);
    --primary-neon: #00b4d8; /* Sky Blue */
    --secondary-neon: #0077b6; /* Deeper Blue */
    --accent-purple: #8b5cf6;
    
    --text-main: #f1f5f9; /* Bright white-slate for better visibility */
    --text-muted: #94a3b8;
    --text-dark: #0f172a; /* For light sections */
    
    --gradient-text: linear-gradient(90deg, #00e1ff, #8b5cf6);
    --gradient-sky: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    
    --shadow-neon: 0 0 25px rgba(0, 180, 216, 0.3);
    --shadow-card: 0 10px 40px 0 rgba(0, 0, 0, 0.4);
    --radius-lg: 20px;
    --radius-md: 14px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 10% 40%, rgba(0, 180, 216, 0.08), transparent 30%),
        radial-gradient(circle at 90% 60%, rgba(139, 92, 246, 0.08), transparent 30%);
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-sky {
    color: var(--primary-neon);
}

.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.py-16 { padding: 4rem 0; }
.py-24 { padding: 6rem 0; }

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 3rem auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-sky);
    color: white;
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    box-shadow: 0 0 35px rgba(0, 180, 216, 0.5);
    transform: translateY(-3px);
}

.btn-outline {
    background: rgba(0, 180, 216, 0.05);
    border: 1px solid var(--primary-neon);
    color: var(--primary-neon);
}

.btn-outline:hover {
    background: rgba(0, 180, 216, 0.15);
    box-shadow: var(--shadow-neon);
    transform: translateY(-3px);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 10, 21, 0.85);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glass);
    padding: 16px 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main); /* Brighter for visibility */
    position: relative;
    opacity: 0.8;
}

.nav-links a:hover, .nav-links a.active {
    opacity: 1;
    color: var(--primary-neon);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-neon);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

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

.hero-content {
    max-width: 750px;
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 50px;
    color: var(--primary-neon);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

/* Made Hero text smaller and more attractive per user request */
.hero h1 {
    font-size: 3.5rem; 
    margin-bottom: 24px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Glass Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: var(--gradient-sky);
    opacity: 0;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-card);
    border-color: rgba(0, 180, 216, 0.2);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Project Cards with Image */
.project-card {
    padding: 0; /* Remove padding for image to stretch */
    display: flex;
    flex-direction: column;
}

.project-card .img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-glass);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

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

.project-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card-content p {
    flex-grow: 1;
}

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Features/Services */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(0, 180, 216, 0.15);
    color: var(--primary-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

/* Tech Badges */
.tech-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-main);
    transition: var(--transition);
}
.tech-badge:hover {
    background: rgba(0, 180, 216, 0.15);
    border-color: var(--primary-neon);
    color: var(--primary-neon);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 20px 0;
    background: rgba(5, 10, 21, 0.95);
    margin-top: 80px;
}

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

.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-neon);
}

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

/* About Page Specifics */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.founder-img-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.founder-info {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    background: rgba(0,0,0,0.6);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-box {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-neon);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 8px;
}

/* Contact Form */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: white;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-neon);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2.8rem; }
    .about-hero { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-glass);
    }
    
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    
    .hero h1 { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
