/* =======================
   COLLEGE WEBSITE STYLES
   ======================= */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #000;
    padding-top: 100px;
    background: #f1f1f1;
}

header {
    background-color: #fdf378;
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    margin-right: 10px;
}

.college-name h1 {
    margin: 0;
    font-size: 18px;
}

.college-name p {
    margin: 0;
    font-size: 12px;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
    flex-direction: column;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: black;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: black;
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

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

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    background: #f1f1f1;
}

.hero-text {
    max-width: 50%;
}

.hero-text h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-text button {
    padding: 10px 20px;
    border: 2px solid black;
    background: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hero-text button:hover {
    background: black;
    color: white;
}

.hero-image {
    background: #1d3abf;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
}

.why-choose {
    background-color: #f9fbff;
    padding: 60px 30px;
    text-align: center;
}

.why-choose h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background-color: #f8946d;
    border-radius: 12px;
    padding: 30px 20px;
    color: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

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

.icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
}

.academic-programs {
    background-color: #fdf378;
    padding: 60px 30px;
    text-align: center;
}

.academic-programs h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.program-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.program-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.program-card p {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

.program-card a {
    color: #1d3abf;
    font-weight: bold;
    text-decoration: none;
}

.view-all {
    margin-top: 20px;
}

.view-button {
    background-color: #1d3abf;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.view-button:hover {
    background-color: #1527a0;
}

.cta {
    background-color: #fdfdfd;
    text-align: center;
    padding: 60px 30px;
}

.cta h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta p {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: #ff4d4d;
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e63939;
}

.site-footer {
    background-color: #fdf378;
    padding: 40px 30px 20px;
    font-size: 14px;
    color: #000;
}

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

.footer-column h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-column p,
.footer-column a,
.footer-bottom {
    color: #000;
    text-decoration: none;
    margin-bottom: 8px;
}

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

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

.footer-column ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    border-top: 1px solid #e84141;
    padding-top: 10px;
    margin-top: 10px;
}

/* =======================
   ABOUT PAGE STYLES
   ======================= */

.tcc-glance {
    background-color: #1d3585;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.tcc-glance h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.tcc-glance p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.history-section {
    padding: 60px 20px;
    background-color: #f9f9fb;
}

.history-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.history-text {
    flex: 1 1 55%;
    color: #1d3585;
}

.history-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.history-text p {
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 15px;
}

.history-image {
    flex: 1 1 40%;
    background: #f1f3f6;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.history-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.commitment-section {
    padding: 60px 20px;
    background-color: #f9fafa;
    text-align: center;
}

.commitment-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1d3585;
    margin-bottom: 40px;
}

.commitment-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.commitment-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 320px;
    flex: 1 1 280px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.icon-circle {
    background-color: #e3ecff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.commitment-icon {
    font-size: 24px;
}

.commitment-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

.commitment-card p {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
}

.tcc-numbers {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
    font-family: Arial, sans-serif;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #12377B;
    margin-bottom: 40px;
}

.numbers-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.number-item h3 {
    font-size: 32px;
    color: #12377B;
    margin-bottom: 10px;
}

.number-item p {
    font-size: 16px;
    color: #333;
}

