@import url('https://fonts.googleapis.com/css2?family=Teko:wght@700&family=Inter:wght@400;600;700&display=swap');

:root {
    --primary-orange: #ff6a00;
    --dark-bg: #1a2226;
    --darker-bg: #111518;
    --text-main: #333;
    --text-muted: #666;
    --font-heading: 'Teko', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background: #f8f9fa;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-orange {
    color: var(--primary-orange);
}

.link-orange {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
}

.link-orange:hover {
    text-decoration: underline;
}

.fw-bold {
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.btn {
    padding: 10px 24px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.3s;
}

.btn-primary {
    background: var(--primary-orange);
    color: white;
}

.btn-primary:hover {
    background: #e65c00;
}

.btn-outline-white {
    background: transparent;
    border-color: white;
    color: white;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline-dark {
    background: transparent;
    border-color: #333;
    color: #333;
}

.btn-outline-dark:hover {
    background: #333;
    color: white;
}

.btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #666;
    background: transparent;
    color: white;
    cursor: pointer;
}

.btn-circle:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.form-control {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    font-family: var(--font-body);
}

.display-heading {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    text-transform: uppercase;
    color: var(--dark-bg);
}

h4.display-heading {
    font-size: 2rem;
}

.top-bar {
    background: var(--darker-bg);
    color: #aaa;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact span {
    margin-right: 20px;
}

.top-contact i {
    color: var(--primary-orange);
    margin-right: 5px;
}

.top-social a {
    color: #aaa;
    margin-left: 15px;
    text-decoration: none;
}

.top-social a:hover {
    color: var(--primary-orange);
}

.navbar {
    background: var(--dark-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand .site-title {
    font-size: 1.2rem;
}

.navbar-brand .site-slogan {
    font-style: italic;
    font-size: 0.6rem;
}

.logo img {
    height: 45px;
    background: white;
    padding: 2px;
    border-radius: 4px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}

.nav-links a {
    color: #ddd;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 5px;
}

.hero {
    position: relative;
    padding: 100px 0 150px;
    overflow: hidden;
    min-height: 40vh;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.75) 100%);
    align-items: center;
}

.artical_banner .hero {
    padding: 40px 0 0;
    min-height: 60vh;
}
.page_text_banner .hero {
    padding: 40px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.hero-video,.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: -1;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgb(0 0 0 / 21%) 0%, rgb(0 0 0 / 66%) 100%);
    z-index: 0;
}

.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.page_text_banner .hero-inner {
    display: block;
}

.hero-content {
    color: white;
    max-width: 600px;
}

.page_text_banner .hero-content {
    max-width: 100%;
    text-align: center;
}

.article .hero-content {
    text-align: left;
}

