@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #00BEEF;
    --primary-light: #E5F8FE;
    --primary-dark: #0098BF;
    
    --star-color: #FFC107;
    --purple-color: #8338EC;
    --red-color: #FF006E;
    --green-color: #06D6A0;
    --orange-color: #FB8500;
    
    --text-color: #2B2D42;
    --text-light: #6C757D;
    --bg-color: #FFFFFF;
    --bg-light: #F4FAFC;
    --border-color: #E9ECEF;
    
    --shadow-sm: 0 4px 12px rgba(0, 190, 239, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 190, 239, 0.12);
    --shadow-lg: 0 20px 40px rgba(0, 190, 239, 0.18);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-family: 'Nunito', sans-serif;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 100px;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }

/* Typography */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 50px;
}

.section-title.no-margin {
    margin-bottom: 0;
}

.link-more {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary-color);
}

.link-more:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary { background-color: var(--primary-color); color: white; box-shadow: 0 8px 20px rgba(0, 190, 239, 0.3); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 12px 25px rgba(0, 190, 239, 0.4); }
.btn-light { background-color: white; color: var(--text-color); }
.btn-light:hover { background-color: var(--bg-light); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled { padding: 12px 0; box-shadow: var(--shadow-sm); border-bottom: none; }
.header-container { display: flex; justify-content: space-between; align-items: center; }

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.nav ul { display: flex; gap: 32px; }
.nav a { font-weight: 600; color: var(--text-color); position: relative; padding: 5px 0; }
.nav a:hover { color: var(--primary-color); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text-color);
    background: var(--bg-light);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
}

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

