/* ============================================
   e-කඩමණ්ඩිය - EKADAMANDIYA.COM
   Sri Lankan Online Services Platform
   Beautiful Orange/Brown Traditional Theme
   Cross-Browser Compatible (Chrome, Firefox, Safari, Edge, Opera, IE11+)
   ============================================ */

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

/* CSS Reset for Cross-Browser Consistency */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

:root {
    /* Primary - Orange */
    --primary: #E67E22;
    --primary-dark: #D35400;
    --primary-light: #F39C12;
    --primary-glow: rgba(230, 126, 34, 0.4);
    
    /* Secondary - Brown */
    --secondary: #8B4513;
    --secondary-dark: #5D2E0C;
    --secondary-light: #A0522D;
    
    /* Accent */
    --accent: #27AE60;
    --accent-light: #2ECC71;
    
    /* Neutrals */
    --dark: #2C1810;
    --dark-light: #3D2317;
    --light: #FDF6E3;
    --cream: #FFF8E7;
    --white: #FFFFFF;
    --gray: #7F8C8D;
    --gray-light: #ECF0F1;
    
    /* Status */
    --success: #27AE60;
    --warning: #F1C40F;
    --danger: #E74C3C;
    --info: #3498DB;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #F39C12 0%, #E67E22 50%, #D35400 100%);
    --gradient-secondary: linear-gradient(135deg, #A0522D 0%, #8B4513 50%, #5D2E0C 100%);
    --gradient-hero: linear-gradient(135deg, rgba(44, 24, 16, 0.95) 0%, rgba(139, 69, 19, 0.85) 100%);
    --gradient-dark: linear-gradient(135deg, #2C1810 0%, #3D2317 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.08);
    --shadow-md: 0 4px 20px rgba(44, 24, 16, 0.12);
    --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.16);
    --shadow-xl: 0 12px 60px rgba(44, 24, 16, 0.2);
    --shadow-orange: 0 10px 40px rgba(230, 126, 34, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    -webkit-scroll-behavior: smooth;
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--light);
    background: #FDF6E3; /* Fallback for older browsers */
    color: var(--dark);
    color: #2C1810; /* Fallback */
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* ============================================
   SECTION CONTAINERS - Beautiful Styling
   ============================================ */

/* Section Base Styles */
section {
    position: relative;
    overflow: hidden;
}

/* Section Inner Container */
.section-container {
    position: relative;
    z-index: 2;
}

/* Section Headers - Centered */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: var(--shadow-orange);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Section Backgrounds */
.section-light {
    background: var(--light);
}

.section-white {
    background: var(--white);
}

.section-cream {
    background: var(--cream);
}

.section-gradient {
    background: linear-gradient(180deg, var(--light) 0%, var(--cream) 100%);
}

.section-dark {
    background: var(--gradient-dark);
    color: white;
}

/* Section Decorations */
.section-wave-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23FDF6E3' d='M0,50 C360,100 720,0 1080,50 C1260,75 1440,50 1440,50 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
    z-index: 1;
}

.section-wave-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23FDF6E3' d='M0,50 C360,0 720,100 1080,50 C1260,25 1440,50 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
    z-index: 1;
}

/* Decorative Circles */
.section-decor-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-glow);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.decor-circle-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    opacity: 0.3;
}

.decor-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
    opacity: 0.2;
}

/* Section Spacing */
.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.section-padding-lg {
    padding: 120px 0;
}

/* ============================================
   NEWS TICKER / TRAIN BAR
   ============================================ */
