/* Asia Software - Modern CSS Styles */

:root {
    /* Light theme colors */
    --primary-orange: #e46212;
    --primary-orange-light: #f17547;
    --primary-orange-dark: #d95b27;
    --secondary-blue: #2563eb;
    --accent-green: #10b981;
    --accent-red: #ef4444; /* Added for potential error messages */
    
    /* Background colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #1e293b;
    --bg-card: #ffffff;
    
    /* Text colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #cbd5e1; /* Lightened for better contrast on dark bg */
    --text-white: #ffffff;
    
    /* Border and shadow */
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-orange: 0 10px 25px -5px rgba(228, 98, 18, 0.1), 0 4px 6px -2px rgba(228, 98, 18, 0.05);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Offset for fixed header */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
}

h3 {
    font-size: 2rem;
    color: var(--text-primary);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

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

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-orange);
    background-color: var(--bg-secondary);
}

.nav-link.active {
    color: var(--primary-orange);
}

.nav-actions {
    display: flex;
    gap: var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.95rem;
    line-height: 1;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-light));
    color: white;
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(228, 98, 18, 0.2), 0 6px 8px -2px rgba(228, 98, 18, 0.1);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: white;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-orange-light), var(--primary-orange));
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* Stats Section */
.stats {
    background: var(--bg-card);
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

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

.section-dark h2,
.section-dark h3 {
    color: var(--text-white);
}

.section-dark p {
    color: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    background: var(--primary-orange);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

/* --- ORIGINAL FORM STYLES (NOW ENHANCED) --- */
.form {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}
.section-dark .form {
    background: #2c3a50; /* Darker card for dark sections */
    border-color: #4a5a73;
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label, .form-label { /* Combined for consistency */
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}
.section-dark .form-group label {
    color: var(--text-white);
}

.form-group input, .form-group select, .form-group textarea,
.form-input, .form-select, .form-textarea { /* Combined for consistency */
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
    background: var(--bg-secondary);
}
.section-dark .form-group input, .section-dark .form-group select, .section-dark .form-group textarea {
    background: #1e293b;
    border-color: #4a5a73;
    color: var(--text-white);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(228, 98, 18, 0.2);
}

.form-group textarea, .form-textarea {
    resize: vertical;
    min-height: 120px;
}


/* Pricing Cards */
.pricing-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--primary-orange);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: var(--spacing-lg);
    right: -30px;
    background: var(--primary-orange);
    color: white;
    padding: var(--spacing-sm) var(--spacing-2xl);
    font-size: 0.875rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto var(--spacing-lg);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: var(--spacing-lg);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.pricing-features li {
    padding: var(--spacing-sm) 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: bold;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h4 { /* Changed from h3 for better semantics */
    color: var(--text-white);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

.footer-section ul, .footer-links {
    list-style: none;
}

.footer-section ul li, .footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-section ul a, .footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section ul a:hover, .footer-links a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: var(--spacing-xl);
    text-align: center;
    color: var(--text-light);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--spacing-sm); }
.gap-2 { gap: var(--spacing-md); }
.gap-3 { gap: var(--spacing-lg); }
.gap-4 { gap: var(--spacing-xl); }

/* --- ORIGINAL STYLES FOR PRODUCT GALLERY & PRICING --- */

/* Product Card on Main Page */
.product-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card .card-body {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card .card-title {
    margin-bottom: var(--spacing-md);
}

.product-card .card-description {
    margin-bottom: var(--spacing-xl);
    flex-grow: 1;
}


/* Interactive Pricing Section on Details Page */
.pricing-container {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    background: #fff;
}

.package-toggle, .plan-toggle {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    background: #f7f7f7;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}

.package-btn, .plan-btn {
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.package-btn span {
    font-size: 0.8rem;
    font-weight: 400;
    color: #777;
    margin-top: 4px;
}

.package-btn.active, .plan-btn.active {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(228, 98, 18, 0.3);
}

.package-btn.active span {
    color: white;
}

.package-content, .plan-details {
    display: none;
}

.package-content.active, .plan-details.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.price-card {
    text-align: center;
    background: #fff8f5;
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-2xl);
    border: 2px solid var(--primary-orange);
}

.price-amount {
    margin-bottom: var(--spacing-md);
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-right: var(--spacing-md);
}

.discounted-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price-saving {
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.feature-table {
    margin-top: var(--spacing-2xl);
}

.feature-table h3 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.feature-category {
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    cursor: pointer;
    background: #f9f9f9;
    transition: background-color 0.2s ease;
}

.category-header:hover {
    background: #f1f1f1;
}

.category-header h4 {
    margin: 0;
    font-weight: 600;
}

.category-header i {
    transition: transform 0.3s ease;
}

.feature-category.open .category-header i {
    transform: rotate(180deg);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.feature-category.open .feature-list {
    max-height: 2000px; /* Adjust if you have a very long list */
}

.feature-list li {
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: #fff;
}

.feature-list li i {
    color: var(--accent-green);
}


/* =============================================== */
/* === STYLISH ANNOUNCEMENT POPUP (BLUR FIXED) === */
/* =============================================== */

/* The overlay behind the popup (This will have the blur effect) */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}


/* Animation for the popup entry */
@keyframes popupEnter {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Animation for the icon */
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Animation for text entry */
@keyframes textFadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.announcement-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    z-index: 2000;
    max-width: 420px;
    width: calc(100% - 40px);
    
    /* REMOVED: backdrop-filter has been removed from here */
    background: linear-gradient(145deg, #2c3a50, #1e293b);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    pointer-events: none;
    visibility: hidden;
}

.announcement-popup.show {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    animation: popupEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.announcement-content {
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    position: relative;
}

.close-popup-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1rem;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-popup-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    transform: rotate(90deg);
}

.announcement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin: 0 auto var(--spacing-lg);
    box-shadow: 0 8px 15px -3px rgba(228, 98, 18, 0.3);
    animation: iconPulse 2s infinite ease-in-out;
}

.announcement-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-white);
    animation: textFadeInUp 0.5s ease-out 0.2s;
    animation-fill-mode: both;
}

.announcement-text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    animation: textFadeInUp 0.5s ease-out 0.4s;
    animation-fill-mode: both;
}

.announcement-content .btn {
    animation: textFadeInUp 0.5s ease-out 0.6s;
    animation-fill-mode: both;
}

/* --- 2. Client Logo Ticker --- */
.section-clients {
    background: var(--bg-secondary);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.logo-ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}
.logo-ticker {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-2xl);
}
.logo-item img {
    height: 40px;
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-normal);
}
.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- 3. Testimonials/Reviews Section --- */
.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #2c3a50; /* Darker card for dark sections */
    border-color: #4a5a73;
}
.testimonial-body {
    position: relative;
    padding-left: var(--spacing-xl);
}
.testimonial-body .fa-quote-left {
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 1.5rem;
    color: var(--primary-orange);
    opacity: 0.5;
}
.testimonial-body p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    border-top: 1px solid #4a5a73;
    padding-top: var(--spacing-lg);
}
.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-orange);
}
.testimonial-author h4 {
    margin: 0;
    color: var(--text-white);
    font-size: 1rem;
}
.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-light);
}
.section-footer {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

/* --- 4. Form Success Notification --- */
.form-success-notification {
    background: var(--bg-secondary);
    border: 1px solid var(--accent-green);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    animation: fadeIn 0.5s ease;
}
.notification-icon {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: var(--spacing-md);
}
.notification-icon i {
    animation: popIn 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.form-success-notification h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
}
.form-success-notification p {
    color: var(--text-secondary);
    margin-bottom: 0;
}
@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- RESPONSIVE STYLES FOR MOBILE --- */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px; /* Adjust for smaller header */
    }
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none; /* Can be replaced with a burger menu later */
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }

    .pricing-container {
        padding: var(--spacing-lg);
    }

    .package-btn, .plan-btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }

    .discounted-price {
        font-size: 2rem;
    }
    
    .original-price {
        font-size: 1rem;
    }

    .product-card .card-body {
        padding: var(--spacing-lg);
    }
}

