/* 
 * University of Women, Kyrgyzstan - Main Stylesheet
 * www.uw.edu.kg
 * Redesigned with a distinctive modern aesthetic
 */

/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #9c3587;
    --secondary-color: #2a9d8f;
    --accent-color: #e76f51;
    --text-color: #2d3142;
    --light-text: #fff;
    --light-bg: #f8f9fa;
    --dark-bg: #264653;
    --footer-bg: #1d3557;
    --border-color: #e0e0e0;
    --success-color: #42b883;
    --warning-color: #ffbe0b;
    --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Montserrat', 'Segoe UI', Roboto, sans-serif;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-stronger: 0 8px 15px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 15px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --border-radius-lg: 20px;
    --border-radius-sm: 5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-stronger);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: var(--shadow-stronger);
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
}

/* ===== HEADER STYLES ===== */
header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-top {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 10px 0;
    font-size: 14px;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    padding-bottom: 15px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-selector a {
    color: var(--light-text);
    margin-right: 15px;
    opacity: 0.7;
}

.language-selector a.active,
.language-selector a:hover {
    opacity: 1;
    color: var(--light-text);
}

.contact-info span {
    margin-left: 20px;
}

.contact-info i {
    margin-right: 8px;
}

.main-header {
    padding: 20px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.logo img {
    height: 60px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 1.4rem;
    margin-bottom: 0;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-text h2 {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 400;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
    position: relative;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
    padding: 5px 0;
    display: inline-block;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 90vh;
    background-image: linear-gradient(135deg, rgba(156, 53, 135, 0.8), rgba(38, 70, 83, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 100px;
    background: var(--light-bg);
    bottom: -50px;
    left: -25%;
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 6px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeIn 1.5s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== FEATURED PROGRAMS SECTION ===== */
.featured-programs {
    padding: 100px 0 80px;
    background-color: var(--light-bg);
    position: relative;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.program-card {
    background-color: var(--light-text);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-bottom: 4px solid transparent;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(156, 53, 135, 0.05), rgba(42, 157, 143, 0.05));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--primary-color);
}

.program-card:hover::before {
    opacity: 1;
}

.program-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-card:hover .program-icon {
    transform: rotate(360deg);
}

.program-icon i {
    color: var(--light-text);
    font-size: 36px;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    transition: color 0.3s ease;
}

.program-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.program-card:hover h3::after {
    width: 60px;
}

.program-card p {
    margin-bottom: 25px;
    color: #666;
}

.learn-more {
    font-weight: 600;
    display: inline-block;
    position: relative;
    padding: 5px 0;
}

.learn-more::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
    transition: var(--transition);
}

.learn-more:hover::after {
    margin-left: 10px;
}

/* ===== STATS SECTION ===== */
.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: var(--light-text);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
    margin: 50px 0;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    opacity: 0.05;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.stat-item::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 70%;
    background: rgba(255, 255, 255, 0.2);
    right: 0;
    top: 15%;
}

.stats-grid .stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.stat-number::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ===== NEWS & EVENTS SECTION ===== */
.news-events {
    padding: 100px 0 80px;
    background-color: var(--light-bg);
    position: relative;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.news-card {
    background-color: var(--light-text);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.news-card:hover .news-image::before {
    opacity: 1;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 10px 15px;
    text-align: center;
    border-radius: var(--border-radius-sm);
    z-index: 2;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-content {
    padding: 30px;
    position: relative;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 15px;
}

.news-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.news-card:hover .news-content h3 {
    color: var(--primary-color);
}

.news-card:hover .news-content h3::after {
    width: 60px;
}

.news-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    position: relative;
    padding: 5px 0;
}

.read-more::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 10px;
}

.view-all-container {
    text-align: center;
    margin-top: 50px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 100px 0;
    background-color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.testimonials::before,
.testimonials::after {
    content: '';
    position: absolute;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
}

.testimonials::before {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
}

.testimonials::after {
    width: 350px;
    height: 350px;
    bottom: -150px;
    right: -150px;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.testimonial {
    text-align: center;
}

.testimonial-content {
    position: relative;
    padding: 40px;
    margin-bottom: 30px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonial-content::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--light-bg);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.05);
    z-index: -1;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
    position: relative;
    padding: 0 20px;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-content p::before {
    top: -10px;
    left: -10px;
}

.testimonial-content p::after {
    content: '\f10e';
    bottom: -10px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: #666;
}

/* ===== PARTNERS SECTION ===== */
.partners {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, rgba(255, 255, 255, 0.8) 100%);
    position: relative;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    align-items: center;
    margin-top: 20px;
}

.partner {
    padding: 20px;
    text-align: center;
    background-color: var(--light-text);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    transform: scale(1);
    filter: grayscale(100%);
    opacity: 0.6;
}

.partner:hover {
    box-shadow: var(--shadow-stronger);
    transform: scale(1.05);
    filter: grayscale(0%);
    opacity: 1;
}

.partner img {
    max-width: 100%;
    max-height: 60px;
}

/* ===== FOOTER STYLES ===== */
footer {
    background: linear-gradient(135deg, var(--dark-bg), var(--footer-bg));
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.footer-top {
    padding: 80px 0 60px;
    position: relative;
    z-index: 2;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/footer-pattern.png');
    background-size: cover;
    opacity: 0.03;
    z-index: -1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-info {
    position: relative;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
}

.footer-info p {
    margin-bottom: 25px;
    opacity: 0.8;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--light-text);
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.footer-links a:hover {
    color: var(--light-text);
    padding-left: 20px;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 5px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--light-text);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .program-card {
        padding: 20px;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        margin-top: 10px;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
    
    .header-top .container {
        flex-direction: column;
    }
    
    .contact-info {
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* ===== PAGE BANNER ===== */
.page-banner {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.breadcrumbs {
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a:hover {
    color: var(--light-text);
}

.breadcrumbs span {
    color: var(--light-text);
}

/* ===== ABOUT INTRO SECTION ===== */
.about-intro {
    padding: 80px 0;
    background-color: var(--light-text);
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.mission-box, .vision-box {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: var(--shadow);
}

.mission-box h3, .vision-box h3 {
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.mission-box i, .vision-box i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.image-caption {
    background-color: rgba(142, 68, 173, 0.8);
    color: var(--light-text);
    padding: 10px 15px;
    border-radius: 5px;
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 0.9rem;
}

/* ===== CORE VALUES SECTION ===== */
.core-values {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--light-text);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: rgba(142, 68, 173, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    color: var(--primary-color);
    font-size: 28px;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* ===== HISTORY SECTION ===== */
.history {
    padding: 80px 0;
    background-color: var(--light-text);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    position: relative;
    width: calc(50% - 40px);
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    left: calc(50% + 40px);
}

.timeline-year {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* ===== LEADERSHIP SECTION ===== */
.leadership {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.leader-card {
    background-color: var(--light-text);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.leader-image {
    height: 250px;
    overflow: hidden;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.leader-card:hover .leader-image img {
    transform: scale(1.05);
}

.leader-info {
    padding: 25px;
}

.leader-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.leader-info h4 {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 15px;
}

.board-info {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
}

.board-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.board-info p {
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ACCREDITATION SECTION ===== */
.accreditation {
    padding: 80px 0;
    background-color: var(--light-text);
}

.accreditation-content {
    max-width: 900px;
    margin: 0 auto;
}

.accreditation-content p {
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.8;
}

.accreditation-list {
    list-style-type: none;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 30px auto;
}

.accreditation-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 25px;
}

.accreditation-list li:last-child {
    border-bottom: none;
}

.accreditation-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.accreditation-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.accreditation-logos img {
    height: 60px;
    filter: grayscale(1);
    opacity: 0.7;
    transition: var(--transition);
}

.accreditation-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ===== CAMPUS MAP SECTION ===== */
.campus-map {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.map-container {
    margin-bottom: 40px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.directions h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.direction-item {
    background-color: var(--light-text);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
}

.direction-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background-color: rgba(142, 68, 173, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.direction-icon i {
    color: var(--primary-color);
    font-size: 24px;
}

.direction-item h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* ===== RESPONSIVE STYLES FOR ABOUT PAGE ===== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .timeline::before {
        left: 40px;
    }
    
    .timeline-dot {
        left: 40px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        left: 80px !important;
    }
}

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 2.5rem;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .timeline-content {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 50px);
        left: 50px !important;
    }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-text);
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-intro p {
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    display: flex;
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--light-text);
    font-size: 20px;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact-details p {
    margin-bottom: 5px;
    color: #666;
    line-height: 1.6;
}

.social-connect {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    margin-top: 15px;
}

.social-connect h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-text);
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: var(--secondary-color);
}

/* Contact Form Styles */
.contact-form-panel {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: var(--accent-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 16px;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.2);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* ===== DEPARTMENT CONTACTS SECTION ===== */
.department-contacts {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.department-card {
    background-color: var(--light-text);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.department-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.department-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(142, 68, 173, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
}

.department-icon i {
    color: var(--primary-color);
    font-size: 24px;
}

.department-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-align: center;
}

.department-card p {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

.department-card p i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-text);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(142, 68, 173, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding-bottom: 20px;
}

/* ===== RESPONSIVE STYLES FOR CONTACT PAGE ===== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .departments-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .contact-intro h2 {
        font-size: 1.8rem;
    }
    
    .contact-card {
        padding: 15px;
    }
    
    .department-card {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
}

/* ===== MOBILE MENU STYLES ===== */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        z-index: 1001;
        transition: all 0.3s ease;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(156, 53, 135, 0.1);
    }
    
    .mobile-menu-toggle.active {
        color: var(--primary-color);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--light-text);
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        padding: 80px 30px 30px;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav li {
        margin-left: 0;
    }
    
    .main-nav a {
        display: block;
        padding: 10px 0;
        font-size: 18px;
        border-bottom: 1px solid var(--border-color);
    }
}

/* Scroll progress indicator */
.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    width: 0%;
    z-index: 1002;
    transition: width 0.1s;
}

/* Faculty card animations */
.faculty-card.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.faculty-card {
    opacity: 0;
    transform: translateY(30px);
}

/* Add animation for program cards */
.program-card.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.news-card.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.stat-item.animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animations */
.program-card:nth-child(1),
.news-card:nth-child(1),
.faculty-card:nth-child(1),
.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.program-card:nth-child(2),
.news-card:nth-child(2),
.faculty-card:nth-child(2),
.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.program-card:nth-child(3),
.news-card:nth-child(3),
.faculty-card:nth-child(3),
.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.program-card:nth-child(4),
.news-card:nth-child(4),
.faculty-card:nth-child(4),
.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* Additional responsive styles */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .program-card, 
    .news-card,
    .faculty-card {
        transform: translateY(0);
    }
    
    .program-card:hover, 
    .news-card:hover,
    .faculty-card:hover {
        transform: translateY(-5px);
    }
}

/* ===== DARK MODE STYLES ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --light-bg: #1f2937;
        --light-text: #f8f9fa;
        --text-color: #e9ecef;
        --border-color: #374151;
    }
    
    body {
        background-color: #111827;
    }
    
    header {
        background-color: rgba(31, 41, 55, 0.95);
    }
    
    header.scrolled {
        background-color: rgba(31, 41, 55, 0.98);
    }
    
    .program-card,
    .news-card,
    .faculty-card,
    .testimonial-content,
    .partner {
        background-color: #283548;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }
    
    .news-content p,
    .program-card p,
    .faculty-info p {
        color: #9ca3af;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    header, 
    footer,
    .hero-buttons,
    .cta-section,
    .social-links,
    .faculty-social {
        display: none !important;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    .program-card,
    .news-card,
    .faculty-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
} 