/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400..900&family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #0d0914; /* Deep rich dark background */
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.1);
    
    /* Branding Colors */
    --accent-gold: #eab308;
    --accent-gold-glow: rgba(234, 179, 8, 0.5);
    --accent-purple: #8b5cf6;
    --accent-rose: #f43f5e;
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-marathi: 'Bodoni Moda', serif;
    --font-body: 'Inter', sans-serif;

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

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.marathi-title {
    font-family: var(--font-marathi);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #fcd34d 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.english-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.accent-text {
    color: var(--accent-gold);
}

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

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

/* Background Blobs */
.bg-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: float 20s infinite alternate;
}
.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(234, 179, 8, 0.15); /* Gold beer tone */
    top: -100px;
    left: -100px;
}
.blob-2 {
    width: 600px;
    height: 600px;
    background: rgba(139, 92, 246, 0.15); /* Purple wine tone */
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
}
.blob-3 {
    width: 400px;
    height: 400px;
    background: rgba(244, 63, 94, 0.1);
    top: 50%;
    left: 40%;
    animation-delay: -10s;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 1rem 2rem;
    border-radius: 100px;
    transition: var(--transit);
}

.navbar.scrolled {
    background: rgba(13, 9, 20, 0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

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

.glass-icon {
    font-size: 2rem;
    color: var(--accent-gold);
}

.logo-text h1 {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.logo-text p {
    font-size: 0.7rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transit);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transit);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ca8a04 100%);
    color: #18181b;
    box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-gold-glow);
}

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

.btn-secondary:hover {
    background: var(--surface-hover);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.6rem 1.2rem;
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: #18181b;
}

.w-100 { width: 100%; }

/* Layout Structure */
section {
    padding: 6rem 5%;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mt-section {
    margin-top: 4rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 700px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(234, 179, 8, 0.1);
    color: var(--accent-gold);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.premium-card {
    width: 350px;
    overflow: hidden;
    transform: rotate(2deg);
    transition: var(--transit);
    padding: 0;
}

.premium-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.card-top {
    height: 400px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-bottom {
    padding: 1.5rem;
    background: rgba(0,0,0,0.4);
}

.progress-bar {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--accent-gold);
}

/* About Section */
.about .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item h4 {
    display: inline-block;
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.stat-item span {
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-family: var(--font-heading);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.image-wrapper {
    position: relative;
    padding: 1rem;
    border-radius: 30px;
}

.image-wrapper img {
    width: 100%;
    border-radius: 20px;
    height: 400px;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, #18181b, #09090b);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    animation: float 5s infinite alternate ease-in-out;
}

.floating-badge i {
    font-size: 2rem;
    color: var(--accent-purple);
}

/* Departments */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.dept-card {
    padding: 2.5rem;
    text-align: center;
    transition: var(--transit);
}

.dept-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(234, 179, 8, 0.3);
}

.dept-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1.5rem;
    background: rgba(234, 179, 8, 0.05);
    border-radius: 50%;
}

.dept-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.dept-card .degree {
    color: var(--accent-purple);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.dept-card p:not(.degree) {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Placements Marquee */
.recruiter-scroll {
    overflow: hidden;
    padding: 2rem 0;
}

.marquee {
    display: flex;
    padding: 1rem;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    gap: 3rem;
    width: max-content;
}

.marquee span {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: rgba(255,255,255,0.8);
}

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

/* Footer */
.footer {
    padding: 4rem 10% 2rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    font-family: var(--font-marathi);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transit);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #18181b;
    padding: 3rem;
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transit);
}

.close-modal:hover {
    color: var(--accent-rose);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 2rem;
}

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

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

.form-group input, .form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transit);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255,255,255,0.08);
}

/* Animations Trigger Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

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

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .about .section-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .stats {
        grid-template-columns: 1fr;
    }
    section {
        padding: 4rem 5%;
    }
}
