/* Base Styles & Reset */

:root {
    --primary: #c1ff00;
    --primary-dark: #a4d500;
    --dark: #000;
    --light: #ecf0d1;
    --gray: #333;
    --light-gray: #666;
    --medium-text: #6e774b;
    --gradient: linear-gradient(90deg, #c1ff00, #a4d500);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: var(--light);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}


/* Buttons */

.btn-contact,
.btn-started {
    display: inline-block;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-contact {
    background: var(--primary);
    color: var(--dark);
}

.btn-started {
    background: transparent;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 10px;
}

.btn-contact:hover,
.btn-started:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-contact:hover {
    background: var(--primary-dark);
}

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

.lets-start-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    position: absolute;
    bottom: 80px;
    right: 20px;
    z-index: 10;
    transition: all 0.3s ease;
}

.lets-start-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(193, 255, 0, 0.3);
}


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
}


/* Universal Green Line */

.universal-divider {
    width: 75%;
    height: 2px;
    background: var(--primary);
    margin: 40px auto;
    position: relative;
    overflow: hidden;
}

.universal-divider::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    animation: shine 2s infinite linear;
}

@keyframes shine {
    0% {
        left: -100px;
    }
    100% {
        left: 100%;
    }
}


/* Custom Green Scrollbar */


/* Chrome, Edge, Safari */

::-webkit-scrollbar {
    width: 10px;
    /* scrollbar width */
}

::-webkit-scrollbar-track {
    background: #000000;
    /* light green track */
}

::-webkit-scrollbar-thumb {
    background: #33ff00;
    /* main green handle */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c1ff00;
    /* darker on hover */
}


/* Firefox */

* {
    scrollbar-width: thin;
    scrollbar-color: #c1ff00 #000000;
    /* thumb color | track color */
}


/* Header & Navigation */

header {
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(8px);
    /* For Safari */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
    z-index: 1001;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    left: 0;
    bottom: -4px;
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

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

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

.btn-contact,
.btn-started {
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-contact {
    border: 1px solid var(--light);
    color: var(--light);
    background: transparent;
}

.btn-contact:hover {
    background: var(--light);
    color: var(--dark);
}

.btn-started {
    background: var(--primary);
    color: var(--dark);
    border: 1px solid var(--primary);
}

.btn-started:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--light);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu .nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 15px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .nav-link:after {
    display: none;
}

.mobile-menu .header-buttons {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.mobile-menu .btn-contact,
.mobile-menu .btn-started {
    padding: 15px 30px;
    font-size: 1.1rem;
    text-align: center;
    width: 200px;
}


/* Tablet Styles (768px - 1024px) */

@media (max-width: 1024px) {
    nav {
        padding: 0 30px;
    }
    .nav-links {
        gap: 30px;
    }
    .logo {
        font-size: 1.6rem;
    }
    .logo-img {
        height: 35px;
    }
    .nav-link {
        font-size: 0.9rem;
    }
    .btn-contact,
    .btn-started {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .btn-started {
        display: none;
    }
}


/* Tablet-only styles (769px - 1024px) - Keep buttons visible */

@media (max-width: 1024px) and (min-width: 769px) {
    .header-buttons {
        display: flex;
        /* Ensure buttons stay visible on tablets */
    }
    .hamburger {
        display: none;
        /* Keep hamburger hidden on tablets */
    }
    .nav-links {
        display: flex;
        /* Keep navigation visible on tablets */
    }
}


/* Mobile Styles (up to 768px) */

@media (max-width: 768px) {
    nav {
        padding: 0 20px;
    }
    .nav-links {
        display: none;
    }
    .header-buttons {
        display: none;
        /* Hide desktop buttons */
    }
    .hamburger {
        display: flex;
        /* Show hamburger */
    }
    .logo {
        font-size: 1.4rem;
    }
    .logo-img {
        height: 32px;
        margin-right: 8px;
    }
    header {
        padding: 15px 0;
        background: rgba(0, 0, 0, 0.3);
    }
    /* Ensure mobile menu buttons are visible */
    .mobile-menu .header-buttons {
        display: flex;
    }
}


/* Small Mobile Styles (up to 480px) */

@media (max-width: 480px) {
    nav {
        padding: 0 15px;
    }
    .logo {
        font-size: 1.2rem;
    }
    .logo-img {
        height: 28px;
        margin-right: 6px;
    }
    .mobile-menu .nav-link {
        font-size: 1.3rem;
        padding: 12px;
    }
    .mobile-menu .btn-contact,
    .mobile-menu .btn-started {
        width: 180px;
        padding: 12px 25px;
    }
    .btn-started {
        display: none;
    }
    .hamburger {
        width: 25px;
        height: 20px;
    }
    .hamburger span {
        height: 2px;
    }
}


/* Landscape Mobile Orientation */

@media (max-width: 768px) and (orientation: landscape) {
    header {
        padding: 10px 0;
    }
    .mobile-menu {
        padding: 20px 0;
    }
    .mobile-menu .nav-link {
        font-size: 1.2rem;
        padding: 10px;
    }
    .mobile-menu .header-buttons {
        margin-top: 20px;
        gap: 15px;
    }
    .mobile-menu .btn-contact,
    .mobile-menu .btn-started {
        padding: 10px 20px;
        font-size: 1rem;
    }
}


/* Demo content for testing */

.demo-content {
    margin-top: 100px;
    padding: 50px 20px;
    text-align: center;
    color: white;
}


/* Hero Section - Updated */

.hero {
    height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(circle, rgba(184, 187, 173, 0.3) 0%, rgba(0, 0, 0, 0.9) 40%);
    /* Added radial gradient for circular shade */
}

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

.hero-title {
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: var(--light);
    text-align: center;
    font-size: 8rem;
    /* Increased font size */
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    /* Prevents line breaks */
}

.light-text {
    color: var(--light);
}

.medium-text {
    color: var(--medium-text);
}


/* Navigation labels */

.prev-next-navigation {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.prev-label,
.next-label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--light);
    letter-spacing: 2px;
}

.prev-label {
    margin-left: 30px;
}

.next-label {
    margin-right: 30px;
}


/* Metrics cards */

.hero-metrics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    pointer-events: none;
}

.metric-card {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 15px;
    color: var(--light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-icon {
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.metric-icon img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(0);
}

.metric-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.8;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.hours-card {
    left: 20%;
    top: 40%;
    transform: rotate(-15deg);
}

.poses-card {
    right: 20%;
    top: 40%;
    transform: rotate(15deg);
}

.kcal-card {
    left: 25%;
    bottom: 30%;
    transform: rotate(-15deg);
}

.sets-card {
    right: 25%;
    bottom: 30%;
    transform: rotate(15deg);
}


/* Hero Image */

.hero-image {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.fitness-model {
    width: 700px;
    height: 670px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
}


/* Community section */

.community-section {
    position: absolute;
    bottom: 90px;
    left: 50px;
    display: flex;
    align-items: center;
    z-index: 5;
}

.community-images {
    display: flex;
}

.community-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--dark);
    margin-left: -10px;
    object-fit: cover;
}

.community-img:first-child {
    margin-left: 0;
}

.community-count {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.count-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.count-label {
    font-size: 0.9rem;
    opacity: 0.8;
}


/* Community section */

.community-section {
    position: absolute;
    bottom: 90px;
    left: 50px;
    display: flex;
    align-items: center;
    z-index: 5;
}

.community-images {
    display: flex;
}

.community-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--dark);
    margin-left: -10px;
    object-fit: cover;
}

.community-img:first-child {
    margin-left: 0;
}

.community-count {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.count-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.count-label {
    font-size: 0.9rem;
    opacity: 0.8;
}


/* Slider */

.brand-slider {
    background: #000000;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    position: relative;
    width: calc(200px * 12);
    animation: scroll 25s linear infinite;
}

.brand-slider .slide {
    min-width: 200px;
    padding: 0 40px;
    flex-shrink: 0;
}

.brand-slider .slide img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: opacity 0.3s ease, filter 0.4s ease;
    pointer-events: none;
}

.brand-slider .slide img:hover {
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 6));
    }
}

.slider-track:hover {
    animation-play-state: paused;
}


/* Hero Section - Responsive */

.hero {
    height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(circle, rgba(184, 187, 173, 0.3) 0%, rgba(0, 0, 0, 0.9) 40%);
}

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

.hero-title {
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: var(--light);
    text-align: center;
    font-size: 8rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.light-text {
    color: var(--light);
}

.medium-text {
    color: var(--medium-text);
}


/* Navigation labels */

.prev-next-navigation {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.prev-label,
.next-label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--light);
    letter-spacing: 2px;
}

.prev-label {
    margin-left: 30px;
}

.next-label {
    margin-right: 30px;
}


/* Metrics cards */

.hero-metrics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    pointer-events: none;
}

