/* MAIST - Muhammad Ali Institute of Science & Technology */
/* Modern University Website CSS */

/* Global Variables */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Hero Section with Full Background Image */
.hero-section {
    position: relative;
    height: 180vh;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    overflow: hidden;
    background-color: #000;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 180vh;
    display: flex;
    align-items: center;
}

.hero-text {
    color: var(--bg-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-align: left;
}

.hero-title {
    font-size: 11px;
    font-weight: 300;
    margin-bottom: 0.6rem;
    line-height: 1;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.welcome-title {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    text-transform: none;
    letter-spacing: 0.3px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: #f59e0b;
    text-transform: none;
}

.hero-description {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.5;
}

.hero-info {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.4;
}

.welcome-message {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    border-left: 4px solid var(--accent-color);
    backdrop-filter: blur(10px);
}

.welcome-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    text-transform: none;
    letter-spacing: 0.3px;
}

.welcome-text {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 1;
    font-weight: 400;
    color: #ffffff;
}

.join-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Responsive Design for Vision Mission Slider */
@media (max-width: 768px) {
    .vision-mission-slider .carousel {
        margin: 0 1rem;
    }
    
    .vision-mission-slider .carousel-item {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .slider-item {
        padding: 1.5rem;
    }
    
    .slider-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .slider-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .slider-text {
        font-size: 0.9rem;
    }
    
    .vision-mission-slider .carousel-control-prev,
    .vision-mission-slider .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .vision-mission-slider .carousel-control-prev {
        left: 10px;
    }
    
    .vision-mission-slider .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .vision-mission-slider .carousel-item {
        padding: 1.5rem 1rem;
    }
    
    .slider-item {
        padding: 1rem;
    }
    
    .slider-icon {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }
    
    .slider-title {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .slider-text {
        font-size: 0.85rem;
    }
    
    .vision-mission-slider .carousel-control-prev,
    .vision-mission-slider .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    .vision-mission-slider .carousel-control-prev-icon,
    .vision-mission-slider .carousel-control-next-icon {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
        white-space: normal;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-info {
        font-size: 0.85rem;
    }
    
    .welcome-message {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .welcome-title {
        font-size: 1rem;
    }
    
    .welcome-text {
        font-size: 0.8rem;
    }
    
    .join-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
        white-space: normal;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-info {
        font-size: 0.8rem;
    }
    
    .welcome-message {
        padding: 0.8rem;
        margin-top: 0.8rem;
    }
    
    .welcome-title {
        font-size: 0.95rem;
    }
    
    .welcome-text {
        font-size: 0.75rem;
    }
    
    .join-text {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-buttons .btn {
        width: 200px;
        margin-bottom: 0.5rem;
    }
}

/* Gallery Slider Enhancement */
.gallery-slider-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.gallery-slider {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.gallery-slider .carousel-item {
    height: 500px;
}

.gallery-slider .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.gallery-slider .carousel-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: left;
}

.gallery-slider .carousel-caption h4 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-slider .carousel-caption p {
    color: var(--bg-white);
    margin-bottom: 0;
}

/* Responsive Design for Carousel */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-text .lead {
        font-size: 1.1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
        margin: 0 10px;
    }
    
    .gallery-slider .carousel-item {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption {
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 250px;
        margin-bottom: 0.5rem;
    }
}

/* Announcements Ticker */
.announcements-ticker {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.75rem 0;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 3rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.ticker-item i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.ticker-item strong {
    color: var(--accent-color);
    font-weight: 600;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Vision Mission About Slider Styles */
.vision-mission-slider {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 4rem 0;
}

.vision-mission-slider .carousel {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.vision-mission-slider .carousel-inner {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.vision-mission-slider .carousel-item {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 4rem;
    width: 100%;
    flex-shrink: 0;
    position: relative;
}

.vision-mission-slider .carousel-item:not(.active) {
    display: none;
}

.vision-mission-slider .carousel-item.active {
    display: flex;
}

.slider-item {
    flex: 1;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.slider-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.slider-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.slider-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: none;
}

.slider-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 0;
}

.vision-mission-slider .carousel-indicators {
    bottom: 20px;
}

.vision-mission-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    margin: 0 8px;
}

.vision-mission-slider .carousel-indicators button.active {
    background-color: var(--accent-color);
}

.vision-mission-slider .carousel-control-prev,
.vision-mission-slider .carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.vision-mission-slider .carousel-control-prev:hover,
.vision-mission-slider .carousel-control-next:hover {
    opacity: 1;
    background: var(--primary-color);
}

.vision-mission-slider .carousel-control-prev {
    left: 20px;
}

.vision-mission-slider .carousel-control-next {
    right: 20px;
}

.vision-mission-slider .carousel-control-prev-icon,
.vision-mission-slider .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.vision-mission-slider .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Why Choose MAIST Section Styles */
.why-choose-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: none;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0;
    opacity: 0.8;
}

.choose-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.choose-card:hover::before {
    transform: scaleX(1);
}

.choose-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.choose-icon i {
    font-size: 2rem;
    color: var(--bg-white);
}

.choose-card:hover .choose-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.choose-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: none;
}

.choose-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 0;
    opacity: 0.8;
}

/* Responsive Design for Why Choose Section */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .choose-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .choose-icon {
        width: 70px;
        height: 70px;
    }
    
    .choose-icon i {
        font-size: 1.8rem;
    }
    
    .choose-card h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .choose-card {
        padding: 1.2rem;
    }
    
    .choose-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .choose-icon i {
        font-size: 1.5rem;
    }
    
    .choose-card h4 {
        font-size: 1.1rem;
    }
    
    .choose-card p {
        font-size: 0.9rem;
    }
}

/* Vision Mission Section */
.vision-mission-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.vision-card,
.mission-card,
.about-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.vision-card:hover,
.mission-card:hover,
.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.vision-icon,
.mission-icon,
.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2rem;
}

.vision-card h3,
.mission-card h3,
.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.vision-card p,
.mission-card p,
.about-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Established Badge */
.established-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

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

/* Program Cards with Images */
.program-card {
    background: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

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

.program-image {
    height: 180px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-content {
    padding: 1.5rem;
    text-align: center;
}

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

.program-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
}

.program-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

/* Course Meta */
.course-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-light);
    background-color: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.course-meta i {
    color: var(--accent-color);
}

/* CTA Highlights */
.cta-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bg-white);
    font-weight: 500;
}

.highlight-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

/* CTA Badge */
.cta-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    color: #fff;
}

