/* Westbrook University Website Styles */

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

:root {
    --primary-color: #1a365d;
    --secondary-color: #c5a065;
    --accent-color: #2d3748;
    --light-color: #f7fafc;
    --dark-color: #1a202c;
    --success-color: #48bb78;
    --text-color: #4a5568;
    --white: #ffffff;
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --gray-300: #e2e8f0;
    --gray-400: #cbd5e0;
    --gray-500: #a0aec0;
    --gray-600: #718096;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

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

/* ============================
   Navigation
   ============================ */
.navbar {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

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

.nav-brand a {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: 0.3s;
}

/* ============================
   Buttons
   ============================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b08d55;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ============================
   Hero Section
   ============================ */
.hero {
    height: 600px;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.7)),
                url('https://images.unsplash.com/photo-1562774053-701939374585?w=1920') center/cover;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ============================
   Page Header
   ============================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #2d4a6f);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ============================
   Section Header
   ============================ */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
}

/* ============================
   Stats Section
   ============================ */
.stats {
    background-color: var(--secondary-color);
    padding: 50px 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================
   Programs Section
   ============================ */
.programs {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.program-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.program-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.program-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.program-card p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.program-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.program-card a:hover {
    color: var(--primary-color);
}

/* ============================
   Campus Preview Section
   ============================ */
.campus-preview {
    padding: 80px 0;
}

.campus-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.campus-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.campus-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.campus-item:hover img {
    transform: scale(1.1);
}

.campus-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 20px;
}

.campus-caption h4 {
    margin-bottom: 5px;
}

.campus-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ============================
   News & Events Section
   ============================ */
.news-events {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    display: block;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.news-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ============================
   About Page Styles
   ============================ */
.about-intro {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--gray-600);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
}

.mission-vision {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mv-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.mv-icon {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.mv-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.mv-card p {
    color: var(--gray-600);
}

.leadership {
    padding: 80px 0;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.leader-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--secondary-color);
}

.leader-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.leader-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.leader-bio {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.achievements {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.achievement-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.achievement-content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.achievement-content p {
    color: var(--gray-600);
}

/* ============================
   Academics Page Styles
   ============================ */
.schools-section {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.school-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary-color);
}

.school-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.school-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.school-card > p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.program-list {
    list-style: none;
    padding: 0;
}

.program-list li {
    color: var(--gray-600);
    padding: 5px 0;
    border-bottom: 1px solid var(--gray-200);
}

.program-list li:last-child {
    border-bottom: none;
}

.degrees-section {
    padding: 80px 0;
}

.degrees-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.degree-type {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-color);
}

.degree-type h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.degree-type i {
    color: var(--secondary-color);
}

.degree-type > p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.degree-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.degree-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.degree-features i {
    color: var(--success-color);
}

.online-learning {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.online-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.online-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.online-text > p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.online-features {
    list-style: none;
    margin-bottom: 25px;
}

.online-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.online-features i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.online-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
}

.research-section {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.research-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.research-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.research-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 20px 20px 0;
}

.research-card > p {
    color: var(--gray-600);
    padding: 0 20px 20px;
}

/* ============================
   Admissions Page Styles
   ============================ */
.apply-banner {
    background: linear-gradient(135deg, var(--secondary-color), #d4a96b);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.apply-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.apply-banner p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.requirements-section {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.req-card {
    background: var(--white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.req-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.req-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.req-list {
    list-style: none;
    margin-bottom: 25px;
}

.req-list li {
    color: var(--gray-600);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.req-list li:before {
    content: "•";
    color: var(--secondary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0;
}

.deadlines-section {
    padding: 80px 0;
}

.deadlines-table {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.deadline-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 20px 30px;
    align-items: center;
}

.deadline-header {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
}

.deadline-row:nth-child(even) {
    background-color: var(--gray-100);
}

.deadline-row:nth-child(odd):not(.deadline-header) {
    background-color: var(--white);
}

.financial-aid {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.financial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.financial-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.financial-text > p {
    color: var(--gray-600);
    margin-bottom: 25px;
}

.financial-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.f-stat {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.f-stat h4 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 5px;
}

.f-stat p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.scholarship-types {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin-bottom: 25px;
}

.scholarship-types h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.scholarship-types ul {
    list-style: none;
}

.scholarship-types li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--gray-600);
    padding: 8px 0;
}

.scholarship-types i {
    color: var(--secondary-color);
}

.financial-buttons {
    display: flex;
    gap: 15px;
}

.financial-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
}

.visit-section {
    padding: 80px 0;
}

.visit-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.visit-card {
    background: var(--white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 4px solid var(--secondary-color);
}

.visit-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.visit-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.visit-card > p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.visit-card > p:last-of-type {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.faq-section {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.faq-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.faq-item > p {
    color: var(--gray-600);
}

/* ============================
   Student Life Page Styles
   ============================ */
.life-intro {
    padding: 80px 0;
}

.life-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.life-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.life-text > p {
    color: var(--gray-600);
    margin-bottom: 25px;
}

.life-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.l-stat {
    text-align: center;
    padding: 20px;
    background: var(--gray-100);
    border-radius: 10px;
}

.l-stat h4 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 5px;
}

.l-stat p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.life-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
}

.housing-section {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.housing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.housing-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.housing-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.housing-card h3 {
    color: var(--primary-color);
    padding: 20px 20px 10px;
    font-size: 1.3rem;
}

.housing-card > p {
    color: var(--gray-600);
    padding: 0 20px 15px;
}

.housing-card ul {
    list-style: none;
    padding: 0 20px 20px;
}

.housing-card li {
    color: var(--gray-600);
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.housing-card i {
    color: var(--success-color);
}

.dining-info {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.dining-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.dining-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dining-item {
    text-align: center;
    padding: 20px;
    background: var(--gray-100);
    border-radius: 10px;
}

.dining-item i {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.dining-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.dining-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.organizations-section {
    padding: 80px 0;
}

.org-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.org-category {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary-color);
}

.org-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.org-category h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.org-category > p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.org-category span {
    display: block;
    color: var(--gray-500);
    font-size: 0.85rem;
    font-style: italic;
}

.athletics-section {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.athletics-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.athletics-text h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.athletics-text > p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.sports-list {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin-bottom: 25px;
}

.sports-list h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.sports-list p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.sports-list p:last-child {
    margin-bottom: 0;
}

.athletics-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
}

.recreation-facilities h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.rec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rec-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.rec-card i {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.rec-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.rec-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.support-services {
    padding: 80px 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.support-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 15px;
}

.support-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.support-card p {
    color: var(--gray-600);
}

.campus-events {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.events-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.event-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    display: flex;
    gap: 25px;
}

.event-month {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.event-item h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.event-item p {
    color: var(--gray-600);
}

/* ============================
   Contact Page Styles
   ============================ */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--gray-300);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    background: var(--white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.contact-info-card h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.map-card {
    flex-grow: 1;
}

.map-placeholder {
    background: linear-gradient(135deg, var(--primary-color), #2d4a6f);
    height: 100%;
    min-height: 200px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    gap: 10px;
}

.map-placeholder i {
    font-size: 3rem;
    opacity: 0.7;
}

.departments-section {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.dept-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.dept-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

.dept-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.dept-card > p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.dept-card ul {
    list-style: none;
}

.dept-card li {
    color: var(--gray-600);
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dept-card i {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

.social-section {
    padding: 80px 0;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.social-card {
    display: block;
    background: var(--white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.social-card:hover {
    transform: translateY(-5px);
}

.social-card.facebook i { color: #1877f2; }
.social-card.twitter i { color: #1da1f2; }
.social-card.instagram i { color: #e4405f; }
.social-card.linkedin i { color: #0077b5; }
.social-card.youtube i { color: #ff0000; }
.social-card.tiktok i { color: #000000; }

.social-card i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.social-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.social-card p {
    color: var(--gray-600);
    margin-bottom: 8px;
}

.social-card span {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.faq-section {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.faq-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ============================
   CTA Section
   ============================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #2d4a6f);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ============================
   Footer
   ============================ */
footer {
    background-color: var(--dark-color);
    color: var(--gray-300);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column > p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.footer-column li i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--gray-600);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-600);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ============================
   Responsive Design
   ============================ */
@media (max-width: 1024px) {
    .programs-grid,
    .schools-grid,
    .requirements-grid,
    .housing-grid,
    .org-categories,
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .leadership-grid,
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-content,
    .life-content,
    .financial-content,
    .athletics-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image,
    .life-image,
    .financial-image,
    .athletics-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 20px 0;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .programs-grid,
    .schools-grid,
    .campus-gallery,
    .news-grid,
    .mv-grid,
    .requirements-grid,
    .housing-grid,
    .org-categories,
    .visit-options,
    .rec-grid,
    .support-grid,
    .departments-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }

    .degrees-tabs {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .financial-stats,
    .life-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .degree-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 450px;
    }

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

    .stat-item h3 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .financial-stats,
    .life-stats {
        grid-template-columns: 1fr;
    }

    .financial-buttons {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* ============================
   Language Switching
   ============================ */
.hidden-zh {
    display: none;
}

html[lang="zh"] .hidden-en {
    display: none;
}

html[lang="zh"] .hidden-zh {
    display: inline;
}

html[lang="zh"] .hidden-block-en {
    display: none;
}

html[lang="zh"] .hidden-block-zh {
    display: block;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.lang-btn {
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

/* ============================
   Library Page Styles
   ============================ */
.library-section {
    padding: 80px 0;
}

.library-header {
    text-align: center;
    margin-bottom: 50px;
}

.library-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.library-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.library-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.lib-stat {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 4px solid var(--secondary-color);
}

.lib-stat i {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.lib-stat h4 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.lib-stat p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.search-box {
    background: var(--primary-color);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 50px;
}

.search-box h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    gap: 15px;
}

.search-form input {
    flex-grow: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.search-form button {
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.search-form button:hover {
    background-color: #d6955a;
    transform: translateY(-2px);
}

.library-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.service-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.library-hours {
    background: var(--gray-100);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 50px;
}

.hours-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.hours-table tr {
    border-bottom: 1px solid var(--gray-300);
}

.hours-table td {
    padding: 15px;
    color: var(--text-color);
}

.hours-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

/* ============================
   Student Portal Page Styles
   ============================ */
.portal-section {
    padding: 80px 0;
    min-height: calc(100vh - 200px);
}

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

.portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    background: var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    color: var(--white);
}

.portal-header-info h1 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.portal-header-info p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.portal-header-actions {
    display: flex;
    gap: 15px;
}

.portal-btn {
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portal-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.portal-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s;
}

.portal-card:hover {
    transform: translateY(-5px);
}

.portal-card-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.portal-card-header i {
    font-size: 1.5rem;
}

.portal-card-header span {
    font-weight: 600;
}

.portal-badge {
    background: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.portal-card-body {
    padding: 25px;
}

.portal-card-body h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.portal-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.95rem;
}

.portal-item:last-child {
    border-bottom: none;
}

.portal-item-label {
    color: var(--gray-600);
}

.portal-item-value {
    font-weight: 600;
    color: var(--text-color);
}

.portal-item-value.urgent {
    color: #dc3545;
}

.portal-card-footer {
    padding: 15px 25px;
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
}

.portal-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.portal-link:hover {
    color: var(--secondary-color);
}

.announcement-section {
    background: var(--gray-100);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.announcement-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.announcement-list {
    max-width: 800px;
    margin: 0 auto;
}

.announcement-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.announcement-date {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.announcement-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.announcement-content {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-link-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s;
    cursor: pointer;
}

.quick-link-card:hover {
    transform: translateY(-5px);
}

.quick-link-card i {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.quick-link-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ============================
   Library & Portal Responsive Design
   ============================ */
@media (max-width: 1024px) {
    .library-stats,
    .library-services,
    .portal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .library-stats,
    .library-services,
    .portal-grid,
    .quick-links {
        grid-template-columns: 1fr;
    }

    .portal-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .portal-header-actions {
        justify-content: center;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form button {
        width: 100%;
    }
}
