/* Base Styles and Variables */
:root {
    /* Colors extracted from palette.svg */
    --green-color: #AAD484; /* Light Green */
    --teal-color: #33B5C1; /* Teal */
    --slate-color: #717684; /* Slate Gray */
    --black-color: #000001; /* Black */
    
    /* Main color assignments */
    --primary-color: var(--slate-color); /* For text, headers, navigation, footers */
    --secondary-color: var(--teal-color); /* For buttons, highlights, and important elements */
    --accent-color: var(--green-color); /* For accents and secondary highlights */
    --dark-color: var(--black-color); /* For strong contrast elements */
    --light-color: #FFFFFF; /* White - For background color on pages */
    --light-gray: #F5F5F5; /* Light Gray - For secondary backgrounds */
    --white-color: #FFFFFF; /* Pure white */
    --gray-color: var(--slate-color); /* For secondary text */
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--body-font);
    color: var(--primary-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent-color);
}

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

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--gray-color);
}

/* Button Styles */
.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #2aa0ab;
}

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

.btn-secondary:hover {
    background-color: #9bc575;
}

.btn-tertiary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-tertiary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-quote {
    background-color: var(--secondary-color);
    color: var(--white-color) !important;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
}

/* Header Styles */
header {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 30px;
    position: relative;
}

.nav-menu a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    z-index: 1010;
    background: none;
    border: none;
    padding: 5px;
    outline: none;
}

.mobile-menu-btn i {
    font-size: 28px;
    color: #717684;
    line-height: 1;
    display: block;
}

.dropdown {
    position: relative;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: var(--primary-color);
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--light-gray);
}

/* Body styles when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Responsive Navigation */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1100;
        margin-right: 10px;
        background-color: transparent;
        border: none;
        padding: 8px;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white-color);
        flex-direction: column;
        padding: 80px 20px 30px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0 0 20px 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 10px 0;
    }
    
    .dropdown-menu li {
        margin: 10px 0;
    }
    
    .dropdown-menu a {
        padding: 8px 10px;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background-color: var(--light-gray);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features-section {
    background-color: var(--white-color);
    padding: 80px 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    width: 100%;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-item p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* Audience Cards Section */
.audience-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .audience-grid.desktop-view {
        display: none; /* Hide grid on mobile, show swiper instead */
    }
    
    .mobile-view {
        display: block;
    }
}

/* Ensure proper card sizing */
.audience-card {
    width: 100%;
    height: 100%;
}

.audience-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.audience-card:hover {
    transform: translateY(-10px);
}

.audience-card-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.audience-card-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.audience-card:hover .audience-card-header img {
    transform: scale(1.1);
}

.audience-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--white-color);
}

.audience-card-overlay h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--white-color);
}

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

.audience-card-body p {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.audience-card-benefits {
    margin-bottom: 20px;
}

.audience-card-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.audience-card-benefits li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.audience-card-benefits i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 0.9rem;
    margin-top: 5px;
}

.audience-card-body .btn-tertiary {
    margin-top: auto;
    align-self: flex-start;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #FFF9EA; /* Off white background */
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: #AAD484; /* Light Green */
    border-radius: 20px;
    padding: 30px;
    color: #3D3939; /* Dark Gray text */
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
    position: relative;
    padding-left: 30px;
}

.testimonial-content p:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: rgba(61, 57, 57, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.testimonial-rating {
    color: #FDC230; /* Gold color for stars */
    margin-bottom: 5px;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.95rem;
    color: #3D3939; /* Dark Gray */
}

/* Mobile styles for testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        display: none; /* Hide grid on mobile */
    }
    
    .testimonials-swiper {
        display: block;
        padding: 0 15px 30px;
    }
    
    .testimonial-card {
        margin: 0 10px;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .testimonials-swiper {
        display: none; /* Hide swiper on desktop */
    }
}

