@import url('https://fonts.cdnfonts.com/css/alumni-sans');

:root {
    --sambucus: #1b134a;
    --burnt-pumpkin: #c59161;
    --astrogranite: #707173;
    --december-sky: #d7d8d9;
    --snowflake: #eeefef;
    --sambucusbg: rgb(27, 19, 74, 0.1);
}
html {
    scroll-behavior: smooth;
}



.splide__arrow {
    background: var(--burnt-pumpkin);
}
.splide__arrow svg {
    fill: #fff;
}
.splide__pagination__page.is-active {
    background: var(--burnt-pumpkin);
}

.snapcontainer {
    overflow-y: hidden;
    scroll-snap-type: y mandatory;
}
.heading-primary1{
    font-family: 'Helvetica Neue Condensed Bold', sans-serif;
    color: var(--sambucus);
}
/* Add this class to sections you want to snap to */
.snap-section {
    scroll-snap-align: start;
}
.custom-shape-divider-bottom-1738127494 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.missionimg {
    max-height: 350px;
}
.custom-shape-divider-bottom-1738127494 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 37px;
}

.custom-shape-divider-bottom-1738127494 .shape-fill {
    fill: #d7d8d93d;
}

.custom-shape-divider-top-1738127115 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-top-1738127115 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 37px;
}

.custom-shape-divider-top-1738127115 .shape-fill {
    fill: #d7d8d93d;
}


/* Typography */
.heading-primary {
    font-size: 2.25rem;
    margin-bottom: 20px;
    color: var(--sambucus);
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.1);
}        

.text-regular {
    font-family: 'Helvetica Neue Condensed Bold', sans-serif;
    color: var(--astrogranite);
    font-size: 1rem;
}

.text-large {
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Components */
.section-underline {
    height: 4px;
    width: 100px;
    margin:auto;
    background-color: var(--burnt-pumpkin);
}

.btn-primary-custom {
    background-color: var(--burnt-pumpkin);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--sambucus);
    transform: translateY(-2px);
}

.parallax {
    background-image: linear-gradient(rgba(255, 255, 255, 0.185), rgba(255, 255, 255, 0)), 
    url('../images/hero.webp');
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.aboutoneness{
    background-color: var(--snowflake);
}
/* iOS fix - background-attachment: fixed não funciona bem em iOS */
@supports (-webkit-touch-callout: none) {
    .parallax {
        background-attachment: scroll;
    }
}

/* Modified pseudo-element for top-to-bottom gradient overlay */
.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 10%,
        rgba(255, 255, 255, 0.7) 30%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none; /* Allows clicks to pass through to elements below */
}

.hero-content {
    padding: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto; /* Mudado de '0 1rem' para '0 auto' para centralizar melhor */
    position: relative;
    z-index: 2;
    background: transparent;
    width: 90%; /* Adicionado para controle responsivo */
}

.hero-content img {
    max-height: 275px;
    max-width: 100%; /* Adicionado para responsividade */
    height: auto; /* Adicionado para manter proporção */
}

.hero-content::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(
        circle at center,
        rgba(27, 19, 74, 0.4) 0%,
        rgba(27, 19, 74, 0.35) 20%,
        rgba(27, 19, 74, 0.25) 40%,
        rgba(27, 19, 74, 0.15) 60%,
        rgba(27, 19, 74, 0.05) 80%,
        rgba(27, 19, 74, 0) 100%
    );
    z-index: -1;
    border-radius: 200px;
    filter: blur(20px);
}

/* Improve text visibility with text shadows */
.hero-content h1 {
    font-weight: 700;
    color: var(--snowflake);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.801);
    margin-bottom: 1rem;
    font-size: 3.5rem;
}

.hero-content p {
    color: var(--snowflake);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Media query mínima para mobile */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    .heading-primary{
        font-size: 1.8rem;
    }
}

/* Button styling */
.hero-content .btn {
    background-color: #e9b053;
    color: #333;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    border: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.hero-content .btn:hover {
    background-color: #f0c478;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.hero-content img{height: 275px;}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

/* Cards */
.card-image-container {
    height: 50%;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    height: 50%;
}

/* Video Section */
.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.video-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Background Colors */
.bg-custom-snowflake {
    background-color: var(--snowflake);
}

.bg-custom-december {
    background-color: var(--december-sky);
}

.bg-custom-sambucus {
    background: radial-gradient(circle at center, 
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 40%,
    rgba(255, 255, 255, 0.8) 60%,
    rgba(255, 255, 255, 0.2) 80%,
    rgba(255, 255, 255, 0) 100%),
linear-gradient(to bottom, 
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.7) 80%,
    rgba(255, 255, 255, 0) 100%);
    
}

