/* Color Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --secondary-light: #94a3b8;
    --accent: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --bg-light: #f1f5f9;
    --bg-dark: #0f172a;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
    padding-top: 6rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
}

.social-links a {
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

.payment-icon {
    height: 30px;
    margin-left: 0.5rem;
    opacity: 0.8;
}

/* Forms */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--secondary-light);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Utilities */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 5rem;
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-section img {
        margin-top: 2rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .popular-posts img {
        width: 60px !important;
        height: 60px !important;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Loading States */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: inherit;
}

/* Progress Steps */
.progress-steps {
    position: relative;
    padding: 0 40px;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--secondary-light);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 40px;
}

.step-circle {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: 2px solid var(--secondary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 600;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.step.completed .step-circle {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.step-text {
    font-size: 0.875rem;
    color: var(--secondary);
    position: absolute;
    width: 100px;
    left: 50%;
    transform: translateX(-50%);
}

/* Operator and Plan Cards */
.operator-card, .plan-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent !important;
}

.operator-card:hover, .plan-card:hover {
    border-color: var(--primary) !important;
}

.operator-card.selected, .plan-card.selected {
    border-color: var(--primary) !important;
    background-color: var(--bg-light);
}

/* Step Content */
.step-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.step-content.active {
    display: block;
}

/* Form Controls */
.form-control-lg {
    font-size: 1rem;
    padding: 1rem;
}

/* Security Features */
.security-feature {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.security-feature:hover {
    transform: translateY(-5px);
}

/* Payment Icons */
.payment-methods {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.payment-icon {
    max-width: 60px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-icon:hover {
    opacity: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .progress-steps {
        padding: 0 20px;
    }

    .progress-steps::before {
        left: 40px;
        right: 40px;
    }

    .step-text {
        font-size: 0.75rem;
        width: 80px;
    }

    .security-feature {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--bg-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    min-width: 300px;
}

/* Ribbon */
.ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
}

.ribbon-top-right {
    top: -10px;
    right: -10px;
}

.ribbon-top-right::before,
.ribbon-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
}

.ribbon-top-right::before {
    top: 0;
    left: 0;
}

.ribbon-top-right::after {
    bottom: 0;
    right: 0;
}

.ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 8px 0;
    background-color: var(--primary);
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    text-align: center;
    transform: rotate(45deg);
    right: -25px;
    top: 30px;
}

/* Operator Cards */
.operator-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.operator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.operator-logo {
    max-height: 60px;
    object-fit: contain;
}

/* Coverage Features */
.coverage-feature {
    transition: transform 0.3s ease;
}

.coverage-feature:hover {
    transform: translateY(-5px);
}

.coverage-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* Plan Tables */
.plan-table {
    border-collapse: separate;
    border-spacing: 0;
}

.plan-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    padding: 1rem;
}

.plan-table td {
    padding: 1rem;
    vertical-align: middle;
}

.plan-table tbody tr:hover {
    background-color: var(--bg-light);
}

/* Special Offers */
.offer-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offer-card:hover::before {
    opacity: 0.1;
}

/* Coverage Map */
.coverage-map {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.coverage-map img {
    width: 100%;
    height: auto;
}

.coverage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37,99,235,0.1) 0%, rgba(37,99,235,0) 100%);
}

/* Feature Icons */
.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 50%;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .operator-card {
        margin-bottom: 2rem;
    }

    .coverage-feature {
        margin-bottom: 2rem;
    }

    .plan-table {
        font-size: 0.875rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }
}

/* Blog Page Styles */
.search-box .form-control {
    border-radius: 30px 0 0 30px;
    border: 2px solid #dee2e6;
    border-right: none;
}

.search-box .btn {
    border-radius: 0 30px 30px 0;
    padding-left: 25px;
    padding-right: 25px;
}

.badge {
    font-weight: 500;
    padding: 6px 12px;
}

.categories-list li {
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    transition: color 0.3s ease;
}

.categories-list a:hover {
    color: var(--bs-primary) !important;
}

.popular-posts img {
    transition: transform 0.3s ease;
}

.popular-posts .d-flex:hover img {
    transform: scale(1.05);
}

.tags .btn {
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tags .btn:hover {
    background-color: var(--bs-primary);
    color: white;
}

.newsletter-form .form-control {
    border-radius: 30px 0 0 30px;
    border: 2px solid #dee2e6;
    border-right: none;
}

.newsletter-form .btn {
    border-radius: 0 30px 30px 0;
    padding-left: 25px;
    padding-right: 25px;
}

/* Contact Page Styles */
.contact-card {
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-form .form-control {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #e0e0e0;
}

.contact-form .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    border-color: #0d6efd;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.office-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.office-card i {
    width: 24px;
    text-align: center;
}

.contact-faq .accordion-button {
    padding: 1.25rem;
    font-weight: 500;
    border-radius: 8px;
}

.contact-faq .accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #0d6efd;
}

.contact-faq .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(13, 110, 253, 0.15);
}

.contact-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    margin-top: 76px;
}

.contact-hero img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #0d6efd;
    transform: translateY(-3px);
}

.payment-icon {
    height: 30px;
    margin-left: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-icon:hover {
    opacity: 1;
}

/* Media Queries */
@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
        margin-top: 56px;
    }
    
    .contact-hero img {
        margin-top: 30px;
    }
    
    .office-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 40px 0;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        line-height: 32px;
    }
}

