/* Global Styles */
:root {
    --primary-color: #2D3436;    /* Deep Charcoal */
    --secondary-color: #0984E3;  /* Bright Blue */
    --accent-color: #00B894;     /* Fresh Mint */
    --success-color: #00CEC9;    /* Turquoise */
    --light-bg: #F5F6FA;         /* Light Gray */
    --dark-bg: #2D3436;          /* Deep Charcoal */
    --text-light: #FFFFFF;       /* White */
    --text-dark: #2D3436;        /* Deep Charcoal */
    --gradient-start: #0984E3;   /* Bright Blue */
    --gradient-end: #00B894;     /* Fresh Mint */
    --card-shadow: 0 8px 16px rgba(45, 52, 54, 0.1);
    --hover-shadow: 0 12px 24px rgba(45, 52, 54, 0.15);
    --border-color: #DFE6E9;     /* Light Gray */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.top-bar {
    background: #ffffff;
    padding: 8px 0;
    color: #2c3e50;
    border-bottom: 1px solid #e9ecef;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(13, 110, 253, 0.1);
}

.contact-link:hover {
    color: #0d6efd;
    transform: translateY(-2px);
    background: rgba(13, 110, 253, 0.15);
}

.contact-link.whatsapp-link {
    background: rgba(37, 211, 102, 0.1);
}