/* --- 2. Client Logo Ticker (Updated) --- */
.section-clients {
    background: var(--bg-secondary);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.logo-ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}
.logo-ticker {
    display: flex;
    width: max-content;
    /* CHANGED: Speed increased from 40s to 25s */
    animation: scroll 25s linear infinite;
}
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    /* CHANGED: Space reduced from --spacing-2xl to --spacing-xl */
    padding: 0 var(--spacing-xl);
}
.logo-item img {
    height: 40px;
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-normal);
}
.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =============================================== */
/* === STYLES FOR HERO VIDEO BACKGROUND (ENHANCED) === */
/* =============================================== */

.hero {
    position: relative; /* This is crucial for positioning the video */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh; /* Makes the hero section take the full screen height */
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the video cover the entire area without stretching */
}

/* Add a dark overlay so the white text is readable */
.hero-video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
}

.hero-content-overlay {
    position: relative;
    z-index: 2; /* Ensures the text is on top of the video and overlay */
}

/* --- NEW & MODERN HEADING STYLES --- */

/* Make hero subtitle white */
.hero .hero-subtitle {
    color: var(--text-white);
    /* Add a subtle animation to the subtitle as well */
    animation: fadeInUp 1.5s ease-out 0.5s;
    animation-fill-mode: both; /* Ensures it stays in place after animation */
}

/* Apply animated gradient and reveal animation to the main title */
.hero .hero-title {
    /* 1. Creating a larger gradient that can move */
    background: linear-gradient(125deg, #ff8c42, var(--primary-orange), #ff8c42);
    background-size: 200% 200%; /* Gradient ko bara kiya hai taake move ho sake */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    /* 2. Adding a subtle glow effect */
    text-shadow: 0px 2px 15px rgba(0, 0, 0, 0.3);

    /* 3. Applying two animations: one for the gradient, one for the reveal */
    animation: 
        animatedGradient 4s ease infinite, /* Gradient ko move karne ke liye */
        fadeInUp 1.5s ease-out; /* Text ko reveal karne ke liye */
}

/* Keyframes for the gradient animation */
@keyframes animatedGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Keyframes for the reveal animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Adjustments for the layout */
.hero-content {
    grid-template-columns: 1fr; /* Change from 2 columns to 1 */
    text-align: center;
}
.hero-image {
    display: none; /* Hide the old image container */
}

/* =============================================== */
/* === STYLES FOR ANIMATED COUNTER === */
/* =============================================== */

.stat-number-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline; /* Numbers aur K+ ko aapas mein align karega */
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
}

.stat-suffix {
    font-size: 2.5rem; /* Number ke barabar size */
    font-weight: 700;
    color: var(--primary-orange);
    margin-left: 4px; /* Number aur K+ ke darmiyan halki si space */
}

