/* style.css */
:root {
    --primary-color: #041569;
    --primary-light: #0d228c;
    --primary-dark: #020b38;
    --accent-color: #E8A824;
    --accent-hover: #d19418;
    --text-primary: #041569;
    --text-muted: #555555;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    background-color: var(--white);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .text-primary {
    color: var(--text-primary) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.w-20px {
    width: 20px;
    display: inline-block;
}

/* Typography Overrides */
.section-title {
    font-size: 2.2rem;
}

.title-underline {
    height: 4px;
    width: 60px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Buttons */
.btn-accent {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(232, 168, 36, 0.3);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Navbar */
.brand-navbar {
    background-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--white) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: 2px solid var(--primary-color) !important;
}

.navbar-toggler-icon {
    filter: invert(10%) sepia(85%) saturate(3015%) hue-rotate(227deg) brightness(91%) contrast(106%); /* Dark blue icon */
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

/* Form Styles */
.form-card {
    border-radius: 12px;
}

.form-title {
    color: var(--primary-color);
}

.form-label {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-control, .form-select {
    border: 1px solid rgba(4, 21, 105, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(232, 168, 36, 0.25);
}

/* Feature Cards (Why Choose Us) */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(4, 21, 105, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

/* Course Cards */
.course-card {
    border-radius: 12px;
    border: 1px solid rgba(4, 21, 105, 0.08) !important;
    border-bottom: 4px solid var(--accent-color) !important;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-link {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.course-link:hover {
    color: var(--accent-color);
}

/* Accordion (FAQ) */
.custom-accordion .accordion-item {
    border: 1px solid rgba(4, 21, 105, 0.06) !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1.2rem !important;
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.custom-accordion .accordion-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: rgba(232, 168, 36, 0.3) !important;
}

.custom-accordion .accordion-button {
    color: var(--primary-color);
    background-color: var(--white);
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(232, 168, 36, 0.05);
    box-shadow: none;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
}

.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23041569'%3e%3cpath fill-rule='evenodd' d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2Z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
    width: 1.2rem;
    height: 1.2rem;
    background-size: 1.2rem;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E8A824'%3e%3cpath fill-rule='evenodd' d='M2 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 2 8Z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.custom-accordion .accordion-body {
    padding: 1.25rem 1.5rem 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    border-top: 1px dashed rgba(4, 21, 105, 0.1);
    color: var(--text-muted);
    background-color: rgba(255, 255, 255, 0.5);
}

/* Partners */
.partner-logo {
    border-color: rgba(4, 21, 105, 0.1) !important;
    min-height: 100px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    border-top: 5px solid var(--accent-color);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Marquee Animation */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}
.marquee-content {
    display: inline-flex;
}

.recruiter-box {
    transition: all 0.4s ease;
}
.recruiter-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    border-color: var(--accent-color) !important;
}

/* Responsive UI Enhancements */
.responsive-icon {
    font-size: clamp(2.2rem, 5vw, 3rem) !important;
}
.responsive-icon-sm {
    font-size: clamp(1.6rem, 4vw, 2.2rem) !important;
}

.circle-card {
    transition: all 0.4s ease;
}
.circle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