.mobile-menu-btn { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.mobile-menu-btn span { width: 24px; height: 3px; background-color: var(--text-color); border-radius: 3px; }

/* Hero Slider */
.hero-slider {
    padding-top: 80px;
}

.main-swiper {
    width: 100%;
    height: 600px;
}

.swiper-slide {
    display: flex;
    align-items: center;
}

.slide-content {
    display: flex;
    align-items: center;
    gap: 60px;
    height: 100%;
    padding: 40px 24px;
}

.slide-text { flex: 1; }
.slide-text h1 { font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 24px; }
.slide-text h1 span { color: var(--primary-color); }
.slide-text p { font-size: 1.25rem; color: var(--text-light); margin-bottom: 40px; max-width: 90%; }

.slide-image { flex: 1; height: 100%; max-height: 450px; }

/* Placeholder Images */
.placeholder-image {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 40px 40px 40px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.placeholder-image.alt-bg { background: linear-gradient(135deg, #66DDF5, var(--primary-color)); }
.placeholder-image.brand-bg { background: linear-gradient(135deg, #B3EDFC, var(--primary-dark)); }
.placeholder-icon { width: 120px; height: 120px; opacity: 0.3; }
.placeholder-image.sm { border-radius: 20px 20px 0 0; box-shadow: none; height: 200px; }
.placeholder-icon.sm { width: 64px; height: 64px; }

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.stat-icon {
    width: 64px; height: 64px;
    background: var(--bg-light);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
}
.stat-icon svg { width: 32px; height: 32px; }
.stat-card h3 { font-size: 2.5rem; font-weight: 800; color: var(--text-color); margin-bottom: 8px; line-height: 1; }
.stat-card p { color: var(--text-light); font-weight: 600; font-size: 1.1rem; }

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card-content { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 0.9rem; }
.card-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; line-height: 1.4; }
.card-desc { color: var(--text-light); margin-bottom: 20px; flex: 1; }

/* Badges & Tags */
.badge {
    position: absolute;
    top: 20px; left: 20px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.9rem;
    color: white;
    z-index: 10;
}
.badge-red { background-color: var(--red-color); }
.badge-orange { background-color: var(--orange-color); }
.badge-purple { background-color: var(--purple-color); }

.tag {
    background: var(--bg-light);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
}

.status { font-weight: 700; color: var(--green-color); }
.date { color: var(--text-light); font-weight: 600; }
.read-time { display: flex; align-items: center; gap: 6px; color: var(--text-light); font-weight: 600; }
.read-time svg { width: 16px; height: 16px; }

/* Progress Bar */
.progress-container { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.progress-bar { flex: 1; height: 8px; background: var(--border-color); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary-color); border-radius: 4px; }
.progress-text { font-weight: 800; font-size: 0.9rem; color: var(--text-color); width: 40px; text-align: right; }

/* Blog Specific */
.author-meta { display: flex; gap: 8px; font-size: 0.9rem; color: var(--text-light); font-weight: 600; margin-top: auto; }

/* Store Specific */
.store-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.rating { display: flex; align-items: center; gap: 4px; font-weight: 800; }
.star-icon { color: var(--star-color); fill: var(--star-color); width: 18px; height: 18px; }
.store-address, .store-hours { display: flex; align-items: center; gap: 10px; color: var(--text-light); margin-bottom: 12px; font-weight: 500; }
.store-address svg, .store-hours svg { width: 18px; height: 18px; color: var(--primary-color); }
.store-amenities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border-color); }
.amenity { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--text-color); background: var(--bg-light); padding: 6px 12px; border-radius: var(--radius-sm); }
.amenity svg { width: 14px; height: 14px; color: var(--text-light); }

/* CTA Banners */
.cta-section { padding: 40px 0; }
.cta-banner {
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}
.cta-content { flex: 1; position: relative; z-index: 2; max-width: 600px; }
.cta-content h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 20px; }
.cta-content p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

/* Using Brand Colors for CTAs */
.cta-brand-light { background: linear-gradient(135deg, var(--primary-light), #B3EDFC); color: var(--text-color); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.cta-brand { background: linear-gradient(135deg, #26C9F2, var(--primary-color)); color: white; box-shadow: var(--shadow-md); }
.cta-dark { background: linear-gradient(135deg, var(--primary-dark), #007A99); color: white; box-shadow: var(--shadow-md); }

.cta-brand-light .btn-primary { background: var(--primary-color); color: white; }
.cta-brand-light .btn-primary:hover { background: var(--primary-dark); }

.cta-illustration { 
    position: absolute; 
    right: -20px; 
    bottom: -40px; 
    opacity: 0.15; 
    z-index: 1;
}
.cta-illustration svg { width: 350px; height: 350px; }
.cta-brand-light .cta-illustration { opacity: 0.05; } /* Subtler for light bg */

/* Footer */
.footer { background-color: #1A1B26; color: white; padding-top: 80px; }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.logo-footer { height: 60px; display: block; margin-bottom: 24px; filter: brightness(0) invert(1); }
.footer-brand p { color: #ADB5BD; max-width: 300px; }
.footer h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; }
.footer ul { display: flex; flex-direction: column; gap: 16px; }
.footer li { color: #ADB5BD; transition: var(--transition); display: flex; align-items: center; gap: 12px; }
.footer li svg { width: 20px; height: 20px; }
.footer a:hover { color: var(--primary-light); }
.social-links li a { display: flex; align-items: center; gap: 10px; }
.footer-bottom { background-color: #12131C; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom p { color: #6C757D; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Swiper Overrides */
.swiper-pagination-bullet { background: var(--border-color); opacity: 1; width: 10px; height: 10px; transition: var(--transition); }
.swiper-pagination-bullet-active { background: var(--primary-color); width: 30px; border-radius: 5px; }
.swiper-button-next, .swiper-button-prev { color: var(--primary-color); background: white; width: 50px; height: 50px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.swiper-button-next:after, .swiper-button-prev:after { font-size: 1.2rem; font-weight: bold; }

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .nav, .header-contact { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .slide-content { flex-direction: column; text-align: center; justify-content: center; }
    .slide-text h1 { font-size: 2.5rem; }
    .slide-image { display: none; }
    
    .cards-grid, .stats-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
    
    .cta-banner { padding: 40px 24px; text-align: center; }
    .cta-illustration { display: none; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 15px; }
}
.logo img { height: 50px; }

/* Boxed Modern Slider */
.modern-hero { padding-top: 110px; padding-bottom: 20px; }
.hero-wrapper { padding: 0 20px; }
.boxed-swiper {
    border-radius: 40px;
    box-shadow: 0 24px 48px rgba(0, 190, 239, 0.12);
    overflow: hidden;
    background: var(--bg-light);
    height: 600px;
    position: relative;
}

.slide-bg-1 { background: linear-gradient(135deg, #f0fbfe 0%, #e5f8fe 100%); position: relative; overflow: hidden; }
.slide-bg-2 { background: linear-gradient(135deg, #f4f0fe 0%, #e8e0fd 100%); position: relative; overflow: hidden; }

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}
.circle-1 { width: 400px; height: 400px; background: var(--primary-color); opacity: 0.2; top: -100px; right: -50px; }
.circle-2 { width: 300px; height: 300px; background: var(--secondary-color); opacity: 0.15; bottom: -50px; left: -50px; }
.circle-3 { width: 500px; height: 500px; background: var(--purple-color); opacity: 0.15; top: -150px; right: -100px; }
.circle-4 { width: 300px; height: 300px; background: var(--primary-color); opacity: 0.15; bottom: 0; left: 10%; }

.boxed-swiper .slide-content {
    position: relative;
    z-index: 2;
    padding: 0 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.boxed-swiper .slide-text { flex: 1; max-width: 600px; }

.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: white;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--primary-color);
    box-shadow: 0 8px 16px rgba(0,0,0,0.04);
    margin-bottom: 24px;
}
.badge-purple { color: var(--purple-color); }
.icon-sm { width: 16px; height: 16px; }

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), #0077B6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-purple {
    background: linear-gradient(135deg, var(--purple-color), #5e26b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.boxed-swiper .btn-group { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    border: 1px solid rgba(255,255,255,0.8);
    transition: var(--transition);
}
.btn-glass:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.btn-purple { background-color: var(--purple-color); box-shadow: 0 8px 20px rgba(131, 56, 236, 0.3); }
.btn-purple:hover { background-color: #6A21CD; box-shadow: 0 12px 25px rgba(131, 56, 236, 0.4); }

/* Visual Side */
.slide-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
}
.glass-icon-card {
    width: 320px; height: 320px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(20px);
    border-radius: 48px;
    border: 1px solid rgba(255,255,255,0.8);
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 30px 60px rgba(0, 190, 239, 0.1);
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}
.swiper-slide-active .glass-icon-card {
    animation: float 6s ease-in-out infinite;
}
.glass-icon-card i { width: 120px; height: 120px; color: var(--primary-color); opacity: 0.9; }
.icon-purple i { color: var(--purple-color); }

.floating-badge {
    position: absolute;
    background: white;
    padding: 14px 24px;
    border-radius: 20px;
    font-weight: 800;
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
    font-size: 1rem;
    display: flex; align-items: center; gap: 8px;
    color: var(--text-color);
}
.star-color { color: var(--star-color); fill: var(--star-color); }
.primary-color { color: var(--primary-color); }
.purple-color { color: var(--purple-color); }

.badge-top { top: 20px; right: -20px; animation: float 5s ease-in-out infinite reverse; }
.badge-bottom { bottom: 40px; left: -40px; animation: float 7s ease-in-out infinite 1s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Animations for text */
.slide-text h1, .slide-text p, .boxed-swiper .btn-group, .slide-text .badge-modern {
    opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.swiper-slide-active .slide-text h1 { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.swiper-slide-active .slide-text p { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.swiper-slide-active .slide-text .btn-group { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.swiper-slide-active .slide-text .badge-modern { opacity: 1; transform: translateY(0); transition-delay: 0s; }

/* Controls overriding */
.modern-pagination { bottom: 30px !important; }
.modern-pagination .swiper-pagination-bullet {
    width: 10px; height: 10px; background: var(--text-light); opacity: 0.3; transition: all 0.4s ease;
}
.modern-pagination .swiper-pagination-bullet-active {
    width: 40px; border-radius: 5px; background: var(--primary-color); opacity: 1;
}

.modern-nav {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    width: 56px; height: 56px;
    border-radius: 50%;
    color: var(--text-color);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.6);
}
.modern-nav:hover { background: white; color: var(--primary-color); transform: scale(1.05); }
.modern-nav.swiper-button-next { right: 30px; }
.modern-nav.swiper-button-prev { left: 30px; }
.modern-nav:after { font-size: 1.2rem; font-weight: 900; }

@media (max-width: 1024px) {
    .boxed-swiper .slide-content { padding: 0 60px; }
    .glass-icon-card { width: 260px; height: 260px; }
    .badge-top { right: -10px; }
    .badge-bottom { left: -10px; }
}

@media (max-width: 768px) {
    .modern-hero { padding-top: 90px; }
    .hero-wrapper { padding: 0 16px; }
    .boxed-swiper { height: auto; padding: 60px 0 80px; border-radius: 32px; }
    .boxed-swiper .slide-content { flex-direction: column; padding: 0 24px; text-align: center; gap: 50px; }
    .slide-text h1 { font-size: 2.8rem; }
    .boxed-swiper .btn-group { justify-content: center; }
    .glass-icon-card { width: 220px; height: 220px; margin: 0 auto; }
    .glass-icon-card i { width: 80px; height: 80px; }
    .floating-badge { display: none; }
    .modern-nav { display: none; }
}