.learn-more-section {
    background-color: #f9fafb;
    padding: 60px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.learn-title {
    font-size: 28px;
    font-weight: bold;
    color: #12377B;
    margin-bottom: 40px;
}

.learn-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.learn-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.learn-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.learn-card h3 {
    color: #12377B;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.learn-card p {
    font-size: 14px;
    color: #333;
}

/* =======================
   MISSION, VISION & CORE VALUES PAGE STYLES
   ======================= */

.mission-section {
    background-color: #1d3b87; /* Deep blue background */
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.mission-section h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.mission-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

.mission-vision-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 40px 20px;
    background-color: #ffffff;
}

.mission-vision-cards .card {
    background-color: #f0f6ff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    max-width: 600px;
    flex: 1 1 450px;
    transition: transform 0.3s ease;
}

.mission-vision-cards .card:hover {
    transform: translateY(-5px);
}

.icon-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.icon-title .icon {
    width: 40px;
    height: 40px;
    background-color: #1d3b87;
    color: white;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mission-vision-cards .card h2 {
    font-size: 24px;
    color: #1d3b87;
    margin: 0;
}

.mission-vision-cards .card p {
    font-size: 16px;
    color: #1a1a1a;
    line-height: 1.6;
}

.core-values {
    padding: 60px 20px;
    background-color: #f9f9fb;
    text-align: center;
    font-family: Arial, sans-serif;
}

.core-values-header {
    max-width: 800px;
    margin: 0 auto 40px;
}

.icon-heart {
    width: 50px;
    height: 50px;
    background-color: #1d3b87;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 10px;
}

.core-values h2 {
    font-size: 28px;
    color: #1d3b87;
    margin-bottom: 10px;
}

.core-values p {
    font-size: 16px;
    color: #333;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background-color: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    text-align: left;
}

.value-card h3 {
    color: #1d3b87;
    margin-bottom: 10px;
    font-size: 18px;
}

.value-card p {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

.commitment-students {
    padding: 60px 20px;
    background-color: #dedef7;
    text-align: center;
    font-family: Arial, sans-serif;
}

.commitment-students-header {
    max-width: 800px;
    margin: 0 auto 40px;
}

.commitment-students h2 {
    font-size: 28px;
    color: #1d3b87;
    margin-bottom: 10px;
}

.commitment-students p {
    font-size: 16px;
    color: #333;
}

/* =======================
   ACADEMIC PROGRAMS PAGE STYLES
   ======================= */

.academic-programs-section {
    background-color: #1e398f;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.academic-programs-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.academic-programs-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.academic-programs-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.education-excellence {
    background-color: #fff;
    text-align: center;
    padding: 60px 20px;
}

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

.education-excellence h2 {
    font-size: 2.2rem;
    color: #1e398f;
    font-weight: 700;
    margin-bottom: 20px;
}

.education-excellence .description {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.education-excellence .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-box {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease-in-out;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box .icon {
    background: #e7efff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-box .icon img {
    width: 28px;
    height: 28px;
}

.feature-box h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #111;
}

.feature-box p {
    font-size: 0.95rem;
    color: #555;
}

.college-section {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    background: #f1f1f1;
}

.college-section > h2 {
    color: #0a2c82;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.college-card {
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.college-card.reverse {
    flex-direction: row-reverse;
}

.college-text {
    flex: 1;
    padding: 30px;
}

.college-image {
    flex: 1;
    min-width: 300px;
}

.college-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.college-text h2 {
    color: #0a2c82;
    margin-top: 0;
    font-size: 1.5rem;
}

.college-text .icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.college-text h3 {
    color: #0a2c82;
    margin-top: 20px;
}

.subtitle {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #555;
}

.programs {
    list-style-type: disc;
    margin-left: 20px;
    margin-top: 10px;
}

.cta-section {
    background-color: #193a8b;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.cta-section p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-section .cta-button {
    display: inline-block;
    background-color: white;
    color: #193a8b;
    padding: 12px 30px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s, color 0.3s;
}

.cta-section .cta-button:hover {
    background-color: #f0f0f0;
    color: #10235b;
}

/* =======================
   BOARD OF TRUSTEES PAGE STYLES
   ======================= */

.board-trustees {
    background-color: #1d3585; /* deep blue background */
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.board-trustees h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.board-trustees p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.leadership-section {
    padding: 60px 20px;
    background-color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

.leadership-section .section-title {
    font-size: 2rem;
    color: #0d2b6a;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-description {
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.leadership-section .card {
    background-color: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.leadership-section .card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    text-align: left;
}

.card-content h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #0d2b6a;
    font-weight: bold;
}

.card-content .position {
    color: #0033cc;
    font-weight: 600;
    margin: 5px 0;
}

.card-content p {
    font-size: 0.95rem;
    color: #444;
}

.responsibilities-section {
    padding: 60px 20px;
    background-color: #f9fafc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

.responsibilities-section .section-title {
    font-size: 2rem;
    color: #0d2b6a;
    font-weight: bold;
    margin-bottom: 30px;
}

.responsibilities-card {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
}

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

.responsibilities-list li {
    font-size: 1rem;
    color: #1a1a1a;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
}

.responsibilities-list .icon {
    display: inline-block;
    margin-right: 12px;
    color: #3b82f6;
    font-size: 1.2rem;
}

/* =======================
   CHATBOT STYLES
   ======================= */

/* Chatbox container */
.chatbox {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 9999;
}

/* CONTENT IS CLOSE */
.chatbox__support {
    display: flex;
    flex-direction: column;
    background: #eee;
    width: 350px;
    height: 450px;
    z-index: -123456;
    opacity: 0;
    transition: all .3s ease-in-out;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    position: relative;
}

/* CONTENT IS OPEN */
.chatbox--active .chatbox__support {
    transform: translateY(-10px);
    z-index: 123456;
    opacity: 1;
}

/* Header */
.chatbox__header {
    background: #ffeb3b;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: bold;
}

.chatbox__header-left {
    display: flex;
    align-items: center;
}

.chatbox__header-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chatbox__logo {
    width: 32px;
    height: 32px;
    background: #fdd835;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.chatbox__logo img {
    width: 28px;
    height: 28px;
}

.chatbox__title strong {
    font-size: 15px;
}

/* Header buttons */
.chatbox__announcements, .chatbox__tts, .chatbox__clear, .chatbox__reset, .chatbox__close {
    background: none;
    border: none;
    font-size: 16px;
    color: #000;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
}

.chatbox__announcements:hover, .chatbox__tts:hover, .chatbox__clear:hover, 
.chatbox__reset:hover, .chatbox__close:hover {
    background: rgba(0,0,0,0.1);
    transform: scale(1.1);
}

/* Pulse highlight for reset button when context switch is needed */
.chatbox__reset.pulse-highlight {
    background: rgba(255, 152, 0, 0.2) !important;
    animation: pulse 1.5s ease-in-out 3;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.7);
}

.chatbox__tts.active {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
}

.chatbox__announcements.active {
    background: rgba(255,87,34,0.2);
    color: #ff5722;
}

.chatbox__close {
    font-size: 18px;
    font-weight: bold;
}

/* Header button SVGs */
.chatbox__header-right button svg {
    transition: transform 0.2s ease;
}

.chatbox__header-right button:hover svg {
    transform: scale(1.1);
}

/* Announcements Panel */
.chatbox__announcements-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 10;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.chatbox__announcements-panel.active {
    transform: translateX(0);
}

.announcements-header {
    background: #ff5722;
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcements-header h3 {
    margin: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.close-announcements {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

.close-announcements:hover {
    background: rgba(255,255,255,0.1);
}

.announcements-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.announcement-item {
    background: #f8f9fa;
    border-left: 4px solid #ff5722;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.announcement-item.high-priority {
    border-left-color: #f44336;
    background: #ffebee;
}

.announcement-item.medium-priority {
    border-left-color: #ff9800;
    background: #fff8e1;
}

.announcement-item.low-priority {
    border-left-color: #4caf50;
    background: #e8f5e8;
}

.announcement-title {
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
    font-size: 13px;
}

.announcement-date {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
}

.announcement-meta {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.announcement-office {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    background: #e3f2fd;
    color: #1976d2;
}

.announcement-source {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    background: #f3e5f5;
    color: #7b1fa2;
}

.announcement-message {
    font-size: 12px;
    line-height: 1.4;
    color: #444;
}

.announcement-author {
    font-size: 10px;
    color: #888;
    font-style: italic;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.announcement-priority {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    margin-left: 8px;
}

.priority-high {
    background: #ffcdd2;
    color: #d32f2f;
}

.priority-medium {
    background: #ffe0b2;
    color: #f57c00;
}

.priority-low {
    background: #c8e6c9;
    color: #388e3c;
}

/* Messages container */
.chatbox__messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Greeting message */
.chatbox__greeting {
    margin-bottom: 8px;
}

.chatbox__greeting p {
    background: #f5f5f5;
    padding: 12px 14px;
    border-radius: 16px;
    margin: 0;
    line-height: 1.4;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Context indicator */
.chatbox__context {
    background: #e8f4fd;
    border: 1px solid #2196f3;
    border-radius: 12px;
    padding: 8px 12px;
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.context-text {
    color: #1976d2;
    font-weight: 500;
}

.context-reset {
    background: #2196f3;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}

.context-reset:hover {
    background: #1976d2;
    transform: scale(1.05);
}

/* Suggested topics label */
.suggestions-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Main suggestion buttons */
.chatbox__suggestions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.chatbox__suggestions button {
    background: #ffeb3b;
    border: none;
    padding: 10px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    color: #000;
    text-align: left;
    display: flex;
    align-items: center;
}

.chatbox__suggestions button:hover {
    background: #fdd835;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chatbox__suggestions button[data-sub="announcements"] {
    background: #ff5722;
    color: white;
}

.chatbox__suggestions button[data-sub="announcements"]:hover {
    background: #d84315;
}

/* Sub-suggestions */
.chatbox__sub-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.chatbox__sub-suggestions button,
.sub-suggestion-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 14px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #555;
}

.chatbox__sub-suggestions button:hover,
.sub-suggestion-btn:hover {
    background: #f8f8f8;
    border-color: #ccc;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Chat message bubbles */
.messages__item {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    line-height: 1.4;
    word-wrap: break-word;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    animation: fadeIn 0.3s ease-in;
    position: relative;
}

/* Bot messages */
.messages__item--visitor {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: #333;
}

/* User messages */
.messages__item--operator {
    background: #ffeb3b;
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

/* Context switch messages */
.messages__item--context {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: #856404;
    font-style: italic;
}

/* Announcement messages */
.messages__item--announcement {
    background: #ffebee;
    border: 1px solid #ff5722;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: #333;
    white-space: pre-line;
}

/* TTS button for bot messages */
.tts-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.1);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.messages__item--visitor:hover .tts-button {
    opacity: 1;
}

.tts-button:hover {
    background: rgba(0,0,0,0.2);
    transform: scale(1.1);
}

.tts-button.speaking {
    background: #4caf50;
    color: white;
    opacity: 1;
    animation: pulse 1s infinite;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Scrollbar styling */
.chatbox__messages::-webkit-scrollbar,
.announcements-content::-webkit-scrollbar {
    width: 6px;
}
.chatbox__messages::-webkit-scrollbar-thumb,
.announcements-content::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
}

/* Footer */
.chatbox__footer {
    display: flex;
    align-items: center;
    border-top: 1px solid #ddd;
    padding: 10px 12px;
    background: #fafafa;
    gap: 8px;
}

.mic__button {
    background: #ffeb3b;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: #000;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.mic__button:hover {
    background: #fdd835;
    transform: scale(1.05);
}

.mic__button.listening {
    background: #f44336;
    color: white;
    animation: pulse 1s infinite;
}

.chatbox__footer input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #ddd;
    transition: border-color 0.2s;
}

.chatbox__footer input:focus {
    border-color: #ffeb3b;
}

.character-count {
    font-size: 11px;
    color: #999;
    flex-shrink: 0;
}

.send__button {
    background: #ffeb3b;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: #000;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.send__button:hover {
    background: #fdd835;
    transform: scale(1.05);
}

/* FLOATING BUTTON */
.chatbox__button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.chatbox__button button {
    background: #ffeb3b;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chatbox__button img {
    width: 40px;
    height: 40px;
}

.chatbox__button button:hover {
    background: #fdd835;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Hide initial state */
.chatbox__support {
    display: none;
}

.chatbox--active .chatbox__support {
    display: flex;
    opacity: 1;
    z-index: 123456;
}

/* Voice recognition indicator */
.voice-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    z-index: 999999;
    text-align: center;
    display: none;
}

.voice-indicator.active {
    display: block;
}

.voice-waves {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    gap: 3px;
}

.voice-wave {
    width: 4px;
    height: 20px;
    background: #4caf50;
    border-radius: 2px;
    animation: wave 1s infinite ease-in-out;
}

.voice-wave:nth-child(2) { animation-delay: 0.1s; }
.voice-wave:nth-child(3) { animation-delay: 0.2s; }
.voice-wave:nth-child(4) { animation-delay: 0.3s; }
.voice-wave:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
    0%, 40%, 100% { transform: scaleY(0.4); }
    20% { transform: scaleY(1); }
}

/* =======================
   TYPING INDICATOR & QUICK REPLIES
   ======================= */

/* Typing Indicator */
.chatbox__typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 10px 14px;
    border-radius: 16px;
    margin: 8px 0;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    animation: fadeIn 0.3s ease-in;
    max-width: 85%;
    align-self: flex-start;
}

.typing-dots {
    display: flex;
    gap: 3px;
    align-items: center;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: #999;
    border-radius: 50%;
    animation: typingDots 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDots {
    0%, 60%, 100% { 
        transform: scale(0.8);
        opacity: 0.5;
    }
    30% { 
        transform: scale(1);
        opacity: 1;
    }
}

.typing-text {
    font-size: 12px;
    color: #666;
    font-style: italic;
}


/* Enhanced inline suggestions */
.inline-suggestions-label {
    margin-top: 12px;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.inline-suggestions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.inline-suggest-btn {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.inline-suggest-btn:hover {
    background: #bbdefb;
    border-color: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.2);
}

/* Inline category buttons (office topics) */
.suggested-category-inline {
    background: #f5f5f5;
    border: 2px solid #4a90e2;
    color: #4a90e2;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.suggested-category-inline:hover {
    background: #4a90e2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
}

/* Fade in animation for new elements */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Responsive design */
@media (max-width: 480px) {
    .chatbox__support {
        width: 320px;
        height: 400px;
    }
    
    .chatbox {
        bottom: 10px;
        right: 10px;
    }
    
    .chatbox__header-right {
        gap: 4px;
    }
    
    .chatbox__announcements, .chatbox__tts, .chatbox__clear, .chatbox__reset, .chatbox__close {
        font-size: 14px;
        padding: 4px;
        min-width: 24px;
        min-height: 24px;
    }
    
    .chatbox__announcements svg, .chatbox__tts svg, .chatbox__clear svg, .chatbox__reset svg {
        width: 12px;
        height: 12px;
    }

    /* Mobile adjustments for college website */
    .hero {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .hero-text h2 {
        font-size: 28px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    
    .nav-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .features, .program-cards, .education-excellence .features {
        grid-template-columns: 1fr;
    }
    
    .why-choose, .academic-programs, .cta, .education-excellence, .academic-programs-section, .cta-section, .board-trustees, .leadership-section, .responsibilities-section, .mission-section, .core-values, .commitment-students {
        padding: 40px 20px;
    }
    
    .college-section {
        padding: 20px;
    }
    
    .college-card {
        flex-direction: column;
    }
    
    .college-card.reverse {
        flex-direction: column;
    }
    
    .college-image {
        min-width: auto;
        min-height: 200px;
    }
    
    .history-container {
        flex-direction: column;
    }
    
    .history-text {
        flex: none;
    }
    
    .history-image {
        flex: none;
    }
    
    .commitment-cards, .learn-grid, .cards, .mission-vision-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .numbers-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .leadership-section .card {
        width: 280px;
    }
    
    .responsibilities-card {
        padding: 20px;
    }
    
    .mission-vision-cards .card {
        max-width: 100%;
        flex: none;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}