/* Apply Poppins as default */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f3f3f3;
    color: #333;
}

/* Use Inter for headings */
h1, h2, h3, .section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

/* General Styles */
body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f8fafc;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(90deg, #2c3e50, #1a252f);
    color: white;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}
nav {
    margin-top: 8px;
}
nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}
nav a:hover {
    color: #f1c40f;
}

/* Hero Section */
.hero {
    margin-top: 30px;
    background: url('../images/mosque-bg.webp') center/cover no-repeat;
    color: white;
    padding: 250px 20px;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.hero h2 {
    font-size: 36px;
    font-weight: 600;
}

/* Features Section */
#features {
    padding: 60px 20px;
    background-color: white;
}
.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1em;
    text-align: center;
    position: relative;
}
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #e2c275;
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

/* Feature description */
.feature-description {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.8em 1.5em;
    margin-bottom: 2.5em;
    box-shadow: 0 4px 20px rgba(44,62,80,0.08);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}
.feature-description strong {
    font-size: 1.2rem;
    color: #2c3e50;
    display: block;
    margin-bottom: 10px;
}
.reminder-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.reminder-list li {
    font-size: 1rem;
    margin: 0.4em 0;
    display: flex;
    align-items: center;
    gap: 0.6em;
    justify-content: center;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: auto;
}

.feature-link {
    display: block;
    text-decoration: none;
    background: #fffaf0;
    border: 2px solid #e2c275;
    border-radius: 16px;
    padding: 28px 20px;
    box-shadow: 0 4px 12px rgba(226,194,117,0.12);
    transition: all 0.25s ease-in-out;
    color: #7b3f00;
    font-size: 18px;
    font-weight: 600;
}
.feature-link:hover {
    background: #fff5e1;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(226,194,117,0.25);
    color: #b7791f;
}
.feature-link h3 {
    margin: 0;
    font-size: 20px;
    color: inherit;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #2c3e50, #1a252f);
    color: white;
    padding: 25px;
    margin-top: 40px;
    font-size: 14px;
}


/* Comparison Section */
#comparison {
    padding: 50px 20px;
    background: #fdfdfd;
}

.comparison-table-wrapper {
    overflow-x: auto;
    max-width: 900px;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.06);
    background: white;
    padding: 1em;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.comparison-table thead {
    background: #2c3e50;
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 11px;
    }
}