/**
 * Homepage Styles - Only homepage-specific styles
 */

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-load {
    animation: fadeIn 1s ease forwards;
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-on-scroll[data-delay="200"] {
    animation-delay: 0.2s;
}

.animate-on-scroll[data-delay="400"] {
    animation-delay: 0.4s;
}

.animate-on-scroll[data-delay="600"] {
    animation-delay: 0.6s;
}

/* ====================================
   SECTION HEADERS
   ==================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0066cc;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #0066cc;
}

.section-description {
    max-width: 700px;
    margin: 20px auto 0;
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
}

.text-center {
    text-align: center;
    margin-top: 40px;
}

/* ====================================
   BUTTONS
   ==================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #0066cc;
    color: #fff;
}

.btn-primary:hover {
    background: #004c99;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,102,204,0.3);
}

.btn-secondary {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #0066cc;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #0066cc;
    color: #0066cc;
    background: transparent;
}

.btn-outline:hover {
    background: #0066cc;
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1em;
}

/* ====================================
   HERO SECTION
   ==================================== */
.home-hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,102,204,0.9) 0%, rgba(0,76,153,0.95) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.particle:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-duration: 25s;
}

.particle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-duration: 30s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 70px;
    height: 70px;
    bottom: 20%;
    left: 20%;
    animation-duration: 20s;
    animation-delay: 5s;
}

.particle:nth-child(4) {
    width: 200px;
    height: 200px;
    top: 30%;
    right: 20%;
    animation-duration: 35s;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    width: 120px;
    height: 120px;
    bottom: 40%;
    left: 40%;
    animation-duration: 28s;
    animation-delay: 7s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.15;
    }
    50% {
        transform: translateY(20px) rotate(180deg);
        opacity: 0.1;
    }
    75% {
        transform: translateY(-10px) rotate(270deg);
        opacity: 0.15;
    }
    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 0.1;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px 120px;
    animation: heroFadeIn 1.5s ease-out forwards;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 4.2em;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero-title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
}