.news-ticker {
    background: var(--gradient-dark);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ticker-label {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-orange);
    z-index: 2;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-track {
    display: flex;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
}

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

.ticker-item {
    color: var(--cream);
    padding: 0 40px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticker-item::before {
    content: '🔸';
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition-normal);
}

.logo:hover img {
    transform: scale(1.03);
}

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

.nav-link {
    padding: 12px 20px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
    border-radius: var(--radius-full);
    position: relative;
    transition: var(--transition-normal);
    background: transparent !important;
}

/* Underline effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: calc(100% - 40px);
}

.nav-link:hover {
    color: var(--primary);
    background: transparent !important;
}

/* Only මුල් පිටුව - NO orange background, just text with underline */
.nav-link.active {
    background: transparent !important;
    color: var(--primary);
    font-weight: 700;
}

.nav-link.active::after {
    width: calc(100% - 40px);
}

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

/* Header Links - Text only, NO background */
.header-link {
    padding: 10px 15px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent !important;
}
.header-link:hover {
    color: var(--primary);
    background: transparent !important;
}

/* ලියාපදිංචි වන්න button - NO orange background, just text */
.header-btn-round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    text-decoration: none;
    background: transparent !important;
    color: var(--primary);
}
.header-btn-round:hover {
    background: var(--primary) !important;
    color: white;
    transform: translateY(-2px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.4);
}

.btn-secondary {
    background: var(--cream);
    color: var(--dark);
    border: 2px solid var(--gray-light);
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    margin-top: 84px;
    padding: 80px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--cream);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    color: var(--white);
    margin-bottom: 25px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.title-line {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.title-highlight {
    display: block;
    font-size: 3.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 35px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease 0.4s both;
}

.hero-logo-wrapper {
    position: relative;
}

.hero-main-logo {
    max-width: 400px;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.3));
    animation: float 4s ease-in-out infinite;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
    z-index: -1;
}

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

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* ============================================
   ADS BARS (4 POSITIONS)
   ============================================ */
.ads-bar {
    padding: 25px 0;
    background: var(--white);
}

.ads-bar.dark {
    background: var(--dark);
}

.ads-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-placeholder {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 20px 40px;
    text-align: center;
    color: var(--white);
    font-weight: 600;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 728px;
    box-shadow: var(--shadow-md);
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ad-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-light);
}

.ad-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.ad-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.ad-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.ad-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.ad-card-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 80px 0;
    background: var(--cream);
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background: rgba(230, 126, 34, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-desc {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* All 4 cards in single row - horizontal */
.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    border: 2px solid transparent;
    min-height: 220px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card.featured-card {
    background: var(--gradient-primary);
    color: var(--white);
}

/* Card Colors */
.service-card.gradient-reload { background: linear-gradient(135deg, #F39C12 0%, #E67E22 100%); color: white; }
.service-card.gradient-1 { background: linear-gradient(135deg, #A0522D 0%, #8B4513 100%); color: white; }
.service-card.gradient-2 { background: linear-gradient(135deg, #27AE60 0%, #1E8449 100%); color: white; }
.service-card.gradient-3 { background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%); color: white; }

/* Tablet - 2x2 grid */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile - single column */
@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.featured-ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--warning);
    color: var(--dark);
    padding: 5px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.featured-icon {
    width: 70px;
    height: 70px;
}

.emoji-icon {
    font-size: 2rem;
}

.icon-pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
}

.card-content {
    flex: 1;
    width: 100%;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 10px;
}

.card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition-normal);
    margin-top: auto;
}

.service-card:hover .card-arrow {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

/* Gradient colors removed - now in services-grid section */

/* ============================================
   RELOAD SECTION
   ============================================ */
.reload-section {
    padding: 80px 0;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.reload-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.reload-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.reload-content {
    color: var(--white);
}

.reload-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.reload-title span {
    color: var(--primary-light);
}

.reload-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.8;
}

.reload-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.reload-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reload-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(243, 156, 18, 0.25);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.reload-feature-text {
    font-weight: 500;
}

.reload-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.reload-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    text-align: center;
}

.reload-operators {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.operator-btn {
    padding: 15px 10px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-family: inherit;
}

.operator-btn:hover,
.operator-btn.active {
    border-color: var(--primary);
    background: rgba(230, 126, 34, 0.05);
}

.operator-btn .emoji {
    font-size: 1.8rem;
}

.operator-btn span:last-child {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark);
}

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

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--cream);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    background: var(--white);
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.amount-btn {
    padding: 12px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    background: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition-fast);
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.reload-submit {
    width: 100%;
    padding: 18px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-orange);
}

.reload-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.4);
}