.whatsapp-float i {
    margin: 0;
    line-height: 1;
}

/* Footer Affiliations */
.affiliations {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.affiliations p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.affiliations strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    margin-right: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: var(--primary-color);
    color: var(--bg-white) !important;
}

.btn-apply {
    background: var(--gradient-primary);
    color: var(--bg-white) !important;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(59, 130, 246, 0.8)),
                url('../images/8.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-text {
    text-align: center;
    color: #ffffff;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.welcome-message {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.welcome-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.welcome-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.join-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 2rem;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-buttons .btn {
    margin: 0 10px;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 50px;
}

/* News Ticker in Hero Overlay */
.news-ticker-container {
position: absolute;
top: 30px;
left: 0;
right: 0;
background: rgba(255, 255, 255, 0.8);
z-index: 10;
overflow: hidden;
}

.news-ticker {
position: relative;
overflow: hidden;
height: 40px;
line-height: 40px;
}

.ticker-content {
display: flex;
animation: tickerScroll 30s linear infinite;
white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 3rem;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 500;
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.ticker-item i {
    margin-right: 0.5rem;
    color: #000000;
    font-size: 0.8rem;
}

.ticker-item strong {
    color: #333333;
    margin-right: 0.5rem;
}

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

/* Pause ticker on hover */
.news-ticker:hover .ticker-content {
animation-play-state: paused;
}

/* Responsive Design for News Ticker */
@media (max-width: 768px) {
.ticker-item {
font-size: 0.8rem;
padding: 0 2rem;
}
    
.ticker-item i {
font-size: 0.7rem;
}
}

@media (max-width: 576px) {
.news-ticker {
height: 35px;
line-height: 35px;
}
    
.ticker-item {
font-size: 0.7rem;
padding: 0 1.5rem;
}
    
.ticker-item i {
font-size: 0.6rem;
}
}

/* Section Styles */
.section-title {
font-size: 2.5rem;
font-weight: 700;
color: var(--primary-color);
margin-bottom: 1rem;
position: relative;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-weight: 500;
}

.feature-list i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Why Choose Section */
.why-choose-section {
    background-color: var(--bg-white);
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

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

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-color);
    margin-bottom: 0;
}

