/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4AF37;
    --gold-dark: #B8860B;
    --gold-light: #F4D03F;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --gray: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #666666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--black);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo {
    height: 85px;
    width: auto;
    max-height: 85px;
}

.brand-text {
    color: var(--gold);
    font-size: 2.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.2;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--gold);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(26, 26, 26, 0.7) 100%), url('images/target.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23D4AF37" opacity="0.1"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(212, 175, 55, 0.4), 0 0 20px rgba(212, 175, 55, 0.2);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 25%, #B8860B 50%, #D4AF37 75%, #F4D03F 100%);
    color: var(--black);
    border-color: var(--gold);
    box-shadow: 0 3px 8px rgba(212, 175, 55, 0.5), 
                inset 0 3px 6px rgba(255, 255, 255, 0.4), 
                inset 0 -3px 6px rgba(184, 134, 11, 0.4),
                0 0 10px rgba(212, 175, 55, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 20%, #B8860B 40%, #D4AF37 60%, #F4D03F 80%, #D4AF37 100%);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(212, 175, 55, 0.6), 
                inset 0 3px 6px rgba(255, 255, 255, 0.5), 
                inset 0 -3px 6px rgba(184, 134, 11, 0.5),
                0 0 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-secondary:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--gold);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.testimonial-author {
    color: var(--text-light);
    font-weight: 600;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(212, 175, 55, 0.4);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Content */
.about-content {
    padding: 60px 0;
}

.about-intro {
    margin-bottom: 4rem;
}

.bio-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.bio-image-wrapper {
    text-align: center;
}

.bio-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 4px solid var(--gold);
}

.bio-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.bio-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.qualifications-section {
    margin: 4rem 0;
}

.qualifications-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--black);
    text-align: center;
}