/* ============================================
   FEATURES SECTION - 4 Columns Horizontal
   ============================================ */
.features-section {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
}

@media (max-width: 850px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
}

.feature-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 35px 20px;
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    background: var(--white);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
}

.feature-icon svg {
    stroke: var(--primary);
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon svg {
    stroke: var(--white);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
}

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

.cta-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.cta-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.btn-cta-primary {
    background: var(--white);
    color: var(--primary);
    padding: 16px 35px;
    font-weight: 700;
}

.btn-cta-primary:hover {
    background: var(--cream);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 16px 35px;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ============================================
   FOOTER - Horizontal Layout
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding-top: 60px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Top Row - Brand + Links Horizontal */
.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    font-size: 1.1rem;
}

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

/* Footer Links Section - All Horizontal */
.footer-links-section {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
    white-space: nowrap;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Footer Links - Vertical in each column */

.footer-links {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
}

.footer-links li {
    margin-bottom: 0;
    width: 100%;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
    font-size: 0.9rem;
    display: block !important;
    white-space: normal !important;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Footer Contact - Vertical */
.footer-contact {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact-icon {
    font-size: 1rem;
    color: var(--primary);
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-copyright a {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   RESPONSIVE - All Devices Support
   Mobile First Approach
   ============================================ */

/* Extra Large Desktop (1400px+) */
@media (max-width: 1400px) {
    .container { padding: 0 30px; }
    .hero-main-logo { max-width: 350px; }
}

/* Desktop (1200px) */
@media (max-width: 1200px) {
    .footer-links-section { gap: 40px; }
    .hero-content { gap: 40px; }
    .title-highlight { font-size: 2.8rem; }
    .ads-grid { grid-template-columns: repeat(3, 1fr); }
    .trust-partners-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Tablet Large (1024px) - Services 2 cols, Features stay 4 */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top-row { flex-wrap: wrap; }
    .footer-links-section { gap: 30px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-image { order: -1; }
    .hero-main-logo { max-width: 300px; margin: 0 auto; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .title-highlight { font-size: 2.5rem; }
    .ads-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-partners-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet (992px) */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 84px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    .nav-menu.active { display: flex; }
    .mobile-toggle { display: flex; }
    
    .reload-container { grid-template-columns: 1fr; }
    .cta-content { flex-direction: column; text-align: center; gap: 20px; }
    .cta-buttons { justify-content: center; }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .trust-stats { grid-template-columns: repeat(2, 1fr); }
    
    .quick-reload { flex-direction: column; gap: 15px; }
    .quick-reload-form { flex-direction: column; width: 100%; }
    .quick-reload-form input { width: 100%; }
    .quick-reload-form .btn { width: 100%; }
}

/* Tablet - Features go to 2 cols here */
@media (max-width: 850px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-partners-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile Large (768px) */
@media (max-width: 768px) {
    html { font-size: 15px; }
    .container { padding: 0 15px; }
    
    /* Header */
    .header { padding: 12px 0; }
    .logo img { height: 45px; }
    
    /* Hero */
    .hero-section { padding: 40px 0 60px; margin-top: 70px; }
    .hero-main-logo { max-width: 250px; }
    .title-highlight { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    
    /* Sections */
    .section-padding { padding: 50px 0; }
    .section-title { font-size: 1.6rem; }
    .section-subtitle { font-size: 0.9rem; }
    
    /* Grids */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ads-grid { grid-template-columns: 1fr; gap: 15px; }
    .trust-partners-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .trust-stats { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    
    /* Cards */
    .service-card { padding: 20px 15px; min-height: 140px; }
    .service-icon { width: 50px; height: 50px; font-size: 1.3rem; }
    .service-name { font-size: 0.85rem; }
    .feature-card { padding: 20px 15px; }
    .feature-icon { width: 50px; height: 50px; }
    
    /* Footer */
    .footer-top-row { flex-direction: column; gap: 30px; }
    .footer-links-section { flex-wrap: wrap; gap: 25px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .footer-brand { text-align: center; }
    .footer-social { justify-content: center; }
    
    /* Reload Page */
    .reload-hero { padding: 100px 0 40px; }
    .reload-hero h1 { font-size: 1.8rem; }
    .reload-operators { grid-template-columns: repeat(2, 1fr); }
    .amount-grid { grid-template-columns: repeat(3, 1fr); }
    .amount-btn { padding: 12px 10px; font-size: 0.85rem; }
    
    /* Forms */
    .form-input-lg { padding: 14px 16px; font-size: 1rem; }
    .submit-btn { padding: 14px; font-size: 1rem; }
    
    /* News Ticker */
    .news-ticker-content { font-size: 0.85rem; }
}

/* Mobile (576px) */
@media (max-width: 576px) {
    html { font-size: 14px; }
    .container { padding: 0 12px; }
    
    /* Header */
    .header { padding: 10px 0; }
    .logo img { height: 40px; }
    .header-actions { gap: 8px; }
    
    /* Hero */
    .hero-section { padding: 30px 0 50px; margin-top: 65px; }
    .hero-main-logo { max-width: 200px; }
    .title-highlight { font-size: 1.6rem; line-height: 1.3; }
    .hero-subtitle { font-size: 0.9rem; }
    
    /* Sections */
    .section-padding { padding: 40px 0; }
    .section-title { font-size: 1.4rem; }
    
    /* Grids - Stack on mobile */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .trust-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .trust-partners-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    
    /* Cards */
    .service-card { padding: 15px 12px; min-height: 120px; }
    .service-icon { width: 45px; height: 45px; font-size: 1.2rem; }
    .service-name { font-size: 0.8rem; }
    .feature-card { padding: 15px 12px; }
    .feature-icon { width: 45px; height: 45px; font-size: 1.2rem; }
    .feature-card h4 { font-size: 0.85rem; }
    .feature-card p { font-size: 0.75rem; }
    
    /* CTA */
    .cta-section { padding: 40px 0; }
    .cta-title { font-size: 1.4rem; }
    .cta-subtitle { font-size: 0.9rem; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .cta-buttons .btn { width: 100%; }
    
    /* Footer */
    .footer-links-section { flex-direction: column; gap: 20px; }
    .footer-logo { height: 50px; }
    .footer-social a { width: 36px; height: 36px; font-size: 1rem; }
    .footer-copyright { font-size: 0.8rem; }
    
    /* Reload Page */
    .reload-hero { padding: 90px 0 30px; }
    .reload-hero h1 { font-size: 1.5rem; }
    .reload-hero p { font-size: 0.9rem; }
    .category-tab { padding: 10px 14px; font-size: 0.8rem; }
    .providers-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .provider-card { padding: 12px; }
    .amount-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .amount-btn { padding: 10px 8px; font-size: 0.8rem; }
    .summary-card { padding: 20px; }
    .summary-total { margin: 15px -20px; padding: 15px 20px; }
    
    /* Forms */
    .input-wrapper { margin-bottom: 15px; }
    .form-input-lg { padding: 12px 14px; font-size: 0.95rem; }
    .submit-btn { padding: 12px; font-size: 0.95rem; }
    
    /* Quick Reload */
    .quick-reload-title { font-size: 1.1rem; }
}

/* Extra Small Mobile (480px) */
@media (max-width: 480px) {
    html { font-size: 13px; }
    
    .title-highlight { font-size: 1.5rem; }
    .hero-main-logo { max-width: 180px; }
    
    /* 2 column grids stay */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    
    .service-card { padding: 12px 10px; min-height: 110px; }
    .service-icon { width: 40px; height: 40px; font-size: 1.1rem; }
    .service-name { font-size: 0.75rem; }
    
    .feature-card { padding: 12px 10px; }
    .feature-icon { width: 40px; height: 40px; font-size: 1.1rem; }
    .feature-card h4 { font-size: 0.8rem; }
    .feature-card p { font-size: 0.7rem; }
    
    .trust-stat-number { font-size: 1.5rem; }
    .trust-stat-label { font-size: 0.7rem; }
    
    .amount-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .amount-btn { padding: 8px 6px; font-size: 0.75rem; }
}

/* Extra Extra Small (360px and below) */
@media (max-width: 360px) {
    .container { padding: 0 10px; }
    .title-highlight { font-size: 1.3rem; }
    .section-title { font-size: 1.2rem; }
    .hero-main-logo { max-width: 160px; }
    
    .service-card { padding: 10px 8px; }
    .feature-card { padding: 10px 8px; }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section { padding: 20px 0 40px; }
    .hero-main-logo { max-width: 150px; }
    .title-highlight { font-size: 1.5rem; }
    .section-padding { padding: 30px 0; }
}

/* Print Styles */
@media print {
    .header, .footer, .nav-menu, .mobile-toggle, .cta-section { display: none; }
    .hero-section { padding: 20px 0; margin-top: 0; }
    body { background: white; color: black; }
}

/* ============================================
   CROSS-BROWSER COMPATIBILITY HELPERS
   Supports: Chrome, Firefox, Safari, Edge, Opera, IE11+
   ============================================ */

/* Flexbox with vendor prefixes */
.d-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.flex-column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.flex-wrap {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.justify-center {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.justify-between {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.align-center {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* Transform with vendor prefixes */
.transform-center {
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* Transition with vendor prefixes */
.transition-all {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* Box Shadow for older browsers */
.shadow-box {
    -webkit-box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Border Radius for older browsers */
.rounded {
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}

/* Appearance reset for form elements */
input, select, textarea, button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Placeholder styling for all browsers */
::-webkit-input-placeholder { color: #999; opacity: 1; }
::-moz-placeholder { color: #999; opacity: 1; }
:-ms-input-placeholder { color: #999; opacity: 1; }
::placeholder { color: #999; opacity: 1; }

/* Selection styling */
::-moz-selection { background: #E67E22; color: white; }
::selection { background: #E67E22; color: white; }

/* Scrollbar styling for webkit browsers */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #E67E22; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #D35400; }

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #E67E22 #f1f1f1;
}

/* Image rendering for better quality */
img {
    -ms-interpolation-mode: bicubic;
    image-rendering: -webkit-optimize-contrast;
}

/* Font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Tap highlight removal for mobile */
a, button, input, select, textarea {
    -webkit-tap-highlight-color: transparent;
}

/* Prevent text selection on buttons */
button {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Fix for IE11 flexbox */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .nav-menu { display: block; }
    .services-grid { display: block; }
    .services-grid > * { display: inline-block; width: 23%; margin: 1%; vertical-align: top; }
    .features-grid { display: block; }
    .features-grid > * { display: inline-block; width: 23%; margin: 1%; vertical-align: top; }
}

/* Safari-specific fixes */
@supports (-webkit-touch-callout: none) {
    .sticky { position: -webkit-sticky; }
    input, textarea { font-size: 16px; } /* Prevent zoom on iOS */
}

/* Footer Bottom Section */
.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-copyright a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.footer-copyright a:hover {
    color: var(--primary-color, #4CAF50);
}

/* Legal Links */
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #fff;
}

.footer-legal-links .separator {
    color: rgba(255, 255, 255, 0.4);
}

/* Social Icons */
.social-link img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-link:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Contact Icons */
.footer-contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
    }
}