/* Page Header with Background Image */
.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 8rem 0;
    color: var(--bg-white);
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 60vh;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 1;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.5px;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    display: inline-flex;
}

.breadcrumb-item {
    color: var(--bg-white);
}

.breadcrumb-item a {
    color: var(--bg-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
}

/* Admission Process Steps */
.admission-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.step {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.step:hover::before {
    transform: scaleX(1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--bg-white);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: none;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Responsive Design for Admission Steps */
@media (max-width: 768px) {
    .admission-steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .step {
        min-width: auto;
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .step-content h4 {
        font-size: 1.2rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .step {
        padding: 1.2rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
}

/* Eligibility Section Professional Styling */
.eligibility-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    position: relative;
}

.eligibility-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.05;
    z-index: 0;
}

.eligibility-section .container {
    position: relative;
    z-index: 1;
}

.eligibility-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.eligibility-card .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    padding: 2rem;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
}

.eligibility-card .card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.eligibility-card .card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.eligibility-card .card-header p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
    font-weight: 400;
}

.eligibility-card .card-body {
    padding: 3rem;
}

.eligibility-card h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.eligibility-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.eligibility-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.eligibility-card ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.eligibility-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.8rem;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
}

.eligibility-card ul li:hover {
    color: var(--primary-color);
    padding-left: 2.5rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 0.5rem;
}

.program-requirements h5 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-requirements h5 i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.program-requirements h6 {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-color);
}

.additional-requirements h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* NAVTTC Eligibility Section */
.navttc-eligibility-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.navttc-eligibility-section .eligibility-card .card-header {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .eligibility-card .card-body {
        padding: 2rem;
    }
    
    .eligibility-card .card-header h3 {
        font-size: 1.5rem;
    }
    
    .eligibility-card h4 {
        font-size: 1.3rem;
    }
    
    .eligibility-card ul li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
        padding-left: 1.5rem;
    }
    
    .eligibility-card ul li::before {
        top: 0.6rem;
        font-size: 0.9rem;
    }
    
    .program-requirements h5 {
        font-size: 1.2rem;
    }
    
    .program-requirements h6 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .eligibility-card .card-body {
        padding: 1.5rem;
    }
    
    .eligibility-card .card-header h3 {
        font-size: 1.3rem;
    }
    
    .eligibility-card h4 {
        font-size: 1.2rem;
    }
    
    .eligibility-card ul li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
        padding-left: 1.2rem;
    }
    
    .eligibility-card ul li::before {
        top: 0.5rem;
        font-size: 0.8rem;
    }
    
    .program-requirements h5 {
        font-size: 1.1rem;
    }
    
    .program-requirements h6 {
        font-size: 0.95rem;
    }
}

/* Program Pages Professional Styling */
.program-overview-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    position: relative;
}

.program-overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.05;
    z-index: 0;
}

.program-overview-section .container {
    position: relative;
    z-index: 1;
}

.program-overview-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.program-overview-content .section-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.program-overview-content .lead {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.key-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 50px;
    font-weight: 500;
}

.highlight-item i {
    color: var(--bg-white);
}

.program-image img {
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

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

/* Vision & Mission Section */
.vision-mission-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.vision-card, .mission-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--bg-white);
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.vision-card h3, .mission-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.vision-card p, .mission-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Objectives Section */
.objectives-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 5rem 0;
}

.objective-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.objective-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.objective-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.objective-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Scope Section */
.scope-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.scope-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-color);
}

.scope-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.scope-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.scope-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0.8rem;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Requirements Section */
.requirements-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 5rem 0;
}

.requirements-card {
    background: var(--bg-white);
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.requirements-card .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    padding: 2rem;
    text-align: center;
    border: none;
}

.requirements-card .card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.requirements-card .card-body {
    padding: 3rem;
}

.requirements-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.requirements-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.requirements-card ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.requirements-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.8rem;
    color: var(--accent-color);
    font-weight: 700;
}

/* Duration Section */
.duration-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.duration-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.duration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.duration-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--bg-white);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.duration-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.duration-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Career Section */
.career-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 5rem 0;
}

.career-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.career-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--bg-white);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.career-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.career-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Faculty Section */
.faculty-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.faculty-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.faculty-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--bg-white);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.faculty-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faculty-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.faculty-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.faculty-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

.faculty-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