.certification-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.cert-logo {
    max-height: 120px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.cert-logo:hover {
    transform: scale(1.05);
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.qualification-category {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    border-top: 4px solid var(--gold);
}

.qualification-category h3 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.qualification-list {
    list-style: none;
}

.qualification-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.qualification-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.mission-section {
    margin-top: 4rem;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.mission-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.mission-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Courses Content */
.courses-content {
    padding: 60px 0;
}

.course-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.course-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.course-image-wrapper {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-image-contain {
    object-fit: contain;
    background-color: var(--light-gray);
    object-position: center;
}

.course-card:hover .course-image {
    transform: scale(1.05);
}

.course-header {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 2rem;
}

.course-header h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2), 0 0 8px rgba(212, 175, 55, 0.3);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.9;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-body {
    padding: 2rem;
}

.course-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.course-expand-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 25%, #B8860B 50%, #D4AF37 75%, #F4D03F 100%);
    color: var(--black);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease, transform 0.2s ease;
    margin-bottom: 1rem;
    box-shadow: 0 3px 8px rgba(212, 175, 55, 0.5), 
                inset 0 3px 6px rgba(255, 255, 255, 0.4), 
                inset 0 -3px 6px rgba(184, 134, 11, 0.4),
                0 0 10px rgba(212, 175, 55, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.course-expand-btn:hover {
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 20%, #B8860B 40%, #D4AF37 60%, #F4D03F 80%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(212, 175, 55, 0.6), 
                inset 0 3px 6px rgba(255, 255, 255, 0.5), 
                inset 0 -3px 6px rgba(184, 134, 11, 0.5),
                0 0 15px rgba(212, 175, 55, 0.4);
}

.course-expand-btn:active {
    transform: translateY(0);
}

.expand-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.course-card.expanded .expand-icon {
    transform: rotate(180deg);
}

.course-details-expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.course-card.expanded .course-details-expandable {
    max-height: 5000px;
    transition: max-height 0.5s ease-in;
}

.course-details {
    margin-top: 2rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--black);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
}

.detail-section ul {
    list-style: none;
    padding-left: 0;
}

.detail-section ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.detail-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.detail-section p {
    line-height: 1.8;
    color: var(--text-dark);
}

.mini-courses-list {
    margin: 2rem 0;
}

.mini-courses-list h3 {
    color: var(--black);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: none;
}

.mini-courses-list h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.mini-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.mini-course-button {
    padding: 1.5rem;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #000000 100%);
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.03) 10px, rgba(212, 175, 55, 0.03) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.03) 10px, rgba(212, 175, 55, 0.03) 20px),
        linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #000000 100%);
    border: 2px solid var(--gold);
    border-radius: 10px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 175, 55, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    -webkit-tap-highlight-color: rgba(212, 175, 55, 0.3);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mini-course-title {
    display: block;
    width: 100%;
    position: relative;
    padding-right: 2rem;
}

.mini-course-title::after {
    content: '▼';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mini-course-button.active .mini-course-title::after {
    content: '▲';
    transform: translateY(-50%) rotate(0deg);
}

.mini-course-description {
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease, visibility 0.4s ease;
    margin-top: 0 !important;
    padding: 0 !important;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: none;
    display: block;
}

.mini-course-button.active .mini-course-description {
    max-height: 2000px !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 1.25rem !important;
    padding-top: 1.25rem !important;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.mini-course-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.mini-course-button::after {
    content: '▶';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 0.9rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.mini-course-button:hover:not(.active),
.mini-course-button:active:not(.active),
.mini-course-button:focus:not(.active) {
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 50%, #1a1a1a 100%);
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.05) 10px, rgba(212, 175, 55, 0.05) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.05) 10px, rgba(212, 175, 55, 0.05) 20px),
        linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 50%, #1a1a1a 100%);
    border-color: var(--gold-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.6),
        0 0 30px rgba(212, 175, 55, 0.4),
        inset 0 0 20px rgba(212, 175, 55, 0.1);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    outline: none;
}

.mini-course-button.active {
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 50%, #1a1a1a 100%);
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.08) 10px, rgba(212, 175, 55, 0.08) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.08) 10px, rgba(212, 175, 55, 0.08) 20px),
        linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 50%, #1a1a1a 100%);
    border-color: var(--gold-light);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.6),
        0 0 30px rgba(212, 175, 55, 0.4),
        inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.mini-course-button:hover::before {
    opacity: 1;
}

.mini-course-button:hover::after {
    right: 0.5rem;
    opacity: 1;
    color: var(--gold-light);
}

.mini-course-contact {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8e8e8 100%);
    border-radius: 10px;
    border-left: 4px solid var(--gold);
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

@media (max-width: 768px) {
    .mini-course-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .mini-course-button {
        padding: 1.25rem !important;
        font-size: 1rem !important;
        min-height: 60px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        text-align: left !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.4) !important;
        background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #000000 100%) !important;
        background-image: 
            repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.03) 10px, rgba(212, 175, 55, 0.03) 20px),
            repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.03) 10px, rgba(212, 175, 55, 0.03) 20px),
            linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #000000 100%) !important;
        border: 2px solid var(--gold) !important;
        border-radius: 10px !important;
        color: var(--white) !important;
        font-weight: 600 !important;
        box-shadow: 
            0 4px 8px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            inset 0 -1px 0 rgba(0, 0, 0, 0.5),
            0 0 20px rgba(212, 175, 55, 0.2) !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .mini-course-title {
        width: 100% !important;
        padding-right: 2rem !important;
        font-weight: 600 !important;
        color: var(--white) !important;
        display: block !important;
        position: relative !important;
    }
    
    .mini-course-title::after {
        content: '▼' !important;
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        color: var(--gold) !important;
        font-size: 1rem !important;
        font-weight: bold !important;
        transition: transform 0.3s ease !important;
    }
    
    .mini-course-button.active .mini-course-title::after {
        content: '▲' !important;
    }
    
    .mini-course-description {
        max-height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;
        margin-top: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    
    .mini-course-button.active .mini-course-description {
        max-height: 2000px !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 1.25rem !important;
        padding-top: 1.25rem !important;
        display: block !important;
    }
    
    .mini-course-button:active {
        transform: translateY(-1px) scale(0.98) !important;
        box-shadow: 
            0 4px 8px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            inset 0 -1px 0 rgba(0, 0, 0, 0.5),
            0 0 20px rgba(212, 175, 55, 0.3) !important;
    }
    
    .mini-course-button::after {
        display: none !important;
    }
}

