:root {
    --primary-color: #223541;
    --secondary-color: #9bb5b8;
    --accent1-color: #b68745;
    --accent2-color: #5088f0;
    --heading-font: "Montserrat", sans-serif;
    --paragraph-font: "Source Sans 3", sans-serif;
    --shadow-light: 0 2px 8px rgba(27, 53, 65, 0.1);
    --shadow-medium: 0 2px 8px rgba(32, 83, 117, 0.7);
    --shadow-strong: 0 4px 24px rgba(27, 73, 101, 0.18)
}

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

body {
    font-family: var(--paragraph-font);
    font-weight: 400
}

img {
    width: 100%;
    display: block
}

a {
    text-decoration: none
}

footer,
header,
main {
    max-width: 1600px;
    margin: auto
}

.employee-gallery figcaption,
.hero-title,
.nav-menu a,
h1,
h2 {
    font-family: var(--heading-font)
}

h1 {
    font-size: 3rem;
    color: var(--primary-color)
}

h2 {
    font-size: 2.5rem;
    color: var(--accent1-color)
}

p {
    padding: 10px;
    color: #000
}

header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    background-color: var(--accent2-color);
    padding: 32px 0;
    box-shadow: 0 0 4px #8882;
    margin-bottom: 2rem
}

.logo {
    margin: 0 auto;
    width: 150px;
    object-fit: contain;
    border-radius: 4px
}

nav {
    display: flex;
    align-items: center;
    justify-content: center
}

.nav-menu {
    display: flex;
    box-shadow: var(--shadow-light);
    border-radius: 7px
}

.nav-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem 2.5rem;
    border: 1px solid #888;
    border-right: none;
    width: 190px;
    min-width: 120px;
    max-width: 190px;
    transition: background .3s, color .3s
}

.nav-menu a:last-child {
    border-right: 1px solid #888
}

.nav-menu a:focus,
.nav-menu a:hover {
    background: var(--accent1-color);
    color: #fff
}

.hero {
    position: relative;
    margin-bottom: 2rem
}

.hero-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover
}

.hero-home-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: top center
}

.hero-title {
    position: absolute;
    top: 28px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, .7);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.3rem;
    text-align: center;
    padding: 18px 0;
    margin: 0;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(27, 53, 65, .1);
    letter-spacing: 1px
}

.abs-article {
    background: rgba(255, 255, 255, .9);
    position: absolute;
    top: 60%;
    left: 3%;
    right: 3%;
    border-radius: 16px;
    box-shadow: var(--shadow-strong);
    color: var(--primary-color);
    padding: 24px 18px;
    z-index: 2
}

.abs-article-home {
    background: rgba(255, 255, 255, .9);
    position: absolute;
    top: 75%;
    left: 3%;
    right: 3%;
    border-radius: 16px;
    box-shadow: var(--shadow-strong);
    color: var(--primary-color);
    padding: 24px 18px;
    z-index: 2;
    text-align: center
}

.abs-article img {
    float: right;
    margin-left: 2em;
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .16)
}

.abs-article p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary-color);
    line-height: 1.5;
    margin: .5em 0;
    position: relative;
    padding-left: 2rem
}

.abs-article p::before {
    content: "“";
    font-size: 2.5rem;
    color: var(--accent1-color);
    position: absolute;
    left: 0;
    top: -.5rem;
    line-height: 1;
}

.employees,
.history {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 2em;
    margin: 50px 0;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1rem
}

.history h2 {
    grid-column: 1/4;
    text-align: center;
    padding-bottom: 1rem
}

.history p {
    text-align: justify
}

.history p:first-of-type {
    grid-column: 1/2;
    padding: 0 20px
}

.history img {
    grid-column: 2/3;
    max-width: 220px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--accent1-color);
    box-shadow: 0 1px 6px rgba(27, 73, 101, .1);
    margin: 0 auto
}

.history p:last-of-type {
    grid-column: 3/4;
    padding: 0 20px
}

.adventure {
    margin: 50px 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    justify-items: center;
    padding: 2rem 0
}

.adventure h2 {
    grid-column: 1/6;
    text-align: center;
    padding-bottom: 1rem
}

.adventure figure,
.employees,
.history {
    box-shadow: var(--shadow-medium)
}

