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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #fff;
    position: relative;
}

/* Fixed Background Logo - Center Left */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background-image: url('images/DMA-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

/* Fixed Background OMJJ Logo - Center Right */
body::after {
    content: '';
    position: fixed;
    top: 50%;
    right: 20%;
    transform: translate(50%, -50%);
    width: 400px;
    height: 400px;
    background-image: url('images/OMJJ-Logo-small.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

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

/* Colors */
:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --accent-red: #dc143c;
    --neutral-gray: #444444;
    --light-gray: #f5f5f5;
    --dark-gray: #222222;
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-omjj-logo {
    display: flex;
    align-items: center;
}

.omjj-nav-img {
    height: 50px;
    width: auto;
}

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

.nav-link {
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--accent-red);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-white);
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h2 {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-gray);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--primary-white);
    border-color: var(--accent-red);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--accent-red);
}

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

.btn-secondary:hover {
    background-color: var(--primary-white);
    color: var(--primary-black);
}

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

.feature {
    padding: 1.5rem;
    background-color: rgba(255,255,255,0.1);
    border-radius: 10px;
    border-left: 4px solid var(--accent-red);
}

.feature h3 {
    color: var(--accent-red);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Sections */
section {
    padding: 80px 0;
}

/* Instructors Section */
.instructors {
    background-color: var(--primary-white);
}

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

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

.instructor-card {
    background-color: var(--light-gray);
    border: 2px solid var(--neutral-gray);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.instructor-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.instructor-card.featured {
    border-color: var(--accent-red);
    background-color: var(--primary-white);
}

.instructor-card h3 {
    color: var(--primary-black);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.instructor-rank {
    background-color: var(--accent-red);
    color: var(--primary-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.instructor-specialty {
    color: var(--neutral-gray);
    font-weight: bold;
    margin-bottom: 1rem;
    font-style: italic;
}

.instructor-card p:last-child {
    color: var(--dark-gray);
    line-height: 1.6;
}

.about {
    background-color: var(--light-gray);
}

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

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about h3 {
    color: var(--accent-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about h4 {
    color: var(--dark-gray);
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
}

.about ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.about li {
    margin-bottom: 0.5rem;
    color: var(--neutral-gray);
}

/* Programs Section */
.programs {
    background-color: var(--primary-white);
}

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

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

.program-card {
    background-color: var(--primary-white);
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.program-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.program-card.featured {
    border-color: var(--accent-red);
    background-color: var(--light-gray);
}

.program-card h3 {
    color: var(--primary-black);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.program-ages {
    background-color: var(--accent-red);
    color: var(--primary-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
}

.program-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.program-card li {
    margin-bottom: 0.5rem;
    color: var(--neutral-gray);
    padding-left: 1rem;
    position: relative;
}

.program-card li::before {
    content: "•";
    color: var(--accent-red);
    position: absolute;
    left: 0;
}

.program-focus {
    font-weight: bold;
    color: var(--dark-gray);
}

.program-instructor {
    font-weight: bold;
    color: var(--accent-red);
    margin-top: 0.5rem;
}

.program-link {
    margin-top: 1rem;
    text-align: center;
}

.omjj-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-red);
    color: var(--primary-white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.omjj-link:hover {
    background-color: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.omjj-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

/* Why DMA Section */
.why-dma {
    background-color: var(--dark-gray);
    color: var(--primary-white);
}

.why-dma h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.benefit {
    background-color: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-red);
}

.benefit h3 {
    color: var(--accent-red);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit p {
    color: var(--light-gray);
}

/* Curriculum Section */
.curriculum {
    background-color: var(--light-gray);
}

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

.curriculum-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.curriculum-post {
    background-color: var(--primary-white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-red);
    margin-top: 2rem;
}

.curriculum-post h3 {
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.post-date {
    color: var(--accent-red);
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    background-color: var(--primary-white);
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3,
.contact-form h3 {
    color: var(--accent-red);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

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

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

.contact-item p {
    color: var(--neutral-gray);
}

/* Form Styles */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-red);
}

/* Footer */
footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    height: 40px;
}

.footer-omjj-logo img {
    height: 40px;
}

.footer-links p {
    margin-bottom: 0.5rem;
    color: var(--light-gray);
}

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

.ethics-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ethics-hero .hero-subtitle {
    font-size: 1.2rem;
    color: var(--light-gray);
}

.ethics-content {
    padding: 80px 0;
    background-color: var(--primary-white);
}

.ethics-section {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ethics-section:last-child {
    margin-bottom: 0;
}

.ethics-section h2 {
    color: var(--primary-black);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-red);
    padding-left: 1rem;
}

.ethics-text {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    line-height: 1.8;
}

.ethics-text p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.ethics-text p:last-child {
    margin-bottom: 0;
}

.nav-link.active {
    color: var(--accent-red) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
}