/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
}

/* Header Styles */
.header {
    background: #ffffff;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

/* Enhanced Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../image/about1.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.7) 100%);
    animation: pulse 4s infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #fff, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientFlow 3s ease infinite;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    perspective: 1000px;
}

.stat-item {
    font-size: 3rem;
    font-weight: bold;
    transform-style: preserve-3d;
    animation: floatStat 3s ease-in-out infinite;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.4s;
}

.stat-item p {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Services Grid */
.services-grid {
    padding: 5rem 10%;
    background: white;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    padding: 5rem 10%;
    background: #f8f9fa;
}

.timeline-items {
    position: relative;
    padding: 2rem 0;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #007bff;
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: #007bff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Enhanced Resources Section */
.resources-section {
    padding: 8rem 10%;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.resource-card {
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.resource-card:hover::before {
    transform: scaleX(1);
}

.resource-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.resource-card:hover i {
    transform: scale(1.1) rotate(10deg);
    color: #2ecc71;
}

.resource-card ul {
    list-style: none;
    margin-top: 1rem;
}

.resource-card ul li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.resource-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #007bff;
}

/* Enhanced Learning Paths */
.learning-paths {
    padding: 8rem 10%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.paths-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.path-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.path-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.path-header {
    background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.path-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.1) 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.path-card:hover .path-header::before {
    transform: translateX(100%);
}

.path-header i {
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.path-card:hover .path-header i {
    transform: scale(1.1) rotate(10deg);
}

.path-content {
    padding: 1.5rem;
}

.duration {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.path-details ul {
    list-style: none;
    margin-top: 1rem;
}

.path-details ul li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.path-details ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #007bff;
}

/* Partnerships */
.partnerships {
    padding: 5rem 10%;
    background: white;
}

/* Leadership Section */
.leadership-section {
    padding: 5rem 10%;
    background: #f8f9fa;
    text-align: center;
}

.leadership-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.leadership-section h2 span {
    color: #4A90E2;
}

.leadership-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.leader-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-10px);
}

.leader-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.leader-info {
    padding: 1.5rem;
}

.leader-info h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.leader-info p {
    color: #4A90E2;
    font-size: 1rem;
}

.leader-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.leader-social a {
    color: #666;
    transition: color 0.3s ease;
}

.leader-social a:hover {
    color: #4A90E2;
}

.partnership-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.partnership-info ul {
    list-style: none;
    margin-top: 1rem;
}

/* Mobile Responsiveness */
@media screen and (max-width: 1024px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vision-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .vision-image,
    .vision-content {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .leader-card {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .leadership-section {
        padding: 3rem 5%;
    }
    
    .vision-container {
        padding: 0 1rem;
    }
    
    .vision-image img {
        width: 100%;
        height: auto;
    }

    .partnership-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .leadership-section h2 {
        font-size: 2rem;
    }
    
    .leader-image {
        height: 250px;
    }
    
    .vision-container {
        text-align: center;
    }
}

.partnership-info ul li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.partnership-info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.partner-logos img {
    width: 100%;
    max-width: 150px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.partner-logos img:hover {
    filter: grayscale(0%);
}

/* Support Services */
.support-services {
    padding: 5rem 10%;
    background: #f8f9fa;
}

.services-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 5rem 10% 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #3498db;
    position: relative;
    display: inline-block;
}

.footer-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3498db;
    transition: width 0.3s ease;
}

.footer-info:hover h3::after {
    width: 100%;
}

.contact-info p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin: 0.5rem 0;
}

.footer-links ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.social-icons a:hover::before {
    opacity: 1;
}

.social-icons a i {
    position: relative;
    z-index: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.developer-section {
    margin-bottom: 1rem;
}

.developer-text {
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.developer-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight {
    color: #3498db;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3498db;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s;
}

.highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.developer-quote {
    font-style: italic;
    color: #bdc3c7;
    font-size: 1rem;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Navigation Styles */
.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1001;
    transition: left 0.3s ease;
    padding: 1rem;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.close-mobile-nav {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.mobile-nav-links li {
    margin: 1rem 0;
}

.mobile-nav-links a {
    display: block;
    padding: 0.8rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background-color: #f0f0f0;
    color: #007bff;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .partnership-content {
        grid-template-columns: 1fr;
    }

    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .developer-text {
        font-size: 1rem;
    }
}

/* Enhanced Mission Vision Section */
.mission-vision-section {
    padding: 8rem 10%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.mission-vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.mission-container, .vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
    position: relative;
}

.mission-content, .vision-content {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-content:hover, .vision-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.mission-content h2, .vision-content h2 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.mission-content h2::after, .vision-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.mission-content:hover h2::after, .vision-content:hover h2::after {
    width: 100%;
}

.mission-points {
    list-style: none;
    margin-top: 2rem;
}

.mission-points li {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    transform: translateX(0);
}

.mission-points li:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.mission-points li i {
    color: #2ecc71;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    padding: 1rem;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mission-points li:hover i {
    transform: scale(1.1) rotate(10deg);
    background: rgba(46, 204, 113, 0.2);
}

.mission-image, .vision-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.mission-image img, .vision-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s;
}

.mission-image:hover img, .vision-image:hover img {
    transform: scale(1.05);
}

.floating-card {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.floating-card .counter {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1a1a1a;
    display: block;
}

.floating-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.vision-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pillar {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.pillar:hover {
    transform: translateY(-10px);
}

.pillar i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.pillar h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.pillar p {
    font-size: 0.9rem;
    color: #666;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .mission-container, .vision-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mission-content, .vision-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-item {
        font-size: 2.5rem;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .paths-container {
        grid-template-columns: 1fr;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    width: 80%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

.modal h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.modal h3 {
    color: #3498db;
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.modal p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.modal ul li {
    margin-bottom: 0.5rem;
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #e74c3c;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Contact Grid Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info {
    padding-right: 2rem;
    border-right: 2px solid #f0f0f0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #3498db;
    margin-right: 1rem;
    padding: 0.8rem;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
}

.contact-text h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-text p {
    color: #666;
    margin-bottom: 0.2rem;
}

.contact-text span {
    color: #888;
    font-size: 0.9rem;
}

.contact-form {
    padding-left: 1rem;
}

.contact-form h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.submit-btn {
    background: #3498db;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.close-popup-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-popup-btn:hover {
    color: #333;
    background: #f0f0f0;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding-right: 0;
        border-right: none;
        border-bottom: 2px solid #f0f0f0;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .contact-form {
        padding-left: 0;
    }

    .popup-header h2 {
        font-size: 1.8rem;
    }

    .contact-popup-content {
        padding: 1.5rem;
    }
}

/* Feedback Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.rating {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.rating i {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s;
}

.rating i.active,
.rating i:hover {
    color: #f1c40f;
}

select, textarea, input[type="email"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

select:focus, textarea:focus, input[type="email"]:focus {
    border-color: #3498db;
    outline: none;
}

.submit-btn {
    background: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #2980b9;
}

/* Thank You Message Styles */
.thank-you-message {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 3rem;
    color: #2ecc71;
    margin-bottom: 1rem;
}

.thank-you-message h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.thank-you-message p {
    color: #555;
    margin-bottom: 1.5rem;
}

.upcoming-changes {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.upcoming-changes h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.upcoming-changes ul {
    list-style: none;
    text-align: left;
    padding-left: 1.5rem;
}

.upcoming-changes ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

.upcoming-changes ul li::before {
    content: '✓';
    color: #2ecc71;
    position: absolute;
    left: -1.5rem;
}

.closing-message {
    font-style: italic;
    color: #3498db;
}

/* Responsive adjustments for feedback form */
@media (max-width: 768px) {
    .rating i {
        font-size: 1.2rem;
    }

    .thank-you-message {
        padding: 1.5rem;
    }

    .success-icon {
        font-size: 2.5rem;
    }
}

/* Advanced Features Section */
.advanced-features {
    padding: 5rem 10%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.advanced-features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
}

.advanced-features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #3498db;
}

.features-slider {
    position: relative;
    overflow: hidden;
}

.feature-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.feature-slide.active {
    display: block;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-text {
    padding: 1rem;
}

.feature-text h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-text p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-benefits {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-benefits li {
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
}

.feature-benefits li i {
    color: #2ecc71;
}

.feature-btn {
    background: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    width: fit-content;
}

.feature-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    color: white;
    text-decoration: none;
}

.feature-image {
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-image img:hover {
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #3498db;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .feature-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-benefits li {
        justify-content: center;
    }

    .feature-btn {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .advanced-features {
        padding: 3rem 5%;
    }

    .advanced-features h2 {
        font-size: 2rem;
    }

    .feature-text h3 {
        font-size: 1.5rem;
    }
}

.chatbot-container {
    background-color: #ffffff;
    width: 450px;
    height: 640px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: fixed;
    bottom: 30px;
    right: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1999;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
    transform-origin: bottom right;
  }
  
  .chatbot-container.active {
    opacity: 1;
    transform: scale(1);
  }

  .chatbot-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #5540af;
    box-shadow: 0 4px 15px rgba(85, 64, 175, 0.4);
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse-attention 2s infinite;
  }
  
  .chatbot-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(85, 64, 175, 0.5);
    animation: none;
  }
  
  .chatbot-button.active {
    transform: scale(0);
    opacity: 0;
  }
  
  .chatbot-icon {
    font-size: 34px;
    color: white;
    animation: blink-icon 4s infinite;
  }
  
  .chatbot-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.2s;
  }
  
  .chatbot-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }

  .chat-header {
    background-color: #5540af;
    color: white;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    font-size: 18px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .header-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .header-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }

  .header-btn span {
    font-size: 14px;
  }

  .header-title {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: bold;
    pointer-events: none;
  }

  .chat-messages {
    padding: 15px;
    flex: 1;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
  }

  .message {
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 85%;
    margin: 8px 0;
    font-size: 14px;
    clear: both;
    position: relative;
    word-wrap: break-word;
    line-height: 1.4;
  }

  .user-message {
    background-color: #5540af;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .bot-message {
    background-color: #ffffff;
    color: #333;
    margin-right: auto;
    border-bottom-left-radius: 5px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }

  .bot-avatar {
    width: 30px;
    height: 30px;
    background-color: #5540af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    margin-right: 8px;
    margin-bottom: 5px;
  }

  .user-avatar {
    width: 30px;
    height: 30px;
    background-color: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    margin-left: 8px;
    margin-bottom: 5px;
  }

  .message-with-avatar {
    display: flex;
    align-items: flex-end;
    margin-bottom: 8px;
    width: 100%;
  }

  .message-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 85%;
  }

  .bot-img-container {
    position: absolute;
    bottom: 80px;
    left: 10px;
    display: flex;
    align-items: flex-end;
    animation: popUp 1s ease-out;
    z-index: 10;
    transition: all 0.3s ease;
  }

  .bot-img-wrapper {
    position: relative;
  }

  .close-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    z-index: 11;
  }

  .close-btn:hover {
    transform: scale(1.1);
    background-color: #ff3333;
  }

  .bot-img-container img {
    width: 70px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  }

  .bot-dialogue {
    background-color: #ffffff;
    color: #333;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    margin-left: -5px;
    margin-bottom: 35px;
    font-size: 13px;
    font-weight: 500;
    max-width: 200px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.4;
  }

  @keyframes popUp {
    0% {
      transform: scale(0);
      opacity: 0;
    }

    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  .chat-input-container {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #ffffff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
  }

  .chat-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    outline: none;
    margin-right: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
  }

  .chat-input:focus {
    border-color: #5540af;
    box-shadow: 0 0 0 2px rgba(85, 64, 175, 0.2);
  }

  .action-btn {
    background-color: #5540af;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .action-btn:hover {
    background-color: #4a378f;
    transform: scale(1.05);
  }

  .action-btn.secondary {
    background-color: #f1f1f1;
    color: #555;
    margin-right: 8px;
  }

  .action-btn.secondary:hover {
    background-color: #e0e0e0;
  }

  .typing-indicator {
    font-size: 12px;
    color: #777;
    margin: 5px 0 0 0;
    font-style: italic;
    animation: blink 1.5s infinite;
    margin-right: auto;
    display: flex;
    align-items: center;
  }

  .typing-indicator span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #999;
    border-radius: 50%;
    margin: 0 2px;
    animation: bounce 1.5s infinite ease-in-out;
  }

  .typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
  }

  .typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
  }

  @keyframes blink {
    0% {
      opacity: 0.6;
    }

    50% {
      opacity: 1;
    }

    100% {
      opacity: 0.6;
    }
  }

  @keyframes bounce {
    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-5px);
    }
  }

  .file-input-label {
    position: relative;
    display: inline-block;
  }

  .file-input-label input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  .file-info {
    display: none;
    position: absolute;
    bottom: 60px;
    left: 10px;
    background-color: #fff;
    padding: 8px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 12px;
    max-width: 200px;
    z-index: 20;
  }

  .file-info.show {
    display: block;
    animation: slideUp 0.3s ease-out;
  }

  .attached-file-preview {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin: 5px 0;
    position: relative;
    max-width: 90%;
    font-size: 12px;
    word-break: break-all;
  }

  .attached-file-icon {
    font-size: 18px;
    margin-right: 8px;
    color: #5540af;
  }

  .attached-file-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .remove-file-btn {
    background: none;
    border: none;
    color: #ff3333;
    cursor: pointer;
    font-size: 16px;
    margin-left: 8px;
    padding: 2px;
  }

  .file-attachment-area {
    position: absolute;
    bottom: 70px;
    width: 90%;
    max-height: 100px;
    overflow-y: auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px;
    z-index: 5;
    display: none;
  }

  .file-attachment-area.show {
    display: block;
    animation: slideUp 0.3s ease-out;
  }

  .file-preview {
    max-width: 150px;
    max-height: 100px;
    object-fit: contain;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #eee;
  }

  @keyframes slideUp {
    from {
      transform: translateY(10px);
      opacity: 0;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .emoji-panel {
    position: absolute;
    bottom: 70px;
    left: 10px;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: none;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    z-index: 100;
    width: 250px;
  }

  .emoji-panel.show {
    display: grid;
  }

  .emoji-btn {
    font-size: 18px;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .emoji-btn:hover {
    background-color: #f0f0f0;
    transform: scale(1.1);
  }

  .quick-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    gap: 8px;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
  }

  .quick-action-btn {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }

  .quick-action-btn:hover {
    background-color: #f0f7ff;
    border-color: #5540af;
    color: #5540af;
  }

  .history-panel {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 120px);
    background-color: white;
    z-index: 100;
    padding: 15px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .history-panel.show {
    transform: translateX(0);
  }

  .history-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
  }

  .history-item:hover {
    background-color: #f5f5f5;
  }

  .history-item-title {
    font-weight: bold;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #5540af;
  }

  .history-item-preview {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .history-item-time {
    font-size: 10px;
    color: #999;
    text-align: right;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: none;
  }

  .overlay.show {
    display: block;
  }

  .voice-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #5540af;
    transition: all 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  
  .voice-btn:hover {
    background-color: rgba(85, 64, 175, 0.1);
  }
  
  .voice-btn.listening {
    animation: pulse 1.5s infinite;
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
  }
  
  .speak-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    color: #5540af;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    margin-top: 5px;
    margin-right: 5px;
    transition: all 0.2s;
  }
  
  .speak-btn:hover {
    background-color: rgba(85, 64, 175, 0.1);
  }
  
  .speak-btn-icon {
    margin-right: 4px;
  }
  
  .stop-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    color: #dc3545;
    border-radius: 4px;
    display: none;
    align-items: center;
    margin-top: 5px;
    transition: all 0.2s;
  }
  
  .stop-btn.active {
    display: inline-flex;
  }
  
  .stop-btn:hover {
    background-color: rgba(220, 53, 69, 0.1);
  }
  
  .stop-btn-icon {
    margin-right: 4px;
  }
  
  .voice-controls {
    display: flex;
    margin-top: 5px;
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
  }

  .header-btn-group {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
  }

  .voice-settings-panel {
    position: absolute;
    top: 45px;
    left: 0;
    width: 280px;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    border: 1px solid #e0e0e0;
  }

  .voice-settings-panel.show {
    display: block;
    animation: slideDown 0.3s ease-out;
  }

  .voice-settings-panel::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 16px;
    height: 16px;
    background-color: white;
    transform: rotate(45deg);
    border-left: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
  }

  .header-btn.active {
    background-color: rgba(255, 255, 255, 0.2);
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .voice-select {
    width: 100%;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 14px;
    margin-bottom: 10px;
  }

  .voice-setting-group {
    margin-bottom: 12px;
  }

  .voice-setting-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 13px;
    font-weight: 500;
  }

  .voice-setting-group input[type="range"] {
    width: 100%;
    margin: 5px 0;
  }

  .voice-setting-group span {
    font-size: 12px;
    color: #666;
  }

  .voice-test-btn, .voice-set-btn {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
  }

  .voice-test-btn {
    background-color: #5540af;
    color: white;
    margin-bottom: 8px;
  }

  .voice-test-btn:hover {
    background-color: #4a378f;
  }

  .voice-set-btn {
    background-color: #4CAF50;
    color: white;
  }

  .voice-set-btn:hover {
    background-color: #45a049;
  }

  .header-btn.active {
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  .chat-notification {
    position: absolute;
    bottom: 100px;
    right: 30px;
    background-color: #5540af;
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 990;
  }
  
  .chat-notification.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  @media (max-width: 768px) {
    .chatbot-container {
      width: 95%;
      height: 80%;
      right: 2.5%;
      bottom: 10%;
      max-height: 640px;
    }
    
    .chatbot-button {
      width: 60px;
      height: 60px;
      right: 20px;
      bottom: 20px;
    }
    
    .chatbot-icon {
      font-size: 28px;
    }
    
    .message {
      max-width: 90%;
    }
    
    .message-wrapper {
      max-width: 90%;
    }
  }

  @keyframes pulse-attention {
    0% {
      transform: scale(1);
      box-shadow: 0 4px 15px rgba(85, 64, 175, 0.4);
    }
    70% {
      transform: scale(1.05);
      box-shadow: 0 0 0 10px rgba(85, 64, 175, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 4px 15px rgba(85, 64, 175, 0.4);
    }
  }

  @keyframes blink-icon {
    0%, 100% {
      opacity: 1;
    }
    40% {
      opacity: 1;
    }
    50% {
      opacity: 0.5;
    }
    60% {
      opacity: 1;
    }
    70% {
      opacity: 0.5;
    }
    80% {
      opacity: 1;
    }
  }

  .welcome-tour {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
  }

  .welcome-tour.show {
    display: flex;
  }

  .tour-container {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: popIn 0.5s ease-out;
  }

  @keyframes popIn {
    0% {
      transform: scale(0.8);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  .disclaimer {
    background-color: #fff3cd;
    color: #856404;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    margin: 10px;
    border: 1px solid #ffeeba;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .disclaimer-icon {
    font-size: 16px;
  }

.logout-btn {
    margin-left: 10px;
    padding: 8px 12px;
    background-color: #dc3545; /* Bootstrap danger color */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.logout-btn:hover {
    background-color: #c82333;
}

.logout-btn i {
    margin-right: 5px;
}

/* Quote Slider in Footer */
.quote-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 1rem;
}

.quote-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.developer-quote {
    min-width: 100%;
    text-align: center;
    font-style: italic;
    color: #666;
    font-size: 1.1rem;
    padding: 0 1rem;
    margin: 0;
    transition: opacity 0.3s ease;
}

.quote-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quote-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quote-dot.active {
    background-color: #007bff;
}

.quote-dot:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .developer-quote {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
}