.adventure figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 7px;
    margin: 0;
    padding: 1em;
    width: 100%;
    max-width: 180px;
    box-sizing: border-box;
    background: #e7f3f7
}

.adventure img {
    width: 100%;
    max-width: 140px;
    height: 120px;
    object-fit: cover;
    border-radius: 7px;
    margin: 0 auto
}

.adventure figcaption {
    text-align: center;
    font-size: 1rem;
    color: var(--primary-color);
    font-family: var(--heading-font);
    font-weight: 500;
    padding: .5em 0 .4em 0
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 1em 0;
    background-color: var(--accent2-color)
}

footer p {
    color: #000
}

.footer-social {
    position: absolute;
    right: 2em;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 1em
}

.footer-social img {
    width: 2rem
}

.contact-info {
    padding: 3rem 1rem;
    background-color: #fff
}

.container {
    max-width: 1100px;
    margin: 0 auto
}

.headquarters {
    flex: 1 1 45%;
    font-size: 1rem;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 5px solid var(--accent2-color);
    padding-left: 1.5rem
}

.map-container {
    flex: 1 1 45%;
    min-width: 300px;
    display: flex;
    align-items: center
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px
}

.employees h2 {
    grid-column: 1/4;
    text-align: center;
    padding-bottom: 1rem
}

.employee-gallery {
    grid-column: 1/4;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem
}

.employee-gallery figure {
    background-color: #f1f5f9;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    padding: 1.5rem;
    max-width: 200px;
    flex: 1 1 200px;
    text-align: center;
    font-family: var(--paragraph-font)
}

.employee-gallery img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    display: block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1)
}

.employee-gallery figcaption {
    text-align: center;
    color: var(--primary-color);
    line-height: .8;
    padding: 0;
    margin: 0
}

.employee-gallery .name {
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin-bottom: 0
}

.employee-gallery .role {
    font-weight: 500;
    font-size: 1rem;
    color: #444;
    margin-top: .2rem;
    line-height: 1.2
}

.employee-gallery figure:hover {
    transform: translateY(-5px);
    transition: transform .3s ease
}

.rectangle-3 {
    background-color: #edf0f4;
    text-align: center;
    padding: 3rem 1rem 2rem;
    width: 100%
}

.contact-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem
}

.headquarters h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: .5rem
}

.headquarters p strong {
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 1.5rem
}

.contact-line {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin: .5rem 0;
    font-size: 1rem;
    color: var(--primary-color)
}

.contact-line img {
    width: 24px;
    height: 24px;
    object-fit: contain
}

.contact-line a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500
}

.contact-line a:hover {
    text-decoration: underline
}

.hq-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    margin-bottom: 2rem
}

.hq-header h2,
.hq-header p {
    margin: 0;
    padding: 0
}

.form-section {
    max-width: 840px;
    margin: 2rem auto;
    padding: 2rem;
    background: #edf0f4;
    border-radius: 3px;
    font-family: "Open Sans", sans-serif;
    box-shadow: 0 2px 8px rgba(32, 83, 117, .3)
}

.form-title {
    text-align: center;
    color: #3b4754;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1.5rem
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.form-row {
    display: flex;
    gap: 1.5rem;
    flex-direction: column
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1
}

.form-group label {
    font-size: 16px;
    font-weight: 700;
    color: #3b4754;
    margin-bottom: .3rem
}

.form-input {
    height: 28px;
    padding: 4px 8px;
    font-size: 16px;
    border: 2px solid #c9d3dd;
    border-radius: 4px;
    color: #3b4754;
    background: #fff
}

.form-group.full-width {
    width: 100%
}

.form-textarea {
    height: 99px;
    padding: 6px 8px;
    font-size: 16px;
    border: 2px solid #c9d3dd;
    border-radius: 4px;
    resize: vertical;
    color: #3b4754;
    background: #fff
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem
}

fieldset legend {
    font-size: 16px;
    font-weight: 700;
    color: #3b4754;
    margin-bottom: .5rem
}

fieldset label {
    font-size: 16px;
    color: #232323;
    display: flex;
    align-items: center;
    gap: .5rem
}

.form-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem
}

.newsletter-section {
    background-color: var(--accent1-color);
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    margin-bottom: 3rem
}

.newsletter-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1100px;
    width: 100%
}

.newsletter-img-container {
    flex: 1 1 60%;
    overflow: hidden;
    border-radius: 10px
}