.hero-subtitle {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 0.9;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content.events_page_content h1, .article h1 {
    font-size: 3rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.next-event-card {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 8px;
    color: white;
    width: 500px;
    border: 1px solid #ff6a00;
}

.next-event-label {
    color: var(--primary-orange);
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.next-event-card h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Change this number to limit to 1, 2, or 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.next-event-card p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.next-event-card i {
    color: var(--primary-orange);
    width: 15px;
    text-align: center;
}

.carousel-control-prev {
    left: -60px;
}

.carousel-control-next {
    right: -60px;
}

#nextEventCarousel {
    margin: 0 7%;
}

.stats-bar {
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.stats-inner {
    display: flex;
    justify-content: space-between;
    padding: 30px 40px;
}

#home_status {
    background-color: #ffffff;
    padding: 40px 0;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.stat-item i {
    color: #555;
    margin-right: 12px;
    width: 40px;
    text-align: center;
}

.stat-item h3 {
    display: flex;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    line-height: 1;
}

.stat-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;    
}

.section-padding {
    padding: 80px 0;
}

.section-header-split {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
    align-items: start;
}

.events-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.news-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.views-field-nothing, 
.field-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

.blog-card, .event-card {
    background: white;
    transition: 0.3s;
    height: 100%;
    position: relative;
}


.event-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.blog-card .btn.btn-primary::after, .event-card .btn.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.event-img-wrap {
    position: relative;
    height: 150px;
}

.event-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card a, .event-body a {
    margin: auto 0 0 0;
    width: 100%;
    display: block;
    text-decoration: none;
    text-align: center;
}

.event-body h4 {
    min-height: 50px;
    margin-bottom: 10px;
}

.event-meta {
    margin-bottom: 20px;
    min-height: 40px;
}

.diff-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: capitalize;
}

.diff-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.diff-event-badge, .diff-badge::before {
  --diff-bg-opacity: 1;
  background-color: rgba(var(--diff-rgb), var(--diff-bg-opacity)) !important;
}

.diff-event-badge[data-diff="easy"],.diff-badge[data-diff="easy"]::before {
  --diff-rgb: 94, 155, 94;
}

.diff-event-badge[data-diff="easy-moderate"],.diff-badge[data-diff="easy-moderate"]::before {
  --diff-rgb: 0, 100, 0;
}

.diff-event-badge[data-diff="moderate"],.diff-badge[data-diff="moderate"]::before {
  --diff-rgb: 255, 235, 59;
}

.diff-event-badge[data-diff="moderate-difficult"],.diff-badge[data-diff="moderate-difficult"]::before {
  --diff-rgb: 255, 152, 0;
}

.diff-event-badge[data-diff="challenging"],.diff-badge[data-diff="challenging"]::before {
  --diff-rgb: 244, 67, 54;
}

.diff-event-badge[data-diff*="technical"],.diff-event-badge[data-diff*="expedition"],.diff-badge[data-diff*="technical"]::before,
.diff-badge[data-diff*="expedition"]::before {
  --diff-rgb: 128, 0, 0;
}

.event-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Change this number to limit to 1, 2, or 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* .events-grid h4, .next-event-card h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 1px;
    margin-bottom: 15px;


} */

.event-body .loc {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 15px;
}

.event-meta i {
    color: #888;
    margin-right: 5px;
}

.dark-section {
    background: var(--dark-bg);
    padding: 80px 0;
    border-top: 5px solid #2a3439;
}

.dark-section-inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1fr;
    gap: 30px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
}

.blog-badge {
    background: var(--primary-orange);
    color: white;
    padding: 3px 8px;
    font-size: 0.5rem;
    font-weight: bold;
    align-self: flex-start;
    text-transform: uppercase;
    border-radius: 2px;
}

.blog-card h5 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;    
}

.blog-card p {
    font-size: 0.8rem;
    color: #888;
}

.blogs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.filter-bar {
    display: flex;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.filter-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
}

.footer {
    background: var(--darker-bg);
    color: #aaa;
    padding: 2rem 0 0 0;
    font-size: 0.9rem;
}

.region-footer {
    padding: 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr 1fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-logo {
    height: 45px;
    background: white;
    padding: 2px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.footer h4 {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--primary-orange);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-orange);
    margin-top: 4px;
}

.footer-bottom {
    padding: 20px 0;
    background: #0a0d0f;
    font-size: 0.85rem;
}

.page-section {
    display: none;
}

.page-section.active {
    display: block;
    animation: fadeIn 0.4s;
}

/* Home page css */

.home_page .region-content,.article_page .region-content, .page_content_type .region-content, .events_page .region-content {
    padding: 0;
}

.testimonial-carousel {
    position: relative;
}

.testimonial-carousel .carousel-inner {
    min-height: 250px;
}

.testimonial-card {
    background: transparent;
    padding: 10px 0;
}

.testimonial-text {
    color: #ccc;
    font-style: italic;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-name {
    color: #fff;
    margin-bottom: 4px;
}

.testimonial-role {
    color: #888;
    font-size: 0.9rem;
}

.testimonial-nav-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 10px;
}

