html, body {
    background-color: #000000;
}

/* Code of Ethics Styling */

/* Hero Section */
.ethics-hero {
    background: #000000;
    color: #ECEFF1;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 3px solid #FFD700;
}

.ethics-hero h1 {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.ethics-hero p {
    font-size: 1.1em;
    color: #cccccc;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Introduction Section */
.ethics-intro {
    background-color: #000000;
    color: #ECEFF1;
    padding: 50px 20px;
    text-align: center;
}

.ethics-intro p {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: #cccccc;
    font-size: 1.05em;
}

/* Principles Grid */
.ethics-principles {
    background-color: #000000;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.principle-card {
    background-color: #1a1a1a;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/HARMONY LOGO 1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.principle-card:hover::before {
    opacity: 0.15;
}

.principle-card:hover {
    border-color: #FFD700;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.15);
}

.principle-number {
    display: inline-block;
    background-color: #FFD700;
    color: #000;
    font-size: 1.8em;
    font-weight: bold;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.principle-card h3 {
    color: #FFD700;
    font-size: 1.3em;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.principle-card ul {
    list-style: disc;
    padding-left: 20px;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.principle-quote {
    background-color: #0d0d0d;
    border-left: 3px solid #FFD700;
    padding: 12px 15px;
    margin-top: 15px;
    font-style: italic;
    color: #FFD700;
    font-size: 0.9em;
    border-radius: 4px;
    position: relative;
    z-index: 1;
}

/* Image Gallery Section */
.ethics-image-gallery {
    background-color: #000000;
    padding: 60px 20px;
    text-align: center;
}

.ethics-image-gallery h2 {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background-color: #1a1a1a;
    border: 2px solid #333;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: #FFD700;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-item p {
    color: #FFD700;
    padding: 15px;
    font-weight: bold;
    font-size: 1.05em;
}

/* Closing Section */
.ethics-closing {
    background-color: #000000;
    color: #ECEFF1;
    padding: 60px 20px;
    text-align: center;
    border-top: 3px solid #FFD700;
}

.ethics-closing h2 {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ethics-closing p {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
    color: #cccccc;
    font-size: 1.05em;
}

/* Responsive */
@media (max-width: 768px) {
    .ethics-hero h1 {
        font-size: 1.8em;
    }

    .ethics-hero p {
        font-size: 0.95em;
    }

    .ethics-principles {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 15px;
    }

    .principle-card {
        padding: 25px 20px;
    }

    .ethics-closing h2 {
        font-size: 1.5em;
    }

    .ethics-closing p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .ethics-hero {
        padding: 50px 15px;
    }

    .ethics-hero h1 {
        font-size: 1.5em;
        letter-spacing: 1px;
    }

    .ethics-intro {
        padding: 30px 10px;
    }

    .principle-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.4em;
    }

    .principle-card h3 {
        font-size: 1em;
    }

    .principle-card ul {
        font-size: 0.9em;
    }

    .ethics-closing {
        padding: 40px 15px;
    }

    .ethics-closing h2 {
        font-size: 1.3em;
    }
}