/* Responsive Design for Program Pages */
@media (max-width: 768px) {
    .program-overview-content {
        padding: 2rem;
    }
    
    .program-overview-content .section-title {
        font-size: 1.5rem;
    }
    
    .vision-card, .mission-card {
        padding: 2rem;
    }
    
    .objective-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .requirements-card .card-body {
        padding: 2rem;
    }
    
    .duration-card, .career-card, .faculty-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .program-overview-content {
        padding: 1.5rem;
    }
    
    .program-overview-content .section-title {
        font-size: 1.3rem;
    }
    
    .vision-card, .mission-card {
        padding: 1.5rem;
    }
    
    .requirements-card .card-body {
        padding: 1.5rem;
    }
    
    .duration-card, .career-card, .faculty-card {
        padding: 1rem;
    }
    
    .key-highlights {
        justify-content: center;
    }
    
    .highlight-item {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Degree Programs Section Styles */
.programs-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.programs-section .section-title,
.programs-section .section-subtitle {
    color: var(--primary-color);
    text-shadow: none;
}

.programs-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: none;
    letter-spacing: normal;
}

.programs-section .section-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 1;
}

.program-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

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

.program-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-bottom: 1.5rem;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.125rem;
}

.program-card p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* NAVTTC Courses Section */
.navttc-section {
    background-color: var(--bg-white);
}

.course-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

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

.course-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-bottom: 1.5rem;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.125rem;
}

.course-card p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* Statistics Section */
.stats-section {
    background: var(--gradient-primary);
    color: var(--bg-white);
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--bg-light);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.gallery-overlay i {
    color: var(--bg-white);
    font-size: 2rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: var(--bg-white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--bg-white);
    opacity: 0.9;
}

.contact-info i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-light);
}

.contact-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    height: 100%;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

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

.contact-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Footer - Professional Design */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.05;
    z-index: 0;
}