/* Contact Content */
.contact-content {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.contact-item p {
    color: var(--text-light);
    font-size: 1rem;
}

.contact-form-wrapper {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 10px;
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
}

.form-status {
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    display: none;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--white);
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray);
    color: var(--white);
    opacity: 0.7;
}

/* Course Navigation Section */
.course-nav-section {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.course-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.course-nav-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.course-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.course-nav-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.course-nav-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-nav-card:hover .course-nav-image img {
    transform: scale(1.1);
}

.course-nav-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--black);
    font-size: 1.5rem;
    margin: 0;
}

.course-nav-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    margin: 0;
}

/* Course Thumbnail Gallery */
.course-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

/* Ensure proper grid layout on larger screens */
@media (min-width: 1200px) {
    .course-thumbnail-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .course-thumbnail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.course-thumbnail {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.course-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.course-thumbnail.active {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.course-thumbnail-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.course-thumbnail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-thumbnail-image img.course-image-contain {
    object-fit: contain;
    background-color: var(--light-gray);
}

.course-thumbnail:hover .course-thumbnail-image img {
    transform: scale(1.1);
}

.course-thumbnail-header {
    padding: 1rem;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--white);
}

.course-thumbnail-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--gold);
    line-height: 1.3;
}

.course-thumbnail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--white);
    opacity: 0.9;
}

.course-thumbnail-body {
    padding: 1rem;
}


.course-thumbnail-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.course-thumbnail.active .course-thumbnail-details {
    max-height: 5000px;
    transition: max-height 0.5s ease-in;
}

.course-thumbnail-expand-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 25%, #B8860B 50%, #D4AF37 75%, #F4D03F 100%);
    color: var(--black);
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(212, 175, 55, 0.5), 
                inset 0 3px 6px rgba(255, 255, 255, 0.4), 
                inset 0 -3px 6px rgba(184, 134, 11, 0.4),
                0 0 10px rgba(212, 175, 55, 0.3);
}

.course-thumbnail-expand-btn:hover {
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 20%, #B8860B 40%, #D4AF37 60%, #F4D03F 80%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(212, 175, 55, 0.6), 
                inset 0 3px 6px rgba(255, 255, 255, 0.5), 
                inset 0 -3px 6px rgba(184, 134, 11, 0.5),
                0 0 15px rgba(212, 175, 55, 0.4);
}

.course-page-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gold);
}

.course-page-nav a {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 25%, #B8860B 50%, #D4AF37 75%, #F4D03F 100%);
    color: var(--black);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(212, 175, 55, 0.5);
}

.course-page-nav a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(212, 175, 55, 0.6);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 110px;
        flex-direction: column;
        background-color: var(--black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .course-image-wrapper {
        height: 450px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .bio-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bio-image-wrapper {
        margin: 0 auto 2rem;
    }

    .certification-logos {
        gap: 1.5rem;
    }

    .cert-logo {
        max-height: 100px;
        max-width: 150px;
    }

    .qualifications-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .course-nav-grid,
    .course-thumbnail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .course-thumbnail-header h3 {
        font-size: 1.1rem;
    }

    .course-page-nav {
        flex-direction: column;
        gap: 0.75rem;
    }

    .course-page-nav a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .brand-text {
        font-size: 1.4rem;
    }

    .logo {
        height: 65px;
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .nav-brand {
        gap: 12px;
    }

    .course-header h2 {
        font-size: 1.4rem;
    }

    .course-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}


