:root {
    --bg-color: #05050a;
    --text-main: #f0f0f5;
    --text-muted: #a0a0b0;
    --accent-blue: #00f0ff;
    --accent-purple: #7000ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

html {
    scroll-behavior: smooth;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.4;
    border-radius: 50%;
    animation: float 20s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #00ffaa;
    top: 40%;
    left: 40%;
    opacity: 0.2;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10%, 20%) scale(1.1); }
    100% { transform: translate(-10%, -10%) scale(0.9); }
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

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

span {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-blue);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-icon {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-blue));
    color: #fff !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main) !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    z-index: -1;
    transition: opacity 0.3s;
    opacity: 0;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
}

.btn-primary:hover {
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary.large, .btn-secondary.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Stats Ribbon */
.stats-ribbon {
    margin: -50px auto 5rem;
    max-width: 1000px;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
    gap: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Vision Section */
.vision-section {
    padding: 5rem 0;
}

.vision-card {
    padding: 4rem;
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 6rem;
    position: absolute;
    top: -1rem;
    left: 2rem;
    opacity: 0.1;
    font-family: serif;
    color: var(--accent-blue);
}

.bilingual-message {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.bilingual-message .spanish {
    font-style: italic;
    color: var(--text-main);
}

.divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 2rem 0;
}

.bilingual-message .english {
    color: var(--text-muted);
}

.author h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.author span {
    font-size: 0.9rem;
    color: var(--accent-blue);
}

/* Why Choose Us Section */
.why-us-section {
    padding: 8rem 0 4rem;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.why-card {
    text-align: center;
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

/* About Section */
.about-section {
    padding: 8rem 0;
}

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

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

.about-image {
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    position: relative;
}

.image-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,240,255,0.1), rgba(112,0,255,0.1));
    border: 2px solid var(--accent-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 1;
}

.initials {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-blue);
}

.alum-badge {
    position: absolute;
    bottom: -10px;
    background: var(--bg-color);
    border: 1px solid var(--accent-purple);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Services Section */
.services-section {
    padding: 8rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

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

/* Tech Marquee */
.tech-marquee {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: rgba(0,0,0,0.2);
}

.tech-marquee::before, .tech-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.tech-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.tech-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 3rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Contact Form Section */
.contact-form-section {
    padding: 8rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-info-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-block {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    font-size: 1.5rem;
}

.contact-form-container {
    padding: 3rem;
}

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

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-main);
    font-family: inherit;
    transition: border-color 0.3s;
}

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

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-contact h4 {
    margin-bottom: 1rem;
}

.footer-contact p {
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero-buttons { flex-direction: column; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; text-align: center; }
    .contact-info-blocks { align-items: center; }
    .vision-card { padding: 2rem; }
    .bilingual-message { font-size: 1.2rem; }
    .nav-links { display: none; }
}

/* AI Chatbot Widget */
.chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-blue));
    color: white;
    font-size: 1.8rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.chat-widget.active {
    display: flex;
}

.chat-header {
    padding: 1rem;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    padding: 0.8rem;
    border-radius: 10px;
    max-width: 80%;
    font-size: 0.95rem;
}

.message.bot {
    background: rgba(255, 255, 255, 0.1);
    align-self: flex-start;
}

.message.user {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-blue));
    align-self: flex-end;
}

.quick-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-opt {
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 0.4rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.quick-opt:hover {
    background: rgba(0, 240, 255, 0.1);
}

.chat-footer {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
}

#chat-input {
    flex: 1;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.5rem;
    border-radius: 5px;
}

.send-btn {
    background: var(--accent-blue);
    color: #05050a;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}