.footer > .container {
    position: relative;
    z-index: 1;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    margin-right: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-logo h4 {
    color: var(--bg-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-affiliations {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-affiliations p {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-affiliations p:last-child {
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: transparent;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.footer-links-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: 700;
    transition: transform 0.3s ease;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links-list a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-links-list li:hover::before {
    transform: translateX(3px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.footer-contact-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-right: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

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

.footer-bottom .heart {
    color: #ff4757;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-logo img {
        height: 40px;
    }
    
    .footer-logo h4 {
        font-size: 1.3rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .footer-contact-item {
        padding: 0.6rem;
    }
    
    .footer-contact-item i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-logo img {
        height: 35px;
        margin-right: 0.75rem;
    }
    
    .footer-logo h4 {
        font-size: 1.2rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .footer-contact-item {
        padding: 0.5rem;
    }
    
    .footer-contact-item i {
        font-size: 0.9rem;
        margin-right: 0.75rem;
    }
}

/* Responsive Design */
/* Comprehensive Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .news-ticker-container {
        top: 70px;
    }
    
    .news-ticker {
        height: 35px;
        line-height: 35px;
    }
    
    .ticker-item {
        font-size: 0.8rem;
        padding: 0 2rem;
    }
    
    .ticker-item i {
        font-size: 0.7rem;
    }
    
    .program-card {
        margin-bottom: 1.5rem;
    }
    
    .program-image img {
        height: 200px;
        object-fit: cover;
    }
    
    .course-card {
        margin-bottom: 1.5rem;
    }
    
    .course-image {
        height: 150px;
    }
    
    .feature-card {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }
    
    .contact-card {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 8rem 0 4rem;
    }
    
    .hero-content {
        padding: 2rem 0;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    /* Footer Responsive */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-logo img {
        height: 40px;
    }
    
    .footer-logo h4 {
        font-size: 1.3rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .footer-contact-item {
        padding: 0.6rem;
    }
    
    .footer-contact-item i {
        font-size: 1rem;
    }
    
    /* Program Pages Responsive */
    .program-overview-section {
        padding: 3rem 0;
    }
    
    .program-overview-content {
        padding: 2rem;
    }
    
    .program-overview-content .section-title {
        font-size: 1.5rem;
    }
    
    .vision-card, .mission-card {
        padding: 2rem;
    }
    
    .objective-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .requirements-card .card-body {
        padding: 2rem;
    }
    
    .duration-card, .career-card, .faculty-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }
    
    .news-ticker-container {
        top: 60px;
    }
    
    .news-ticker {
        height: 30px;
        line-height: 30px;
    }
    
    .ticker-item {
        font-size: 0.7rem;
        padding: 0 1.5rem;
    }
    
    .ticker-item i {
        font-size: 0.6rem;
    }
    
    .program-card {
        margin-bottom: 1.5rem;
    }
    
    .program-image img {
        height: 150px;
    }
    
    .course-card {
        margin-bottom: 1.5rem;
    }
    
    .course-image {
        height: 120px;
    }
    
    .feature-card {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .contact-card {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 8rem 0 4rem;
    }
    
    .hero-content {
        padding: 2rem 0;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    /* Footer Responsive */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-logo img {
        height: 40px;
    }
    
    .footer-logo h4 {
        font-size: 1.3rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .footer-contact-item {
        padding: 0.6rem;
    }
    
    .footer-contact-item i {
        font-size: 1rem;
    }
    
    /* Program Pages Responsive */
    .program-overview-section {
        padding: 3rem 0;
    }
    
    .program-overview-content {
        padding: 2rem;
    }
    
    .program-overview-content .section-title {
        font-size: 1.5rem;
    }
    
    .vision-card, .mission-card {
        padding: 2rem;
    }
    
    .objective-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .requirements-card .card-body {
        padding: 2rem;
    }
    
    .duration-card, .career-card, .faculty-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-brand img {
        height: 25px;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.85rem;
        margin: 0.1rem;
        padding: 0.4rem 0.6rem;
    }
    
    .btn-apply {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .news-ticker-container {
        top: 50px;
    }
    
    .news-ticker {
        height: 25px;
        line-height: 25px;
    }
    
    .ticker-item {
        font-size: 0.65rem;
        padding: 0 1rem;
    }
    
    .ticker-item i {
        font-size: 0.5rem;
    }
    
    .program-card {
        margin-bottom: 1rem;
    }
    
    .program-image img {
        height: 120px;
    }
    
    .course-card {
        margin-bottom: 1rem;
    }
    
    .course-image {
        height: 100px;
    }
    
    .feature-card {
        margin-bottom: 0.8rem;
        padding: 1rem;
    }
    
    .contact-card {
        margin-bottom: 0.8rem;
        padding: 1rem;
    }
    
    .hero-section {
        padding: 6rem 0 3rem;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .page-header {
        padding: 5rem 0 2rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .page-subtitle {
        font-size: 0.9rem;
    }
    
    /* Footer Responsive */
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-logo img {
        height: 35px;
        margin-right: 0;
    }
    
    .footer-logo h4 {
        font-size: 1.2rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .footer-contact-item {
        padding: 0.5rem;
    }
    
    .footer-contact-item i {
        font-size: 0.9rem;
        margin-right: 0.75rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    /* Program Pages Responsive */
    .program-overview-section {
        padding: 2rem 0;
    }
    
    .program-overview-content {
        padding: 1.5rem;
    }
    
    .program-overview-content .section-title {
        font-size: 1.3rem;
    }
    
    .vision-card, .mission-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .requirements-card .card-body {
        padding: 1.5rem;
    }
    
    .duration-card, .career-card, .faculty-card {
        padding: 1rem;
    }
    
    .duration-icon, .career-icon, .faculty-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .btn-primary,
    .btn-outline-light {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .feature-card,
    .program-card,
    .course-card,
    .contact-card {
        margin-bottom: 0.8rem;
        padding: 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-brand img {
        height: 22px;
    }
    
    .btn-apply {
        padding: 0.25rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .news-ticker-container {
        top: 45px;
    }
    
    .news-ticker {
        height: 22px;
        line-height: 22px;
    }
    
    .ticker-item {
        font-size: 0.6rem;
        padding: 0 0.8rem;
    }
    
    .ticker-item i {
        font-size: 0.45rem;
    }
    
    .program-card {
        margin-bottom: 0.8rem;
    }
    
    .program-image img {
        height: 100px;
    }
    
    .course-card {
        margin-bottom: 0.8rem;
    }
    
    .course-image {
        height: 80px;
    }
    
    .feature-card {
        margin-bottom: 0.6rem;
        padding: 0.8rem;
    }
    
    .contact-card {
        margin-bottom: 0.6rem;
        padding: 0.8rem;
    }
    
    .hero-section {
        padding: 5rem 0 2.5rem;
    }
    
    .hero-content {
        padding: 0.5rem 0;
    }
    
    .page-header {
        padding: 4rem 0 1.5rem;
    }
    
    .page-title {
        font-size: 1.3rem;
    }
    
    .page-subtitle {
        font-size: 0.8rem;
    }
    
    .footer {
        padding: 2rem 0 0.8rem;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-logo img {
        height: 30px;
    }
    
    .footer-logo h4 {
        font-size: 1.1rem;
    }
    
    .footer-description {
        font-size: 0.8rem;
    }
    
    .social-links a {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .footer-contact-item {
        padding: 0.4rem;
    }
    
    .footer-contact-item i {
        font-size: 0.8rem;
        margin-right: 0.5rem;
    }
    
    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
    
    .btn-primary,
    .btn-outline-light {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Landscape Orientation */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0 2rem;
    }
    
    .page-header {
        padding: 4rem 0 2rem;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
    
    .news-ticker-container {
        top: 40px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .news-ticker-container,
    .whatsapp-float {
        display: none !important;
    }
    
    .hero-section,
    .page-header {
        background: none !important;
        color: #000 !important;
    }
    
    .footer {
        background: #fff !important;
        color: #000 !important;
    }
    
    .footer * {
        color: #000 !important;
    }
    
    .program-card,
    .course-card,
    .feature-card,
    .contact-card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        break-inside: avoid;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar-brand img,
    .footer-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .program-image img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .social-links a:hover,
    .footer-links-list a:hover,
    .footer-contact-item:hover {
        transform: none;
    }
    
    .ticker-content {
        animation-play-state: paused;
    }
    
    .news-ticker:hover .ticker-content {
        animation-play-state: running;
    }
    
    .program-card:hover,
    .course-card:hover,
    .feature-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .ticker-content,
    .social-links a,
    .footer-links-list a,
    .footer-contact-item,
    .program-card,
    .course-card,
    .feature-card,
    .contact-card {
        animation: none;
        transition: none;
    }
    
    .btn {
        transition: none;
    }
    
    * {
        scroll-behavior: auto;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles if needed */
    .hero-section::before {
        opacity: 0.3;
    }
    
    .page-header::before {
        opacity: 0.3;
    }
}

/* Device-Specific Adjustments */
/* iPad Pro */
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (-webkit-min-device-pixel-ratio: 2) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
}

/* iPhone X/11/12/13/14 */
@media only screen 
  and (device-width: 375px) 
  and (device-height: 812px) 
  and (-webkit-device-pixel-ratio: 3) {
    .news-ticker-container {
        top: 44px; /* Notch height adjustment */
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
}

/* iPhone SE */
@media only screen 
  and (device-width: 375px) 
  and (device-height: 667px) 
  and (-webkit-device-pixel-ratio: 2) {
    .news-ticker-container {
        top: 44px;
    }
}

/* Android Devices */
@media screen and (max-width: 360px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-brand img {
        height: 20px;
    }
    
    .news-ticker-container {
        top: 44px;
    }
    
    .news-ticker {
        height: 20px;
        line-height: 20px;
    }
    
    .ticker-item {
        font-size: 0.55rem;
        padding: 0 0.6rem;
    }
    
    .ticker-item i {
        font-size: 0.4rem;
    }
}

/* Responsive Design */
    .course-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

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

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-lg) !important;
}

.border-custom {
    border-color: var(--border-color) !important;
}

/* Button Hover Effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

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

/* Image Hover Effects */
.img-hover {
    transition: transform 0.3s ease;
}

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

/* Page Header - Background image rule already exists above, this one removed to avoid conflict */

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.page-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
    content: ">";
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--bg-white);
}

.breadcrumb-item.active {
    color: var(--bg-white);
}

/* Application Form Styles */
.application-section {
    background-color: var(--bg-light);
}

.application-form-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.form-section h3 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Download Cards */
.download-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 2rem;
}

.download-card .card-header {
    background: var(--gradient-primary);
    color: var(--bg-white);
    padding: 1.5rem;
    border: none;
}

.download-card .card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.download-card .card-header i {
    margin-right: 0.5rem;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

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

.download-item:hover {
    background-color: var(--bg-light);
}

.download-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.download-info p {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.file-size {
    font-size: 0.75rem;
    color: var(--text-light);
    background-color: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

/* Gallery Styles */
.gallery-filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.gallery-filter {
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gallery-filter.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
}

.search-box {
    min-width: 300px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-info {
    padding: 1.5rem;
    color: var(--bg-white);
}

.gallery-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Video Section */
.video-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Form Styles */
.contact-form-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

/* Map Section */
.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    padding: 2rem;
}

.map-content i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Office Hours */
.office-hours-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.hours-grid {
    margin-bottom: 2rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

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

.hours-item .day {
    font-weight: 600;
    color: var(--primary-color);
}

.hours-item .time {
    color: var(--text-light);
    font-weight: 500;
}

.special-hours h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.special-hours ul {
    list-style: none;
    padding: 0;
}

.special-hours li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.special-hours li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Department Cards */
.department-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

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

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

.department-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.department-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.department-contact i {
    color: var(--accent-color);
    margin-right: 0.5rem;
    width: 20px;
}

/* Social Media Links */
.social-links-container {
    text-align: center;
}

.social-links-large {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border-radius: 1rem;
    color: var(--bg-white);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 120px;
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link.youtube {
    background: #ff0000;
}

.social-link.whatsapp {
    background: #25d366;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    color: var(--bg-white);
}

.social-link i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.social-link span {
    font-weight: 600;
    font-size: 0.875rem;
}

/* FAQ Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 0.5rem !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background: var(--bg-white);
    color: var(--text-dark);
    font-weight: 600;
    border: none;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--bg-white);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    filter: var(--primary-color);
}

.accordion-button:not(.collapsed)::after {
    filter: var(--bg-white);
}

.accordion-body {
    padding: 1.25rem;
    color: var(--text-light);
}

/* Support Cards */
.support-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.support-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.support-card .contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.support-card .contact-info i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Instructions Card */
.instructions-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.instructions-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.instructions-card h3 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.instructions-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.instructions-card li {
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.instructions-card li:last-child {
    border-bottom: none;
}

.instructions-card li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.75rem;
}

/* Guidelines Cards */
.guideline-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

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

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

.guideline-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 auto;
    width: 120px;
    text-align: center;
    padding: 1rem;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 0.5rem;
    margin: 0 2rem;
    z-index: 2;
}

.timeline-date .date {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.timeline-date .month {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
}

.timeline-content {
    flex: 1;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Program Details */
.program-details {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.program-details span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.program-details i {
    color: var(--accent-color);
}

/* Course Details */
.course-details {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.course-details span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.course-details i {
    color: var(--accent-color);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--bg-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    min-width: 300px;
    border-left: 4px solid var(--primary-color);
}

.notification-success {
    border-left-color: #28a745;
}

.notification-error {
    border-left-color: #dc3545;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.notification-success i {
    color: #28a745;
}

.notification-error i {
    color: #dc3545;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: var(--text-dark);
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Enhanced Responsive Design */
@media (max-width: 992px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }
    
    .timeline-date {
        width: 80px;
        margin: 0 1rem 0 0;
    }
    
    .timeline-date .date {
        font-size: 1.25rem;
    }
    
    .social-links-large {
        gap: 0.5rem;
    }
    
    .social-link {
        min-width: 100px;
        padding: 1rem;
    }
    
    .social-link i {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .gallery-filter-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .download-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .download-item .btn {
        width: 100%;
    }
    
    .program-details,
    .course-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .timeline-item {
        margin-left: 50px;
    }
    
    .timeline-date {
        width: 60px;
        margin: 0 1rem 0 0;
        padding: 0.75rem 0.5rem;
    }
    
    .timeline-date .date {
        font-size: 1rem;
    }
    
    .timeline-date .month {
        font-size: 0.75rem;
    }
    
    .social-links-large {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        min-width: 200px;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 5rem 0 2rem;
        margin-top: 70px;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .application-form-card,
    .contact-form-card,
    .download-card,
    .office-hours-card,
    .instructions-card {
        padding: 1.5rem;
    }
    
    .form-section h3 {
        font-size: 1.25rem;
    }
    
    .gallery-card img {
        height: 200px;
    }
    
    .timeline-item {
        margin-left: 40px;
    }
    
    .timeline-date {
        width: 50px;
        margin: 0 0.75rem 0 0;
        padding: 0.5rem;
    }
    
    .timeline-date .date {
        font-size: 0.875rem;
    }
    
    .timeline-date .month {
        font-size: 0.625rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .social-link {
        min-width: 150px;
        padding: 0.75rem;
    }
    
    .social-link i {
        font-size: 1.25rem;
    }
    
    .social-link span {
        font-size: 0.75rem;
    }
    
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Blog Section Styles */
.blog-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-white);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/blog-header.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.3;
    z-index: 0;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 1rem 2rem;
    display: inline-block;
}

.breadcrumb-item {
    color: var(--bg-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

/* Blog Posts */
.blog-posts {
    margin-bottom: 3rem;
}

.blog-post {
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.post-header {
    padding: 1.5rem 1.5rem 0;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.post-date {
    color: var(--primary-color);
    font-weight: 600;
}

.post-author {
    color: var(--text-muted);
}

.post-category {
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.post-title {
    margin-bottom: 1rem;
}

.post-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-image:hover .image-overlay {
    opacity: 1;
}

.post-excerpt {
    padding: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

.post-tags {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tag:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.post-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.post-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.widget-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

/* Blog Search */
.blog-search .input-group {
    box-shadow: var(--shadow-sm);
    border-radius: 10px;
    overflow: hidden;
}

.blog-search .form-control {
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.blog-search .btn {
    border: none;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0 1rem;
    transition: background 0.3s ease;
}

.blog-search .btn:hover {
    background: var(--accent-color);
}

/* Recent Posts */
.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.recent-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts a {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.recent-posts a:hover {
    transform: translateX(5px);
}

.recent-posts img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.post-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.post-info .post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Popular Posts */
.popular-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-posts li {
    margin-bottom: 1rem;
}

.popular-posts a {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.popular-posts a:hover {
    transform: translateX(5px);
}

.post-number {
    background: var(--primary-color);
    color: var(--bg-white);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.popular-posts h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.post-views {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Categories */
.categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories li {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.categories li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.categories a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.categories span {
    background: var(--bg-light);
    color: var(--text-muted);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud .tag {
    font-size: 0.8rem;
}

/* Internal Links */
.internal-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.internal-links li {
    margin-bottom: 0.75rem;
}

.internal-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-weight: 500;
}

.internal-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.internal-links i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Blog Pagination */
.blog-pagination {
    margin-top: 3rem;
}

.pagination {
    background: var(--bg-white);
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
    display: inline-flex;
}

.page-item {
    margin: 0 0.25rem;
}

.page-link {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-link:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.page-item.disabled .page-link {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Blog Individual Post Styles */
.blog-post-single {
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 2rem;
}

.post-content {
    padding: 2rem;
}

.post-content h1 {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-content h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    line-height: 1.4;
}

.post-content h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    line-height: 1.4;
}

.post-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-md);
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.post-content th,
.post-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.post-content th {
    background: var(--primary-color);
    color: var(--bg-white);
    font-weight: 600;
}

.post-content tr:hover {
    background: var(--bg-light);
}

/* Author Box */
.author-box {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-info p {
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 0.75rem;
}

.author-social a {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Related Posts */
.related-posts {
    margin: 3rem 0;
}

.related-posts h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-post-card {
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-post-image {
    height: 150px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.related-post-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
    color: var(--primary-color);
}

.related-post-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Blog Responsive Design */
@media (max-width: 992px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 3rem;
    }
    
    .post-title a {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .post-title a {
        font-size: 1.2rem;
    }
    
    .post-image {
        height: 250px;
    }
    
    .post-excerpt {
        font-size: 0.95rem;
    }
    
    .post-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .recent-posts a {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .recent-posts img {
        width: 100%;
        height: 120px;
    }
    
    .popular-posts a {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .post-number {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .breadcrumb {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .blog-section {
        padding: 3rem 0;
    }
    
    .post-title a {
        font-size: 1.1rem;
    }
    
    .post-image {
        height: 200px;
    }
    
    .post-excerpt {
        font-size: 0.9rem;
        padding: 1rem;
    }
    
    .post-tags {
        padding: 0 1rem 1rem;
    }
    
    .post-footer {
        padding: 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .sidebar-widget {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .widget-title {
        font-size: 1.1rem;
    }
    
    .tag-cloud .tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .post-content h1 {
        font-size: 1.5rem;
    }
    
    .post-content h2 {
        font-size: 1.3rem;
    }
    
    .post-content h3 {
        font-size: 1.1rem;
    }
    
    .post-content p {
        font-size: 0.95rem;
    }
    
    .author-box {
        padding: 1.5rem;
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
    }
    
    .author-info h4 {
        font-size: 1.1rem;
    }
}
