@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #F9F9FB; /* neutral light background */
    min-height: 100vh;
    overflow-x: hidden;
}

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

.header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.header h1 {
    color: #3980E9; 
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(72, 202, 228);
    animation: fadeInDown 1s ease-out;
}

.header .subtitle {
    color: black; /* neutral dark */
    font-size: 1.2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-star {
    position: absolute;
    color: #E0F7FA;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

.floating-star:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-star:nth-child(2) { top: 20%; right: 15%; animation-delay: 2s; }
.floating-star:nth-child(3) { top: 60%; left: 5%; animation-delay: 4s; }
.floating-star:nth-child(4) { top: 70%; right: 10%; animation-delay: 1s; }

.main-content {
    display: grid;
    gap: 30px;
}

.intro-section {
    background: #4DD0E1; /* aqua */
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    animation: slideUp 0.8s ease-out forwards;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0096C7 60%, #48CAE4 100%);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.content-image {
    display: block;         /* makes it respect margin auto */
    margin: 20px auto;      /* centers it horizontally */
    max-width: 100%;        /* keeps it responsive */
    height: auto;           /* keeps proportions */
    border-radius: 12px;    /* optional: soft corners */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15); /* optional */
}

.intro-content {
    position: relative;
    z-index: 1;
    text-align: center;  /* centers all text and inline elements */
}

.intro-content h2 {
    color: #000000;
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-content p {
    color: black;
    line-height: 1.6;
    font-size: 1.1rem;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.principle-card {
    background: #90CAF9; /* soft blue */
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    animation: slideUp 0.8s ease-out forwards;
}

.principle-card:nth-child(2) { animation-delay: 0.2s; }
.principle-card:nth-child(3) { animation-delay: 0.4s; }

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0096C7, #00B4D8, #48CAE4);
}

/* Number badge */
.principle-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #48CAE4, #023E8A);
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(72, 202, 228, 0.3);
}

/* Card title & text */
.principle-card h3 {
    color: #2C3E50; /* dark neutral */
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.principle-card p {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Placeholder block (when no image is available) */
.image-placeholder {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #0096C7 0%, #90CAF9 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    text-align: center;
    margin: 15px 0;
    border: 3px dashed rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    transform: scale(1.02);
}

/* Actual images in cards (same size as placeholder) */
.principle-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;      /* keeps proportions, crops edges */
    border-radius: 15px;
    margin: 15px 0;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #48CAE4 0%, #00B4D8 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    text-align: center;
    margin: 15px 0;
    border: 3px dashed rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    transform: scale(1.02);
}

.evaluation-section {
    background: #90E0EF; 
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out 0.6s both;
}

.evaluation-section::before {
    content: '🔍';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.1;
    z-index: 0;
}

.evaluation-content {
    position: relative;
    z-index: 1;
}

.evaluation-section h2 {
    color: #1A237E;
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.question-card {
    background: linear-gradient(135deg, #4DD0E1, #90CAF9);
    color: black;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.question-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
    opacity: 0;
}

.question-card:hover::before {
    opacity: 1;
}

.question-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.question-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.question-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

.interactive-elements {
    margin-top: 30px;
    text-align: center;
}
.btn-interactive {
    background: linear-gradient(135deg, #3f8efc, #87bfff);
    color: black;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(94, 53, 177, 0.3);
    margin: 10px;
}

.btn-interactive:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 150, 199, 0.4);
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #1A237E;
    font-size: 0.9rem;
    opacity: 0.8;
}

.sticker {
    position: absolute;
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

.sticker:nth-child(1) { top: 10%; right: 10%; animation-delay: 0s; }
.sticker:nth-child(2) { bottom: 20%; left: 15%; animation-delay: 1s; }
.sticker:nth-child(3) { top: 50%; right: 5%; animation-delay: 2s; }

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .header h1 { font-size: 2.2rem; }
    .header .subtitle { font-size: 1rem; }
    .principles-grid { grid-template-columns: 1fr; }
    .questions-grid { grid-template-columns: 1fr; }
    .container { padding: 15px; }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    color: #023E8A;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover { color: #000; }

.verse-highlight {
    background: linear-gradient(135deg, #48CAE4 0%, #90CAF9 100%);
    border-left: 4px solid #0096C7;
    padding: 20px;
    border-radius: 10px; 
    margin: 20px 0;
    font-style: italic;
    position: relative;
}

.verse-highlight {
    background: linear-gradient(135deg, #48CAE4 0%, #90E0EF 100%);
    border-left: 4px solid #0096C7;
    padding: 20px;
    border-radius: 10px; 
    margin: 20px 0;
    font-style: italic;
    position: relative;
}
