/* Custom Styles for SMSCircle */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Header Sticky */
.header-sticky {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Hero Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Button Animations */
.btn-primary {
    background: linear-gradient(135deg, #f97316, #ef4444);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
}

/* ===== ENHANCED HERO SLIDER STYLES WITH OPTIMIZED TYPOGRAPHY ===== */

/* Hero Section Container */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Swiper Container */
.hero-swiper {
    width: 100%;
    height: 100vh;
    position: relative;
}

/* Individual Slide */
.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Image Layer */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transform: scale(1);
    transition: transform 20s ease-in-out;
    z-index: 1;
}

/* Ken Burns effect on active slide */
.swiper-slide-active .hero-bg {
    transform: scale(1.1);
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

/* Content Layer */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
}

/* ===== OPTIMIZED HERO TYPOGRAPHY ===== */

.hero-title {
    /* Responsive font sizing - more controlled */
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.02em;
    color: white;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    /* Better balanced description sizing */
    font-size: clamp(1rem, 2vw, 1.375rem);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

/* ===== OPTIMIZED HERO BUTTONS ===== */

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 0.75rem;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    text-align: center;
    justify-content: center;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(249, 115, 22, 0.6);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 140px;
    text-align: center;
    justify-content: center;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* ===== OPTIMIZED HERO STATS ===== */

.hero-stats {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
    max-width: 44rem;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    /* Optimized stat number sizing */
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.375rem;
    color: white;
}

.stat-label {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
}

/* Animation for active slide */
.swiper-slide-active .hero-title,
.swiper-slide-active .hero-description,
.swiper-slide-active .hero-buttons,
.swiper-slide-active .hero-stats {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ===== OPTIMIZED SWIPER NAVIGATION ===== */

.hero-pagination {
    position: absolute !important;
    bottom: 1.5rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.75rem !important;
    z-index: 10 !important;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
    margin: 0 !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #f97316 !important;
    border-color: #ef4444 !important;
    transform: scale(1.25) !important;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.6) !important;
}

/* Navigation Arrows */
.hero-nav-prev,
.hero-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.hero-nav-prev {
    left: 1.5rem;
}

.hero-nav-next {
    right: 1.5rem;
}

.hero-nav-prev:hover,
.hero-nav-next:hover {
    background: rgba(249, 115, 22, 0.3);
    border-color: rgba(249, 115, 22, 0.6);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Intersection Observer Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN - IMPROVED BREAKPOINTS ===== */

/* Large screens */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 5rem;
        margin-bottom: 2rem;
    }
    
    .hero-description {
        font-size: 1.375rem;
        margin-bottom: 3rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 1.25rem 2.5rem;
        font-size: 1.125rem;
    }
    
    .stats-grid {
        padding: 2.5rem 2rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2.25rem, 5vw, 4rem);
    }
    
    .hero-description {
        font-size: clamp(1rem, 2vw, 1.25rem);
    }
    
    .stats-grid {
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll !important;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
        margin-bottom: 1.25rem;
    }
    
    .hero-description {
        font-size: clamp(0.95rem, 3vw, 1.125rem);
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        margin-bottom: 2.5rem;
        gap: 1rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
        min-width: 140px;
    }
    
    .stats-grid {
        gap: 1rem;
        padding: 1.25rem 1rem;
    }
    
    .stat-number {
        font-size: clamp(1.75rem, 5vw, 2.75rem);
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-nav-prev,
    .hero-nav-next {
        width: 3rem;
        height: 3rem;
        font-size: 0.875rem;
    }
    
    .hero-nav-prev {
        left: 1rem;
    }
    
    .hero-nav-next {
        right: 1rem;
    }
    
    .hero-pagination {
        bottom: 1.25rem !important;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.75rem);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: clamp(0.875rem, 4vw, 1rem);
        margin-bottom: 1.75rem;
        padding: 0 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.5rem 1rem;
        max-width: 20rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    .hero-nav-prev,
    .hero-nav-next {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.75rem;
    }
}

/* Loading States */
.logo-loading {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Loading State */
.hero-swiper:not(.swiper-initialized) {
    opacity: 0;
}

.hero-swiper.swiper-initialized {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* High Performance Optimizations */
.hero-slide,
.hero-bg {
    will-change: transform;
}

.hero-title,
.hero-description,
.hero-buttons,
.hero-stats {
    will-change: opacity, transform;
}

/* High DPI Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .hero-bg {
        background-size: cover !important;
    }
}

/* Enhanced Glassmorphism */
.bg-black\/20 {
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-white\/10 {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px);
}

/* Additional utility classes for better compatibility */
.swiper-fade .swiper-slide {
    pointer-events: none;
    transition-property: opacity;
}

.swiper-fade .swiper-slide-active {
    pointer-events: auto;
}
