@charset "UTF-8";
/*
Theme Name: Maragatham Arts and Science College (MASC)
Theme URI: http://suryacollege.co.in/masc
Description: Custom Premium Theme for Maragatham Arts and Science College, Batlagundu Main Road, Nilakottai.
Version: 1.0.0
Author: Shri Surya Trust
Author URI: http://suryacollege.co.in
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: masc-theme
*/


/* 
===================================================
  Maragatham Arts and Science College (MASC)
  Premium Theme Stylesheet
===================================================
*/

:root {
    /* Color Variables */
    --primary-color: #064E3B;     /* Emerald Teal */
    --primary-light: #0D9488;    /* Teal Accent */
    --secondary-color: #EEB902;  /* Academic Gold/Amber */
    --secondary-dark: #D4A301;   /* Hover Amber */
    --text-color: #1E293B;       /* Slate 800 */
    --text-light: #64748B;       /* Slate 500 */
    --bg-color: #F8FAFC;         /* Soft Gray/Blue */
    --white: #FFFFFF;
    --success: #10B981;          /* Emerald Green */
    --error: #EF4444;            /* Red */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Border Radii */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Three.js Canvas Container */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #011C15;
    overflow: hidden;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-md);
}

.glass-panel-dark {
    background: rgba(6, 78, 59, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 9999px; /* Pill style */
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(238, 185, 2, 0.4);
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 185, 2, 0.6);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(6, 78, 59, 0.3);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 78, 59, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Sticky Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-wrapper img {
    height: 55px;
    background: var(--white);
    padding: 6px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.college-name-brand h2 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.header.scrolled .college-name-brand h2 {
    color: var(--primary-color);
}

.header:not(.scrolled) .college-name-brand h2 {
    color: var(--white);
}

.college-name-brand p {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.header:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

.header.scrolled .nav-links a {
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--secondary-color) !important;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
    border-radius: 2px;
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.header.scrolled .mobile-menu-toggle {
    color: var(--primary-color);
}

.header:not(.scrolled) .mobile-menu-toggle {
    color: var(--white);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
}

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

.hero-content {
    color: var(--white);
    z-index: 10;
}

.badge-approved {
    display: inline-flex;
    align-items: center;
    background: rgba(238, 185, 2, 0.15);
    border: 1px solid rgba(238, 185, 2, 0.4);
    color: var(--secondary-color);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-stats-panel {
    z-index: 10;
}

.stats-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-box {
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    font-weight: 800;
}

.stat-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
}

/* Sections Global */
.section {
    padding: 100px 0;
    position: relative;
}

.section-bg-white {
    background-color: var(--white);
}

.section-bg-gray {
    background-color: var(--bg-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.75rem;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header-left {
    text-align: left;
    margin: 0 0 40px 0;
    max-width: 100%;
}

.section-header-left .section-title::after {
    margin: 15px 0 0;
}

/* About Section & Founder Message */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-text .lead {
    font-size: 1.35rem;
    font-style: italic;
    font-family: var(--font-heading);
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    line-height: 1.6;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.signature-block {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E2E8F0;
}

.signature-block h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.signature-block p {
    color: var(--secondary-dark);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
    transition: var(--transition);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px dashed var(--secondary-color);
    border-radius: var(--radius-lg);
    z-index: -1;
    transition: var(--transition);
}

.about-image-wrapper:hover img {
    transform: scale(1.02);
}

.about-image-wrapper:hover::before {
    transform: translate(10px, 10px);
}

/* Redesigned MASC Academic Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    border-radius: var(--radius-lg);
    padding: 35px 28px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: rgba(238, 185, 2, 0.4);
    box-shadow: var(--shadow-lg);
}

.course-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.course-icon {
    font-size: 1.8rem;
    background: rgba(6, 78, 59, 0.05);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--primary-color);
    transition: var(--transition);
}

.course-card:hover .course-icon {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.fee-badge {
    background: rgba(6, 78, 59, 0.08);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
}

.course-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.course-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Scholarships Section */
.scholarship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.scholarship-card {
    padding: 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.scholarship-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.scholarship-card h4 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.scholarship-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Supporting / Special Training */
.training-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.training-card {
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition);
}

.training-card:hover {
    transform: scale(1.02);
}

.training-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.training-icon-wrap {
    font-size: 2.2rem;
    background: rgba(238, 185, 2, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--secondary-dark);
}

.training-header h3 {
    margin-bottom: 0;
    font-size: 1.6rem;
}

.training-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.training-list {
    list-style: none;
}

.training-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 500;
}

.training-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--secondary-dark);
    font-weight: 900;
    font-size: 1.1rem;
}

/* Facilities Tabs */
.tabs-container {
    margin-top: 40px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition);
    color: var(--text-light);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.6s ease;
}

.tab-pane.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tab-content h3 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.tab-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.facility-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    height: 380px;
}

.facility-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-img-wrap:hover img {
    transform: scale(1.05);
}

/* Glassmorphism Admission Form */
.admission-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.admission-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.admission-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: var(--radius-md);
}

.info-item-icon {
    font-size: 1.8rem;
    color: var(--secondary-dark);
}

.info-item-text h4 {
    margin-bottom: 4px;
    font-size: 1.15rem;
}

.info-item-text p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-wrapper {
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-color);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(238, 185, 2, 0.2);
    background: var(--white);
}

textarea.form-control {
    resize: vertical;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    color: var(--white);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background-color: var(--success);
}

.toast.error {
    background-color: var(--error);
}

/* Footer styling */
.footer {
    background-color: #01140F;
    color: var(--white);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 70px;
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--secondary-color);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}

.footer-contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-info a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.legal-links a:hover {
    color: var(--white);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .admission-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .badge-approved {
        margin: 0 auto 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-action {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .stats-card-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .tab-pane.active {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .facility-img-wrap {
        height: 280px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-wrapper {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-contact-info p {
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .training-grid {
        grid-template-columns: 1fr;
    }
}