.contact-link.whatsapp-link:hover {
    color: #25D366;
    background: rgba(37, 211, 102, 0.15);
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.social-links a {
    color: #2c3e50;
    text-decoration: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #0d6efd;
    color: #ffffff;
    transform: translateY(-2px);
}

.navbar {
    padding: 1rem 0;
    background: transparent;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand .logo {
    height: 45px;
    transition: all 0.3s ease;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    margin-left: 0.5rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.inquiry-link {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--text-light) !important;
    border-radius: 50px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.inquiry-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(9, 132, 227, 0.3);
    color: var(--text-light) !important;
}

.inquiry-link::after {
    display: none;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    background: rgba(13, 110, 253, 0.2);
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: #ffffff;
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .inquiry-link {
        margin: 0.5rem 0;
        text-align: center;
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .top-bar {
        text-align: center;
    }
    
    .contact-info {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .contact-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    min-height: 100vh;
    padding: 8rem 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.1;
    animation: backgroundMove 20s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons .btn-primary {
    background: var(--text-light);
    color: var(--secondary-color);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-primary:hover {
    background: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-outline-light {
    border: 2px solid var(--text-light);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--text-light);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform: perspective(1000px) rotateY(-5deg);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 991px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .hero-image img {
        transform: none;
    }
    
    .hero-image:hover img {
        transform: translateY(-10px);
    }
}

@media (max-width: 767px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 0.5rem 0;
        text-align: center;
    }
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.03) 0%, rgba(52, 152, 219, 0.03) 100%);
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin-top: 0.5rem;
    border-radius: 2px;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 100%;
    background: var(--success-color);
    border-radius: 2px;
}

.about-features {
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), var(--success-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--text-dark);
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

.about-stats {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.stat-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    font-weight: 700;
    font-size: 2.5rem;
}

.stat-item p {
    color: var(--text-dark);
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.about-image-container {
    position: relative;
    padding: 0.5rem;
}

.about-image-main {
    position: relative;
    z-index: 2;
    border-radius: 8px;
    overflow: hidden;
}

.about-image-main img {
    border: 3px solid white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image-main:hover img {
    transform: scale(1.02);
}

/* Courses Section */
.courses-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.card {
    border: none;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    background: var(--text-light);
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: var(--accent-color);
}

.card:hover::before {
    opacity: 1;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.card-text {
    color: var(--text-dark);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.card ul li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card ul li i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

/* Inquiry Section Highlight Effect */
@keyframes highlightSection {
    0% {
        background-color: var(--light-bg);
    }
    50% {
        background-color: rgba(52, 152, 219, 0.1);
    }
    100% {
        background-color: var(--light-bg);
    }
}

.highlight-section {
    animation: highlightSection 2s ease-in-out;
}

/* Inquiry Section */
.inquiry-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.inquiry-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(44, 62, 80, 0.03)"/></svg>');
    opacity: 0.5;
}

.inquiry-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.inquiry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
}

.inquiry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control,
.form-select {
    height: calc(3.5rem + 2px);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

.form-check {
    margin: 1.5rem 0;
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.2rem;
    border-color: var(--accent-color);
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.form-check-label {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.form-check-label a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.form-check-label a:hover {
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Responsive Adjustments for Inquiry Form */
@media (max-width: 768px) {
    .inquiry-section {
        padding: 60px 0;
    }
    
    .inquiry-card {
        border-radius: 15px;
    }
    
    .form-floating > .form-control,
    .form-floating > .form-select {
        height: calc(3rem + 2px);
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    padding: 80px 0 30px;
    color: var(--text-light);
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
}

footer h5 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
}

footer ul li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

footer ul li:hover {
    transform: translateX(5px);
}

footer ul li i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

footer a:hover {
    color: var(--accent-color) !important;
    opacity: 1;
    transform: translateX(5px);
}

footer .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

footer .social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    color: var(--text-light) !important;
}

footer .copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .copyright p {
    margin: 0;
    color: var(--text-light);
    opacity: 1;
}

footer .copyright a {
    color: var(--text-light);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

footer .copyright a:hover {
    color: var(--accent-color);
    background: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

footer .copyright i {
    color: #ff4d4d;
    margin: 0 4px;
    transition: all 0.3s ease;
}

footer .copyright a:hover i {
    transform: scale(1.2);
    color: #ff6b6b;
}

/* Contact Buttons */
.contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-btn i {
    font-size: 24px;
    transition: all 0.3s ease;
}

.contact-btn span {
    position: absolute;
    right: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
}

.contact-btn:hover span {
    right: 70px;
    opacity: 1;
}

.contact-btn:hover i {
    transform: scale(1.1);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-3px);
}

.call-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.call-btn:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section, .about-section, .courses-section, .inquiry-section {
    animation: fadeIn 1s ease-out;
}

/* Alert Styles */
.alert-success {
    background-color: #e8f5e9;
    border-color: #c8e6c9;
    color: #2e7d32;
    border-radius: 8px;
}

.alert-danger {
    background-color: #ffebee;
    border-color: #ffcdd2;
    color: #c62828;
    border-radius: 8px;
}

/* Social Links */
.social-links a {
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: var(--text-light);
    margin-right: 1rem;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--accent-color);
}

/* Result Section */
#result {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
}

#result.show {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

/* Course Search Styles */
.input-group {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    overflow: hidden;
}

.input-group-text {
    border: none;
    padding: 0.75rem 1.25rem;
}

#courseSearch {
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
}

#courseSearch:focus {
    box-shadow: none;
}

/* Course Card Styles */
.course-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.course-card .progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.course-card .progress-bar {
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Course Modal Styles */
.modal-content {
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    background-color: var(--light-bg);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    background-color: var(--light-bg);
}

/* Dark Mode Styles */
.dark-mode {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #3498db;
    --success-color: #2ecc71;
    --light-bg: #2d2d2d;
    --dark-bg: #1a1a1a;
    --text-light: #ffffff;
    --text-dark: #ffffff;
    --border-color: #404040;
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.dark-mode .card,
.dark-mode .testimonial-container,
.dark-mode .modal-content {
    background-color: var(--secondary-color);
    border-color: var(--border-color);
}

.dark-mode .card-title,
.dark-mode .card-text,
.dark-mode .testimonial-text {
    color: var(--text-light);
}

.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    background-color: var(--primary-color);
}

/* Course Bookmarking */
.bookmark-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.bookmark-btn.bookmarked {
    background-color: var(--accent-color);
    color: white;
}

.bookmark-btn:hover {
    transform: scale(1.1);
}

/* Course Comparison */
.compare-button {
    display: block;
    margin: 2rem auto;
    padding: 0.75rem 2rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.compare-button.active {
    opacity: 1;
}

.compare-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.course-checkbox {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    z-index: 2;
}

/* Comparison Modal */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.comparison-table th {
    background-color: var(--light-bg);
    font-weight: 600;
}

/* Notification System */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 1rem 2rem;
    border-radius: 8px;
    background-color: var(--success-color);
    color: white;
    font-weight: 500;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--card-shadow);
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.error {
    background-color: #e74c3c;
}

/* Course Progress Bar Enhancement */
.progress {
    height: 8px;
    border-radius: 4px;
    background-color: var(--light-bg);
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
    transition: width 0.5s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dark-mode-toggle {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .bookmark-btn {
        width: 30px;
        height: 30px;
    }

    .notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
        text-align: center;
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .about-image-overlay {
        display: none;
    }
    
    .about-image-main {
        margin-top: 2rem;
    }
    
    .feature-item {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .section-title h3 {
        font-size: 2rem;
    }
    
    .feature-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .about-section {
        padding: 60px 0;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.02) 0%, rgba(52, 152, 219, 0.02) 100%);
    z-index: 1;
}

.why-choose-us .container {
    position: relative;
    z-index: 2;
}

.choose-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--success-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.choose-card:hover::before {
    opacity: 1;
}

.choose-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--success-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.choose-card:hover .choose-icon {
    transform: scale(1.1);
}

.choose-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.choose-card p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.choose-card ul li {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.choose-card ul li i {
    color: var(--success-color);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* Responsive Adjustments for Why Choose Us */
@media (max-width: 768px) {
    .choose-card {
        padding: 1.5rem;
    }
    
    .choose-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .choose-card h4 {
        font-size: 1.2rem;
    }
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.1;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}

.stats-section .section-title {
    margin-bottom: 3rem;
}

.stats-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.stats-section .title-underline {
    background: rgba(255, 255, 255, 0.3);
}

.stats-section .title-underline::after {
    background: white;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-card:hover::before {
    transform: translateX(100%);
}

.stat-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.stat-card:hover .stat-icon::before {
    transform: translateX(100%);
}

.stat-icon i {
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.stat-content h3 {
    color: white;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 3rem;
}

.stat-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.stat-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-details span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
}

.stat-details span i {
    margin-right: 0.5rem;
    color: white;
}

/* Different colors for each stat card's bullet points */
.stat-card:nth-child(1) .stat-details span i,
.stat-card:nth-child(2) .stat-details span i,
.stat-card:nth-child(3) .stat-details span i,
.stat-card:nth-child(4) .stat-details span i {
    color: white;
}

/* Responsive Adjustments for Stats Section */
@media (max-width: 991px) {
    .stat-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-icon {
        width: 80px;
        height: 80px;
    }
    
    .stat-icon i {
        font-size: 2rem;
    }
    
    .stat-content h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 80px 0;
    }
    
    .stat-card {
        padding: 1.75rem 1.25rem;
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
    }
    
    .stat-icon i {
        font-size: 1.75rem;
    }
    
    .stat-content h3 {
        font-size: 2.25rem;
    }
    
    .stat-content p {
        font-size: 1.1rem;
    }
    
    .stat-details {
        gap: 0.5rem;
    }
    
    .stat-details span {
        font-size: 0.9rem;
    }
}

/* Course Card Inquiry Button */
.inquiry-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.inquiry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.inquiry-btn i {
    transition: transform 0.3s ease;
}

.inquiry-btn:hover i {
    transform: translateX(3px);
}

/* Responsive adjustments for inquiry button */
@media (max-width: 768px) {
    .inquiry-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Course Card WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    border-radius: 50px;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover i {
    transform: translateX(3px);
}

/* Responsive adjustments for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Contact Buttons */
.contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-btn i {
    font-size: 24px;
    transition: all 0.3s ease;
}

.contact-btn span {
    position: absolute;
    right: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
}

.contact-btn:hover span {
    right: 70px;
    opacity: 1;
}

.contact-btn:hover i {
    transform: scale(1.1);
}

.call-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.call-btn:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .contact-buttons {
        right: 15px;
        bottom: 15px;
    }
    
    .contact-btn {
        width: 50px;
        height: 50px;
    }
    
    .contact-btn i {
        font-size: 20px;
    }
    
    .contact-btn span {
        display: none;
    }
}

.inquiry-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.inquiry-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.inquiry-image-container:hover img {
    transform: scale(1.05);
}

.inquiry-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(9, 132, 227, 0.9), rgba(0, 184, 148, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.inquiry-image-container:hover .inquiry-image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.inquiry-image-container:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.overlay-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .inquiry-image-container {
        margin-top: 2rem;
    }
    
    .overlay-content h4 {
        font-size: 1.5rem;
    }
    
    .overlay-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .inquiry-image-container {
        margin-top: 1.5rem;
    }
    
    .overlay-content h4 {
        font-size: 1.3rem;
    }
    
    .overlay-content p {
        font-size: 0.95rem;
    }
}

.course-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.course-duration,
.course-level,
.course-certificate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000000;  /* Black color */
    font-size: 0.9rem;
}

.course-duration i,
.course-level i,
.course-certificate i {
    color: #000000;  /* Black color */
    font-size: 1rem;
} 