.metric-card {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 15px;
    color: var(--light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-icon {
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.metric-icon img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(0);
}

.metric-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.8;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.hours-card {
    left: 20%;
    top: 40%;
    transform: rotate(-15deg);
}

.poses-card {
    right: 20%;
    top: 40%;
    transform: rotate(15deg);
}

.kcal-card {
    left: 25%;
    bottom: 30%;
    transform: rotate(-15deg);
}

.sets-card {
    right: 25%;
    bottom: 30%;
    transform: rotate(15deg);
}


/* Hero Image */

.hero-image {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.fitness-model {
    width: 700px;
    height: 670px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
}


/* Community section */

.community-section {
    position: absolute;
    bottom: 90px;
    left: 50px;
    display: flex;
    align-items: center;
    z-index: 5;
}

.community-images {
    display: flex;
}

.community-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--dark);
    margin-left: -10px;
    object-fit: cover;
}

.community-img:first-child {
    margin-left: 0;
}

.community-count {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.count-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.count-label {
    font-size: 0.9rem;
    opacity: 0.8;
}


/* Brand Slider */

.brand-slider {
    background: #000000;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    position: relative;
    width: calc(200px * 12);
    animation: scroll 25s linear infinite;
}

.brand-slider .slide {
    min-width: 200px;
    padding: 0 40px;
    flex-shrink: 0;
}

.brand-slider .slide img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: opacity 0.3s ease, filter 0.4s ease;
    pointer-events: none;
}

.brand-slider .slide img:hover {
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 6));
    }
}

.slider-track:hover {
    animation-play-state: paused;
}


/* RESPONSIVE STYLES */


/* Tablet Styles (768px - 1024px) */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 6rem;
        top: 25%;
        white-space: normal;
        max-width: 90%;
        line-height: 1.2;
    }
    .fitness-model {
        width: 500px;
        height: 480px;
        top: 60%;
    }
    .metric-card {
        width: 100px;
        height: 100px;
        padding: 12px;
    }
    .metric-value {
        font-size: 1.8rem;
    }
    .metric-label {
        font-size: 0.8rem;
    }
    .hours-card {
        left: 15%;
        top: 35%;
    }
    .poses-card {
        right: 15%;
        top: 35%;
    }
    .kcal-card {
        left: 20%;
        bottom: 25%;
    }
    .sets-card {
        right: 20%;
        bottom: 25%;
    }
    .prev-label,
    .next-label {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    .prev-label {
        margin-left: 20px;
    }
    .next-label {
        margin-right: 20px;
    }
    .community-section {
        bottom: 60px;
        left: 30px;
    }
    .count-number {
        font-size: 2rem;
    }
    .brand-slider .slide {
        min-width: 150px;
        padding: 0 30px;
    }
    .brand-slider .slide img {
        width: 80px;
        height: 80px;
    }
    .slider-track {
        width: calc(150px * 12);
    }
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 6));
        }
    }
}


/* Mobile Styles (up to 768px) */

@media (max-width: 768px) {
    .hero-title {
        font-size: 4rem;
        top: 30%;
        white-space: normal;
        max-width: 95%;
        line-height: 1.3;
    }
    .fitness-model {
        width: 350px;
        height: 330px;
        top: 65%;
    }
    /* Hide navigation labels on mobile */
    .prev-next-navigation {
        display: none;
    }
    /* Rearrange metric cards for mobile */
    .metric-card {
        width: 80px;
        height: 80px;
        padding: 10px;
        border-radius: 12px;
    }
    .metric-icon {
        width: 25px;
        height: 25px;
        margin-bottom: 3px;
    }
    .metric-icon img {
        width: 15px;
        height: 15px;
    }
    .metric-value {
        font-size: 1.4rem;
    }
    .metric-label {
        font-size: 0.7rem;
    }
    .hours-card {
        left: 10%;
        top: 30%;
        transform: rotate(-10deg);
    }
    .poses-card {
        right: 10%;
        top: 30%;
        transform: rotate(10deg);
    }
    .kcal-card {
        left: 15%;
        bottom: 35%;
        transform: rotate(-10deg);
    }
    .sets-card {
        right: 15%;
        bottom: 35%;
        transform: rotate(10deg);
    }
    .community-section {
        bottom: 40px;
        left: 20px;
    }
    .community-img {
        width: 40px;
        height: 40px;
        margin-left: -8px;
    }
    .community-count {
        margin-left: 15px;
    }
    .count-number {
        font-size: 1.8rem;
    }
    .count-label {
        font-size: 0.8rem;
    }
    .brand-slider {
        padding: 30px 0;
    }
    .brand-slider .slide {
        min-width: 120px;
        padding: 0 20px;
    }
    .brand-slider .slide img {
        width: 60px;
        height: 60px;
    }
    .slider-track {
        width: calc(120px * 12);
    }
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 6));
        }
    }
}


/* Small Mobile Styles (up to 480px) */

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
        top: 30%;
        padding: 0 20px;
    }
    .fitness-model {
        width: 280px;
        height: 260px;
        top: 68%;
    }
    .metric-card {
        width: 70px;
        height: 70px;
        padding: 8px;
    }
    .metric-icon {
        width: 20px;
        height: 20px;
    }
    .metric-icon img {
        width: 12px;
        height: 12px;
    }
    .metric-value {
        font-size: 1.2rem;
    }
    .metric-label {
        font-size: 0.6rem;
    }
    .hours-card {
        left: 8%;
        top: 28%;
    }
    .poses-card {
        right: 8%;
        top: 28%;
    }
    .kcal-card {
        left: 12%;
        bottom: 38%;
    }
    .sets-card {
        right: 12%;
        bottom: 38%;
    }
    .community-section {
        bottom: 30px;
        left: 15px;
    }
    .community-img {
        width: 35px;
        height: 35px;
    }
    .count-number {
        font-size: 1.5rem;
    }
    .count-label {
        font-size: 0.7rem;
    }
    .brand-slider .slide {
        min-width: 100px;
        padding: 0 15px;
    }
    .brand-slider .slide img {
        width: 50px;
        height: 50px;
    }
    .slider-track {
        width: calc(100px * 12);
    }
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100px * 6));
        }
    }
}


/* Landscape Mobile Orientation */

@media (max-width: 768px) and (orientation: landscape) {
    .hero-title {
        font-size: 3.5rem;
        top: 15%;
    }
    .fitness-model {
        width: 300px;
        height: 280px;
        top: 55%;
    }
    .community-section {
        bottom: 20px;
    }
    .metric-card {
        width: 75px;
        height: 75px;
    }
    .hours-card {
        top: 25%;
    }
    .poses-card {
        top: 25%;
    }
    .kcal-card {
        bottom: 25%;
    }
    .sets-card {
        bottom: 25%;
    }
}


/* Inspiration Section - Updated */

.inspiration {
    padding: 120px 0;
    background-color: var(--dark);
}

.inspiration-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    background: linear-gradient(235deg, #333333 20%, rgba(183, 202, 125, 0.2), rgba(0, 0, 0, 0.9));
    border-radius: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.inspiration-image {
    flex: 0 0 50%;
    height: 600px;
    overflow: hidden;
    border-radius: 10px;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 15px;
}

.section-title span {
    color: var(--primary);
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--light);
    font-size: 1.1rem;
}

