:root {
    --primary: #0A8A5F;
    --primary-light: #E8F5E9;
    --border: #ddd;
    --text: #333;
    --shadow: 0 0 20px rgba(0,0,0,0.05);
    --danger: #dc3545;
}

/* Base Styles */
body {
    font-family: DroidKufi-regular;
    background-color: #f8f9fa;
    line-height: 1.6;
}

.container-fluid {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Logo */
.header {
    background: url('../images/MOH-LOGO-Eastern.png') no-repeat center top;
    background-size: contain;
    height: 180px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1.5s ease-in forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.event-logo {
    text-align: center;
    margin: -30px 0;
    position: relative;
    overflow: hidden; /* Important for the shimmer effect */
}

.event-logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
    opacity: 0;
    animation: logoEffect 2s ease-in-out forwards;
    animation-delay: 1s;
}

.event-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(30deg);
    animation: shimmer 3s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes logoEffect {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        transform: translate(-100%, -100%) rotate(30deg);
    }
    100% {
        transform: translate(100%, 100%) rotate(30deg);
    }
}
.logo-container {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.shine-effect {
    position: relative;
    max-width: 300px;
    width: 100%;
    height: auto;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 200%;
    }
}

/* Main Content Area */
.content-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 40px;
	padding-bottom: 12px;
}

/* Invitation Header */
.invitation-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 40px;
}

.invitation-title h1 {
    text-align: center;
    color: var(--primary);
    font-size: 24px;
    font-weight: bold;
    margin: -20px 0 40px 0;
    padding: 15px;
    border-bottom: 2px solid;
    font-family: DroidKufi-regular;
}

.invitation-title h2 {
    font-size: 24px;
    margin: 5px 0;
}

.invitation-title .together {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.invitation-title .together::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

/* Description */
.invitation-description {
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    margin: 30px 0;
}

.invitation-description p {
    margin: 15px 0;
}

/* Logo */
.event-logo {
    text-align: center;
    margin: -30px 0;
}

.event-logo img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

/* Event Details */
.event-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 40px auto;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

.event-item {
    text-align: center;
}

.event-icon {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 10px;
}

.event-label {
    color: var(--primary);
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.event-value {
    font-size: 14px;
    color: var(--text);
}

/* Time Section */
.time-section {
    max-width: 800px;
    margin: 30px auto;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

/* CTA Text */
.cta-text {
    text-align: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 24px;
    font-weight: bold;
    padding: 20px 30px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 800px;
    position: relative;
    transition: all 0.3s ease;
}

.cta-text::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.cta-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(10, 138, 95, 0.1);
}

.cta-text:hover::before {
    transform: scaleX(1);
}

/* Form Styles */
.survey-form {
    max-width: 760px;
    margin: 40px auto;
}

/* Radio Button Styles */
.radio-group {
    margin: 15px 0;
    padding: 10px 0;
}

.radio-option {
    display: block;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.radio-option:hover {
    background: var(--primary-light);
}

.radio-option input[type="radio"] {
    margin-left: 10px;
}

.radio-option label {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    cursor: pointer;
    width: calc(100% - 30px);
}

.radio-group.invalid .radio-option {
    border-color: var(--danger);
}

/* Question Groups Styling */
.question-group {
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.question-title {
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: bold;
}

/* Form Validation Styles */
.error-message {
    color: var(--danger);
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.submit-button {
    background: var(--primary);
    color: white;
    padding: 12px 40px;
    font-size: 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #078a4f;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 20px;
    }

    .event-info {
        grid-template-columns: 1fr;
    }

    .invitation-title h1 {
        font-size: 24px;
    }

    .invitation-description {
        font-size: 16px;
    }

    .event-logo img {
        max-width: 220px;
    }
    
    .cta-text {
        font-size: 18px;
        padding: 15px 20px;
        margin: 30px 15px;
    }

    .submit-button {
        width: 100%;
        padding: 12px;
    }
}

/* Print Styles */
@media print {
    .content-wrapper {
        box-shadow: none;
    }

    .submit-button,
    .radio-option:hover {
        background: none;
    }
}
