/* ===============================
   RESET & BASICS
================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #13277E;
    --accent-yellow: #FFB51E;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===============================
   NAVBAR / HEADER
================================= */
.navbar {
    background-color: #fff;
    padding: 1.2rem 0;
    border-bottom: 1px solid #eee;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo a img {
    display: block;
    height: 40px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.8rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #13277E;
}

.btn-signup {
    background: linear-gradient(90deg, #fff9d9, #ffe78b);
    color: #13277E !important;
    /* visible dark blue text */
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.btn-signup:hover {
    background: linear-gradient(90deg, #fff2b0, #ffd46b);
    color: #000 !important;
}


/* Header Styling */
.main-header {
    background-color: #ffffff;
    padding: 15px 100px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    height: 94px;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 46px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 50px;
    margin-top: 14px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #6C6C6C;
    transition: color 0.3s ease;
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-style: 'semi-bold';
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: none;
    height: 52px;
    width: 150px;
}

.btn-primary {
    background: linear-gradient(90deg, #13277E 41.42%, #FFB51E 105.22%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    color: #ffff;
}

.main-nav .btn {
    margin-left: 30px;
    /* Space between last nav item and button */
}

.menu-toggle {
    display: none;
    /* Hide by default on desktop */
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

/* Dropdown Styling */
.nav-links li {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    z-index: 999;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #6C6C6C;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: #13277E;
    color: #fff;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* ===============================
   HERO SECTION
================================= */
.service-hero {
    /*background: linear-gradient(rgba(10, 25, 47, 0.50), rgba(10, 25, 47, 15)),*/
    /*    url("images/web.jpeg");*/
    background-size: cover;
    background-position: center;
    color: white;
    padding: 68px 0;
    text-align: center;

}

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.course-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-hero-enroll {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s;
}

.btn-hero-enroll:hover {
    transform: translateY(-3px);
    background-color: #eeb030;
}

.btn-hero-secondary {
    border: 2px solid white;
    color: white;
    padding: 13px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
     transition: transform 0.3s;
}

.btn-hero-secondary:hover {
      transform: translateY(-3px);
    background: white;
    color: var(--primary-blue);
}

/* ===============================
   WHAT WE OFFER (Services)
================================= */
.what-we-offer {
    padding: 68px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    /*margin-bottom: 10px;*/
}

.section-intro-text {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--accent-yellow);
    text-align: left;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(19, 39, 126, 0.15);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(19, 39, 126, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-box i {
    font-size: 28px;
    color: var(--primary-blue);
}

.service-box h3 {
    margin-bottom: 10px;
    color: var(--primary-blue);
}

/* ===============================
   TECH STACK
================================= */
.tech-stack {
    padding: 60px 0;
    background: var(--bg-light);
}

.tech-stack h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 40px;
}

.tech-stack-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.tech-item {
    text-align: center;
}

.tech-icon {
    font-size: 3.5rem;
    color: #ccc;
    transition: color 0.3s;
}

.tech-item:hover .tech-icon {
    color: var(--primary-blue);
}

.tech-name {
    display: block;
    margin-top: 10px;
    font-weight: 500;
    color: var(--text-light);
}

/* ===============================
   PROCESS SECTION 
================================= */
.process-section {
    padding: 80px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    margin-top: 50px;
}


.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    min-width: 200px;
    padding: 0 10px;
    margin-bottom: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    border: 4px solid #fff;
    /* Cuts the line behind it */
    box-shadow: 0 0 0 2px #e0e0e0;
}

.step-item h3 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

/* ===============================
    STATS SECTION
================================= */
.stats-section {
    background: var(--bg-light);
    padding: 50px 0;
    color: #13277E;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    margin-bottom: 10px;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

/* ===============================
   FORM SECTION
================================= */
.course-registration-form {
    padding: 80px 0;
    background: #fff;
}

.course-registration-form h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.course-registration-form .section-intro {
    text-align: center;
    margin-bottom: 40px;
}

.registration-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.half {
    flex: 1;
}

.registration-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-blue);
}

.registration-form input,
.registration-form select,
.registration-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
}

.registration-form input:focus,
.registration-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.btn-enroll {
    width: 100%;
    background: var(--primary-blue);
    color: var(--accent-yellow);
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-enroll:hover {
    background: #0f1e5c;
    /* Darker blue */
}

/* ===============================
   NEWSLETTER FOOTER
================================= */
/* ===== Newsletter Footer (Quantum Edge – scoped) ===== */
.qei-newsletter {
    position: relative;
    overflow: clip;
    padding: 56px 16px 64px;
    color: #eaf0ff;
    font-family: inherit;
    /* uses your Poppins */
    isolation: isolate;
}

/* Gradient + subtle shapes */
.qei-newsletter-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(1100px 600px at 85% 70%, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(900px 500px at 15% 30%, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(180deg, #4b465a 0%, #0a1d78 60%, #061e64 100%);
    /* soft vignette */
    box-shadow: inset 0 40px 60px rgba(0, 0, 0, .25);
}

/* Content wrapper */
.qei-newsletter-wrap {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

/* Logo */
.qei-newsletter-logo {
    width: 190px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .25));
}

/* Heading */
.qei-newsletter-heading {
    font-weight: 700;
    font-size: clamp(1.4rem, 1.4rem + 1.2vw, 2rem);
    margin: 8px 0 22px;
    letter-spacing: .2px;
}

/* Form row */
.qei-newsletter-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
}

.qei-newsletter-form input {
    width: min(600px, 88vw);
    flex: 1 1 420px;
    background: transparent;
    color: #eaf0ff;
    border: 1.5px solid rgba(255, 255, 255, .35);
    padding: 16px 22px;
    border-radius: 999px;
    font-size: 1rem;
    outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.qei-newsletter-form input::placeholder {
    color: rgba(234, 240, 255, .8);
}

.qei-newsletter-form input:focus {
    border-color: rgba(255, 255, 255, .65);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
}

.qei-newsletter-form button {
    border: 0;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    background: #ffbd66;
    /* warm orange */
    color: #1a2a6b;
    box-shadow: 0 8px 20px rgba(255, 189, 102, .35);
    transition: transform .08s ease, box-shadow .15s ease, filter .15s ease;
}

.qei-newsletter-form button:hover {
    box-shadow: 0 10px 28px rgba(255, 189, 102, .45);
    filter: brightness(1.05);
}

.qei-newsletter-form button:active {
    transform: translateY(1px);
}

/* Footer links */
.qei-newsletter-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 6px 0 14px;
    flex-wrap: wrap;
    font-size: 1.02rem;
}

.qei-newsletter-links a {
    color: #eaf0ff;
    text-decoration: none;
    opacity: .95;
    transition: opacity .15s;
}

.qei-newsletter-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.qei-newsletter-sep {
    opacity: .55;
}

.qei-newsletter-copy {
    margin: 6px 0 0;
    font-size: 1.02rem;
    opacity: .9;
}

/* accessibility helper (screen-reader only) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ===============================
   CHATBOT WIDGET STYLES
================================= */
/* ===============================
   RTECH CHATBOT
================================= */
/* ===============================
   RTECH FLOATING CHATBOT
================================= */
.rtech-chatbot {
    position: fixed;
    bottom: 25px;
    right: 25px;
    /* moved to right side */
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

/* Round Floating Button */
.chatbot-toggle {
    width: 65px;
    height: 65px;
    background: #ffd500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.05);
}

.chatbot-toggle img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

/* Chat Window */
.chatbot-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    display: none;
    overflow: hidden;
    flex-direction: column;
    animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.chatbot-header {
    background-color: #ffd500;
    color: #000;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

.chatbot-header .bot-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-header img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.chatbot-header button {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #000;
    font-weight: bold;
}

/* Chat Area */
.chatbot-content {
    padding: 15px;
    height: 250px;
    overflow-y: auto;
    background: #f9f9f9;
}

.bot-msg,
.user-msg {
    max-width: 80%;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.bot-msg {
    background: #f1f1f1;
    align-self: flex-start;
}

.user-msg {
    background: #ffd500;
    color: #000;
    align-self: flex-end;
    margin-left: auto;
}

/* Input Area */
.chatbot-input {
    display: flex;
    border-top: 1px solid #eee;
    padding: 10px;
    background: #fff;
}

.chatbot-input input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px;
    font-size: 14px;
}

.chatbot-input button {
    background: #ffd500;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}



/* Responsive Line Fix */
@media (max-width: 768px) {
    .process-steps::before {
        display: none;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}