* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Circle Banner */
.banner {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 0;
}

.banner-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.circle-banner {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
}

.circle-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px;
}

.circle-banner h1 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 6px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.circle-banner p {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1000;
    border-bottom: 3px solid #3498db;
    min-height: 60px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    min-height: 60px;
}

.navbar-center {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.navbar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #3498db 50%, transparent 100%);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Desktop Navigation Menu */
.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: relative;
    height: 60px;
    align-items: center;
}

.nav-menu li {
    margin: 0;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-menu li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateX(-50%);
}

.nav-menu li:hover::after {
    width: 100%;
}

.nav-menu a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 18px 20px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-transform: none;
    letter-spacing: 0.5px;
    height: 100%;
    white-space: nowrap;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(41, 128, 185, 0.1));
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-menu a:hover {
    color: #3498db;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
    transform: translateY(-2px);
}

.nav-menu a:hover::before {
    opacity: 1;
}

/* Social Media Icons - Perfect Design */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 0 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0;
    color: white;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    flex-grow: 0;
    background: transparent;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.social-icon:focus,
.social-icon:focus-visible,
.social-icon:active,
.social-icon:visited {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Facebook Styling */
.social-icon.facebook svg {
    fill: #1877f2;
}

.social-icon.facebook:hover svg {
    fill: #0d5aa7;
    transform: scale(1.1);
}

/* Telegram Styling */
.social-icon.telegram svg {
    fill: #0088cc;
}

.social-icon.telegram:hover svg {
    fill: #006699;
    transform: scale(1.1);
}

/* TikTok Styling */
.social-icon.tiktok svg {
    fill: #ff0050;
}

.social-icon.tiktok:hover svg {
    fill: #cc003d;
    transform: scale(1.1);
}

/* SVG Icon Styling */
.social-icon svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    display: block;
    pointer-events: none;
    outline: none !important;
}

/* Hover Effects */
.social-icon:hover {
    transform: translateY(-2px);
}

/* Legacy navbar ul support for backward compatibility */
.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar li {
    margin: 0;
}

.navbar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 22px 35px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.navbar a:hover {
    background: #34495e;
    color: #3498db;
}

/* Dean Section */
.dean-section {
    padding: 20px 0;
    background: #e8f8f5;
    position: relative;
    z-index: 2;
}

.dean-card {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #2c4f4f;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dean-image img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.dean-content {
    flex: 1;
}

.dean-content h2 {
    font-size: 2.5rem;
    color: #e8f4f8;
    margin-bottom: 10px;
}

.dean-content h3 {
    font-size: 1.3rem;
    color: #a8d0d0;
    margin-bottom: 20px;
    font-weight: normal;
}

.dean-content p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #b8d4d4;
}

.hidden-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease-out;
}

.hidden-text.expanded {
    max-height: 2000px;
    transition: max-height 0.8s ease-in;
}

.hidden-text p {
    margin-bottom: 20px;
}

.more-btn, .director-more-btn {
    background: #16a085;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.more-btn:hover, .director-more-btn:hover {
    background: #1abc9c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 160, 133, 0.3);
}

/* Directors Section */
.directors-section {
    padding: 20px 0;
    background: #1e3a3a;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #e8f4f8;
    margin-bottom: 20px;
}