.newsletter-img-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px
}

.newsletter-overlay {
    position: absolute;
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
    background-color: #f3efec;
    padding: 2rem;
    width: 360px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    border-radius: 8px
}

.newsletter-overlay h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000;
    font-family: var(--heading-font)
}

.newsletter-overlay .form-group {
    margin-bottom: 1rem
}

.newsletter-overlay .form-input {
    width: 100%;
    padding: .5rem;
    border: 2px solid #c9d3dd;
    border-radius: 4px
}

.newsletter-overlay .form-button {
    width: 100%;
    padding: .7rem;
    background-color: var(--accent2-color);
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer
}

.newsletter-overlay .form-button:hover {
    background-color: #395ec0;
    color: #fff
}

.form-button {
    background: #29323d;
    color: #fff;
    padding: 5px 20px;
    border: 1px solid #29323d;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer
}

.form-button:hover {
    background: #3b4754
}

footer a {
    color: #000;
    font-weight: 500
}

footer a:hover {
    text-decoration: underline;
    color: #000
}

.intro-text {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background-color: #f6fbff;
    color: var(--primary-color)
}

.intro-text h2 {
    color: var(--accent1-color);
    font-family: var(--heading-font);
    font-size: 2rem;
    margin-bottom: .5rem
}

.intro-text p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6
}

.home-activities {
    padding: 4rem 1.5rem;
    background-color: #f9fbfc;
    text-align: center
}

.home-activities h2 {
    font-size: 2.5rem;
    font-family: var(--heading-font);
    color: var(--accent1-color);
    margin-bottom: 2rem
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto
}

.activity-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease
}

.activity-card img {
    width: 100%;
    height: 180px;
    object-fit: cover
}

.activity-card figcaption {
    font-size: 1.2rem;
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--primary-color);
    padding: 1rem;
    background-color: #f2f6f9
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong)
}

.why-choose-wrapper {
    display: flex;
    flex-wrap: wrap;
    background-color: #f6fbff;
    padding: 4rem 2rem;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between
}

.why-choose-left {
    flex: 1 1 40%;
    max-width: 500px
}

.why-choose-left h2 {
    font-size: 2.5rem;
    color: var(--accent1-color);
    font-family: var(--heading-font);
    margin-bottom: 1rem
}

.why-choose-left p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--primary-color);
    padding: 0;
}

.why-choose-right {
    flex: 1 1 55%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem
}

.why-choose-right p {
    padding: 0;
}

.reason-box {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-medium);
    text-align: left
}

.trip-descriptions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 3rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.trip {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.trip-card:nth-child(1) {
    grid-column: 1 / 3;
}

.trip-card:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
}

.trip-card:nth-child(2),
.trip-card:nth-child(3) {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.trip:hover {
    transform: translateY(-4px);
}

.trip img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.trip h2 {
    font-family: 'Montserrat', sans-serif;
    color: #b68745;
    font-size: 1.5rem;
    margin: 1rem;
}

.trip p {
    font-family: 'Source Sans 3', sans-serif;
    color: #333;
    margin: 0 1rem 1.5rem 1rem;
    line-height: 1.6;
}

.trip-table {
    padding: 3rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.trip-table h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--accent1-color);
    margin-bottom: 1rem;
}

.trip-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: var(--shadow-medium);
    border-radius: 8px;
    overflow: hidden;
}

.trip-table th,
.trip-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
    color: var(--primary-color);
}

.trip-table th {
    background-color: var(--secondary-color);
    color: #000;
    font-weight: 700;
    font-family: var(--heading-font);
}

.trip-table tr:last-child td {
    border-bottom: none;
}

.trips-cta {
    background-color: #f6fbff;
    text-align: center;
    padding: 3rem 1rem 2rem;
    margin: 0 auto;
    max-width: 1000px;
}

.trips-cta h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.trips-cta p {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.cta-button {
    background-color: var(--accent1-color);
    color: #000;
    padding: 0.6rem 1.5rem;
    margin-left: 0.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
    background-color: #a67334;
}

.trip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 2rem;
    padding: 3rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.trip-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.trip-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.trip-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.trip-content h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent1-color);
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
}

.trip-content p {
    font-family: 'Source Sans 3', sans-serif;
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
    padding: 0;
}