.decoration-icon {
    font-size: 2em;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Search */
.hero-search {
    max-width: 500px;
    margin: 40px auto;
    position: relative;
}

.hero-search form {
    display: flex;
    background: #fff;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-search form:hover,
.hero-search form:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.hero-search input[type="search"] {
    flex: 1;
    border: none;
    padding: 18px 30px;
    font-size: 1.1em;
    outline: none;
    color: #333;
}

.hero-search input[type="search"]::placeholder {
    color: #999;
    font-style: italic;
}

.hero-search button {
    background: #0066cc;
    border: none;
    color: #fff;
    padding: 0 35px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-search button svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    stroke-width: 2;
}

.hero-search button:hover {
    background: #004c99;
}

/* Hero Buttons */
.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-buttons .btn {
    min-width: 200px;
    padding: 15px 30px;
    font-size: 1.1em;
}

.hero-buttons .btn-primary {
    background: #fff;
    color: #0066cc;
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-buttons .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
}

.hero-buttons .btn-primary .btn-arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.hero-buttons .btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.hero-buttons .btn-outline-light {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.hero-buttons .btn-outline-light:hover {
    background: #fff;
    color: #0066cc;
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 20;
    cursor: pointer;
    background: rgba(0,102,204,0.9);
    backdrop-filter: blur(5px);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    background: rgba(0,102,204,1);
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.scroll-text {
    display: inline-block;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 10px;
    color: #fff;
}

.scroll-arrow {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.scroll-indicator:hover .scroll-arrow {
    transform: rotate(-45deg) translateY(3px);
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
}

.wave-svg {
    display: block;
    width: 100%;
    height: 150px;
}

/* ====================================
   WELCOME SECTION
   ==================================== */
.home-welcome {
    padding: 80px 0;
    background: #fff;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-content {
    padding-right: 30px;
}

.welcome-content .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.welcome-content .section-title:after {
    left: 0;
    transform: none;
}

.welcome-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.welcome-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    color: #0066cc;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.welcome-image {
    position: relative;
}

.rounded-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.image-placeholder svg {
    width: 60px;
    height: 60px;
    stroke: #999;
    margin-bottom: 15px;
}

/* ====================================
   FEATURED TOURS SECTION
   ==================================== */
.home-featured-tours {
    padding: 80px 0;
    background: #f8f9fa;
}

/* ====================================
   FEATURES SECTION
   ==================================== */
.home-features {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,102,204,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: #0066cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.5;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3em;
}

.feature-item p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ====================================
   EVENTS SECTION
   ==================================== */
.home-events {
    padding: 80px 0;
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: #fff;
}

.home-events .section-subtitle,
.home-events .section-title {
    color: #fff;
}

.home-events .section-title:after {
    background: #fff;
}

/* ====================================
   GUIDES SECTION
   ==================================== */
.home-guides {
    padding: 80px 0;
    background: #fff;
}

/* ====================================
   TESTIMONIALS SECTION
   ==================================== */
.home-testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-item {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.testimonial-item:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4em;
    color: #0066cc;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-rating {
    margin-bottom: 15px;
    display: flex;
    gap: 3px;
}

.testimonial-rating svg {
    width: 18px;
    height: 18px;
}

.testimonial-text {
    font-size: 1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 15px;
    text-align: right;
}

.author-name {
    font-weight: 600;
    color: #0066cc;
}

/* ====================================
   BADGES SECTION
   ==================================== */
.home-badges {
    padding: 60px 0;
    background: #fff;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
}

.badge-item {
    text-align: center;
}

.association-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
    color: #666;
    transition: color 0.3s ease;
    padding: 20px;
    border-radius: 8px;
}

.association-link:hover {
    color: #0066cc;
    background: #f8f9fa;
}

.badge-logo {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.badge-text {
    font-size: 1em;
    font-weight: 600;
    text-align: left;
}

.badge-text small {
    display: block;
    font-size: 0.8em;
    font-weight: normal;
    color: #999;
    margin-top: 3px;
}

/* ====================================
   NEWS SECTION
   ==================================== */
.home-news {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.news-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,102,204,0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-date {
    display: block;
    color: #0066cc;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-title {
    margin: 0 0 15px;
    font-size: 1.2em;
    line-height: 1.4;
}

.news-title a {
    color: #333;
    text-decoration: none;
}

.news-title a:hover {
    color: #0066cc;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
    display: inline-block;
}

.read-more:hover {
    transform: translateX(5px);
}

/* ====================================
   NEWSLETTER SECTION
   ==================================== */
.home-newsletter {
    padding: 60px 0;
    background: #fff;
}

.newsletter-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.newsletter-content h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #333;
}

.newsletter-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.newsletter-form-wrapper .cgm-newsletter-form .cgm-form-group {
    display: flex;
    gap: 10px;
}

.newsletter-form-wrapper input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form-wrapper input[type="email"]:focus {
    border-color: #0066cc;
}

.newsletter-form-wrapper .btn {
    padding: 15px 30px;
}

.form-note {
    margin-top: 10px;
    color: #999;
}

/* ====================================
   CTA SECTION
   ==================================== */
.home-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: #fff;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #fff;
}

.cta-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5em;
    }
    
    .section-title {
        font-size: 2.2em;
    }
    
    .features-grid,
    .testimonials-grid,
    .news-grid,
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5em;
    }
    
    .hero-subtitle {
        font-size: 1.2em;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        min-width: 250px;
    }
    
    .hero-search input[type="search"] {
        padding: 15px 20px;
    }
    
    .hero-search button {
        padding: 0 25px;
    }
    
    .hero-wave .wave-svg {
        height: 80px;
    }
    
    .particle {
        display: none;
    }
    
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .welcome-content {
        padding-right: 0;
    }
    
    .welcome-stats {
        justify-content: space-around;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .features-grid,
    .testimonials-grid,
    .news-grid,
    .badges-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2.2em;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .newsletter-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
    }
    
    .newsletter-form-wrapper .cgm-newsletter-form .cgm-form-group {
        flex-direction: column;
    }
    
    .badge-item .association-link {
        flex-direction: column;
        text-align: center;
    }
    
    .badge-text {
        text-align: center;
    }
    
    .scroll-indicator {
        bottom: 30px;
        padding: 8px 20px;
    }
    
    .scroll-text {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .hero-search form {
        flex-direction: column;
        border-radius: 30px;
    }
    
    .hero-search button {
        padding: 15px;
        width: 100%;
    }
    
    .hero-badge {
        font-size: 0.8em;
    }
    
    .decoration-line {
        width: 30px;
    }
    
    .hero-wave .wave-svg {
        height: 50px;
    }
    
    .welcome-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.6em;
    }
}