.directors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.director-card {
    text-align: center;
    background: #2c4f4f;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.director-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.director-card img {
    width: 250px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.director-card h3 {
    font-size: 1.5rem;
    color: #e8f4f8;
    margin-bottom: 5px;
}

.director-card p:first-of-type {
    color: #a8d0d0;
    font-weight: 500;
    margin-bottom: 15px;
}

.director-card p:last-of-type {
    color: #b8d4d4;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Slider Section */
.slider-section {
    position: relative;
    height: 300px;
    overflow: hidden;
    z-index: 2;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    color: white;
    padding: 60px 40px 40px;
    text-align: center;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.8);
    font-weight: bold;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.slide-content p {
    font-size: 1.2rem;
    opacity: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.7);
    font-weight: 500;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.prev-btn, .next-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Responsive Design */

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar-container {
        padding: 0 20px;
    }
    
    .nav-menu a {
        padding: 18px 25px;
        font-size: 1rem;
    }
    
    .dean-card {
        gap: 30px;
        padding: 30px;
    }
    
    .dean-image img {
        width: 250px;
        height: 350px;
    }
    
    .dean-content h2 {
        font-size: 2.2rem;
    }
    
    .directors-grid {
        gap: 30px;
    }
    
    .director-card img {
        width: 200px;
        height: 250px;
    }
    
    .slide-content {
        padding: 40px 30px 30px;
        background: transparent;
    }
    
    .slide-content h2 {
        font-size: 2rem;
        margin-bottom: 12px;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.8);
        font-weight: bold;
    }
    
    .slide-content p {
        font-size: 1.1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.7);
        font-weight: 500;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .banner {
        height: 100px;
    }
    
    .circle-banner {
        width: 120px;
        height: 120px;
    }
    
    .circle-banner h1 {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .circle-banner p {
        font-size: 0.65rem;
    }
    
    .circle-logo {
        width: 30px;
        height: 30px;
        margin-bottom: 4px;
    }
    
    .navbar {
        min-height: 60px;
    }
    
    .navbar-container {
        padding: 0 20px;
        min-height: 60px;
    }
    
    .navbar-title {
        display: block;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hide desktop navigation */
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -40%;
        width: 40%;
        height: calc(100vh - 60px);
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        padding-top: 15px;
        transition: left 0.3s ease;
        z-index: 99;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu li::after {
        display: none;
    }
    
    .nav-menu a {
        padding: 10px 30px;
        text-align: center;
        height: auto;
        font-size: 1.1rem;
        letter-spacing: 0.3px;
        width: 100%;
        border-radius: 0;
        justify-content: center;
    }
    
    .nav-menu a::before {
        display: none;
    }
    
    .nav-menu a:hover {
        background: rgba(52, 152, 219, 0.2);
        transform: none;
        text-shadow: none;
    }
    
    /* Keep social icons visible on mobile next to hamburger */
    .social-icons {
        display: flex;
        gap: 12px;
        padding: 0 5px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .dean-section {
        padding: 15px 0;
    }
    
    .dean-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
    }
    
    .dean-image img {
        width: 200px;
        height: 280px;
        margin: 0 auto;
    }
    
    .dean-content h2 {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .dean-content h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .dean-content p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .directors-section {
        padding: 15px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .directors-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .director-card {
        padding: 20px;
    }
    
    .director-card img {
        width: 180px;
        height: 220px;
    }
    
    .director-card h3 {
        font-size: 1.3rem;
    }
    
    .slider-section {
        height: 250px;
    }
    
    .slide-content {
        padding: 30px 20px 20px;
        background: transparent;
    }
    
    .slide-content h2 {
        font-size: 1.6rem;
        margin-bottom: 10px;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.9);
        font-weight: bold;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .slide-content p {
        font-size: 1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.8);
        font-weight: 500;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-nav {
        padding: 0 15px;
    }
}

/* Mobile Landscape (640px and below) */
@media (max-width: 640px) {
    .banner {
        height: 90px;
    }
    
    .circle-banner {
        width: 100px;
        height: 100px;
    }
    
    .circle-banner h1 {
        font-size: 0.9rem;
    }
    
    .circle-banner p {
        font-size: 0.6rem;
    }
    
    .circle-logo {
        width: 25px;
        height: 25px;
    }
    
    .dean-content h2 {
        font-size: 1.6rem;
    }
    
    .dean-content h3 {
        font-size: 1rem;
    }
    
    .dean-content p {
        font-size: 0.8rem;
    }
    
    .dean-image img {
        width: 180px;
        height: 240px;
    }
    
    .director-card img {
        width: 160px;
        height: 200px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .slider-section {
        height: 200px;
    }
    
    .slide-content h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.9);
        font-weight: bold;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .slide-content p {
        font-size: 0.95rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.8);
        font-weight: 500;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .banner {
        height: 80px;
    }
    
    .circle-banner {
        width: 90px;
        height: 90px;
    }
    
    .circle-banner h1 {
        font-size: 0.8rem;
        margin-bottom: 2px;
    }
    
    .circle-banner p {
        font-size: 0.55rem;
    }
    
    .circle-logo {
        width: 22px;
        height: 22px;
        margin-bottom: 2px;
    }
    
    .navbar-container {
        padding: 0 15px;
        min-height: 50px;
    }
    
    .navbar-logo {
        width: 30px;
        height: 30px;
    }
    
    .navbar-title {
        font-size: 1rem;
    }
    
    .hamburger span {
        width: 22px;
        height: 2px;
        margin: 2px 0;
    }
    
    .nav-content {
        top: 50px;
        height: calc(100vh - 50px);
        padding: 20px 0;
    }
    
    .nav-menu a {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .social-icons {
        gap: 10px;
        padding: 0 5px;
    }
    
    .social-icon {
        width: 34px;
        height: 34px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .dean-card {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .dean-image img {
        width: 150px;
        height: 200px;
    }
    
    .dean-content h2 {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }
    
    .dean-content h3 {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .dean-content p {
        font-size: 0.75rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .more-btn, .director-more-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .director-card {
        padding: 15px;
    }
    
    .director-card img {
        width: 140px;
        height: 180px;
    }
    
    .director-card h3 {
        font-size: 1.2rem;
    }
    
    .director-card p {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .slider-section {
        height: 180px;
    }
    
    .slide-content {
        padding: 25px 15px 15px;
        background: transparent;
    }
    
    .slide-content h2 {
        font-size: 1.2rem;
        margin-bottom: 6px;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.9);
        font-weight: bold;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .slide-content p {
        font-size: 0.85rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.8);
        font-weight: 500;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .prev-btn, .next-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .slider-nav {
        padding: 0 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .footer {
        padding: 15px 0;
    }
    
    .footer p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .banner {
        height: 70px;
    }
    
    .circle-banner {
        width: 80px;
        height: 80px;
    }
    
    .circle-banner h1 {
        font-size: 0.7rem;
    }
    
    .circle-banner p {
        font-size: 0.5rem;
    }
    
    .circle-logo {
        width: 18px;
        height: 18px;
    }
    
    .nav-menu a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .social-icons {
        gap: 8px;
        padding: 0 3px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .dean-image img {
        width: 130px;
        height: 170px;
    }
    
    .dean-content h2 {
        font-size: 1.2rem;
    }
    
    .dean-content h3 {
        font-size: 0.9rem;
    }
    
    .dean-content p {
        font-size: 0.7rem;
    }
    
    .director-card img {
        width: 120px;
        height: 150px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .slider-section {
        height: 150px;
    }
    
    .slide-content h2 {
        font-size: 1.05rem;
        margin-bottom: 5px;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.9);
        font-weight: bold;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .slide-content p {
        font-size: 0.8rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.8);
        font-weight: 500;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
}

/* Additional Styles for New Pages */

/* About Section */
.about-section {
    padding: 40px 0;
    background: #e8f8f5;
}

.about-content h3 {
    color: #0e6b5c;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #16a085;
    padding-bottom: 5px;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* Academics Section */
.academics-section {
    padding: 40px 0;
    background: #e8f8f5;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.program-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card h3 {
    color: #0e6b5c;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.program-card p {
    color: #666;
    line-height: 1.6;
}

.academic-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.academic-info h3 {
    color: #0e6b5c;
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #16a085;
    padding-bottom: 5px;
}

.academic-info ul {
    margin-left: 20px;
}

.academic-info li {
    margin-bottom: 8px;
    color: #555;
}

/* Admissions Section */
.admissions-section {
    padding: 40px 0;
    background: #e8f8f5;
}

.admission-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admission-content h3 {
    color: #0e6b5c;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #16a085;
    padding-bottom: 5px;
}

.admission-content:first-child h3 {
    margin-top: 0;
}

.admission-content ul, .admission-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.admission-content li {
    margin-bottom: 8px;
    color: #555;
}

.dates-info, .fees-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.dates-info p, .fees-info p {
    margin-bottom: 10px;
    color: #555;
}

/* Contact Section */
.contact-section {
    padding: 40px 0;
    background: #e8f8f5;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info, .contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3, .contact-form h3 {
    color: #0e6b5c;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #16a085;
    padding-bottom: 5px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h4 {
    color: #16a085;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-item p {
    color: #555;
    line-height: 1.6;
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #0e6b5c;
    font-weight: 500;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #16a085;
}

.submit-btn {
    background: #16a085;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.submit-btn:hover {
    background: #1abc9c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 160, 133, 0.3);
}

/* Responsive Design for New Pages */
@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .contact-content {
        gap: 30px;
    }
    
    .about-content h3,
    .admission-content h3,
    .contact-info h3,
    .contact-form h3,
    .academic-info h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .about-section,
    .academics-section,
    .admissions-section,
    .contact-section {
        padding: 25px 0;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .program-card,
    .academic-info,
    .admission-content,
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about-content h3,
    .admission-content h3,
    .contact-info h3,
    .contact-form h3,
    .academic-info h3 {
        font-size: 1.3rem;
        margin-top: 20px;
        margin-bottom: 12px;
    }
    
    .about-content p,
    .admission-content p,
    .contact-item p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .program-card h3 {
        font-size: 1.2rem;
    }
    
    .program-card p {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .about-section,
    .academics-section,
    .admissions-section,
    .contact-section {
        padding: 20px 0;
    }
    
    .program-card,
    .academic-info,
    .admission-content,
    .contact-info,
    .contact-form {
        padding: 15px;
    }
    
    .about-content h3,
    .admission-content h3,
    .contact-info h3,
    .contact-form h3,
    .academic-info h3 {
        font-size: 1.2rem;
        margin-top: 15px;
        margin-bottom: 10px;
    }
    
    .about-content p,
    .admission-content p,
    .contact-item p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .program-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .program-card p {
        font-size: 0.85rem;
    }
    
    .contact-item {
        margin-bottom: 20px;
    }
    
    .contact-item h4 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 6px;
        font-size: 0.85rem;
    }
    
    .submit-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .dates-info,
    .fees-info {
        padding: 15px;
        margin-top: 12px;
    }
    
    .dates-info p,
    .fees-info p {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
}
/* Footer */
.footer {
    background: #0e6b5c;
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 0;
}

.footer p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 20px 0;
    }
    
    .footer p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Additional Perfect Animations */
@keyframes socialFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes socialGlow {
    0%, 100% {
        filter: brightness(1) saturate(1);
    }
    50% {
        filter: brightness(1.2) saturate(1.3);
    }
}

@keyframes navShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Floating Animation for Social Icons */
.social-icon {
    animation: socialFloat 3s ease-in-out infinite;
}

.social-icon:nth-child(1) {
    animation-delay: 0s;
}

.social-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.social-icon:nth-child(3) {
    animation-delay: 1s;
}

/* Shimmer Effect on Navbar */
.navbar-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -200%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: navShimmer 3s infinite;
}

/* Perfect Gradient Text Effect */
.nav-menu a {
    background: linear-gradient(45deg, #ffffff, #e8f4f8, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    transition: all 0.4s ease;
}

.nav-menu a:hover {
    background: linear-gradient(45deg, #3498db, #2980b9, #3498db);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: socialGlow 2s ease-in-out infinite;
}

/* Perfect Shadow Effects */
.social-icons {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.navbar {
    position: relative;
    overflow: hidden;
}

/* Particle Effect Background */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(41, 128, 185, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(44, 62, 80, 0.1) 0%, transparent 50%);
    animation: socialFloat 6s ease-in-out infinite;
    z-index: -1;
}

/* Perfect Icon Rotation on Hover */
.social-icon.facebook:hover svg {
    animation: socialGlow 1s ease-in-out infinite;
}

.social-icon.telegram:hover svg {
    animation: socialGlow 1s ease-in-out infinite reverse;
}

.social-icon.tiktok:hover svg {
    animation: socialGlow 1s ease-in-out infinite alternate;
}

/* Touch and Accessibility Improvements */
@media (hover: none) and (pointer: coarse) {
    /* Touch device specific styles */
    .nav-menu a,
    .social-icon,
    .more-btn,
    .director-more-btn,
    .prev-btn,
    .next-btn,
    .dot {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-menu a {
        padding: 15px 20px;
    }
    
    .social-icon:hover {
        transform: none;
        animation: none;
    }
    
    .nav-menu a:hover {
        transform: none;
    }
}

/* Prevent horizontal scroll on mobile */
body {
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.hamburger:focus,
.nav-menu a:focus,
.social-icon:focus,
.more-btn:focus,
.director-more-btn:focus,
.prev-btn:focus,
.next-btn:focus,
.dot:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .navbar {
        border-bottom: 4px solid #3498db;
    }
    
    .nav-menu a {
        border: 1px solid transparent;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        border-color: #3498db;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .slide {
        transition: none;
    }
    
    .hamburger span {
        transition: none;
    }
    
    .nav-content {
        transition: none;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hamburger,
    .social-icons,
    .slider-nav,
    .slider-dots,
    .more-btn,
    .director-more-btn {
        display: none !important;
    }
    
    .nav-content {
        position: static !important;
        left: auto !important;
        height: auto !important;
        background: none !important;
    }
    
    .dean-card,
    .director-card {
        break-inside: avoid;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .dean-content,
    .director-card {
        background: white !important;
        color: black !important;
    }
}

/* Loading state for images */
img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

img[src] {
    animation: none;
    background: none;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Improved mobile navigation overlay */
@media (max-width: 768px) {
    .nav-content.active {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .nav-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(44, 62, 80, 0.95);
        z-index: -1;
    }
}

/* Better button states for mobile */
@media (max-width: 768px) {
    .more-btn:active,
    .director-more-btn:active,
    .prev-btn:active,
    .next-btn:active {
        transform: scale(0.95);
    }
    
    .nav-menu a:active {
        background: rgba(52, 152, 219, 0.3);
    }
    
    .social-icon:active {
        transform: scale(0.9);
    }
}

/* ISO Certification Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    padding: 40px 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7) translateY(-50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.popup-overlay.show .popup-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Certificate Icon */
.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconBounce 1s ease infinite;
}

.certificate-icon {
    width: 50px;
    height: 50px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Popup Title */
.popup-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: titleSlide 0.6s ease 0.3s both;
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Popup Message */
.popup-message {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    animation: messageSlide 0.6s ease 0.5s both;
}

.popup-message strong {
    color: #ffd700;
    font-size: 1.3rem;
    display: block;
    margin-top: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Badge */
.popup-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    animation: badgeZoom 0.6s ease 0.7s both;
}

@keyframes badgeZoom {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.badge-text {
    display: block;
    color: #ffd700;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.badge-subtitle {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Popup Button */
.popup-button {
    background: white;
    color: #667eea;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: buttonSlide 0.6s ease 0.9s both;
}

@keyframes buttonSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-button:hover {
    background: #ffd700;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.popup-button:active {
    transform: translateY(-1px);
}

/* Confetti Animation */
.popup-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, #ffd700 2px, transparent 2px),
        radial-gradient(circle, #ff6b6b 2px, transparent 2px),
        radial-gradient(circle, #4ecdc4 2px, transparent 2px),
        radial-gradient(circle, #95e1d3 2px, transparent 2px);
    background-size: 50px 50px, 80px 80px, 60px 60px, 90px 90px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
    animation: confetti 20s linear infinite;
    opacity: 0.3;
    pointer-events: none;
}

@keyframes confetti {
    0% {
        background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
    }
    100% {
        background-position: 0 400px, 40px 460px, 130px 670px, 70px 500px;
    }
}

/* Sparkle Effect */
.popup-container::before {
    content: '✨';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 30px;
    animation: sparkle 2s ease-in-out infinite;
}

.popup-container::after {
    content: '✨';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 30px;
    animation: sparkle 2s ease-in-out infinite 1s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

/* Responsive Popup */
@media (max-width: 768px) {
    .popup-container {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .popup-title {
        font-size: 1.6rem;
    }
    
    .popup-message {
        font-size: 1rem;
    }
    
    .popup-message strong {
        font-size: 1.1rem;
    }
    
    .badge-text {
        font-size: 1.5rem;
    }
    
    .badge-subtitle {
        font-size: 0.8rem;
    }
    
    .popup-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .popup-icon {
        width: 70px;
        height: 70px;
    }
    
    .certificate-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .popup-container {
        padding: 25px 15px;
    }
    
    .popup-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .popup-message {
        font-size: 0.9rem;
    }
    
    .popup-message strong {
        font-size: 1rem;
    }
    
    .badge-text {
        font-size: 1.3rem;
    }
    
    .popup-badge {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .popup-button {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
    
    .popup-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .certificate-icon {
        width: 35px;
        height: 35px;
    }
}