.testimonial-nav-btn {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.testimonial-nav-btn:hover {
    border-color: #fff;
    color: #fff;
    transform: scale(1.05);
}

.testimonial-nav-btn i {
    font-size: 16px;
}

.testimonial-indicators {
    position: static;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    object-fit: cover;
}

.testimonial-indicators [data-bs-target] {
    width: 7px;
    height: 7px;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
}

.testimonial-indicators .active {
    background: #fff;
}

.google-review-badge {
    display: block;
}

.google-logo {
    width: 30px;
    height: 30px;
}

.google-rating {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.google-star-icon {
    font-size: 1rem;
    color: #fbbc04;
}

.google-review-count {
    font-size: 0.9rem;
    color: #ffffff;
}

.google-review-count a {
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.google-review-count a:hover {
    color: var(--primary-orange);
    text-decoration: none;
}

.btn-google-review {
    background-color: #1a73e8;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.7rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-google-review:hover {
    background-color: #1557b0;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.blogs-col {
    background: white;
    padding: 30px;
    border-radius: 8px;
}

.newsletter-col {
    background: #4a5c4b;
    padding: 40px 30px;
    border-radius: 8px;
}

/* about us page  */

.core_values {
    background: var(--dark-bg);
    color: white;
}

/* Events Internal Pages */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.z-400 {
    z-index: 400;
}

.itinerary {
    width: 50px;
    height: 50px;
    background-color: #ff6a00;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
}

.highlights {
    width: 48px;
    height: 48px;
    background-color: #ff6a00;
    color: white;
}
/* Teams Page  */

#teamCategories .list-group-item {
    border: none;
    padding: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

#teamCategories .list-group-item.active {
    border-left-color: var(--primary-orange);
    background: rgba(255,106,0,0.05);
    color: var(--primary-orange);
}

#teamCategories .list-group-item:hover {
    background: rgba(0,0,0,0.05);
}

/* Article page  */
.news-grid .event-body {
    padding: 30px 11px 10px;
}
.news-grid .event-img-wrap {
    height: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Safe responsive layer with Bootstrap loaded, structure unchanged */
html {
    -webkit-text-size-adjust: 100%;
}

html,
body {
    overflow-x: hidden;
}

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

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 4.8rem;
    }

    .full-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

@media (max-width: 1023.98px) {
    .navbar {
        font-size: 0.9rem;
    }
}

@media (max-width: 991.98px) {

    .top-bar-inner,
    .nav-inner,
    .hero-inner,
    .stats-inner,
    .dark-section-inner,
    .footer-inner,
    .filter-bar,
    .section-header-split {
        gap: 20px;
    }

    .hero {
        padding: 72px 0 110px;
    }

    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .next-event-card {
        width: 100%;
        max-width: 420px;
    }

    .stats-inner {
        flex-wrap: wrap;
        padding: 24px;
    }

    .stat-item {
        width: calc(50% - 10px);
    }

    .section-header-split,
    .dark-section-inner,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .full-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-bar {
        flex-wrap: wrap;
    }

    .filter-group {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 767.98px) {
    .top-bar {
        display: none;
    }

    .navbar {
        padding: 12px 0;
    }

    .nav-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 14px;
    }

    .hero {
        padding: 56px 0 90px;
    }

    .next-event-card {
        width: 100%;
        max-width: 100%;
    }    

    .hero-content h1,
    .display-heading {
        font-size: 3rem;
        line-height: 0.95;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .stats-bar {
        margin-top: -20px;
    }

    .events-grid,
    .full-grid,
    .blogs-grid {
        grid-template-columns: 1fr;
    }

    .filter-group {
        min-width: 100%;
    }

    .footer {
        padding-top: 48px;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding: 0 16px;
    }

    .logo img,
    .footer-logo {
        height: 38px;
    }

    .hero-content h1,
    .display-heading {
        font-size: 2.45rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .next-event-card {
        padding: 22px;
    }

    .next-event-card h3 {
        font-size: 1.8rem;
    }

    .next-event-card .carousel-control-prev, .next-event-card .carousel-control-next {
        display: none;
    }   

    .stats-inner {
        padding: 18px 16px;
    }

    .stat-item {
        align-items: flex-start;
    }

    .event-img-wrap {
        height: 220px;
    }

    .btn,
    .form-control {
        width: 100%;
    }

    .footer-social {
        flex-wrap: wrap;
    }
}

@media (max-width: 436.98px) {
    .navbar-brand .site-title {
        font-size: 0.7rem;
    }
    .about_us .card-body i {
        display: none;
    }
}

@media (max-width: 420.98px) {
    .navbar-brand .site-title {
        font-size: 0.5rem;
    }
    .section-padding {
        padding: 40px 15px !important;
    }
    .stat-item h3 {
        font-size: 1.2rem;
    }
    .stat-item p {
        font-size: 0.5rem;  
    }
    .about_us .card-body h5{
        font-size: 0.7rem;
    }
    .about_us .card-body p{
        font-size: 0.5rem;
    }    

}