﻿/* 
  Modern Glassmorphism & Dark Mode Theme
  Color Palette: Deep Navy & Gold/Amber
*/

:root {
    /* Primary Colors */
    --bg-dark: #0B132B;
    --bg-darker: #060B19;
    --primary: #1C2541;
    --secondary: #3A506B;
    --accent: #F5A623;
    --accent-glow: rgba(245, 166, 35, 0.4);

    /* Text Colors */
    --text-main: #FFFFFF;
    --text-muted: #A3A8B8;

    /* Glassmorphism */
    --glass-bg: rgba(28, 37, 65, 0.25);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Variables */
    --nav-height: 80px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: font-family 0.3s ease;
}

body.has-custom-cursor {
    cursor: none;
}

body.rtl-mode {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Inter', sans-serif;
    direction: rtl;
    text-align: right;
}

body.rtl-mode h1,
body.rtl-mode h2,
body.rtl-mode h3,
body.rtl-mode h4,
body.rtl-mode h5,
body.rtl-mode h6,
body.rtl-mode .btn-primary {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', sans-serif;
    letter-spacing: normal;
    line-height: 1.8;
}

body.rtl-mode .hero-title,
body.rtl-mode .mission-text {
    line-height: 1.8;
}

body.rtl-mode .logo-text p {
    letter-spacing: normal;
}

body.rtl-mode .quote-icon.right {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Base Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-sm {
    max-width: 800px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.accent-text {
    color: var(--accent);
}

.gradient-text {
    background: linear-gradient(135deg, #F5A623, #FFD07A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background Shapes (Abstract aesthetic) */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: floating 20s infinite ease-in-out alternate;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #172a53;
    /* Deep dark blue */
    bottom: 20%;
    right: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(245, 166, 35, 0.15);
    /* Faint gold */
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

/* Glass Panels & Cards */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.glass-card {
    background: rgba(28, 37, 65, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: var(--bg-dark);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    border: none;
    cursor: none;
}

.glow-btn:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-3px);
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    transition: var(--transition);
    cursor: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Navigation System */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(11, 19, 43, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 2rem;
    color: var(--accent);
}

.logo-text h1 {
    font-size: 1.2rem;
    margin-bottom: -4px;
    letter-spacing: 0.5px;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn-primary) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-primary):hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--nav-height) + 2rem);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(245, 166, 35, 0.1);
    color: var(--accent);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    position: absolute;
    width: 260px;
    z-index: 2;
    background: rgba(28, 37, 65, 0.6);
}

.hero-card:nth-child(1) {
    top: 10%;
    left: 0;
    transform: rotate(-5deg);
}

.hero-card-2 {
    bottom: 10%;
    right: 0;
    transform: rotate(5deg);
    z-index: 3;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(245, 166, 35, 0.15);
    color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.hero-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.glow-ring {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    animation: rotate 30s linear infinite;
    z-index: 1;
}

.glow-ring::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent);
}

/* Custom Animations */
@keyframes floating {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -50px) scale(1.1);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.floating-anim {
    animation: float-y 6s ease-in-out infinite;
}

.floating-anim-delayed {
    animation: float-y 6s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes float-y {

    0%,
    100% {
        transform: translateY(0) rotate(var(--rot, 0deg));
    }

    50% {
        transform: translateY(-20px) rotate(var(--rot, 0deg));
    }
}

.hero-card:nth-child(1) {
    --rot: -5deg;
}

.hero-card-2 {
    --rot: 5deg;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    display: flex;
    justify-content: center;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 4px;
    margin-top: 6px;
    animation: scroll-wheel 1.5s infinite;
}

.scroll-indicator p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

@keyframes scroll-wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Sections Global */
.section-header {
    margin-bottom: 4rem;
}

.subtitle {
    font-family: 'Outfit', sans-serif;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.title {
    font-size: 3rem;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #cbd0e1;
    margin-bottom: 1.5rem;
}

.feature-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.feature-list i {
    color: var(--accent);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stat-card h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #a0a5b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hover-tilt {
    transition: transform 0.3s ease;
}

.hover-tilt:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(245, 166, 35, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Mission Section */
.mission {
    position: relative;
    z-index: 10;
}

.mission-box {
    padding: 5rem 3rem;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(245, 166, 35, 0.2);
    margin-bottom: 1rem;
}

.quote-icon.right {
    margin-bottom: 0;
    margin-top: 1rem;
    text-align: right;
}

.mission-text {
    font-size: 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    line-height: 1.4;
    color: #fff;
    background: linear-gradient(to right, #fff, #A3A8B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Faculty Section */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.faculty-card {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    background: rgba(28, 37, 65, 0.3);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faculty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.faculty-card:hover::before {
    opacity: 1;
}

.faculty-card:hover {
    transform: translateY(-15px);
    border-color: rgba(245, 166, 35, 0.4);
    box-shadow: 0 15px 40px rgba(245, 166, 35, 0.1);
}

.faculty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.faculty-card:hover .faculty-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.faculty-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    position: relative;
    z-index: 1;
}

.faculty-role {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.faculty-edu {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* Footer Section */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 350px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact ul li {
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.95rem;
}

.footer-contact ul li i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Custom Cursor (for that "never-seen-before" aesthetic) */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(245, 166, 35, 0.5);
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Hover effects for cursor */
.cursor-hover {
    width: 60px !important;
    height: 60px !important;
    background-color: rgba(245, 166, 35, 0.1) !important;
    border-color: rgba(245, 166, 35, 0.8) !important;
}

/* Reveal Animations */
.reveal {
    transition: 0.8s all cubic-bezier(0.5, 0, 0, 1);
}

.js-enabled .reveal {
    opacity: 0;
    transform: translateY(40px);
}

.js-enabled .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        display: none;
        /* Hide complex 3D visual on smaller screens */
    }

    .title {
        font-size: 2.2rem;
    }

    .mission-text {
        font-size: 1.8rem;
    }

    .mission-box {
        padding: 3rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: rgba(11, 19, 43, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: 0.4s ease-in-out;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
        /* Disable custom cursor on mobile */
    }

    body {
        cursor: auto;
    }
}
/* Dropdown Navigation */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item-dropdown .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
    z-index: 100;
}

.nav-item-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .nav-item-dropdown .dropdown-content a {
    display: block;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.nav-links .nav-item-dropdown .dropdown-content a:hover {
    color: var(--accent) !important;
    background: rgba(255, 255, 255, 0.05);
}

.nav-links .nav-item-dropdown .dropdown-content a::after {
    display: none;
}

.logo-img { mix-blend-mode: screen; }



