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

:root {
    --primary-color: #20B2AA;
    --secondary-color: #2F4F7F;
    --accent-color: #17a2b8;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --success-color: #28a745;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.1s ease;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

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

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

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    margin: 3px 0;
    transition: var(--transition);
}

/* REPLACE the existing hero CSS in your style.css with this: */

/* Hero Section - Complete Override */
.hero {
    position: relative;
    min-height: auto;
    display: block; /* Change from flex */
    text-align: center;
    overflow: hidden;
    padding: 0; /* Remove any padding */
}

/* Hide ALL old hero elements */
.hero-background,
.hero-overlay,
.hero .container {
    display: none !important;
}

/* Hero Image Section - Full Screen */
.hero-image-section {
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-image-section .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hero Content Section - Completely Separate */
.hero-content-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    width: 100%;
    position: relative;
    margin-top: 0;
}

.hero-content-section .container {
    display: block !important; /* Override the hide rule */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content-section .hero-content {
    position: relative;
    z-index: 1;
}

/* Text styling for content section */
.hero-content-section .hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    text-shadow: none;
}

.hero-content-section .hero-subtitle {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-content-section .hero-program {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    display: inline-block;
}

.hero-content-section .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--medium-gray);
}

.hero-content-section .hero-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content-section .detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--dark-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.hero-content-section .detail-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.hero-content-section .hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-image-section {
        height: 70vh; /* Slightly smaller on mobile */
    }

    .hero-content-section {
        padding: 60px 0;
    }

    .hero-content-section .hero-title {
        font-size: 2.5rem;
    }

    .hero-content-section .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-content-section .hero-details {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .hero-content-section .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-image-section {
        height: 60vh;
    }

    .hero-content-section {
        padding: 40px 0;
    }

    .hero-content-section .hero-title {
        font-size: 2rem;
    }

    .hero-content-section .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-content-section .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

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

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cta-button.primary {
    background: var(--primary-color);
    color: var(--white);
}

.cta-button.primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

/* Section Styles */
section {
    padding: 5rem 0;
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-text h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.about-text h4 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

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

.about-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--dark-gray);
}

.about-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
}

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

.topics-grid h3 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

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

.topic-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.topic-item i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 50px;
}

.topic-item span {
    font-weight: 500;
    color: var(--dark-gray);
}

/* Faculty Section */
.faculty {
    background: var(--white);
}

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

.faculty-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.faculty-card.director {
    grid-column: 1 / -1;
    max-width: 300px;
    margin: 0 auto;
}

.faculty-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.faculty-info {
    padding: 1.5rem;
}

.faculty-info h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.faculty-info .title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faculty-info .location {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Modules Section */
.modules {
    background: var(--light-gray);
}

.modules-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.module-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.module-item::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 80px;
    width: 2px;
    height: calc(100% + 2rem);
    background: var(--primary-color);
    opacity: 0.3;
}

.module-item:last-child::before {
    display: none;
}

.module-number {
    min-width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.module-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex: 1;
    transition: var(--transition);
}

.module-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

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

.module-content p {
    margin-bottom: 1rem;
}

.module-lecturer {
    color: var(--primary-color);
    font-weight: 600;
    font-style: italic;
}

/* Benefits Section */
.benefits {
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

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

.benefit-item:hover .benefit-icon {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.benefit-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--medium-gray);
}

/* Practical Info Section */
.practical-info {
    background: var(--light-gray);
}

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

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

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

.info-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

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