/* CTA Section */
.cta-section {
    background-color: var(--light-gray);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(51, 181, 193, 0.1) 0%, rgba(170, 212, 132, 0.1) 100%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    padding: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.cta-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text {
    flex: 1;
}

.cta-mascot {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cta-mascot img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s ease;
}

.cta-mascot:hover img {
    transform: translateY(-10px);
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.cta-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
    line-height: 1.7;
}

.cta-text .btn-primary {
    padding: 15px 35px;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-text .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(51, 181, 193, 0.3);
}

@media (max-width: 992px) {
    .cta-flex {
        flex-direction: column-reverse;
    }
    
    .cta-text {
        text-align: center;
    }
    
    .cta-content {
        padding: 30px;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 70px 0 20px;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white-color);
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    filter: invert(1);
    height: 45px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info li i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links li a:hover {
    color: var(--white-color);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* Audience Page Styles */
.audience-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    margin-top: 0;
    overflow: hidden;
    background-color: var(--primary-color);
    padding: 0;
}

.audience-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.audience-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    transform: scale(1.05);
    z-index: 0;
    transition: transform 10s ease;
}

.audience-hero:hover .audience-hero-bg {
    transform: scale(1.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.audience-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    animation: fadeInDown 1s ease;
}

.audience-hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--white-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    animation: fadeInUp 1s ease;
}

.audience-hero .btn-primary {
    padding: 15px 35px;
    font-size: 1.1rem;
    animation: fadeIn 1.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audience-hero .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.why-essential {
    padding: 80px 0;
    background-color: var(--white-color);
}

.why-essential .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.content-text {
    flex: 1;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--primary-color);
}

.content-image {
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.content-image:hover img {
    transform: scale(1.03);
}

/* Swiper Styles */
.audience-cards-swiper,
.testimonials-swiper {
    display: none;
    padding: 0 15px 30px;
    width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    padding: 20px 0;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    background: rgba(61, 57, 57, 0.3);
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 5px;
}

.swiper-pagination-bullet-active {
    background: #FDC230;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-view {
        display: none !important;
    }
    
    .mobile-view {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .mobile-view {
        display: none !important;
    }
    
    .desktop-view {
        display: block !important;
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column-reverse;
    }
    
    .content-text,
    .content-image {
        width: 100%;
    }
    
    .cta-flex {
        flex-direction: column;
    }
    
    .cta-text, .cta-mascot {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn-primary, .btn-secondary, .btn-tertiary {
        padding: 10px 20px;
    }
}

/* Audience Slider Styles */
.audience-slider-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    padding: 120px 0 100px;
    background-color: var(--light-gray);
    margin-top: 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(51, 181, 193, 0.1) 0%, rgba(170, 212, 132, 0.1) 100%);
    z-index: 1;
}

.hero-slider .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--white-color);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-container {
    position: relative;
    max-width: 1100px;
    margin: 40px auto 0;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    animation: fadeIn 1.5s ease;
}

.slider {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
    height: 500px;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 10s ease;
}

.slide:hover img {
    transform: scale(1.15);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2), transparent);
    color: var(--white-color);
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.slide:hover .slide-content {
    transform: translateY(-10px);
}

.slide-content h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--white-color);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 80%;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: none;
    color: var(--white-color);
    font-size: 1.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-arrow:hover {
    background-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    position: relative;
    z-index: 5;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.3);
}

.dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    opacity: 0.5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.8;
    }
}

.slide-content .btn-tertiary {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.4s ease;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.slide-content .btn-tertiary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.slide-content .btn-tertiary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.slide-content .btn-tertiary:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .slider-container {
        margin: 20px 40px;
        border-radius: 15px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        background-color: var(--primary-color);
    }
    
    .slide {
        height: auto;
        min-height: 400px;
        border-radius: 15px;
        overflow: hidden;
    }
    
    .slide img {
        height: 250px;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
    }
    
    .slide-content {
        position: relative;
        background: var(--primary-color);
        color: var(--white-color);
        padding: 25px;
        text-align: left;
    }
    
    .slide-content h3 {
        color: var(--white-color);
        font-size: 1.8rem;
        margin-bottom: 12px;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }
    
    .slide-content p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1rem;
        margin-bottom: 20px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        line-height: 1.5;
    }
    
    .btn-tertiary {
        display: inline-block;
        padding: 12px 24px;
        background-color: var(--secondary-color);
        color: var(--white-color);
        border-radius: 8px;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .btn-tertiary:hover {
        background-color: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(51, 181, 193, 0.3);
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        background-color: rgba(255, 255, 255, 0.15);
        color: var(--white-color);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(5px);
        top: 125px;
    }
    
    .slider-arrow.prev {
        left: -40px;
    }
    
    .slider-arrow.next {
        right: -40px;
    }
    
    .slider-dots {
        margin-top: -15px;
        margin-bottom: 20px;
        position: relative;
        z-index: 5;
        display: flex;
        justify-content: center;
        gap: 12px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .dot:hover {
        background-color: rgba(255, 255, 255, 0.5);
    }
    
    .dot.active {
        width: 14px;
        height: 14px;
        background-color: var(--secondary-color);
        transform: scale(1.2);
        box-shadow: 0 0 10px rgba(51, 181, 193, 0.3);
    }
}