.features {
    flex: 0 0 45%;
    background: transparent;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature {
    margin-bottom: 0;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature:last-child {
    margin-bottom: 0;
}

.feature:hover {
    background: rgba(30, 30, 30, 0.9);
    transform: translateX(8px);
    border: 1px solid var(--primary);
    box-shadow: 0 5px 15px rgba(193, 255, 0, 0.15);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.feature-icon img {
    width: 40px;
    height: 40px;
    filter: invert(72%) sepia(89%) saturate(495%) hue-rotate(58deg) brightness(93%);
    border: 2px solid white;
    border-radius: 50%;
    padding: 3px;
}

.feature h3 {
    margin-top: 13px;
    font-size: 1rem;
}

.fitness-inspiration {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}


/* Inspiration Section - Responsive */

.inspiration {
    padding: 120px 20px;
    background-color: var(--dark);
}

.inspiration-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    background: linear-gradient(235deg, #333333 20%, rgba(183, 202, 125, 0.2), rgba(0, 0, 0, 0.9));
    border-radius: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.inspiration-image {
    flex: 0 0 50%;
    height: 600px;
    overflow: hidden;
    border-radius: 10px;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-title span {
    color: var(--primary);
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.features {
    flex: 0 0 45%;
    background: transparent;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature {
    margin-bottom: 0;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature:last-child {
    margin-bottom: 0;
}

.feature:hover {
    background: rgba(30, 30, 30, 0.9);
    transform: translateX(8px);
    border: 1px solid var(--primary);
    box-shadow: 0 5px 15px rgba(193, 255, 0, 0.15);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    flex-shrink: 0;
}

.feature-icon img {
    width: 40px;
    height: 40px;
    filter: invert(72%) sepia(89%) saturate(495%) hue-rotate(58deg) brightness(93%);
    border: 2px solid white;
    border-radius: 50%;
    padding: 3px;
}

.feature h3 {
    margin-top: 13px;
    font-size: 1rem;
    line-height: 1.4;
}

.fitness-inspiration {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}


/* Laptop/Desktop (1024px - 1440px) */

@media (max-width: 1440px) {
    .inspiration-content {
        max-width: 1000px;
        gap: 40px;
        padding: 35px;
    }
    .section-title {
        font-size: 3rem;
    }
    .inspiration-image {
        height: 500px;
    }
}


/* Tablet Landscape (768px - 1024px) */

@media (max-width: 1024px) {
    .inspiration {
        padding: 80px 15px;
    }
    .inspiration-content {
        flex-direction: column;
        gap: 40px;
        padding: 30px;
        max-width: 900px;
    }
    .inspiration-image {
        flex: none;
        width: 100%;
        height: 400px;
        order: -1;
    }
    .features {
        flex: none;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .section-title {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
}


/* Tablet Portrait (480px - 768px) */

@media (max-width: 768px) {
    .inspiration {
        padding: 60px 15px;
    }
    .inspiration-content {
        padding: 25px;
        border-radius: 15px;
        gap: 30px;
    }
    .inspiration-image {
        height: 300px;
        border-radius: 8px;
    }
    .features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    .feature {
        padding: 12px;
        flex-direction: row;
        text-align: left;
    }
    .feature-icon {
        width: 35px;
        height: 35px;
        margin-right: 12px;
    }
    .feature-icon img {
        width: 35px;
        height: 35px;
    }
    .feature h3 {
        font-size: 0.9rem;
        margin-top: 0;
    }
    .feature:hover {
        transform: translateX(5px);
    }
}


/* Mobile (320px - 480px) */

@media (max-width: 480px) {
    .inspiration {
        padding: 40px 10px;
    }
    .inspiration-content {
        padding: 20px;
        border-radius: 12px;
        gap: 25px;
    }
    .inspiration-image {
        height: 350px;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
        padding: 0 5px;
    }
    .features {
        gap: 10px;
    }
    .feature {
        padding: 10px;
        border-radius: 8px;
    }
    .feature-icon {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }
    .feature-icon img {
        width: 30px;
        height: 30px;
        padding: 2px;
    }
    .feature h3 {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    .feature:hover {
        transform: translateX(3px);
    }
}


/* Extra Small Mobile (max-width: 320px) */

@media (max-width: 320px) {
    .inspiration {
        padding: 30px 8px;
    }
    .inspiration-content {
        padding: 15px;
        gap: 20px;
    }
    .inspiration-image {
        height: 200px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }
    .feature {
        padding: 8px;
    }
    .feature h3 {
        font-size: 0.8rem;
    }
}


/* Services Section */

.services {
    padding: 120px 0;
    background-color: #050505;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    perspective: 1000px;
    background: transparent;
    height: 400px;
    border-radius: 15px;
    position: relative;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.service-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: rgba(20, 20, 20, 0.95);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .card-front,
.service-card:hover .card-back {
    border-color: var(--primary);
}

.card-front::before,
.card-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(193, 255, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.card-front:hover::before,
.card-back:hover::before {
    opacity: 1;
}

.card-back {
    transform: rotateY(180deg);
    background: rgba(30, 30, 30, 0.95);
    justify-content: center;
    overflow-y: hidden;
    /* Changed from auto to hidden */
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.card-icon img {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(0);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--light);
    font-weight: 600;
}

.service-card p {
    color: #999;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.plan-details {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    /* Further reduced margin */
    text-align: left;
    width: 100%;
}

.plan-details li {
    margin: 8px 0;
    /* Further reduced margin */
    color: #aaa;
    padding-left: 25px;
    position: relative;
    font-size: 0.85rem;
    /* Smaller font */
    line-height: 1.3;
    /* Tighter line height */
}

.plan-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.price {
    font-size: 1.2rem;
    /* Slightly smaller */
    color: var(--primary);
    margin: 15px 0;
    /* Reduced margin */
    font-weight: 600;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 10px 20px;
    border: 1px solid var(--primary);
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: auto;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
}


/* Services Section - Responsive */

.services {
    padding: 120px 20px;
    background-color: #050505;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.service-card {
    perspective: 1000px;
    background: transparent;
    height: 400px;
    border-radius: 15px;
    position: relative;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.service-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: rgba(20, 20, 20, 0.95);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .card-front,
.service-card:hover .card-back {
    border-color: var(--primary);
}

.card-front::before,
.card-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(193, 255, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.card-front:hover::before,
.card-back:hover::before {
    opacity: 1;
}

.card-back {
    transform: rotateY(180deg);
    background: rgba(30, 30, 30, 0.95);
    justify-content: center;
    overflow-y: hidden;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    flex-shrink: 0;
}

.card-icon img {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(0);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--light);
    font-weight: 600;
    line-height: 1.3;
}

.service-card p {
    color: #999;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.plan-details {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    text-align: left;
    width: 100%;
}

.plan-details li {
    margin: 8px 0;
    color: #aaa;
    padding-left: 25px;
    position: relative;
    font-size: 0.85rem;
    line-height: 1.3;
}

.plan-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.price {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 15px 0;
    font-weight: 600;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 10px 20px;
    border: 1px solid var(--primary);
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: auto;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
}


/* Laptop/Large Desktop (1200px - 1440px) */

@media (max-width: 1440px) {
    .service-cards {
        max-width: 1000px;
        gap: 18px;
    }
    .service-card {
        height: 380px;
    }
    .card-front,
    .card-back {
        padding: 25px;
    }
}


/* Standard Desktop/Laptop (1024px - 1200px) */

@media (max-width: 1200px) {
    .services {
        padding: 100px 15px;
    }
    .service-cards {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 16px;
    }
    .service-card {
        height: 360px;
    }
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    .card-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 20px;
    }
    .card-icon img {
        width: 22px;
        height: 22px;
    }
}


/* Tablet Landscape (768px - 1024px) */

@media (max-width: 1024px) {
    .services {
        padding: 80px 15px;
    }
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 800px;
    }
    .service-card {
        height: 340px;
    }
    .card-front,
    .card-back {
        padding: 20px;
    }
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    .plan-details li {
        margin: 6px 0;
        font-size: 0.8rem;
    }
    .price {
        font-size: 1.1rem;
        margin: 12px 0;
    }
    .btn-secondary {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}


/* Tablet Portrait (600px - 768px) */

@media (max-width: 768px) {
    .services {
        padding: 60px 10px;
    }
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 600px;
    }
    .service-card {
        height: 320px;
    }
    .card-front,
    .card-back {
        padding: 18px;
    }
    .card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 15px;
    }
    .card-icon img {
        width: 20px;
        height: 20px;
    }
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    .service-card p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    .plan-details {
        margin: 8px 0;
    }
    .plan-details li {
        margin: 5px 0;
        font-size: 0.75rem;
        line-height: 1.2;
        padding-left: 20px;
    }
    .price {
        font-size: 1rem;
        margin: 10px 0;
    }
    .btn-secondary {
        padding: 7px 14px;
        font-size: 0.8rem;
        border-radius: 20px;
    }
}


/* Mobile Landscape/Large Mobile (480px - 600px) */

@media (max-width: 600px) {
    .service-cards {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 400px;
    }
    .service-card {
        height: 350px;
    }
    .card-front,
    .card-back {
        padding: 20px;
    }
    .service-card h3 {
        font-size: 1.2rem;
    }
    .service-card p {
        font-size: 0.9rem;
    }
    .plan-details li {
        font-size: 0.8rem;
    }
}


/* Mobile Portrait (320px - 480px) */

@media (max-width: 480px) {
    .services {
        padding: 50px 8px;
    }
    .service-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 320px;
        padding: 0 5px;
    }
    .service-card {
        height: 300px;
    }
    .card-front,
    .card-back {
        padding: 15px;
    }
    .card-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 12px;
    }
    .card-icon img {
        width: 18px;
        height: 18px;
    }
    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    .service-card p {
        font-size: 0.8rem;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    .plan-details {
        margin: 6px 0;
    }
    .plan-details li {
        margin: 4px 0;
        font-size: 0.7rem;
        padding-left: 18px;
        line-height: 1.1;
    }
    .price {
        font-size: 0.95rem;
        margin: 8px 0;
    }
    .btn-secondary {
        padding: 6px 12px;
        font-size: 0.75rem;
        border-radius: 18px;
        letter-spacing: 0.5px;
    }
    /* Disable 3D flip on mobile for better performance */
    .service-card {
        perspective: none;
    }
    .card-inner {
        transform-style: flat;
    }
    .service-card.flipped .card-inner {
        transform: none;
    }
    .card-back {
        transform: none;
        position: static;
        display: none;
    }
    .service-card.flipped .card-front {
        display: none;
    }
    .service-card.flipped .card-back {
        display: flex;
    }
}


/* Extra Small Mobile (max-width: 320px) */

@media (max-width: 320px) {
    .services {
        padding: 40px 5px;
    }
    .service-cards {
        max-width: 280px;
    }
    .service-card {
        height: 280px;
    }
    .card-front,
    .card-back {
        padding: 12px;
    }
    .card-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 10px;
    }
    .card-icon img {
        width: 15px;
        height: 15px;
    }
    .service-card h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    .service-card p {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }
    .plan-details li {
        font-size: 0.65rem;
        margin: 3px 0;
        padding-left: 15px;
    }
    .price {
        font-size: 0.85rem;
        margin: 6px 0;
    }
    .btn-secondary {
        padding: 5px 10px;
        font-size: 0.7rem;
    }
}


/* Touch device optimizations */

@media (hover: none) and (pointer: coarse) {
    .service-card:hover .card-front,
    .service-card:hover .card-back {
        border-color: rgba(255, 255, 255, 0.1);
    }
    .card-front:hover::before,
    .card-back:hover::before {
        opacity: 0;
    }
    .btn-secondary:hover {
        background: transparent;
        color: var(--primary);
    }
    /* Add tap states instead */
    .service-card:active .card-front,
    .service-card:active .card-back {
        border-color: var(--primary);
        transform: scale(0.98);
    }
    .btn-secondary:active {
        background: var(--primary);
        color: var(--dark);
        transform: scale(0.95);
    }
}


/* Training Section */

.training {
    padding: 120px 0;
}

.training-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1/1;
    /* Square shape */
    background: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: grayscale(100%);
    opacity: 0.85;
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.gallery-item h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    font-size: 1.2rem;
    z-index: 3;
    color: var(--light);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
    padding-bottom: 5px;
}

.gallery-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover h3 {
    color: var(--primary);
    transform: translateY(-3px);
}

.gallery-item:hover h3::after {
    width: 100%;
}


/* Top right corner crop with green overlay */

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: var(--primary);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 2;
}


/* Bottom left corner crop with black gradient */

.gallery-item .corner-bl {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: #000;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
    z-index: 2;
    opacity: 0.9;
}


/* Responsive Breakpoints */


/* Laptop/Desktop (1024px - 1200px) */

@media (max-width: 1200px) {
    .training {
        padding: 120px 20px;
    }
    .training-gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}


/* Tablet Landscape (768px - 1024px) */

@media (max-width: 1024px) {
    .training {
        padding: 120px 15px;
    }
    .training-gallery {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}


/* Tablet Portrait (600px - 768px) */

@media (max-width: 768px) {
    .training {
        padding: 120px 10px;
    }
    .training-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 600px;
    }
}


/* Mobile Landscape (480px - 600px) */

@media (max-width: 600px) {
    .training-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}


/* Mobile Portrait (320px - 480px) */

@media (max-width: 480px) {
    .training {
        padding: 80px 10px;
    }
    .training-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 350px;
    }
}


/* Small Mobile (max-width: 320px) */

@media (max-width: 320px) {
    .training {
        padding: 60px 8px;
    }
    .training-gallery {
        max-width: 300px;
        gap: 12px;
    }
}


/* Section styling */

.experience {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-title span {
    color: #c1ff00;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    color: #aaaaaa;
    font-size: 18px;
}


/* Experience cards */

.experience-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.experience-card {
    background: linear-gradient(to right, #000900, #000000);
    background-blend-mode: overlay;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    min-height: 450px;
    /* Added minimum height */
}

.experience-card:nth-child(even) {
    flex-direction: row-reverse;
    margin-top: 60px;
    /* This will push the second card down */
    transform: translateY(40px);
    /* Added this to ensure the card moves down */
}

.experience-card:nth-child(even):hover {
    transform: translateY(30px);
    /* 40px original position - 10px hover effect */
    border-color: rgba(193, 255, 0, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card-image {
    flex: 0 0 50%;
    overflow: hidden;
    position: relative;
    min-height: 450px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.5s ease;
}

.experience-card:hover {
    transform: translateY(-10px);
    border-color: rgba(193, 255, 0, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.experience-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    flex: 0 0 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h3 {
    font-size: 28px;
    color: #c1ff00;
    margin-bottom: 20px;
}

.card-content p {
    color: #aaaaaa;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    background-color: transparent;
    color: #c1ff00;
    border: 1px solid #c1ff00;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more:hover {
    background-color: #c1ff00;
    color: #050505;
    box-shadow: 0 5px 15px rgba(193, 255, 0, 0.3);
}


/* Expanded content styling for experience cards */

.expanded-content {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    border-radius: 24px;
    padding: 40px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow: auto;
}

.expanded-content.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
}

.expanded-content h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.expanded-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.expanded-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: #fff;
    font-size: 1rem;
}

.expanded-content li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.expanded-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 30px;
}

.close-details {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: bold;
}

.close-details:hover {
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(193, 255, 0, 0.5);
}

.read-more {
    display: inline-block;
    background-color: transparent;
    color: #c1ff00;
    border: 1px solid #c1ff00;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more:hover {
    background-color: #c1ff00;
    color: #050505;
    box-shadow: 0 5px 15px rgba(193, 255, 0, 0.3);
    transform: translateY(-3px);
}


/* Stat badge */

.stat-badge {
    position: absolute;
    bottom: 0px;
    right: 5px;
    width: 100px;
    height: 100px;
    background-color: rgba(30, 30, 30, 0.8);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(1, 40, 8, 0.7));
    backdrop-filter: blur(4px);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(193, 255, 0, 0.2);
    transform: rotate(340deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


/* Stat badge 2 - alternative styling */

.stat-badge2 {
    position: absolute;
    bottom: 0px;
    left: 5px;
    /* Changed from right to left */
    width: 100px;
    height: 100px;
    background-color: rgba(30, 30, 30, 0.8);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(1, 40, 8, 0.7));
    backdrop-filter: blur(4px);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(193, 255, 0, 0.2);
    transform: rotate(20deg);
    /* Changed rotation direction */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}

.stat-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(0.8) sepia(1) hue-rotate(50deg) saturate(1000%);
}

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-value {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.stat-label {
    font-size: 12px;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}


/* ===== RESPONSIVE BREAKPOINTS ===== */


/* Large Desktop (1200px and up) */

@media (min-width: 1200px) {
    .experience-cards {
        max-width: 1400px;
        gap: 50px;
    }
}


/* Desktop/Laptop (992px to 1199px) */

@media (max-width: 1199px) and (min-width: 992px) {
    .experience-cards {
        max-width: 1100px;
        gap: 35px;
    }
    .card-content {
        padding: 35px;
    }
    .section-title {
        font-size: 44px;
    }
}


/* Tablet (768px to 991px) */

@media (max-width: 991px) and (min-width: 768px) {
    .experience {
        padding: 80px 0;
    }
    .section-header {
        margin-bottom: 60px;
    }
    .section-title {
        font-size: 40px;
    }
    .section-description {
        font-size: 16px;
        max-width: 600px;
    }
    .experience-cards {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 700px;
    }
    .experience-card {
        min-height: 400px;
        max-width: 100%;
    }
    .experience-card:nth-child(even) {
        flex-direction: row;
        margin-top: 0;
        transform: none;
    }
    .experience-card:nth-child(even):hover {
        transform: translateY(-10px);
    }
    .card-content {
        padding: 30px;
    }
    .card-content h3 {
        font-size: 24px;
    }
    .stat-badge,
    .stat-badge2 {
        width: 80px;
        height: 80px;
    }
    .stat-value {
        font-size: 24px;
    }
    .stat-label {
        font-size: 10px;
    }
    .expanded-content {
        padding: 30px;
    }
    .expanded-content h4 {
        font-size: 1.5rem;
    }
}


/* Small Tablet/Large Mobile (576px to 767px) */

@media (max-width: 767px) and (min-width: 576px) {
    .experience {
        padding: 60px 0;
        min-height: auto;
    }
    .section-header {
        margin-bottom: 50px;
    }
    .section-title {
        font-size: 36px;
    }
    .section-description {
        font-size: 16px;
        padding: 0 20px;
    }
    .experience-cards {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    .experience-card {
        flex-direction: column;
        min-height: 500px;
        border-radius: 20px;
    }
    .experience-card:nth-child(even) {
        flex-direction: column;
        margin-top: 0;
        transform: none;
    }
    .experience-card:hover,
    .experience-card:nth-child(even):hover {
        transform: translateY(-5px);
    }
    .card-image {
        flex: 0 0 160px;
        min-height: 160px;
    }
    .card-content {
        flex: 1;
        padding: 30px 25px;
    }
    .card-content h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    .card-content p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .read-more {
        padding: 8px 20px;
        font-size: 14px;
    }
    .stat-badge {
        bottom: 10px;
        right: 10px;
        width: 70px;
        height: 70px;
    }
    .stat-badge2 {
        bottom: 10px;
        left: 10px;
        width: 70px;
        height: 70px;
    }
    .stat-value {
        font-size: 20px;
    }
    .stat-label {
        font-size: 9px;
    }
    .stat-icon {
        width: 25px;
        height: 25px;
        margin-bottom: 3px;
    }
    .expanded-content {
        padding: 25px 20px;
    }
    .expanded-content h4 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    .close-details {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}


/* Mobile (up to 575px) */

@media (max-width: 575px) {
    .experience {
        padding: 50px 0;
        min-height: auto;
    }
    .section-header {
        margin-bottom: 40px;
    }
    .section-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    .section-description {
        font-size: 14px;
        padding: 0 20px;
        max-width: 100%;
    }
    .experience-cards {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    .experience-card {
        flex-direction: column;
        min-height: 450px;
        border-radius: 16px;
    }
    .experience-card:nth-child(even) {
        flex-direction: column;
        margin-top: 0;
        transform: none;
    }
    .experience-card:hover,
    .experience-card:nth-child(even):hover {
        transform: translateY(-3px);
    }
    .card-image {
        flex: 0 0 200px;
        min-height: 200px;
    }
    .card-content {
        flex: 1;
        padding: 25px 20px;
    }
    .card-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    .card-content p {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    .read-more {
        padding: 8px 16px;
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    .read-more:hover {
        transform: translateY(-1px);
    }
    .stat-badge {
        bottom: 8px;
        right: 8px;
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }
    .stat-badge2 {
        bottom: 8px;
        left: 8px;
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }
    .stat-value {
        font-size: 16px;
    }
    .stat-label {
        font-size: 8px;
        margin-top: 2px;
    }
    .stat-icon {
        width: 20px;
        height: 20px;
        margin-bottom: 2px;
    }
    .expanded-content {
        padding: 20px 15px;
    }
    .expanded-content h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    .expanded-content li {
        padding-left: 20px;
        margin-bottom: 10px;
        font-size: 0.9rem;
    }
    .expanded-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    .close-details {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}


/* Extra small devices */

@media (max-width: 380px) {
    .section-title {
        font-size: 24px;
    }
    .experience-cards {
        padding: 0 10px;
    }
    .card-content {
        padding: 20px 15px;
    }
    .card-content h3 {
        font-size: 18px;
    }
    .card-content p {
        font-size: 13px;
    }
    .read-more {
        padding: 6px 12px;
        font-size: 11px;
    }
}


/* Trainers Section */

.trainers {
    padding: 120px 0;
    background-color: #000;
}

.trainer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.trainer-card {
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
}

.trainer-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 20px;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.trainer-card:hover img {
    transform: scale(1.05);
}

.trainer-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
}

.trainer-card p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.rating {
    color: var(--primary);
    font-size: 1.2rem;
}


/* Add hexagonal background shape */

.trainer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
}


/* Trainers Section */

.trainers {
    padding: 120px 0;
    background-color: #000;
}

.trainer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.trainer-card {
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
}

.trainer-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 20px;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.trainer-card:hover img {
    transform: scale(1.05);
}

.trainer-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
}

.trainer-card p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.rating {
    color: var(--primary);
    font-size: 1.2rem;
}


/* Add hexagonal background shape */

.trainer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
}


/* ===== RESPONSIVE BREAKPOINTS ===== */


/* Large Desktop (1200px and up) */

@media (min-width: 1200px) {
    .trainer-cards {
        max-width: 1400px;
        gap: 40px;
    }
}


/* Desktop/Laptop (992px to 1199px) */

@media (max-width: 1199px) and (min-width: 992px) {
    .trainers {
        padding: 100px 0;
    }
    .trainer-cards {
        max-width: 1100px;
        gap: 35px;
    }
    .trainer-card h3 {
        font-size: 1.4rem;
    }
}


/* Tablet (768px to 991px) */

@media (max-width: 991px) and (min-width: 768px) {
    .trainers {
        padding: 80px 0;
    }
    .trainer-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        max-width: 900px;
        padding: 0 30px;
    }
    .trainer-card {
        padding-bottom: 18px;
    }
    .trainer-card img {
        margin-bottom: 18px;
    }
    .trainer-card h3 {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }
    .trainer-card p {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    .rating {
        font-size: 1.1rem;
    }
}


/* Small Tablet/Large Mobile (576px to 767px) */

@media (max-width: 767px) and (min-width: 576px) {
    .trainers {
        padding: 60px 0;
    }
    .trainer-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
        max-width: 600px;
        padding: 0 25px;
    }
    .trainer-card {
        padding-bottom: 16px;
    }
    .trainer-card img {
        margin-bottom: 16px;
    }
    .trainer-card h3 {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    .trainer-card p {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    .rating {
        font-size: 1rem;
    }
    .trainer-card:hover img {
        transform: scale(1.03);
    }
}


/* Mobile (up to 575px) */

@media (max-width: 575px) {
    .trainers {
        padding: 50px 0;
    }
    .trainer-cards {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
        padding: 0 20px;
    }
    .trainer-card {
        padding-bottom: 15px;
    }
    .trainer-card img {
        margin-bottom: 15px;
    }
    .trainer-card h3 {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }
    .trainer-card p {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    .rating {
        font-size: 0.9rem;
    }
    .trainer-card:hover img {
        transform: scale(1.02);
    }
}


/* Extra small devices (320px to 480px) */

@media (max-width: 480px) {
    .trainers {
        padding: 40px 0;
    }
    .trainer-cards {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 15px;
        max-width: 300px;
    }
    .trainer-card {
        padding-bottom: 12px;
    }
    .trainer-card img {
        margin-bottom: 12px;
    }
    .trainer-card h3 {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    .trainer-card p {
        font-size: 0.7rem;
        margin-bottom: 5px;
    }
    .rating {
        font-size: 0.85rem;
    }
}


/* Very small devices */

@media (max-width: 360px) {
    .trainer-cards {
        padding: 0 10px;
        max-width: 280px;
    }
    .trainer-card h3 {
        font-size: 0.95rem;
    }
    .trainer-card p {
        font-size: 0.65rem;
    }
    .rating {
        font-size: 0.8rem;
    }
}


/* Testimonials Section - Ultra Modern Gym Aesthetic */

.testimonials-section {
    background-color: #000000;
    color: white;
    padding: 120px 0;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1470&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: overlay;
    isolation: isolate;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.92) 30%, rgba(0, 0, 0, 0.75) 100%);
    z-index: -1;
    backdrop-filter: blur(5px);
}

.testimonials-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent 60%, rgba(193, 255, 0, 0.15) 100%);
    z-index: -1;
    pointer-events: none;
    animation: glowPulse 8s infinite alternate ease-in-out;
}

@keyframes glowPulse {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}


/* Header Styles */

.testimonials-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.testimonials-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 15px var(--primary);
}

.testimonials-header h2 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: perspective(500px) rotateX(10deg);
}

.testimonials-header span {
    display: inline;
}

.testimonials-header .highlight {
    position: relative;
    color: var(--primary);
    font-style: italic;
}

.testimonials-header p {
    font-size: 1.2rem;
    color: #aaaaaa;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
}


/* Testimonial Content */

.testimonials-content {
    position: relative;
    display: flex;
    flex-direction: column;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(193, 255, 0, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.testimonial-item {
    position: absolute;
    display: flex;
    width: 100%;
    opacity: 0;
    transform: translateX(100px) rotateY(5deg);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.testimonial-item.active {
    opacity: 1;
    transform: translateX(0) rotateY(0);
    visibility: visible;
    z-index: 2;
}

.testimonial-item.prev {
    opacity: 0;
    transform: translateX(-100px) rotateY(-5deg);
    z-index: 1;
}

.testimonial-image {
    width: 40%;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.testimonial-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;
    transition: all 0.8s ease;
    filter: grayscale(80%) contrast(1.2);
    transform: scale(1.05);
}

.testimonial-item:hover .testimonial-image img {
    filter: grayscale(20%) contrast(1.2);
    transform: scale(1.1);
}

.testimonial-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: var(--primary);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 3;
    box-shadow: 0 0 20px rgba(193, 255, 0, 0.5);
}

.testimonial-image::after {
    content: '"';
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.5;
    line-height: 0;
    z-index: 3;
    text-shadow: 0 0 15px rgba(193, 255, 0, 0.5);
    animation: floatQuote 3s ease-in-out infinite alternate;
}

@keyframes floatQuote {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.testimonial-text {
    width: 60%;
    display: flex;
    align-items: center;
    padding-left: 40px;
    padding-right: 40px;
    position: relative;
    overflow: hidden;
}

.testimonial-text::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(193, 255, 0, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.testimonial-item:hover .testimonial-text::before {
    opacity: 1;
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.1;
    }
}

.quote-box {
    background-color: transparent;
    position: relative;
    max-width: 700px;
    border-left: 4px solid var(--primary);
    padding-left: 30px;
    z-index: 1;
}

.quote-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: borderFlow 3s ease-in-out infinite;
}

@keyframes borderFlow {
    0% {
        height: 0;
        top: 0;
    }
    50% {
        height: 100%;
        top: 0;
    }
    51% {
        height: 100%;
        top: auto;
        bottom: 0;
    }
    100% {
        height: 0;
        top: auto;
        bottom: 0;
    }
}

.quote-box p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
    font-style: italic;
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to right, #ffffff, #cccccc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.quote-box p::first-letter {
    font-size: 200%;
    color: var(--primary);
    font-weight: 700;
    margin-right: 2px;
    float: left;
    line-height: 1;
}

.author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.author::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.testimonial-item:hover .author::before {
    transform: scaleX(1);
}

.author h4 {
    font-size: 20px;
    color: var(--primary);
    margin: 0 0 5px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.author h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.5s ease;
}

.testimonial-item:hover .author h4::after {
    width: 100%;
}

.author p {
    font-size: 14px;
    margin: 0;
    color: #aaaaaa;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.ratings {
    margin-top: 20px;
    display: flex;
    gap: 5px;
}

.star {
    color: var(--primary);
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
}

.star::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.3s ease;
}

.testimonial-item:hover .star {
    transform: scale(1.2);
    animation: starPulse 1.5s infinite alternate;
}

.testimonial-item:hover .star::after {
    opacity: 0.5;
    animation: starGlow 1.5s infinite alternate;
}

@keyframes starPulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.3);
    }
}

@keyframes starGlow {
    0% {
        opacity: 0.2;
        filter: blur(5px);
    }
    100% {
        opacity: 0.5;
        filter: blur(10px);
    }
}


/* Navigation */

.testimonial-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.nav-btn {
    background-color: rgba(20, 20, 20, 0.7);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.nav-btn:hover {
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(193, 255, 0, 0.3);
}

.nav-btn:hover::before {
    width: 150%;
    height: 150%;
}

.nav-btn:active {
    transform: translateY(0);
}


/* Thumbnails */

.thumbnail-container {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 30px;
    position: absolute;
    right: 30px;
    bottom: 30px;
    z-index: 5;
}

.thumbnail {
    width: 100px;
    height: 120px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.5;
    transform: scale(0.9) perspective(500px) rotateY(5deg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.thumbnail.active {
    opacity: 1;
    transform: scale(1.05) perspective(500px) rotateY(0deg);
    border: 2px solid var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(193, 255, 0, 0.3);
}

.thumbnail:hover:not(.active) {
    transform: scale(0.95) perspective(500px) rotateY(0deg);
    opacity: 0.8;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.thumbnail:hover img,
.thumbnail.active img {
    filter: grayscale(20%);
    transform: scale(1.1);
}

.thumbnail.active::after {
    background: linear-gradient(to top, rgba(193, 255, 0, 0.2) 0%, transparent 60%);
}

.thumbnail-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 10px;
    text-align: center;
    font-size: 12px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.thumbnail-name.vertical {
    transform: rotate(-90deg) translateX(-100%);
    transform-origin: top left;
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    padding: 0;
    top: 50%;
    left: -10px;
    width: 120px;
    text-align: left;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.thumbnail:hover .thumbnail-name:not(.vertical) {
    transform: translateY(0);
}

.thumbnail.active .thumbnail-name:not(.vertical) {
    transform: translateY(0);
    color: var(--primary);
}


/* ===== RESPONSIVE BREAKPOINTS ===== */


/* Large Desktop (1200px and up) */

@media (min-width: 1200px) {
    .testimonials-container {
        max-width: 1600px;
        padding: 0 40px;
    }
    .testimonials-header h2 {
        font-size: 4.5rem;
    }
    .testimonials-slider {
        height: 550px;
    }
    .testimonial-image img {
        height: 550px;
    }
}


/* Desktop/Laptop (992px to 1199px) */

@media (max-width: 1199px) and (min-width: 992px) {
    .testimonials-section {
        padding: 100px 0;
    }
    .testimonials-header h2 {
        font-size: 3.5rem;
    }
    .testimonials-header p {
        font-size: 1.1rem;
    }
    .testimonials-slider {
        height: 480px;
    }
    .testimonial-image img {
        height: 480px;
    }
    .quote-box p {
        font-size: 20px;
    }
    .thumbnail-container {
        right: 20px;
        bottom: 20px;
    }
    .thumbnail {
        width: 90px;
        height: 110px;
    }
}


/* Tablet (768px to 991px) */

@media (max-width: 991px) and (min-width: 768px) {
    .testimonials-section {
        padding: 80px 0;
        background-attachment: scroll;
    }
    .testimonials-container {
        padding: 0 30px;
    }
    .testimonials-header {
        margin-bottom: 60px;
    }
    .testimonials-header h2 {
        font-size: 3rem;
        transform: none;
    }
    .testimonials-header p {
        font-size: 1rem;
        max-width: 600px;
    }
    .testimonials-slider {
        height: 400px;
        border-radius: 16px;
    }
    .testimonial-item {
        border-radius: 16px;
        transform: none;
        transition: all 0.5s ease;
    }
    .testimonial-item.active {
        transform: none;
    }
    .testimonial-image {
        width: 45%;
        clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    }
    .testimonial-image img {
        height: 400px;
        transform: scale(1.02);
    }
    .testimonial-image::after {
        font-size: 80px;
        bottom: 20px;
        right: 20px;
    }
    .testimonial-text {
        width: 55%;
        padding-left: 30px;
        padding-right: 30px;
    }
    .quote-box {
        padding-left: 25px;
        border-left-width: 3px;
    }
    .quote-box p {
        font-size: 18px;
        margin-bottom: 25px;
    }
    .author h4 {
        font-size: 18px;
    }
    .author p {
        font-size: 13px;
    }
    .star {
        font-size: 16px;
    }
    .testimonial-navigation {
        bottom: 20px;
        gap: 12px;
    }
    .nav-btn {
        width: 45px;
        height: 45px;
        /* Hides nav buttons */
    }
    .thumbnail-container {
        right: 20px;
        bottom: 20px;
        gap: 15px;
        display: none;
        /* Hides thumbnail container */
    }
    .thumbnail {
        width: 80px;
        height: 100px;
    }
}


/* Small Tablet/Large Mobile (576px to 767px) */

@media (max-width: 767px) and (min-width: 576px) {
    .testimonials-section {
        padding: 60px 0;
        background-attachment: scroll;
    }
    .testimonials-section::after {
        width: 60%;
    }
    .testimonials-container {
        padding: 0 25px;
    }
    .testimonials-header {
        margin-bottom: 50px;
    }
    .testimonials-header h2 {
        font-size: 2.5rem;
        transform: none;
        letter-spacing: -1px;
    }
    .testimonials-header p {
        font-size: 0.95rem;
        max-width: 500px;
    }
    .testimonials-header::after {
        width: 60px;
        height: 3px;
    }
    .testimonials-slider {
        height: 600px;
        border-radius: 12px;
    }
    .testimonial-item {
        flex-direction: column;
        border-radius: 12px;
        transform: none;
        transition: all 0.5s ease;
    }
    .testimonial-item.active {
        transform: none;
    }
    .testimonial-image {
        width: 100%;
        height: 250px;
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    }
    .testimonial-image img {
        height: 250px;
        transform: scale(1.1);
    }
    .testimonial-image::before {
        width: 60px;
        height: 60px;
    }
    .testimonial-image::after {
        font-size: 60px;
        bottom: 15px;
        right: 15px;
    }
    .testimonial-text {
        width: 100%;
        height: 350px;
        padding: 30px 25px;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .quote-box {
        padding-left: 20px;
        border-left-width: 3px;
        max-width: 100%;
    }
    .quote-box p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    .quote-box p::first-letter {
        font-size: 180%;
    }
    .author h4 {
        font-size: 16px;
    }
    .author p {
        font-size: 12px;
    }
    .star {
        font-size: 15px;
    }
    .testimonial-navigation {
        bottom: 15px;
        gap: 10px;
    }
    .nav-btn {
        width: 40px;
        height: 40px;
    }
    .thumbnail-container {
        display: none;
    }
}


/* Mobile (up to 575px) */

@media (max-width: 575px) {
    .testimonials-section {
        padding: 50px 0;
        background-attachment: scroll;
    }
    .testimonials-section::after {
        width: 70%;
    }
    .testimonials-container {
        padding: 0 20px;
    }
    .testimonials-header {
        margin-bottom: 40px;
    }
    .testimonials-header h2 {
        font-size: 2rem;
        transform: none;
        letter-spacing: -1px;
        line-height: 1.1;
    }
    .testimonials-header p {
        font-size: 0.9rem;
        max-width: 400px;
        padding: 0 10px;
    }
    .testimonials-header::after {
        width: 50px;
        height: 3px;
    }
    .testimonials-slider {
        height: 550px;
        border-radius: 10px;
    }
    .testimonial-item {
        flex-direction: column;
        border-radius: 10px;
        transform: none;
        transition: all 0.4s ease;
    }
    .testimonial-item.active {
        transform: none;
    }
    .testimonial-item:hover .testimonial-image img {
        transform: scale(1.05);
    }
    .testimonial-image {
        width: 100%;
        height: 220px;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }
    .testimonial-image img {
        height: 220px;
        transform: scale(1.05);
    }
    .testimonial-image::before {
        width: 50px;
        height: 50px;
    }
    .testimonial-image::after {
        font-size: 50px;
        bottom: 10px;
        right: 10px;
    }
    .testimonial-text {
        width: 100%;
        height: 330px;
        padding: 25px 20px;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .quote-box {
        padding-left: 15px;
        border-left-width: 2px;
        max-width: 100%;
    }
    .quote-box p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 18px;
    }
    .quote-box p::first-letter {
        font-size: 160%;
        margin-right: 1px;
    }
    .author h4 {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    .author p {
        font-size: 11px;
    }
    .ratings {
        margin-top: 15px;
        gap: 3px;
    }
    .star {
        font-size: 14px;
    }
    .testimonial-navigation {
        bottom: 10px;
        gap: 8px;
    }
    .nav-btn {
        width: 35px;
        height: 35px;
    }
    .nav-btn:hover {
        transform: none;
    }
    .thumbnail-container {
        display: none;
    }
}


/* Extra small devices */

@media (max-width: 380px) {
    .testimonials-section {
        padding: 40px 0;
    }
    .testimonials-container {
        padding: 0 15px;
    }
    .testimonials-header h2 {
        font-size: 1.8rem;
    }
    .testimonials-header p {
        font-size: 0.85rem;
    }
    .testimonials-slider {
        height: 500px;
    }
    .testimonial-image {
        height: 180px;
    }
    .testimonial-image img {
        height: 180px;
    }
    .testimonial-image::after {
        font-size: 40px;
        bottom: 8px;
        right: 8px;
    }
    .testimonial-text {
        height: 320px;
        padding: 20px 15px;
    }
    .quote-box {
        padding-left: 12px;
    }
    .quote-box p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    .author h4 {
        font-size: 13px;
    }
    .author p {
        font-size: 10px;
    }
    .star {
        font-size: 13px;
    }
    .nav-btn {
        width: 32px;
        height: 32px;
    }
}


/* Call to Action */

.cta {
    padding: 100px 0;
}

.cta-box {
    background: var(--gradient);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    color: var(--dark);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* Diagonal stripes pattern overlay */

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient( 45deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 10px);
    z-index: 1;
    pointer-events: none;
}


/* Dotted pattern overlay */

.cta-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient( rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
}


/* Make sure content stays above the patterns */

.cta-box h2,
.cta-box p,
.cta-box .newsletter-form {
    position: relative;
    z-index: 2;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-box p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-form button {
    border-radius: 0 30px 30px 0;
    background: black;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary), #e6ff99);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.newsletter-form button:hover {
    transform: translateY(-3px) scale(1.05);
}


/* Call to Action */

.cta {
    padding: 100px 0;
}

.cta-box {
    background: var(--gradient);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    color: var(--dark);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* Diagonal stripes pattern overlay */

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient( 45deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 10px);
    z-index: 1;
    pointer-events: none;
}


/* Dotted pattern overlay */

.cta-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient( rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
}


/* Make sure content stays above the patterns */

.cta-box h2,
.cta-box p,
.cta-box .newsletter-form {
    position: relative;
    z-index: 2;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-box p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-form button {
    border-radius: 0 30px 30px 0;
    background: black;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary), #e6ff99);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.newsletter-form button:hover {
    transform: translateY(-3px) scale(1.05);
}


/* RESPONSIVE BREAKPOINTS */


/* Large Desktop (1200px and up) */

@media (min-width: 1200px) {
    .cta {
        padding: 120px 0;
    }
    .cta-box {
        padding: 80px;
    }
    .cta-box h2 {
        font-size: 3rem;
    }
    .cta-box p {
        font-size: 1.3rem;
    }
}


/* Desktop/Laptop (992px to 1199px) */

@media (max-width: 1199px) and (min-width: 992px) {
    .cta {
        padding: 100px 20px;
    }
    .cta-box {
        padding: 60px 50px;
    }
    .cta-box h2 {
        font-size: 2.5rem;
    }
    .cta-box p {
        font-size: 1.2rem;
    }
}


/* Tablet (768px to 991px) */

@media (max-width: 991px) and (min-width: 768px) {
    .cta {
        padding: 80px 20px;
    }
    .cta-box {
        padding: 50px 40px;
    }
    .cta-box h2 {
        font-size: 2.2rem;
        margin-bottom: 18px;
    }
    .cta-box p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    .newsletter-form {
        max-width: 450px;
    }
    .newsletter-form input {
        padding: 14px 18px;
        font-size: 0.95rem;
    }
    .newsletter-form button {
        padding: 14px 25px;
        font-size: 0.95rem;
    }
}


/* Mobile Landscape (576px to 767px) */

@media (max-width: 767px) and (min-width: 576px) {
    .cta {
        padding: 60px 15px;
    }
    .cta-box {
        padding: 40px 30px;
        border-radius: 15px;
    }
    .cta-box h2 {
        font-size: 1.9rem;
        margin-bottom: 15px;
    }
    .cta-box p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .newsletter-form {
        max-width: 400px;
        flex-direction: column;
        gap: 15px;
    }
    .newsletter-form input {
        border-radius: 25px;
        padding: 13px 18px;
        font-size: 0.9rem;
    }
    .newsletter-form button {
        border-radius: 25px;
        padding: 13px 25px;
        font-size: 0.9rem;
        transform: none;
    }
    .newsletter-form button:hover {
        transform: translateY(-2px) scale(1.02);
    }
}


/* Mobile Portrait (up to 575px) */

@media (max-width: 575px) {
    .cta {
        padding: 50px 15px;
    }
    .cta-box {
        padding: 35px 25px;
        border-radius: 12px;
    }
    .cta-box::after {
        background-size: 15px 15px;
    }
    .cta-box h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    .cta-box p {
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    .newsletter-form {
        max-width: 100%;
        flex-direction: column;
        gap: 12px;
    }
    .newsletter-form input {
        border-radius: 20px;
        padding: 12px 16px;
        font-size: 0.9rem;
        width: 100%;
    }
    .newsletter-form button {
        border-radius: 20px;
        padding: 12px 20px;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        transform: none;
    }
    .newsletter-form button:hover {
        transform: translateY(-1px) scale(1.01);
    }
}


/* Extra Small Mobile (up to 375px) */

@media (max-width: 375px) {
    .cta {
        padding: 40px 10px;
    }
    .cta-box {
        padding: 30px 20px;
        border-radius: 10px;
    }
    .cta-box h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    .cta-box p {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }
    .newsletter-form input {
        padding: 11px 14px;
        font-size: 0.85rem;
    }
    .newsletter-form button {
        padding: 11px 18px;
        font-size: 0.8rem;
    }
}


/* Footer */

footer {
    background-color: #0a0a0a;
    padding: 80px 0 30px;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.footer-tagline {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 20px;
}

.footer-social h3,
.footer-nav h3,
.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-social h3::after,
.footer-nav h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-icon:hover img {
    filter: brightness(0);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
}

.footer-links li a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.footer-links li a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 18px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.footer-links li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links li a:hover::before {
    transform: translateX(3px);
}

.contact-info p {
    color: #aaa;
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
}

.contact-info p i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 16px;
}

.email {
    color: var(--primary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.email:hover {
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #777;
}

.copyright a {
    color: var(--primary);
    text-decoration: none;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

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

.footer-bottom-links a:hover {
    color: var(--primary);
}


/* Footer */

footer {
    background-color: #0a0a0a;
    padding: 80px 0 30px;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.footer-tagline {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 20px;
}

.footer-social h3,
.footer-nav h3,
.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-social h3::after,
.footer-nav h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-icon:hover img {
    filter: brightness(0);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
}

.footer-links li a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.footer-links li a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 18px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.footer-links li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links li a:hover::before {
    transform: translateX(3px);
}

.contact-info p {
    color: #aaa;
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
}

.contact-info p i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 16px;
}

.email {
    color: var(--primary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.email:hover {
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #777;
}

.copyright a {
    color: var(--primary);
    text-decoration: none;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

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

.footer-bottom-links a:hover {
    color: var(--primary);
}


/* RESPONSIVE BREAKPOINTS */


/* Large Desktop (1200px and up) */

@media (min-width: 1200px) {
    footer {
        padding: 100px 0 40px;
    }
    .footer-content {
        gap: 50px;
        padding: 0 30px;
    }
    .footer-logo span {
        font-size: 26px;
    }
    .footer-tagline {
        font-size: 15px;
        max-width: 350px;
    }
}


/* Desktop/Laptop (992px to 1199px) */

@media (max-width: 1199px) and (min-width: 992px) {
    footer {
        padding: 80px 0 30px;
    }
    .footer-content {
        gap: 40px;
        padding: 0 25px;
    }
    .footer-tagline {
        max-width: 280px;
    }
}


/* Tablet (768px to 991px) */

@media (max-width: 991px) and (min-width: 768px) {
    footer {
        padding: 70px 0 30px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
        padding: 0 25px;
    }
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 20px;
    }
    .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
    }
    .footer-tagline {
        max-width: 100%;
        text-align: center;
        margin: 0 auto 20px;
    }
    .footer-social h3,
    .footer-nav h3,
    .footer-contact h3 {
        font-size: 17px;
        margin-bottom: 18px;
    }
    .social-icons {
        justify-content: center;
        gap: 15px;
    }
    .footer-bottom {
        margin: 50px auto 0;
        padding: 20px 25px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-bottom-links {
        gap: 25px;
    }
}


/* Mobile Landscape (576px to 767px) */

@media (max-width: 767px) and (min-width: 576px) {
    footer {
        padding: 60px 0 25px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    .footer-brand {
        text-align: center;
        margin-bottom: 15px;
    }
    .footer-logo {
        justify-content: center;
        margin-bottom: 12px;
    }
    .footer-logo img {
        height: 36px;
    }
    .footer-logo span {
        font-size: 22px;
    }
    .footer-tagline {
        max-width: 100%;
        text-align: center;
        margin: 0 auto 15px;
        font-size: 13px;
    }
    .footer-social h3,
    .footer-nav h3,
    .footer-contact h3 {
        font-size: 16px;
        margin-bottom: 15px;
        text-align: center;
    }
    .footer-social h3::after,
    .footer-nav h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-icons {
        justify-content: center;
        gap: 10px;
        margin-bottom: 10px;
    }
    .social-icon {
        width: 34px;
        height: 34px;
    }
    .footer-links {
        align-items: center;
    }
    .footer-links li a {
        padding-left: 0;
        text-align: center;
    }
    .footer-links li a::before {
        display: none;
    }
    .footer-links li a:hover {
        transform: translateX(0);
    }
    .contact-info {
        text-align: center;
    }
    .contact-info p {
        justify-content: center;
    }
    .footer-bottom {
        margin: 40px auto 0;
        padding: 20px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
        font-size: 13px;
    }
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}


/* Mobile Portrait (up to 575px) */

@media (max-width: 575px) {
    footer {
        padding: 50px 0 20px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    .footer-brand {
        text-align: center;
        margin-bottom: 10px;
    }
    .footer-logo {
        justify-content: center;
        margin-bottom: 10px;
    }
    .footer-logo img {
        height: 32px;
        margin-right: 8px;
    }
    .footer-logo span {
        font-size: 20px;
    }
    .footer-tagline {
        max-width: 100%;
        text-align: center;
        margin: 0 auto 12px;
        font-size: 12px;
        line-height: 1.5;
    }
    .footer-social h3,
    .footer-nav h3,
    .footer-contact h3 {
        font-size: 15px;
        margin-bottom: 12px;
        text-align: center;
        padding-bottom: 8px;
    }
    .footer-social h3::after,
    .footer-nav h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
        width: 25px;
        height: 1.5px;
    }
    .social-icons {
        justify-content: center;
        gap: 8px;
        margin-bottom: 8px;
    }
    .social-icon {
        width: 32px;
        height: 32px;
    }
    .social-icon img {
        width: 16px;
        height: 16px;
    }
    .social-icon:hover {
        transform: translateY(-2px);
    }
    .footer-links {
        align-items: center;
        gap: 10px;
    }
    .footer-links li a {
        padding-left: 0;
        text-align: center;
        font-size: 13px;
    }
    .footer-links li a::before {
        display: none;
    }
    .footer-links li a:hover {
        transform: translateX(0);
    }
    .contact-info {
        text-align: center;
    }
    .contact-info p {
        justify-content: center;
        font-size: 13px;
        margin-bottom: 10px;
    }
    .contact-info p i {
        font-size: 14px;
        margin-right: 8px;
    }
    .footer-bottom {
        margin: 35px auto 0;
        padding: 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        font-size: 12px;
    }
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}


/* Extra Small Mobile (up to 375px) */

@media (max-width: 375px) {
    footer {
        padding: 40px 0 15px;
    }
    .footer-content {
        gap: 20px;
        padding: 0 10px;
    }
    .footer-logo img {
        height: 28px;
        margin-right: 6px;
    }
    .footer-logo span {
        font-size: 18px;
    }
    .footer-tagline {
        font-size: 11px;
        margin: 0 auto 10px;
    }
    .footer-social h3,
    .footer-nav h3,
    .footer-contact h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .social-icons {
        gap: 6px;
    }
    .social-icon {
        width: 30px;
        height: 30px;
    }
    .social-icon img {
        width: 14px;
        height: 14px;
    }
    .footer-links li a {
        font-size: 12px;
    }
    .contact-info p {
        font-size: 12px;
        margin-bottom: 8px;
    }
    .footer-bottom {
        margin: 30px auto 0;
        padding: 12px;
        font-size: 11px;
    }
}


/* Copyright Section */

.copyright-footer {
    background-color: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.copyright-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    opacity: 0.6;
}

.copyright-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #777;
}

.copyright {
    display: flex;
    align-items: center;
    gap: 5px;
}

.copyright a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.copyright a:hover {
    color: #00ff40;
    text-decoration: underline;
}

.copyright-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.copyright-links a {
    color: #777;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
    position: relative;
    padding: 5px 0;
}

.copyright-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.copyright-links a:hover {
    color: var(--primary);
}

.copyright-links a:hover::after {
    width: 100%;
}

.divider {
    width: 1px;
    height: 15px;
    background: rgba(255, 255, 255, 0.1);
}


/* Year highlight */

.year {
    color: var(--primary);
    font-weight: 600;
}


/* Heart icon */

.heart {
    color: #00ff40;
    font-size: 12px;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}


/* RESPONSIVE BREAKPOINTS */


/* Large Desktop (1200px and up) */

@media (min-width: 1200px) {
    .copyright-content {
        padding: 30px 25px;
        font-size: 15px;
    }
    .copyright-links {
        gap: 30px;
    }
    .copyright-links a {
        font-size: 14px;
    }
}


/* Desktop/Laptop (992px to 1199px) */

@media (max-width: 1199px) and (min-width: 992px) {
    .copyright-content {
        padding: 25px 20px;
    }
    .copyright-links {
        gap: 25px;
    }
}


/* Tablet (768px to 991px) */

@media (max-width: 991px) and (min-width: 768px) {
    .copyright-content {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .copyright-links {
        gap: 20px;
    }
    .copyright-links a {
        font-size: 12px;
    }
}


/* Mobile Landscape (576px to 767px) */

@media (max-width: 767px) and (min-width: 576px) {
    .copyright-content {
        padding: 18px 15px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
        font-size: 13px;
    }
    .copyright-links {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .copyright-links a {
        font-size: 12px;
    }
    .divider {
        display: none;
    }
}


/* Mobile Portrait (up to 575px) */

@media (max-width: 575px) {
    .copyright-content {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        font-size: 12px;
    }
    .copyright-links {
        flex-direction: column;
        gap: 12px;
    }
    .copyright-links a {
        font-size: 11px;
    }
    .divider {
        display: none;
    }
}


/* Extra Small Mobile (up to 375px) */

@media (max-width: 375px) {
    .copyright-content {
        padding: 12px 10px;
        font-size: 11px;
    }
    .copyright-links {
        gap: 10px;
    }
    .copyright-links a {
        font-size: 10px;
    }
}


/* Contact Form Modal */

.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.modal-content {
    position: relative;
    background-color: #111;
    margin: 50px auto;
    width: 90%;
    max-width: 1000px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: modalFadeIn 0.5s ease;
    border: 1px solid rgba(193, 255, 0, 0.2);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1470&auto=format&fit=crop') no-repeat center;
    background-size: cover;
    padding: 30px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-modal {
    color: var(--light);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info-section {
    flex: 1;
    min-width: 300px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(193, 255, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-text h4 {
    margin: 0 0 5px 0;
    color: var(--light);
    font-size: 1.2rem;
}

.contact-text p {
    margin: 0;
    color: var(--light-gray);
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c1ff00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.contact-form select option {
    background-color: #111;
    color: var(--light);
}

.submit-btn {
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/* Tablet Responsive */

@media (max-width: 1024px) {
    .modal-content {
        margin: 15px auto;
        max-width: 95%;
    }
    .modal-header {
        padding: 25px 20px;
    }
    .modal-header h2 {
        font-size: 2rem;
    }
    .modal-body {
        padding: 30px 20px;
        gap: 30px;
    }
    .contact-info-section {
        min-width: 250px;
    }
    .contact-form {
        min-width: 250px;
    }
}


/* Mobile Responsive */

@media (max-width: 768px) {
    .contact-modal {
        padding: 5px;
    }
    .modal-content {
        margin: 10px auto;
        max-width: 100%;
        border-radius: 15px;
    }
    .modal-header {
        padding: 20px 15px;
        flex-direction: row;
        text-align: left;
    }
    .modal-header h2 {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }
    .close-modal {
        font-size: 1.8rem;
    }
    .modal-body {
        padding: 25px 15px;
        gap: 25px;
        flex-direction: column;
    }
    .contact-info-section,
    .contact-form {
        min-width: 100%;
        flex: none;
    }
    .contact-info-item {
        margin-bottom: 20px;
    }
    .contact-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    .contact-text h4 {
        font-size: 1.1rem;
    }
    .contact-text p {
        font-size: 0.9rem;
    }
    .form-group {
        margin-bottom: 15px;
    }
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
    .submit-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        max-width: 100%;
    }
}


/* Small Mobile Responsive */

@media (max-width: 480px) {
    .modal-header {
        padding: 15px 12px;
    }
    .modal-header h2 {
        font-size: 1.3rem;
    }
    .close-modal {
        font-size: 1.6rem;
    }
    .modal-body {
        padding: 20px 12px;
        gap: 20px;
    }
    .contact-info-item {
        margin-bottom: 15px;
    }
    .contact-icon {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
    .contact-text h4 {
        font-size: 1rem;
    }
    .contact-text p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 10px;
        font-size: 0.85rem;
    }
    .submit-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        border-radius: 25px;
    }
}


/* Landscape Mobile */

@media (max-width: 768px) and (orientation: landscape) {
    .modal-content {
        margin: 5px auto;
    }
    .modal-header {
        padding: 15px;
    }
    .modal-header h2 {
        font-size: 1.4rem;
    }
    .modal-body {
        padding: 20px 15px;
        flex-direction: row;
        gap: 20px;
    }
    .contact-info-section,
    .contact-form {
        min-width: calc(50% - 10px);
    }
}