/* Footer */
.logo-height {
    height: 3.5em;
}

.logo-height img {
    height: 3.5em;

}
.logo-height:nth-child(1) img {
    content: url('../images/icons/logogold.png'); 
   
}

.logo-height.scrolled:nth-child(1) img {
    content: url('../images/icons/logoblue.png'); 
   
}


@keyframes social-pulse {
    0% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.15); 
        opacity: 0.8;
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }}

.footer-link {
    color: var(--sambucus);
    text-decoration: none;
}

.footer-link:not(:last-child) {
    margin-right: 1rem;
}

.social-icon {
    width: 24px;
    height: 24px;
}

.social-icon-link:not(:last-child) {
    margin-right: 1rem;
}

/* Form Styles */
.form-control-lg {
  
    font-size: 1.1rem;
}



/* Media Queries */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .text-large {
        font-size: 1.2rem;
    }
}



h2 {
    font-size: 2.25rem;
    font-weight: bold;
    text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.1);
}

.section-underline {
    width: 100px;
    height: 3px;
    background: transparent;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.section-underline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--burnt-pumpkin);
    transform-origin: center;
    animation: expandShrink 6s ease-in-out infinite;
}

@keyframes expandShrink {
    0% {
        transform: scaleX(0.3);
    }
    50% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(0.3);
    }
}

.mission-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #dee2e6;
    background-color: #fff;
    flex-wrap: nowrap; /* Ensure tabs stay in a single row */
}

.mission-tab-content {
    margin-top: -1px;
    border: 1px solid #dee2e6;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.mission-tab-item {
    flex: 1;
    min-width: 0; /* Allow flex items to shrink below content size */
}

.mission-tab-link {
    width: 100%;
    padding: 1rem 0.5rem; /* Reduced horizontal padding for mobile */
    border: 1px solid transparent;
    border-radius: 0.25rem 0.25rem 0 0;
    background: none;
    color: var(--sambucus);
    font-family: 'Helvetica Neue Condensed Bold', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis for overflowing text */
    text-align: center;
    font-size: 1rem;
}

.mission-tab-link:hover {
    border-color: #e9ecef #e9ecef #dee2e6;
    background-color: #f8f9fa;
}

.mission-tab-link.active {
    color: var(--burnt-pumpkin);
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

.mission-tab-pane {
    display: none;
    padding: 1.5rem;
}

.mission-tab-pane.show {
    display: block;
}

.mission-tab-title {
    font-family: 'Helvetica Neue Condensed Bold', sans-serif;
    color: var(--sambucus);
    font-size: 1.25rem;
}

.mission-tab-text {
    font-family: 'Helvetica Neue Condensed Bold', sans-serif;
    color: var(--astrogranite);
    line-height: 1.6;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mission-tab-link {
        padding: 0.75rem 0.5rem; /* Slightly reduced padding */
        font-size: 0.9rem; /* Slightly smaller font */
    }

    .mission-tab-pane {
        padding: 1rem; /* Slightly reduced padding */
    }
    
    .mission-tab-title {
        font-size: 1.1rem; /* Slightly smaller title */
    }
    
    .mission-tab-text {
        font-size: 0.95rem; /* Slightly smaller text */
    }
}

.animated-card-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 2px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.animated-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.animated-border::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        transparent 25%,
        var(--burnt-pumpkin) 25%,
        var(--burnt-pumpkin) 50%,
        transparent 50%,
        transparent 75%,
        var(--burnt-pumpkin) 75%
    );
    animation: rotate 60s linear infinite;
}

.animated-border::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: white;
    border-radius: 6px;
}

.card {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 6px;
    overflow: hidden;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Adjust card image container for new structure */
.card-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Add hover effect */
.animated-card-wrapper:hover .animated-border::before {
    animation-duration: 45s;
}

.animated-card-wrapper:hover .card-image {
    transform: scale(1.05);
}