/*
Theme Name: Hajj and Umrah Theme
Author: Zorain
Description: Theme for Hajj and Umrah travel websites
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');

:root {
  --primary: #629c59;
  --accent: #629c59;
  --text: #333333;
  --font-family: 'Open Sans', sans-serif;
  --t-family: var(--font-family);
  --container-width: 1140px;
  --fs-h1: 36px;
  --fs-h2: 32px;
  --fs-h3: 28px;
  --fs-h1-m: 26px;
  --fs-h2-m: 22px;
  --fs-h3-m: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  max-width: 1920px;
  margin: 0 auto;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  color: var(--text);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 15px;
}

h1 { font-size: var(--fs-h1); margin-bottom: 20px; }
h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
h3 { font-size: var(--fs-h3); margin-bottom: 16px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

p {
  margin: 0 0 16px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  filter: brightness(0.85);
}

ul, ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

ul { list-style: disc; }
ol { list-style: decimal; }

ul ul, ol ol, ul ol, ol ul {
  margin-bottom: 0;
}

li {
  margin-bottom: 6px;
}

li:last-child {
  margin-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

strong, b {
  font-weight: 700;
}

.btn {
  display: inline-block;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 5px;
  padding: 8px 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
  color: var(--primary);
  background: transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.m-50 {
  margin-top: 50px;
  margin-bottom: 50px;
}

@media (max-width: 767px) {
  h1 { font-size: var(--fs-h1-m); margin-bottom: 15px; }
  h2 { font-size: var(--fs-h2-m); margin-bottom: 14px; }
  h3 { font-size: var(--fs-h3-m); margin-bottom: 12px; }
  h4 { font-size: 20px; }
  h5 { font-size: 18px; }
  h6 { font-size: 16px; }

  p {
    margin-bottom: 14px;
  }

  .m-50 {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}

:root {
    --topbar-h: 36px;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    height: var(--topbar-h);
    background: var(--primary);
    transition: transform 0.3s ease;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.topbar-link:hover {
    color: #fff;
}

.topbar-link i {
    font-size: 16px;
}
.topbar-link i.fa.fa-phone {
    font-size: 14px;
}

body.scrolled .topbar {
    transform: translateY(-100%);
}

.site-header {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    z-index: 99;
    background: #e7e7e7;
    transition: top 0.3s ease;
}

body.scrolled .site-header {
    top: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}

.nav-list,
.dropdown {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item,
.dropdown li {
    margin: 0;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link,
.dropdown-link {
    display: inline-block;
    color: #181414;
    font-weight: 500;
}

.nav-link {
    padding: 8px 4px 8px 20px;
}

.dropdown-link {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

.nav-link:hover,
.dropdown-link:hover,
.dropdown-toggle:hover {
    color: var(--primary);
    filter: none;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    border: 0;
    background: none;
    color: #181414;
    cursor: pointer;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    min-width: 160px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.dropdown-wide {
    min-width: 220px;
}

.nav-toggle {
    display: none;
    padding: 5px 8px;
    border: 0;
    border-radius: 4px;
    background: #ccc;
    color: #2a2a2a;
    font-size: 18px;
    cursor: pointer;
}

.header-cta {
    padding: 8px 20px;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .has-dropdown:hover > .dropdown {
        display: block;
    }
}

@media (max-width: 767px) {
    .header-logo {
        order: 1;
    }

    .header-logo img {
        width: 80px;
    }

    .header-cta {
        order: 2;
        padding: 8px 15px;
        font-size: 14px;
    }

    .header-nav {
        order: 3;
    }

    .nav-toggle {
        display: block;
    }

    .nav-list {
        position: fixed;
        top: calc(var(--topbar-h) + 60px);
        left: 10px;
        right: 10px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        max-height: 80vh;
        padding: 15px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 9999;
    }

    body.scrolled .nav-list {
        top: 60px;
    }

    .nav-list.show {
        display: flex;
    }

    .nav-item {
        border-bottom: 1px solid #eee;
    }

    .nav-item:last-child {
        border-bottom: 0;
    }

    .nav-link {
        display: block;
        padding-left: 0;
    }

    .has-dropdown {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .has-dropdown > .nav-link {
        flex: 1;
    }

    .has-dropdown > .dropdown-toggle {
        justify-content: flex-end;
        width: 44px;
    }

    .dropdown {
        position: static;
        flex-basis: 100%;
        margin-top: 5px;
        box-shadow: none;
    }

    .has-dropdown.open > .dropdown {
        display: block;
    }

    .has-dropdown.open > .dropdown-toggle i {
        transform: rotate(180deg);
    }
}
/* ===== Footer ===== */
footer {
	background: #fff;
	padding-bottom: 20px;
	margin-top: 70px;
}
.footer-wrap {
	background: #F0F0F0;
	color: #333;
	border-radius: 16px;
	padding: 20px 40px;
}
.footer-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 40px;
	padding: 15px 40px;
	background: #fff;
	border-radius: 8px;
	margin-bottom: 30px;
}
.footer-top img {
	height: 60px;
	object-fit: contain;
}
.footer-main {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 20px;
}
.footer-logo {
	max-width: 160px;
	margin-bottom: 10px;
}
.footer-about p,
.footer-payment p {
	font-size: 14px;
	color: #555;
}
.footer-title {
	font-family: var(--t-family);
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 20px;
}
.footer-links ul,
.footer-contact ul {
	list-style: none;
	padding: 0;
	margin: 0;
	font-family: var(--t-family);
}
.footer-links li {
	margin-bottom: 8px;
}
.footer-links a {
	color: #333;
	font-size: 15px;
}
.footer-links a:hover {
	color: var(--primary);
}
.footer-contact li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0;
	font-size: 15px;
}
.footer-contact i {
	color: var(--primary);
	min-width: 16px;
}
.footer-social {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
}
.footer-social i {
	font-size: 26px;
	color: var(--primary);
}
.footer-bottom {
	padding-top: 15px;
	font-size: 14px;
	color: #333;
	text-align: center;
	font-family: var(--t-family);
}
.footer-bottom p {
	margin: 0;
}

@media (max-width: 991px) and (min-width: 601px) {
	.footer-main {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
	}
	.footer-top {
		justify-content: center;
	}
}
@media (max-width: 600px) {
	.footer-wrap {
		padding: 20px 10px;
	}
	.footer-top {
		justify-content: center;
		gap: 20px;
	}
	.footer-top img {
		flex: 0 0 calc(50% - 20px);
		max-width: calc(50% - 20px);
	}
	.footer-main {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.footer-about {
		display: flex;
		gap: 20px;
		align-items: center;
		margin-bottom: 20px;
	}
}

/* ===== Default page ===== */
.page-wrap {
	padding: 150px 0 60px;
}

@media (max-width: 600px) {
	.page-wrap {
		padding: 120px 0 40px;
	}
}
