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

@font-face {
    font-family: 'andalus';
    src: url('/fonts/andalus.ttf') format('truetype');
}

@font-face {
    font-family: 'Maven Pro';
    src: url('/fonts/MavenPro.ttf') format('truetype');
}

body {
    font-family: 'Maven Pro', sans-serif !important;
}

/* Header Styles */
header {
    position: relative;
    color: #fff;
    background-color: #1e6380;
    padding: 20px 70px;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(./header_bg2.png);
    background-size: cover;
    background-position: center 19%;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
    transform: scaleX(-1);
}

header * {
    position: relative;
    z-index: 1;
}

.header-inner{
    width: 75rem;
    margin: auto;
    display: flex;
    align-items: center; 
    justify-content: space-between;
    gap: 10.5%;
}

.logo-container {
    width: 300px;
}

.logo {
    width: 100%;
}

.title-container {
    flex-grow: 1;
}

.main-title {
    font-family: 'andalus';
    font-size: 80px;
    font-weight: 700;
    line-height: 0.8;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle-banner {
    background-color: #c69c60;
    color: #1e6380;
    padding: 15px;
    text-align: center;
}

.subtitle-banner h2 {
    font-family: 'Maven Pro';
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1px;
}

.mosques-grid-bg {
    position: relative;
    background: url(./bg2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
	height:100%;
    background-blend-mode: multiply;
}

.mosques-grid-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6); 
    z-index: 1;
}

/* Mosque Grid */
/* .mosques-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
    width: 70rem;
    margin: auto;
    padding: 40px 0;
    position: relative;
    z-index: 2;
} */

.mosques-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 70px;
    width: 70rem;
    margin: auto;
    padding: 40px 0;
    position: relative;
    z-index: 2;
    align-items: start;
}

.mosque-container {
    display: flex;
    flex-direction: column;
}

/* Mosque Card */
.mosque-card {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.mosque-header {
    background-color: #1e6380;
    color: #fff;
    padding: 12px 25px;
    text-align: center;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mosque-header h3 {
    font-family: 'Maven Pro';
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.mosque-content {
    padding: 10px 33px;
    min-height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eae4d6;
}

.mosque-address {
    text-align: center;
    margin-bottom: 15px;
    color: #1e6380;
    margin-bottom: 0;
}

.mosque-address p {
    font-family: 'Maven Pro';
    margin-bottom: 3px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

.small-text {
    font-family: var(--mm1);
    font-size: 14px;
    margin-top: 5px;
}

/* Prayer Times */
.prayer-times {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: #c69c60;
    padding: 10px;
    position: relative;
    gap: 10px;
}

/* .time-slot {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    height: 49px;
} */
.time-slot {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 10px 0;
}

.time-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #1e6380;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.time-text {
    background-color: #1e6380;
    color: #fff;
    /* width: 25px;
    height: 25px;
    border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Maven Pro';
    font-size: 12px;
    padding: 1px 3px;
}

.time {
    font-weight: bold;
    color: #1e6380;
    font-family: 'Maven Pro';
    font-size: 17px;
}

.vertical-divider {
    width: 2px; 
    height: 48px;
    background-color: #eae4d6; 
    /* margin: 0 10px; */
}


.three-times {
    justify-content: space-evenly;
}

.single-time {
    justify-content: center;
}

.footnote {
    font-family: 'Maven Pro';
    font-size: 11px;
    color: #1e6380;
    font-weight: 600;
    padding: 5px 0px;
    font-style: italic;
    position: relative;
}

.eid-mubarak {
    background-color: #c69c60;
    color: #1e6380;
    padding: 15px;
    text-align: center;
}

.eid-mubarak h2 {
    font-family: 'Maven Pro';
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Footer */
footer {
    background-color: #1e6380;
    padding: 20px 70px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(./header_bg2.png);
    background-size: cover;
    background-position: center 19%;
    background-repeat: no-repeat;
    opacity: 0.2; 
    z-index: 0;
    transform: scaleX(-1);
}

.contact-info p {
    font-family: 'Maven Pro';
    font-size: 18px;
    color: #fff;
    margin-bottom: 5px;
}
.main-title {
    margin: 0;
    padding: 0;
    line-height: 1;
    font-size: 3.5rem;
    display: flex;
    align-items: center;
}

/* Style adjustments for image download */
.prepare-download .main-title {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
}
@media (max-width: 1024px) {
	body {
		width: 1024px;
		margin: 0 auto;
		overflow-x: hidden;
		 display: flex;
  justify-content: center; /* center horizontally */
  align-items: flex-start;  /* or center vertically with 'center' */
  height: 100vh;            /* needed if you want vertical centering */
  margin: 0;
  overflow-x: auto;
	}
	.header-inner{
		width: 1024px;
	}
	.mosques-grid {
		width:60rem;	
	}
	.mosques-grid-bg{
		height:100%;
	}
    .main-title {
        
        font-size: 60px;
       
    }   
}