/* ====================================
   IMPROVED MOBILE RESPONSIVENESS
   ==================================== */

/* Better hero text scaling on mobile */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2em !important;
        line-height: 1.2 !important;
    }
    
    .hero-subtitle {
        font-size: 1.1em !important;
        padding: 0 15px !important;
    }
    
    .hero-badge {
        font-size: 0.75em !important;
        padding: 5px 12px !important;
    }

    .hero-content {
        padding: 0 20px 100px; /* Adjusted for mobile */
    }
    
    .scroll-indicator {
        bottom: 15px;
        padding: 8px 18px;
    }
    
    .scroll-text {
        font-size: 0.75em;
        margin-right: 6px;
    }
    
    .scroll-arrow {
        width: 14px;
        height: 14px;
    }
    
    /* Improved button touch targets */
    .btn, 
    .cgm-button,
    .hero-buttons .btn {
        padding: 14px 24px !important;
        min-width: 200px !important;
        font-size: 1em !important;
    }
    
    /* Better search bar on mobile */
    .hero-search form {
        flex-direction: row !important;
        border-radius: 50px !important;
    }
    
    .hero-search input[type="search"] {
        padding: 14px 20px !important;
        font-size: 1em !important;
    }
    
    .hero-search button {
        padding: 0 25px !important;
    }
    
    /* Improved grid spacing */
    .cgm-grid {
        gap: 20px !important;
    }
    
    /* Card improvements for touch */
    .cgm-card {
        border-radius: 12px !important;
    }
    
    .cgm-card-content {
        padding: 16px !important;
    }
    
    /* Better spacing for sections */
    section {
        padding: 50px 0 !important;
    }
    
    .section-title {
        font-size: 1.8em !important;
    }
    
    /* Improved welcome section */
    .welcome-stats {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    
    .stat-item {
        flex: 1;
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 2em !important;
    }
    
    /* Better feature items on mobile */
    .feature-item {
        padding: 30px 20px !important;
    }
    
    .feature-icon {
        width: 70px !important;
        height: 70px !important;
    }
    
    .feature-icon svg {
        width: 35px !important;
        height: 35px !important;
    }
    
    /* Improved testimonial cards */
    .testimonial-item {
        padding: 25px !important;
    }
    
    .testimonial-text {
        font-size: 0.95em !important;
    }
    
    /* Better newsletter form */
    .newsletter-form-wrapper .cgm-newsletter-form .cgm-form-group {
        flex-direction: column !important;
    }
    
    .newsletter-form-wrapper .btn {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Improved CTA section */
    .cta-title {
        font-size: 1.8em !important;
    }
    
    .cta-text {
        font-size: 1.1em !important;
        padding: 0 15px !important;
    }
    
    .cta-buttons .btn {
        width: 100% !important;
        max-width: 280px !important;
    }
}

/* Small mobile devices (under 480px) */
@media (max-width: 480px) {
    .hero-content {
        padding: 0 20px 80px;
    }
    
    .scroll-indicator {
        bottom: 10px;
        padding: 6px 14px;
    }
    .hero-title {
        font-size: 1.8em !important;
    }
    
    .hero-subtitle {
        font-size: 1em !important;
    }
    
    .hero-search form {
        flex-direction: column !important;
        border-radius: 30px !important;
    }
    
    .hero-search button {
        width: 100% !important;
        padding: 12px !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        max-width: 250px !important;
    }
    
    .welcome-stats {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .features-grid,
    .testimonials-grid,
    .news-grid,
    .badges-grid {
        gap: 20px !important;
    }
    
    .cgm-grid.columns-2,
    .cgm-grid.columns-3,
    .cgm-grid.columns-4 {
        grid-template-columns: 1fr !important;
    }
    
    .newsletter-box {
        padding: 25px !important;
    }
    
    .newsletter-content h3 {
        font-size: 1.4em !important;
    }
    
    .scroll-indicator {
        padding: 6px 16px !important;
        bottom: 20px !important;
    }
    
    .scroll-text {
        font-size: 0.7em !important;
        margin-right: 6px !important;
    }
}

/* Landscape mode adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .home-hero {
        min-height: 500px !important;
    }
    
    .hero-title {
        font-size: 2em !important;
    }
    
    .hero-buttons {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        margin: 5px !important;
    }
}