/* Modern ISP Website CSS - Enhanced Professional Design */
/* Added Dark Mode and Modern Features */

/* CSS Variables */
:root {
    --primary-color: #4f46e5;
    --primary-dark: #3730a3;
    --secondary-color: #6c757d;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --light-color: #f8f9fa;
    --dark-color: #1f2937;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    --gradient-success: linear-gradient(135deg, var(--success-color) 0%, var(--primary-dark) 100%);
    --gradient-warning: linear-gradient(135deg, var(--warning-color) 0%, var(--primary-color) 100%);
    --gradient-info: linear-gradient(135deg, var(--info-color) 0%, var(--primary-dark) 100%);
    
    --border-radius: 0.5rem;
    --box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #6366f1;
        --primary-dark: #4f46e5;
        --light-color: #1f2937;
        --dark-color: #f9fafb;
        --secondary-color: #9ca3af;
        --bg-primary: #0f172a;
        --bg-secondary: #1e293b;
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --border-color: #334155;
    }
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

html {
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 2rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.5;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.5;
}

h6 {
    font-size: 1rem;
    line-height: 1.5;
}

p {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

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

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

.btn-outline-hero {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
}

.btn-outline-hero:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Navigation */
.navbar {
    background-color: var(--dark-color);
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
    transition: all var(--transition);
}

.navbar-brand {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition);
    text-decoration: none;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    background: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.1) 50%, transparent);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, var(--primary-color) 0%, transparent 50%, var(--primary-color) 100%);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.hero-text {
    flex: 1;
    text-align: center;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 1s;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.85;
    animation: fadeInUp 1s ease-out 2s;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 2s;
}

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

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1547690712-b6035652c13?ixlib=rb-4.0.3&ixlib=rb-1.2.1&auto=format&fit=crop&w=1200') center/cover;
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    z-index: 1;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);
    transition: opacity 1s ease-in-out;
}

.slide-content {
    flex: 1;
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.slide-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.slide-image img {
    max-width: 100%;
    max-height: 300px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    animation: slideInUp 0.5s ease-out;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 3;
}

.carousel-control-prev {
    left: 1rem;
}

.carousel-control-next {
    right: 1rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all var(--transition);
}

.indicator.active {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all var(--transition);
    border: 1px solid var(--light-color);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
}

.feature-icon i {
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card ul {
    text-align: left;
    padding: 0;
    margin: 0;
}

.feature-card ul li {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.feature-card ul li:last-child {
    margin-bottom: 0;
}

/* Packages Section */
.packages-preview {
    background-color: var(--light-color);
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.package-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all var(--transition);
    border: 1px solid var(--light-color);
    height: 100%;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.package-header {
    background: var(--gradient-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    color: white;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 800;
}

.price-period {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.package-speed {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--success-color);
}

.package-speed i {
    font-size: 1.5rem;
}

.package-features {
    text-align: left;
    margin-bottom: 1.5rem;
}

.package-features ul {
    list-style: none;
    padding: 0;
}

.package-features ul li {
    padding: 0.5rem 0;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.package-features ul li:last-child {
    border-left: none;
    margin-bottom: 0;
}

.package-action {
    margin-top: 1.5rem;
}

/* Coverage Section */
.coverage-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.coverage-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all var(--transition);
    border: 1px solid var(--light-color);
}

.coverage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.coverage-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-info);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.coverage-icon i {
    font-size: 2rem;
}

.coverage-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.coverage-card p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.coverage-status {
    margin-top: 1rem;
}

.badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--border-radius);
}

.badge-success {
    background-color: var(--success-color);
    color: white;
}

/* Notices Ticker */
.notices-ticker {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 3rem 0;
}

.notices-scroll {
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: 8px;
}

.notices-scroll::-webkit-scrollbar {
    width: 8px;
}

.notices-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.notices-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.notice-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.notice-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.notice-icon {
    margin-bottom: 1rem;
}

.notice-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.notice-content {
    text-align: center;
}

.notice-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: white;
}

.notice-excerpt {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.notice-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Statistics Section */
.stats-section {
    background: var(--gradient-primary);
    color: white;
    padding: 5rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    margin-right: 1rem;
}

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

.contact-details h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-details p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
    margin-top: 5rem;
}

.footer h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: all var(--transition);
}

.social-links a:hover {
    color: white;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-content {
        flex-direction: column;
        min-height: auto;
        padding: 2rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
        height: auto;
    }
    
    .package-card {
        margin-bottom: 1rem;
        height: auto;
    }
    
    .coverage-card {
        margin-bottom: 1rem;
        height: auto;
    }
    
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .cta-content {
        flex-direction: column;
    }
    
    .contact-info {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .package-card {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-white {
    color: white;
}

.text-center {
    text-align: center;
}

.me-1, .me-2 {
    margin-right: 0.5rem;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.list-unstyled {
    list-style: none;
    padding: 0;
}

.list-unstyled li {
    margin-bottom: 0.5rem;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}