.info-card p {
    color: var(--dark-gray);
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-cta {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

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

.cta-content p {
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.supporters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.supporter {
    background: rgba(32, 178, 170, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-details {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .faculty-card.director {
        grid-column: 1;
    }

    .module-item {
        flex-direction: column;
        gap: 1rem;
    }

    .module-item::before {
        display: none;
    }

    .module-number {
        align-self: flex-start;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .topic-item {
        flex-direction: column;
        text-align: center;
    }

    .module-content {
        padding: 1.5rem;
    }

    .benefit-item,
    .info-card {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
/* ADD THIS TO THE VERY BOTTOM OF YOUR style.css FILE */

/* Override hero details to display in one row */
.hero-content-section .hero-details {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content-section .detail-item {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    white-space: nowrap;
}

/* Mobile responsive adjustments */
@media (max-width: 1024px) {
    .hero-content-section .hero-details {
        flex-wrap: wrap;
    }

    .hero-content-section .detail-item {
        flex: 1 1 45%;
        min-width: 45%;
    }
}

@media (max-width: 768px) {
    .hero-content-section .hero-details {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .hero-content-section .detail-item {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .hero-content-section .hero-details {
        display: flex !important;
        flex-direction: column;
        gap: 0.8rem;
    }
}
/* Center text in detail items */
.hero-content-section .detail-item {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    white-space: nowrap;
    justify-content: center !important;
    text-align: center !important;
}

.hero-content-section .detail-item span {
    text-align: center;
    width: 100%;
}

/* Make secondary button same style as primary */
.hero-content-section .cta-button.secondary {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border-color: var(--primary-color) !important;
}

.hero-content-section .cta-button.secondary:hover {
    background: var(--accent-color) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
/* ADD THIS TO THE BOTTOM OF YOUR style.css FILE */

/* Put all faculty in one line */
.faculty-grid {
    display: flex !important;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.faculty-card {
    flex: 1;
    min-width: 200px;
    max-width: 220px;
}

.faculty-card.director {
    grid-column: auto !important;
    max-width: 220px !important;
    margin: 0 !important;
}

/* Mobile responsive */
@media (max-width: 1200px) {
    .faculty-grid {
        flex-wrap: wrap;
    }

    .faculty-card {
        flex: 1 1 45%;
        min-width: 45%;
    }
}

@media (max-width: 768px) {
    .faculty-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .faculty-grid {
        display: flex !important;
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ADD THIS TO THE BOTTOM OF YOUR style.css FILE */

/* Keep faculty text on one line */
.faculty-info h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.5rem;
}

.faculty-info .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.5rem;
}

.faculty-info .location {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}

/* Adjust faculty card min-width for better fit */
.faculty-card {
    flex: 1;
    min-width: 180px;
    max-width: 200px;
}

.faculty-card.director {
    max-width: 200px !important;
}
/* ADD THIS TO THE BOTTOM OF YOUR style.css FILE */

/* Fit text without changing card size */
.faculty-info h3 {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 1rem;
    line-height: 1.1;
    margin-bottom: 0.4rem;
    min-height: 2.2rem; /* Space for 2 lines if needed */
}

.faculty-info .title {
    font-size: 0.8rem;
    line-height: 1.1;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.faculty-info .location {
    font-size: 0.75rem;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}
/* REPLACE the existing read-more button CSS with this smooth design */

/* Smooth Interactive Read More Button */
.read-more-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

/* Hover Effects */
.read-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.4);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

/* Active/Click Effect */
.read-more-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.5);
}

/* Ripple Effect on Click */
.read-more-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.6s, height 0.6s;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.read-more-btn:active::before {
    width: 300px;
    height: 300px;
}

/* Text and Arrow Styling */
.read-more-text,
.read-more-arrow {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.read-more-arrow {
    font-size: 1.1rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Expanded State */
.read-more-btn.expanded {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 4px 15px rgba(47, 79, 127, 0.3);
}

.read-more-btn.expanded:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 8px 25px rgba(47, 79, 127, 0.4);
}

.read-more-btn.expanded .read-more-arrow {
    transform: rotate(180deg);
}

/* Pulse Animation for Attention */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(32, 178, 170, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
    }
}

.read-more-btn:not(.expanded) {
    animation: pulse 2s infinite;
}

/* Loading/Transition State */
.read-more-btn.transitioning {
    pointer-events: none;
    opacity: 0.8;
}

.read-more-btn.transitioning .read-more-arrow {
    animation: spin 0.5s ease-in-out;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .read-more-btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.9rem;
        min-width: 160px;
        gap: 0.6rem;
    }
}

@media (max-width: 480px) {
    .read-more-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        min-width: 150px;
    }
}
/* ADD THIS TO THE BOTTOM OF YOUR style.css FILE */

/* Center hero details on mobile phones */
@media (max-width: 480px) {
    .hero-content-section .hero-details {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        width: 100%;
        max-width: 300px;
        margin: 2rem auto;
    }

    .hero-content-section .detail-item {
        width: 100%;
        max-width: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: normal;
        padding: 1rem;
        margin: 0 auto;
    }

    .hero-content-section .detail-item i {
        margin-right: 0.5rem;
        flex-shrink: 0;
    }

    .hero-content-section .detail-item span {
        text-align: center;
        width: auto;
        flex: 1;
    }
}

/* Extra small phones (320px and below) */
@media (max-width: 320px) {
    .hero-content-section .hero-details {
        max-width: 280px;
        gap: 0.6rem;
    }

    .hero-content-section .detail-item {
        max-width: 220px;
        padding: 0.8rem;
    }
}
/* ADD THIS TO THE BOTTOM OF YOUR style.css FILE */

/* Center hero details on mobile phones */
@media (max-width: 480px) {
    .hero-content-section .hero-details {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        width: 100%;
        max-width: 300px;
        margin: 2rem auto;
    }

    .hero-content-section .detail-item {
        width: 100%;
        max-width: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: normal;
        padding: 1rem;
        margin: 0 auto;
    }

    .hero-content-section .detail-item i {
        margin-right: 0.5rem;
        flex-shrink: 0;
    }

    .hero-content-section .detail-item span {
        text-align: center;
        width: auto;
        flex: 1;
    }
}

/* Extra small phones (320px and below) */
@media (max-width: 320px) {
    .hero-content-section .hero-details {
        max-width: 280px;
        gap: 0.6rem;
    }

    .hero-content-section .detail-item {
        max-width: 220px;
        padding: 0.8rem;
    }
}

/* CENTER FACULTY CARDS ON MOBILE */
@media (max-width: 480px) {
    .faculty-grid {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
    }

    .faculty-card,
    .faculty-card.director {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        flex: none;
    }
}

/* For very small screens */
@media (max-width: 320px) {
    .faculty-card,
    .faculty-card.director {
        max-width: 260px;
    }
}
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-text {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }

    .about-text h3 {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .about-text p {
        text-align: center;
        max-width: 600px;
        margin: 0 auto 1rem auto;
        line-height: 1.7;
    }

    .about-text h4 {
        text-align: center;
        margin: 2rem auto 1rem auto;
    }

    .about-list {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .about-text {
        padding: 0 1rem;
    }

    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .about-list {
        max-width: 100%;
        padding: 0 1rem;
    }
}
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    min-width: 180px;
    font-family: 'Inter', sans-serif;
}

/* WhatsApp Icon */
.whatsapp-float i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Hover Effects */
.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.whatsapp-float:hover i {
    transform: scale(1.1);
}

/* Active/Click Effect */
.whatsapp-float:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.6);
}

/* Pulse Animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float {
    animation: whatsapp-pulse 2s infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        padding: 0.9rem 1.8rem;
        font-size: 0.9rem;
        min-width: 160px;
        gap: 0.6rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        min-width: 150px;
    }
}

/* Ensure button stays above other elements */
.whatsapp-float {
    pointer-events: auto;
}

/* Hide on very small screens if needed */
@media (max-width: 320px) {
    .whatsapp-float {
        min-width: 130px;
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}