:root {
    --primary: #e63946;
    --secondary: #1d3557;
    --light: #f1faee;
    --accent: #a8dadc;
    --dark: #1d3557;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    overflow-x: hidden;
}

.parallax-section {
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-element {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}



.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
}

.primary-btn {
    background-color: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    text-shadow: 
  -1px -1px 0 #000,  
   1px -1px 0 #000,
  -1px  1px 0 #000,
   1px  1px 0 #000;

}

.primary-btn:hover {
    background-color: #d1303c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.secondary-btn:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.nav-link {
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.course-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-grid {
    display: grid;
    gap: 2rem;
}

.contact-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-form .input-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-form label {
    font-weight: 600;
    color: #374151;
}

.form-control {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.18);
}

textarea.form-control {
    min-height: 140px;
}

#login .login-card input[type="email"],
#login .login-card input[type="password"] {
    padding: 0.95rem 1rem;
    font-size: 1rem;
    min-height: 3.25rem;
}

.form-actions {
    margin-top: 1.25rem;
}

.contact-right {
    display: grid;
    gap: 1.5rem;
}

.contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.contact-info-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: #374151;
}

.contact-info-item i,
.contact-info-item .contact-icon {
    color: var(--primary);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-info-item .contact-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.contact-info-item h4 {
    margin: 0 0 0.2rem 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.contact-info-item p {
    margin: 0;
    line-height: 1.5;
}

.social-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-buttons a {
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
    color: #4b5563;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
}

.site-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
}

.site-footer .footer-social a:hover {
    color: #ffffff;
}

.social-buttons a:hover {
    background-color: var(--primary);
    color: #ffffff;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        align-items: start;
    }
    .contact-right {
        grid-template-rows: auto auto;
    }
}

.features-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-box:hover .features-icon {
    background-color: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.testimonial-card {
    border-radius: 10px;
    background-color: white;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 120px;
    position: absolute;
    color: rgba(230, 57, 70, 0.1);
    top: -20px;
    left: 10px;
    font-family: serif;
}

.calendar-day {
    border: 1px solid #eee;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.calendar-day:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

.calendar-day.available {
    background-color: rgba(168, 218, 220, 0.2);
}

.calendar-day.selected {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(168, 218, 220, 0.3);
}

/* Animation classes */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ======================
   ACCORDION STYLES
   ====================== */
.accordion-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 0.5rem 0;
}

.accordion-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin: 0;
    transition: color 0.2s ease;
}

.accordion-header:hover {
    color: #e11d48;
}

.accordion-header h3 {
    margin: 0;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.5;
}

.accordion-header i {
    transition: transform 0.3s ease;
    font-size: 1rem;
    color: #e11d48;
    margin-left: 1rem;
    flex-shrink: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1rem;
    color: #4b5563;
    line-height: 1.6;
}

.accordion-content p {
    margin: 0;
    padding: 0.5rem 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 1rem 1.5rem;
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

/* Focus styles for accessibility */
.accordion-header:focus {
    outline: 2px solid #e11d48;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Learn More Button Styles */
.learn-more-btn {
    color: var(--primary); /* Red text - assuming --primary is your red color */
    border: 2px solid var(--primary); /* Red border */
    padding: 0.5rem 1rem; /* Adjust padding as needed */
    border-radius: 0.375rem; /* Rounded corners (Tailwind's default rounded-md) */
    text-decoration: none; /* Remove underline from link */
    display: inline-flex; /* Align icon and text nicely */
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
}

.learn-more-btn i {
    margin-left: 0.5rem; /* Space between text and icon */
}

.learn-more-btn:hover {
    background-color: var(--primary); /* Red background on hover */
    color: white; /* White text on hover */
}


/* Parallax and Video Background */
.parallax-section {
    position: relative;
    overflow: hidden;
}

@media (max-height: 450px) {
    .parallax-section {
        height: 140vh;
    }
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-element {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
}

/* Navigation Link Styles */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    display: inline-block;
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Secondary Button Styles */
.secondary-btn {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}
.secondary-btn:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Course Card Styles */
.course-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Features Icon Styles */
.features-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--primary);
    transition: all 0.3s ease;
}
.feature-box:hover .features-icon {
    background-color: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

/* Testimonial Card Styles */
.testimonial-card {
    border-radius: 10px;
    background-color: white;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}
.testimonial-card::before {
    content: "\"";
    font-size: 120px;
    position: absolute;
    color: rgba(230, 57, 70, 0.1);
    top: -20px;
    left: 10px;
    font-family: serif;
}

/* Fade-in Animation */

/* Form success message */
.form-success {
    display: none;
    background-color: #d1e7dd;
    color: #0f5132;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.form-status {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-status--success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.form-status--error {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Input/textarea/select focus state */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(168, 218, 220, 0.3);
}

/* Footer Link Styles */
.footer-link {
    color: #a0aec0; /* Tailwind's gray-400 */
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    padding: 2rem;
}

.mobile-menu.active {
    right: 0;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Form success message */
.form-success {
    display: none;
    background-color: #d1e7dd;
    color: #0f5132;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

#register {
    scroll-margin-top: 100px; /* Adjust this value to suit your layout */
}

/* ======================
   CORPORATE TRAINING
   ====================== */
.corporate-training-section {
    background-image: linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/corporate-hero.jpg');
}

.corporate-benefits li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.corporate-benefits-icon {
    color: #e11d48;
    margin-top: 0.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.corporate-testimonial {
    background: rgba(225, 29, 72, 0.05);
    border-left: 4px solid #e11d48;
}

.corporate-pricing-table th,
.corporate-pricing-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.corporate-contact-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.corporate-hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                     url('../images/corporate-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.corporate-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 60px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

/* Logo styling */
#noblex-logo {
    float: left;
}

/* Hide home link on mobile */
@media (max-width: 1035px) {
    #home-link {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none;
    }
    .mobile-menu.active {
        right: 0;
        opacity: 1;
        visibility: visible;
    }
}

/* Focus styles for accessibility */
