:root {
    --primary: #981E20;
    --secondary: #F15622;
    --text: #494949;
    --white: #ffffff;
    --light-gray: #f5f5f5;
}

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

body, .main-content p {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: var(--text);
    line-height: 1.6;
}

h1, h2, .hero-title {
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: var(--primary);
}

.hero-title {
    display: block;
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    transition: color 0.2s ease-in-out;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.2s ease-in-out;
}

nav a:hover {
    color: var(--primary);
}

nav a[href="contact.html"] {
    color: var(--secondary);
}

nav a[href="contact.html"]:hover {
    color: var(--primary);
}

nav a.active {
    color: var(--primary);
}

main {
    flex-grow: 1;
    margin-top: 0;
}

section {
    padding: 4rem 2rem;
}

.hero {
    background-color: var(--primary);
    color: var(--white);
    padding: 2.5rem 2rem;
    min-height: 195px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    gap: 1.5rem;
}

.hero-left {
    flex: 1 1 25%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 125px;
    height: 125px;
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto 0 auto;
}

.hero-right {
    flex: 3 1 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.curved-underline {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 22px;
    margin-top: -1.2rem;
}

.curve-up, .curve-down {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: draw-curve 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}

.curve-down {
    animation-delay: 0.7s;
}

@keyframes draw-curve {
    to {
        stroke-dashoffset: 0;
    }
}

.sites {
    background-color: var(--light-gray);
}

.site-grid {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.site-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.site-card:hover {
    transform: translateY(-5px);
}

.site-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.about, .contact {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.cta-button {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary);
}

footer {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 900px) {
    nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
    }
    .logo {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1202;
        margin-left: auto;
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
    }
    .offcanvas-menu {
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: #fff;
        z-index: 1201;
        transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
        box-shadow: 2px 0 16px rgba(0,0,0,0.08);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3.5rem;
    }
    .offcanvas-menu.open {
        left: 0;
    }
    .offcanvas-menu ul {
        list-style: none;
        padding: 0;
        margin: 2rem 0 0 0;
        width: 100%;
        text-align: center;
    }
    .offcanvas-menu li {
        margin: 1.5rem 0;
    }
    .offcanvas-menu a {
        font-size: 2rem;
        color: #981E20;
        text-decoration: none;
        font-family: "itc-avant-garde-gothic-pro", sans-serif;
        font-weight: 700;
        transition: color 0.2s;
        display: block;
        padding: 0.5rem 0;
    }
    .offcanvas-menu a.active, .offcanvas-menu a:focus, .offcanvas-menu a:hover {
        color: #F15622;
    }
    .close-menu {
        position: absolute;
        top: 1.2rem;
        left: 1.2rem;
        background: none;
        border: none;
        font-size: 2.5rem;
        color: #981E20;
        cursor: pointer;
        z-index: 1203;
    }
    .offcanvas-menu.open ~ nav .hamburger,
    .hamburger.menu-open {
        display: none !important;
    }
    .hero-content {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    .hero-left, .hero-right {
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .hero-title {
        font-size: 2rem;
    }
    .curved-underline {
        width: 160px;
    }
    .nav-links {
        display: none !important;
    }
    .card-row {
        flex-direction: column;
        gap: 2rem;
    }
    .card {
        max-width: 100%;
    }
    .card-grid-section {
        margin: 0 0 -20px 0;
        padding: 0 !important;
    }
    .exclusives-section {
        margin: -50px auto -30px auto;
        padding: 0 !important;
    }
    .simple-carousel-section {
        display: none !important;
    }
    .card-grid-section {
        display: block !important;
    }
    .main-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .exclusives-section .main-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 600px) {
    .main-section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .main-content {
        width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .main-content h2 {
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
    }
}

.glow {
    color: #fff;
    animation: glow-color 2s ease-in-out infinite alternate;
    font-weight: 700;
}

@keyframes glow-color {
    0% {
        color: #fff;
    }
    50% {
        color: #F15622;
    }
    100% {
        color: #fff;
    }
}

.main-section {
    width: 100%;
    min-height: 400px;
    background: url('assets/images/empower-wallpaper.jpg') center center / cover no-repeat fixed;
    padding: 1.5rem 2rem;
}

.main-content {
    width: 75%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2.5rem 2rem;
    text-align: center;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.main-content h2 {
    padding-top: 10px;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

.main-content p {
    color: var(--text);
    font-size: 1.32rem;
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.main-content p:last-child {
    margin-bottom: 0;
}

.highlight-orange {
    color: #F15622;
    font-weight: 700;
}

.underline {
    text-decoration: underline;
}

.card-grid-section {
    display: none;
}

.card-grid {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card-row {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.card {
    flex: 1;
    background: #fff;
    border: 3px solid var(--secondary);
    border-radius: 20px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    min-height: 100%;
    transition: transform 0.18s cubic-bezier(0.4,0,0.2,1), box-shadow 0.18s, border-color 0.18s;
    opacity: 0;
    transform: perspective(600px) rotateY(20deg) scale(0.98);
}

.card:hover {
    transform: translateY(-8px) scale(1.025);
    border-color: #981E20;
    box-shadow: 0 8px 32px rgba(152,30,32,0.12);
    z-index: 1;
}

.card.animate-flip {
    animation: card-flip-in 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes card-flip-in {
    0% {
        opacity: 0;
        transform: perspective(600px) rotateY(20deg) scale(0.98);
    }
    60% {
        opacity: 1;
        transform: perspective(600px) rotateY(-8deg) scale(1.03);
    }
    100% {
        opacity: 1;
        transform: perspective(600px) rotateY(0deg) scale(1);
    }
}

.card-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    margin-bottom: 1.2rem;
}

.card h3 {
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.card p {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 500;
    color: var(--text);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0.8rem;
}

.card p:has(.card-label) {
    text-align: left;
}

.card p:last-of-type {
    margin-bottom: 1.5rem;
}

.card-label {
    color: #F15622;
    font-weight: 700;
}

.card-button, .card-button:visited, .card-button:active, .card-button:focus {
    display: inline-block;
    background-color: #981E20;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: auto;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    outline: none;
}
.card-button:hover, .card-button:focus {
    background-color: #F15622;
    color: #fff;
}

.subscriber-heading {
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.375rem; /* 22px */
    line-height: 1.1;    /* 24px */
    margin-bottom: 1rem;
    text-align: center;
}

@media (max-width: 900px) {
    .card-grid {
        width: 100%;
        max-width: 100%;
        align-items: center;
    }
    .card-row {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        align-items: center;
    }
    .card {
        max-width: 100%;
        width: 100%;
    }
    .card-grid-section {
        margin: 0 0 -20px 0;
        padding: 0 !important;
    }
    .exclusives-section {
        margin: -50px auto -30px auto;
        padding: 0 !important;
    }
    .simple-carousel-section {
        display: none !important;
    }
    .card-grid-section {
        display: block !important;
    }
    .main-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .exclusives-section .main-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

.hero-single {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 0.7rem;
}

.hero-logo-stack {
    width: 140px;
    height: 140px;
    display: block;
    margin: 0 auto 0.7rem auto;
    padding-top: 20px;
}

.hero-logo-inline {
    width: 1.5em;
    height: 1.5em;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5em;
}

.glow-word {
    display: inline;
}

.glow-letter {
    display: inline-block;
    color: #fff;
    transition: color 0.1s, transform 0.2s cubic-bezier(0.4,0,0.2,1);
}

.glow-word {
    --step: 0;
}

.glow-word.animated {
    --step: 0;
}

.glow-word {
    animation: glow-parent 2s steps(10, end) infinite;
}

@keyframes glow-parent {
    0% { --step: 0; }
    10% { --step: 1; }
    20% { --step: 2; }
    30% { --step: 3; }
    40% { --step: 4; }
    50% { --step: 5; }
    60% { --step: 6; }
    70% { --step: 7; }
    80% { --step: 8; }
    90% { --step: 9; }
    100% { --step: 0; }
}

.glow-letter.highlight {
    color: #F15622 !important;
    transform: translateX(8px);
}

/* fallback for browsers that don't support CSS variables in selectors */
@media (prefers-reduced-motion: reduce) {
    .glow-word, .glow-letter { animation: none !important; }
}

.site-footer {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 2rem 0 1.5rem 0;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    margin-top: 2rem;
}

.contact-page {
    padding: 4rem 0;
    background: #fff;
    min-height: 60vh;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.contact-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#contact-form-embed {
    margin-top: 2rem;
}

.card-structured {
    text-align: left;
}

.card > .card-structured {
    text-align: left !important;
    width: 100%;
}

.carousel-section {
    width: 100%;
    margin: 2.5rem 0 2rem 0;
    padding: 0;
    background: none;
}

.carousel-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
    font-weight: 700;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 952px;
    margin: 0 auto;
    width: 952px;
    overflow: hidden;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    cursor: pointer;
    color: #981E20;
    font-size: 2.5rem;
    transition: color 0.2s;
    vertical-align: middle;
    outline: none;
    margin: 0;
    background: none;
    border: none;
    padding: 0;
}

.carousel-arrow.fa-circle-chevron-left {
    left: -1.5rem;
}

.carousel-arrow.fa-circle-chevron-right {
    right: -1.5rem;
}

.carousel-arrow:hover, .carousel-arrow:focus {
    color: #F15622;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    width: auto;
    margin: 0 auto;
}

.carousel-demo-card {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: 180px;
    margin: 0 0.75rem;
    flex: 0 0 280px;
    box-sizing: border-box;
    background: #f7f7f7;
    border: 2px solid #981E20;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: #981E20;
}

.carousel-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 2rem auto;
}

.carousel-row .card {
    flex: 1 1 220px;
    max-width: 290px;
    min-width: 220px;
}

@media (max-width: 1100px) {
    .carousel-row {
        gap: 1rem;
    }
    .carousel-row .card {
        max-width: 45vw;
    }
}
@media (max-width: 700px) {
    .carousel-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    .carousel-row .card {
        max-width: 95vw;
        min-width: 0;
    }
}

.carousel-arrow i {
    color: #981E20;
    font-size: 1.5rem;
    line-height: 1;
}
.carousel-arrow:hover i {
    color: #fff;
}

.simple-carousel-section {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: -10px auto 2rem auto;
    padding: 0;
    background: none;
}

.simple-carousel-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #981E20;
    font-weight: 700;
}
.simple-carousel-viewport {
    width: 1056px;
    max-width: 100vw;
    margin: 0 auto;
    overflow: hidden;
}
.simple-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    margin-left: 0;
    justify-content: flex-start;
}
.simple-carousel-card {
    width: 320px;
    height: 370px;
    margin: 0 16px;
    background: #f7f7f7;
    border: 3px solid #981E20;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 1.1rem;
    font-weight: 400;
    color: #981E20;
    box-sizing: border-box;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
    transition: border-color 0.2s;
    overflow: hidden;
    padding: 1.2rem 1.2rem 1rem 1.2rem;
    text-align: left;
}
.simple-carousel-card:hover {
    border-color: #F15622;
}
.simple-carousel-card a.card-logo-link {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.7rem;
}
.simple-carousel-card .card-logo {
    max-width: 140px;
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.simple-carousel-card .card-structured {
    font-size: 1rem;
    color: #494949;
    margin: 0.3rem 0;
    text-align: left;
    word-break: break-word;
}
.simple-carousel-card .card-label {
    font-size: 1.02rem;
    font-weight: 700;
    color: #F15622;
}
.simple-carousel-card .card-button {
    margin-top: 1.1rem;
    width: 100%;
    font-size: 1rem;
    padding: 0.7rem 0;
}
.simple-carousel-arrow {
    color: #981E20;
    font-size: 2.5rem;
    background: none;
    border: none;
    outline: none;
    transition: color 0.2s;
    padding: 0 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.simple-carousel-arrow:hover, .simple-carousel-arrow:focus {
    color: #F15622;
}
@media (max-width: 1199px) {
    .simple-carousel-viewport {
        width: 704px;
    }
    .simple-carousel-card {
        width: 320px;
        min-width: 320px;
        max-width: 320px;
    }
}
@media (max-width: 950px) {
    .simple-carousel-viewport {
        width: 98vw;
    }
    .simple-carousel-card {
        width: 30vw;
        min-width: 180px;
        max-width: 320px;
    }
}

@media (max-width: 700px) {
    .simple-carousel-viewport {
        width: 98vw;
    }
    .simple-carousel-card {
        width: 90vw;
        min-width: 120px;
        max-width: 98vw;
    }
}

.simple-carousel-card:first-child { margin-left: 0; }
.simple-carousel-card:last-child { margin-right: 0; }

.exclusives-section {
    margin: -50px auto -30px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('assets/images/empower-wallpaper.jpg') center center / cover no-repeat fixed;
}

.exclusives-title {
    color: #981E20;
    font-size: 1.09rem;
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.exclusives-desc {
    color: #494949;
    font-size: 1.32rem;
    line-height: 1.7;
    margin: 0 auto;
}

.hamburger {
    display: none;
}
@media (min-width: 901px) {
    .offcanvas-menu {
        display: none !important;
    }
}

.hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #981E20;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
} 