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

:root {
    /* Color Palette */
    --bg-dark: #0B1220;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent-blue: #3B82F6;
    --accent-cyan: #22D3EE;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.08);
    --glow-cyan: rgba(34, 211, 238, 0.3);
    --nav-height: 80px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4,
.heading-font {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}

/* Glassmorphism Utility */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
}

/* Global Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
}

/* Scroll Progress Indicator */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-cyan));
    z-index: 1000;
    width: 0%;
    transition: width 0.1s ease;
}

/* Custom Cursor Spotlight Placeholder */
.cursor-glow {
    position: fixed;
    pointer-events: none;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Hide scrollbar but allow scrolling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 100;
    display: flex;
    align-items: center;
    background: rgba(11, 18, 32, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
    object-fit: cover;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-decoration: none;
    font-family: 'Dancing Script', cursive;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeUp 1s ease forwards;
}

.hero-tagline {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94A3B8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 2.5rem;
}

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

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
    border: 1px solid var(--accent-blue);
}

.btn-primary:hover {
    background: #2563EB;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* 3D Animated AI Element Placeholder */
.hero-visual {
    position: relative;
    height: 400px;
}

.ai-orb {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 30% 30%, var(--accent-cyan), transparent);
    border-radius: 50%;
    position: relative;
    filter: blur(40px);
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.orb-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
}

.ring-2 {
    width: 200px;
    height: 200px;
    animation: rotate 10s linear infinite;
}

.ring-3 {
    width: 150px;
    height: 150px;
    animation: rotate 15s linear reverse infinite;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Highlights Strip */
.highlights-strip {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 0;
}

.highlights-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.highlight-item h3 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.highlight-item p {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtext {
        margin: 0 auto 2.5rem;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .highlights-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-subtitle {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
}

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

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-card {
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.about-card i {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.about-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
}

/* Certifications Section */
.certs-section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
}

.cert-badge {
    width: 80px;
    height: 80px;
    background: rgba(34, 211, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
    font-size: 2rem;
}

.cert-card h4 {
    margin-bottom: 0.5rem;
}

.cert-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Achievements Timeline */
.achieve-section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.timeline {
    position: relative;
    margin-top: 4rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 16px;
    height: 16px;
    background: var(--accent-blue);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--accent-blue);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
}

/* Skills Section */
.skills-section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.skill-category h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-bar-bg {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-cyan));
    width: 0;
    transition: width 1.5s cubic-bezier(0.1, 0, 0.2, 1);
}

/* Impact Section */
.impact-section {
    padding: 100px 0;
    background: var(--bg-card);
    text-align: center;
}

.impact-grid {
    max-width: 1200px;
    margin: 3rem auto 0;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.impact-stat h3 {
    font-size: 3.5rem;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info-card {
    padding: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method i {
    width: 50px;
    height: 50px;
    background: rgba(34, 211, 238, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

.contact-form {
    padding: 2.5rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.05);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    background: #2563EB;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

@media (max-width: 768px) {

    .skills-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Projects General */
.projects-section,
.punara-section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

/* Punara Live Project */
.punara-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem;
    margin-top: 3rem;
}

.punara-visual img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.punara-visual img:hover {
    transform: scale(1.02);
}

.punara-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.punara-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

/* Featured Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    padding: 0;
    overflow: hidden;
    height: 100%;
}

.project-img {
    height: 200px;
    background: #1e293b;
    position: relative;
}

.project-details {
    padding: 2rem;
}

.project-details h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.project-details p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    height: 80px;
    overflow: hidden;
}

.project-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-10px);
}

@media (max-width: 992px) {
    .punara-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .punara-info .tech-tags {
        justify-content: center;
    }
}

/* Founder Section */
.founder-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
}

.founder-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
}

.company-status {
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Sora', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.founder-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-category h4 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-category ul {
    list-style: none;
}

.service-category ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
    position: relative;
    padding-left: 20px;
}

.service-category ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

.umbrella-note {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 2rem;
    border-left: 3px solid var(--accent-cyan);
    padding-left: 15px;
}

/* Projects & Ventures Section */
.section-narrative {
    max-width: 800px;
    margin: 1rem auto 0;
    opacity: 0.8;
    line-height: 1.6;
}

/* Punara Refinements */
.project-tagline {
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-leadership {
    margin: 2rem 0;
}

.project-leadership h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.leadership-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.leadership-list li {
    font-size: 0.9rem;
    padding-left: 15px;
    position: relative;
}

.leadership-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

@media (max-width: 768px) {
    .leadership-list {
        grid-template-columns: 1fr;
    }
}

.founder-quote {
    font-size: 1.2rem;
    color: var(--text-secondary);
    border-left: 4px solid var(--accent-blue);
    padding-left: 2rem;
    margin-bottom: 3rem;
    font-style: italic;
}

/* Tech Stack Grid */
.tech-section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.tech-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
    display: block;
}

.tech-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tech-list {
    list-style: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.tech-card:hover {
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
}