@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Noto+Sans:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-color: #001d3d;
    margin: 0;
    padding: 0;
}

/* ==================== NAVIGATION ==================== */

#nav_bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 25px 20px;
    background-color: #001d3d;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

#nav_bar > li {
    list-style: none;
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
}

#nav_bar > li > a {
    text-decoration: none;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}

#nav_bar > li > a:hover {
    background-color: rgba(0, 167, 225, 0.3);
    color: #00A7E1;
    transform: translateY(-2px);
}

/* ==================== PAGE HEADER ==================== */

.page-header {
    background: linear-gradient(135deg, #001d3d 0%, #003459 50%, #00A7E1 100%);
    padding: 120px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 3rem;
    color: white;
    margin: 0 0 15px 0;
}

.page-header p {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ==================== PRAYER FORM SECTION ==================== */

#prayer_section {
    background-color: #001d3d;
    padding: 60px 20px 80px;
}

.prayer-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.prayer-intro {
    text-align: center;
    margin-bottom: 40px;
}

.prayer-icon {
    color: #00A7E1;
    margin-bottom: 20px;
}

.prayer-intro h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    color: white;
    margin: 0 0 15px 0;
}

.prayer-intro p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.prayer-form {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.styled-input {
    position: relative;
    width: 100%;
}

.styled-input label {
    color: rgba(255, 255, 255, 0.6);
    padding: 20px 25px;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.25s ease;
    pointer-events: none;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1rem;
}

input,
textarea {
    padding: 20px 25px;
    border: 0;
    width: 100%;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Noto Sans', sans-serif;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus { 
    outline: 0;
    border-color: #00A7E1;
    background-color: rgba(255, 255, 255, 0.15);
}

input:focus ~ label, 
textarea:focus ~ label, 
input:valid ~ label, 
textarea:valid ~ label {
    font-size: 0.75em;
    color: #00A7E1;
    top: -10px;
    left: 10px;
    background-color: #001d3d;
    padding: 5px 10px;
    border-radius: 4px;
}

textarea {
    min-height: 180px;
    resize: vertical;
}

textarea::placeholder {
    color: transparent;
}

.privacy-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.9rem;
}

.privacy-note svg {
    flex-shrink: 0;
    color: #00A7E1;
}

.submit-btn {
    width: 100%;
    padding: 18px 40px;
    border-radius: 30px;
    display: inline-block;
    background-color: #00A7E1;
    color: white;
    font-size: 1.1rem;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 167, 225, 0.3);
    transition: all 300ms ease;
    border: none;
}

.submit-btn:hover {
    background-color: white;
    color: #001d3d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 167, 225, 0.4);
}

/* ==================== THANK YOU MESSAGE ==================== */

#thank-you-message {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.thank-you-icon {
    color: #00A7E1;
    margin-bottom: 30px;
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#thank-you-message h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.2rem;
    color: white;
    margin: 0 0 20px 0;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

#thank-you-message p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0 0 20px 0;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.scripture-verse {
    color: #00A7E1 !important;
    font-style: italic;
    font-size: 1.15rem !important;
    margin-top: 30px !important;
    padding: 20px;
    background-color: rgba(0, 167, 225, 0.1);
    border-radius: 10px;
    border-left: 4px solid #00A7E1;
    animation: fadeInUp 0.6s ease-out 0.6s both !important;
}

.scripture-verse span {
    display: block;
    margin-top: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== PRAYER TIMES SECTION ==================== */

#prayer_times_section {
    background-color: #003459;
    padding: 80px 40px;
}

.prayer_times_container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    color: white;
    margin: 0 0 15px 0;
}

.section-header p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.prayer_times_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.prayer_time_card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.prayer_time_card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #00A7E1;
}

.prayer_time_icon {
    color: #00A7E1;
    margin-bottom: 20px;
}

.prayer_time_card h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.4rem;
    color: white;
    margin: 0 0 15px 0;
}

.prayer_time_card .time {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.2rem;
    color: #00A7E1;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.prayer_time_card .description {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.prayer_contact {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prayer_contact p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 15px 0;
}

.prayer_phone {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #00A7E1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.prayer_phone:hover {
    color: white;
}

/* ==================== FOOTER ==================== */

.footer_section {
    background-color: #001d3d;
    padding: 30px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer_section p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ==================== MOBILE RESPONSIVE STYLES ==================== */

@media (max-width: 768px) {
    #nav_bar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 15px 10px;
    }

    #nav_bar > li {
        font-size: 14px;
    }

    #nav_bar > li > a {
        padding: 8px 15px;
    }

    .page-header {
        padding: 100px 20px 50px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    #prayer_section {
        padding: 40px 20px 60px;
    }

    .prayer-intro h2 {
        font-size: 1.6rem;
    }

    .prayer-form {
        padding: 25px;
    }

    input,
    textarea {
        padding: 18px 20px;
        font-size: 0.95rem;
    }

    .styled-input label {
        padding: 18px 20px;
    }

    #prayer_times_section {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .prayer_time_card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    #nav_bar {
        gap: 5px;
        padding: 10px 5px;
    }

    #nav_bar > li {
        font-size: 12px;
    }

    #nav_bar > li > a {
        padding: 6px 10px;
    }

    .page-header {
        padding: 90px 15px 40px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    #prayer_section {
        padding: 30px 15px 50px;
    }

    .prayer-intro h2 {
        font-size: 1.4rem;
    }

    .prayer-intro p {
        font-size: 1rem;
    }

    .prayer-form {
        padding: 20px;
    }

    input,
    textarea {
        padding: 15px;
        font-size: 0.9rem;
    }

    .styled-input label {
        padding: 15px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }

    #thank-you-message h2 {
        font-size: 1.8rem;
    }

    .scripture-verse {
        font-size: 1rem !important;
        padding: 15px;
    }

    #prayer_times_section {
        padding: 50px 15px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .prayer_time_card h3 {
        font-size: 1.2rem;
    }

    .prayer_time_card .time {
        font-size: 1.1rem;
    }

    .prayer_phone {
        font-size: 1.3rem;
    }

    .footer_section {
        padding: 25px 15px;
    }

    .footer_section p {
        font-size: 0.8rem;
    }
}
