/* main hub */

/* header */
.main-hub-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #fff;
	padding: 1rem 0;
}

.main-hub-header-container {
	max-width: calc(100% - 4rem);
	margin-inline: auto;
}

.main-hub-header-logo {
    height: auto;
    width: 180px;
    display: block;
}


/* Hero */
.main-hub-hero {
 	position: relative;
    overflow: hidden;
    font-family: var(--uc-font-body);
    background-color: #e6e6e7;
    padding: clamp(220px, 17.67vw, 368px) 0;
}
.main-hub-img {
	position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
    z-index: 0;
}
.main-hub-hero-inner {
	position: relative;
    z-index: 1;
  max-width: min(1802px, calc(100% - 8rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
}

@media (max-width: 576px) {
	.main-hub-header-logo {
		width: 120px;
	}
	.main-hub-header {
		padding: .5rem 0;
	}
}

/* Country card */
.country-card {
	width: 100%;
    max-width: 575px;
    padding: 38px 28px 40px;
    display: flex;
    justify-content: center;
	gap: 25px;
    flex-direction: column;
	border-radius: 16px;
background: #FFF;
box-shadow: 0 4px 63.5px -14px rgba(0, 0, 0, 0.25);
}
.country-card h1 {
  font-size: clamp(24px, 1.44vw, 23px);
	color: #63635E;
font-family: "Work Sans";
font-weight: 700;
line-height: 1;
text-transform: uppercase;
  text-transform: uppercase;
	margin: 0;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.country-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--uc-btn-bg);
    border: 0;
    border-radius: 9px;
    padding: 9px 12px;
    font-size: 13.5px;
    color: var(--uc-text-dark);
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease;
}
.country-btn:hover { background: var(--uc-btn-bg-hover); }

.flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown {
	position: relative;
}

.dropdown a{
	text-decoration: none;
}

.dropdown-selected {
    display: flex;
    align-items: center;
	justify-content: space-between;
    padding: 12px 32px 12px 18px;
    border-top-left-radius: 6px;
border-top-right-radius: 6px;
    cursor: pointer;
    background: #F0EFF0;
	    width: 70%;
}

.selected-content {
	display: flex;
    align-items: center;
	gap: 20px;
}

.dropdown-selected .down-arrow {
	width: 20px;
	height: auto;
}

.dropdown-selected img,
.option img {
    width: 40px;
    height: auto;
}

.options {
    position: absolute;
    width: 100%;
    margin-top: 5px;
    display: flex;
	flex-direction: column;
	gap: 5px;
	background: #fff;
    overflow: hidden;
    z-index: 10;
}

.option {
    display: flex;
    align-items: center;
	background: #F0EFF0;
     gap: 20px;
   padding: 12px 32px 12px 18px;
    cursor: pointer;
}

.option-txt {
color: #63635E;
font-family: "Work Sans";
font-size: clamp(16px, 1.153vw, 24px);
font-weight: 600;
line-height: 1;
text-transform: capitalize;
}

.option:hover {
    background: #f2f2f2;
}


@media (max-width: 1400px) {


	.country-card h1 {
		font-size: 20px;
	}
	.dropdown-selected {
		padding: 8px 24px 8px 12px;
	}
	.dropdown-selected img, .option img {
    width: 36px;
}
	.selected-content{
		gap: 14px;
	}
	.option-txt {
		font-size: 15px;
	}
}



/* ---- Mobile ---- */
@media (max-width: 768px) {
	.main-hub-hero-inner {
		max-width: calc(100% - 4rem)
	}
	.country-card {
		 padding: 20px 16px 24px;
		max-width: 460px;
		gap: 16px;
}
	.country-card h1 {
		font-size: 18px;
	}
	.dropdown-selected {
		padding: 8px 24px 8px 12px;
	}
	.dropdown-selected img,
.dropdown-selected img, .option img {
    width: 36px;
    height: auto;
}
	.selected-content{
		gap: 12px;
	}
	.option-txt {
		font-size: 16px;
	}
}


/* second footer */

.uc-hub-footer {
	border-top:  4px solid #8586AE;
background: #63635E;
	color: var(--color-white);
    padding: 36px 0 28px
}

.uc-hub-container {
	max-width: calc(100% - 6rem);
	margin-inline: auto;
}

.uc-hub-top-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.uc-hub-top-footer img {
	width: 180px;
	height: auto;
}

.uc-hub-footer-menu {
	display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.uc-hub-footer-menu li:not(:last-child)::after {
    content: "|";
    margin: 0 10px;
	color: #fff;
}

.uc-hub-footer-menu a {
    text-decoration: none;
	color: #FFF;
font-family: "Work Sans";
font-size: 14px;
font-weight: 400;
}

.uc-hub-footer-menu a:hover {
    color: #57b5de;
}

.uc-hub-bottom-footer {
	display: flex;
	gap: 28px;
	margin-top: 62px;
}

.uc-hub-bottom-footer >p{
	color:  #FFF;
font-family: "Work Sans";
font-size: 14px;
font-weight: 400;
	margin: 0;
}

@media (max-width: 768px) {
	.uc-hub-container {
	max-width: calc(100% - 4rem);
}
	.uc-hub-top-footer {
		flex-direction: column;
		gap: 1rem;
		align-items: flex-start;
	}
	.uc-hub-footer-menu {
		flex-direction: column;
		gap: 1rem;
	}
	 .uc-hub-footer-menu li:not(:last-child)::after {
        content: none; 
    }
	
	.uc-hub-bottom-footer {
		margin-top: 2rem;
	flex-direction: column;
		gap: 1rem;
	}
	
}

/* error-page */
.error-404-section {
	background: var(--uc-neutral-100);
	padding: 4rem 0;
}

.error-404-head {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.error-404-head h1 {
	margin: 0;
	padding: 0;
	font-size: 6rem;
	color: #668A12;
	font-family: var(--uc-font-body);
	font-weight: 700;
    line-height: 1.2;
}

.error-404-head p {
	    font-size: 32px;
    font-weight: 700;
    color: var(--uc-neutral-900);
    line-height: 1.2;
	margin: 0;
	padding: 0;
	font-family: var(--uc-font-display);
}

.error-404-head a {
	text-decoration: none;
	padding: 12px 18px;
	border-radius: 50px;
	background-color: #8586AE;
	color: #fff;
	font-size: 18px;
	margin-top: 24px;
	
	&:hover {
		background-color: #6F7098;
	}
}

@media(max-width: 768px){
	.error-404-head h1 {
		font-size: 4rem;
	}
	.error-404-head p {
		font-size: 24px;
	}
}
