/* ===== COURSES ===== */
#courses {
    background: #eef2fa;
    padding: 100px 20px;
    
}

#courses h2 {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 700;
    padding: 0 0 10px 0;
    margin: 5px 0 10px 0;
    position: relative;
    background-position: left bottom;
    background-repeat: no-repeat;
    line-height: 120% !important;
    font-size: 32px;
    color:  #000; 
}

#courses p.section-intro {
    text-align: center;
    color: #555;
    margin-bottom: 50px;
}

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

.course-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid rgba(40,93,162,0);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
    border-color: #285DA2;
}

.course-card i {
    font-size: 32px;
    color: #285DA2; /* changed to site template blue */
    margin-bottom: 15px;
}

.course-card h3 {
    margin: 0 0 10px;
    color: #0a0f29;
    font-size: 20px;
}

.course-card p {
    color: #555;
    line-height: 1.6;
}

/* Footer Logo Size */
.footer-box .footer_blog .logo {
    width: 150px;
    height: auto;
}



.plan-name {
    font-size: 24px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 700;
    color: #0a0f29;
    margin-bottom: 15px;
}

.plan-price { margin: 15px 0; }

.currency { font-size: 30px; font-weight: 700; color:#285DA2; vertical-align:auto }

.amount { font-size: 30px; font-weight: 700; color: #285DA2; }

.plan-duration { font-size: 16px; color: #666; margin-top: 5px; }

.pricing-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 4 cards in one row */
    gap: 30px; /* more spacing between cards */
    max-width: 1500px; /* slightly wider container */
    margin: 0 auto; /* center container */
    padding: 60px 20px;
}

.pricing-card {
    background: #fff;
    border-radius: 16px; /* slightly rounder corners */
    padding: 35px 30px; /* more padding inside */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* stronger shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* equal height for all cards */
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.card-header .plan-name {
    font-size: 22px; /* slightly larger */
    font-weight: 700;
    margin-bottom: 12px;
}

.card-header .plan-price {
    font-size: 26px; /* slightly larger */
    font-weight: 700;
    color: #285DA2;
}

.card-header .plan-duration {
    color: #555;
    font-size: 16px; /* slightly larger */
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0; /* more space below */
}

.features-list li {
    margin-bottom: 10px; /* bigger spacing */
    font-size: 15px;
}

.enroll-button {
     margin-top: auto; 
    background: #285DA2;
    color: #fff;
    border: none;
    padding: 15px 30px; /* bigger button */
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    
}

.enroll-button:hover {
    background: #1f467d;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .pricing-cards-container {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on smaller screens */
    }
}

@media (max-width: 768px) {
    .pricing-cards-container {
        grid-template-columns: 1fr; /* 1 per row on mobile */
    }
}



.footer-box .footer_blog .logo {
    width: 150px;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-cards-container { flex-direction: column; align-items: center; }
    .pricing-card { width: 100%; max-width: 350px; margin-bottom: 30px; }
}

/* Small email text utility */
.small-email {
    font-size: 12px;
    line-height: 2;
    text-transform: lowercase;
    color: #0a0f29;
}

/* Ensure small email is lowercase in header (override template uppercase rule) */
nav.first-nav_contact div.left ul li a span.small-email,
nav.first-nav_contact .right ul li a span.small-email,
.footer_blog .small-email,
.footer_content .small-email {
    text-transform: lowercase !important;
    font-size: 15px !important;
}

/* Slightly lower Program Duration heading in the pricing section */
.section.layout_padding_2 .heading_main {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .section.layout_padding_2 .heading_main {
        margin-top: 18px;
    }
}




/* Specific to the footer container only */
.footer-box {
    background:  #F8F9FA;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 15px;
}
/* Control logo size only in footer */
.footer-logo {
    max-width: 150px; /* You can change this value (e.g., 120px, 180px) */
    height: auto;
}


.course_cards_section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.course_card {
    background: #fff;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.course_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.card_title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #0a3d62;
}

.course_card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6em;
}




.syllabus_grid {
    padding: 60px 0;
}

.section_title_row .section_title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section_title_row .section_subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
    display: block;
}

/* Card Styling */
.syllabus_card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%; /* Makes all cards same height */
}

/* Hover effect */
.syllabus_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Icon Styling */
.syllabus_card .icon {
    font-size: 40px;
    color: #285DA2;
    margin-bottom: 15px;
}

/* Card Title */
.syllabus_card h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* List Styling */
.syllabus_card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: auto;
}

.syllabus_card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}

.syllabus_card ul li::before {
    content: "\f00c"; /* FontAwesome check icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color:#285DA2;
}

/* Responsive */
@media (max-width: 768px) {
    .syllabus_card h4 {
        font-size: 20px;
    }
    .syllabus_card ul li {
        font-size: 15px;
    }
}


/*chatbot css*/
/* Floating Icon */
#chatbot-icon {
    position: fixed;
    bottom: 25px;
    right: 25px;
    cursor: pointer;
    z-index: 9999;
    background: transparent !important;
    box-shadow: none;
}
#chatbot-icon img {
    width: 70px;     /* make icon same size */
    height: auto;
}
/* Welcome Cloud Above Chatbot Icon */
#welcome-cloud {
    position: fixed;
    bottom: 115px;
    right: 20px;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 14px;
    color: #222;
    box-shadow: 0px 4px 14px #0002;
    max-width: 300px;
    z-index: 99999;
    display: block; /* visible before click */
}

/* Cloud Tail */
#welcome-cloud::after {
    content: "";
    position: absolute;
    bottom: -12px;
    right: 30px;
    border-width: 12px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}


 
/* Chat Window */
#chatbot-window {
    position: fixed;
    bottom: 110px;
    right: 25px;
    width: 330px;
    height: 450px;
    background: #fff;
    border-radius: 15px;
    display: none;
    flex-direction: column;
    box-shadow: 0px 6px 20px #0004;
    overflow: hidden;
    z-index: 9999;
}
 
/* Header */
#chat-header {
    background: #285DA2;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 18px;
}
 
/* Messages */
#chatBody {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    background: #f5f7fa;
}
 
.message {
    max-width: 80%;
    padding: 10px;
    border-radius: 12px;
    margin: 10px 0;
    animation: fadeIn 0.3s ease;
}
 
/* Zig-Zag Chat */
.message.user {
    background: #d9ebff;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}
.message.bot {
    background: #ffffff;
    border-bottom-left-radius: 2px;
    border: 1px solid #ddd;
}
 
/* Input */
#inputArea {
    display: flex;
    border-top: 1px solid #ccc;
}
#userInput {
    flex: 1;
    padding: 12px;
    border: none;
    outline: none;
}
#sendBtn {
    width: 70px;
    background: #285DA2;
    color: white;
    border: none;
    cursor: pointer;
}
 
/* Radio Button Box */
.option-box {
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-top: 5px;
}
 
/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}