/* Login Page Styles */
.login-section {
    min-height: calc(100vh - 76px);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.min-vh-75 {
    min-height: 75vh;
}

.login-card {
    border-radius: 15px;
    background: #ffffff;
}

.login-card .card-body {
    position: relative;
}

.social-login-btn {
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-login-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.divider-text {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.divider-text::before,
.divider-text::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100px;
    height: 1px;
    background-color: #dee2e6;
}

.divider-text::before {
    right: 100%;
    margin-right: 15px;
}

.divider-text::after {
    left: 100%;
    margin-left: 15px;
}

.login-form .input-group-text {
    background-color: transparent;
    border-right: none;
    color: #6c757d;
}

.login-form .form-control {
    border-left: none;
    padding: 12px;
}

.login-form .form-control:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

.login-form .input-group .form-control:focus ~ .input-group-text {
    border-color: #dee2e6;
}

.login-form .btn-outline-secondary {
    border-left: none;
    border-color: #dee2e6;
}

.login-form .btn-outline-secondary:hover,
.login-form .btn-outline-secondary:focus {
    background-color: transparent;
    color: #0d6efd;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Media Queries */
@media (max-width: 991.98px) {
    .login-section {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .min-vh-75 {
        min-height: auto;
    }
    
    .login-card {
        margin: 1rem 0;
    }
}

@media (max-width: 575.98px) {
    .login-card .card-body {
        padding: 1.5rem;
    }
    
    .divider-text::before,
    .divider-text::after {
        width: 60px;
    }
}

/* Register Page Styles */
.register-section {
    min-height: calc(100vh - 76px);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.register-card {
    border-radius: 15px;
    background: #ffffff;
}

.register-card .card-body {
    position: relative;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 1.25rem;
}

.features-list {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.register-form .form-control {
    padding: 12px;
    border-radius: 8px;
}

.register-form .input-group-text {
    background-color: transparent;
    border-right: none;
    color: #6c757d;
}

.register-form .form-control {
    border-left: none;
}

.register-form .form-control:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

.register-form .input-group .form-control:focus ~ .input-group-text {
    border-color: #dee2e6;
}

.register-form .btn-outline-secondary {
    border-left: none;
    border-color: #dee2e6;
}

.register-form .btn-outline-secondary:hover,
.register-form .btn-outline-secondary:focus {
    background-color: transparent;
    color: #0d6efd;
}

.password-strength {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.password-strength ul {
    margin-bottom: 0;
}

.password-strength li {
    margin-bottom: 0.5rem;
}

.password-strength li:last-child {
    margin-bottom: 0;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Media Queries */
@media (max-width: 991.98px) {
    .register-section {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .features-list {
        margin-top: 2rem;
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .register-card .card-body {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon i {
        font-size: 1rem;
    }
    
    .password-strength {
        padding: 0.75rem;
    }
}

/* FAQ Page Styles */
.faq-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    margin-top: 76px;
}

.faq-hero .search-box {
    max-width: 500px;
}

.faq-hero .search-box .form-control {
    padding: 12px;
    border-radius: 8px 0 0 8px;
    border: 1px solid #dee2e6;
}

.faq-hero .search-box .btn {
    border-radius: 0 8px 8px 0;
    padding: 12px 20px;
}

.faq-category-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.faq-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-box i {
    font-size: 1.5rem;
}

.faq-section .accordion-item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-section .accordion-button {
    padding: 1.25rem;
    font-weight: 500;
    background: #ffffff;
}

.faq-section .accordion-button:not(.collapsed) {
    color: #0d6efd;
    background-color: #f8f9fa;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(13, 110, 253, 0.15);
}

.faq-section .accordion-button::after {
    background-size: 1rem;
    transition: all 0.3s ease;
}

.faq-section .accordion-body {
    padding: 1.25rem;
    background-color: #ffffff;
}

.faq-section .accordion-body ul,
.faq-section .accordion-body ol {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.faq-section .accordion-body li {
    margin-bottom: 0.5rem;
}

.faq-section .accordion-body li:last-child {
    margin-bottom: 0;
}

/* Media Queries */
@media (max-width: 991.98px) {
    .faq-hero {
        padding: 60px 0;
        margin-top: 56px;
    }
    
    .faq-hero img {
        margin-top: 2rem;
    }
    
    .faq-category-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .faq-hero {
        padding: 40px 0;
    }
    
    .icon-box {
        width: 48px;
        height: 48px;
    }
    
    .icon-box i {
        font-size: 1.25rem;
    }
    
    .faq-section .accordion-button {
        padding: 1rem;
    }
    
    .faq-section .accordion-body {
        padding: 1rem;
    }
}

/* Terms and Conditions Page Styles */
.terms-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.terms-hero img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.terms-nav {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.terms-nav .nav-link {
    color: #6c757d;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.terms-nav .nav-link:hover,
.terms-nav .nav-link.active {
    color: var(--bs-primary);
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.terms-content section {
    scroll-margin-top: 100px;
}

.terms-content h2 {
    color: var(--bs-primary);
    margin-bottom: 1.5rem;
}

.terms-content ul {
    padding-left: 1.5rem;
}

.terms-content ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

.terms-content ul li::before {
    content: "•";
    color: var(--bs-primary);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

@media (max-width: 991.98px) {
    .terms-nav {
        position: relative !important;
        margin-bottom: 2rem;
    }
    
    .terms-hero {
        padding: 60px 0;
    }
    
    .terms-hero img {
        margin-top: 2rem;
        max-height: 300px;
    }
}

@media (max-width: 575.98px) {
    .terms-hero {
        padding: 40px 0;
    }
    
    .terms-content section {
        scroll-margin-top: 80px;
    }
    
    .terms-nav {
        padding: 15px;
    }
    
    .terms-nav .nav-link {
        padding: 6px 12px;
    }
} 