/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Navigation - Telecentro Official Colors */
.top-nav {
    background: #041220;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-nav .container {
    display: flex;
    justify-content: flex-start;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(41, 121, 255, 0.2);
    color: #2979ff;
    transform: translateY(-1px);
}

/* Main Header - Telecentro Official Style */
.main-header {
    background: #041220;
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-image {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 20px;
}

.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.dropdown-btn:hover {
    background: rgba(41, 121, 255, 0.2);
    color: #2979ff;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin: 4px 8px;
}

.dropdown-content a:hover {
    background: #f3f4f6;
    color: #2979ff;
    transform: translateX(4px);
}

.dropdown-content hr {
    margin: 8px 16px;
    border: none;
    height: 1px;
    background: #e5e7eb;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Main Content */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

/* Official Banner */
.official-banner {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.banner-image:hover {
    transform: scale(1.02);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

/* Form Section - Telecentro Official Style */
.form-section {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.form-header {
    text-align: left;
    margin-bottom: 40px;
}

.cloud-icon {
    margin-bottom: 20px;
}

.cloud-svg {
    width: 43px;
    height: 43px;
}

.form-title {
    font-size: 24px;
    font-weight: 300;
    color: #333;
    margin-bottom: 16px;
}

.form-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.payment-form {
    max-width: 100%;
}

/* Floating Input Style - Telecentro Official */
.input-group {
    position: relative;
    width: 100%;
    padding: 0 12px;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 56px;
    display: flex;
    align-items: center;
    background: white;
}

.input-icon {
    color: #666;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

.form-input {
    height: 50px;
    border: 0;
    flex: 1;
    outline: none;
    background: transparent;
    font-size: 16px;
    padding: 0;
}

.form-label {
    position: absolute;
    left: 48px;
    transition: all 0.3s;
    top: 18px;
    color: #666;
    font-size: 16px;
    pointer-events: none;
    background: white;
    padding: 0 4px;
}

.form-input:focus ~ .form-label,
.form-input:valid ~ .form-label {
    top: -10px;
    left: 42px;
    font-size: 12px;
    background: white;
    padding: 0 6px;
    color: #2979ff;
}

.input-group:focus-within {
    border: 1px solid #2979ff;
}

.form-actions {
    margin: 32px 0;
    display: flex;
    justify-content: flex-end;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    height: 52px;
    min-width: 150px;
}

.btn-primary {
    background: #2979ff;
    color: white;
}

.btn-primary:hover {
    background: #1976d2;
    transform: translateY(-1px);
}

.terms-text {
    text-align: center;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.terms-link {
    color: #2979ff;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100%;
    min-height: 500px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #2979ff 0%, #1976d2 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    height: 100%;
    width: 100%;
    background: url('https://images.pexels.com/photos/325229/pexels-photo-325229.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(41, 121, 255, 0.9), rgba(25, 118, 210, 0.85));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    color: white;
    height: 100%;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.3;
    font-weight: 400;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 500px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    opacity: 0.95;
    line-height: 1.3;
    padding: 8px;
    text-align: center;
}

.feature i {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 4px;
}

.hero-cta {
    margin-top: 20px;
    text-align: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-text {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* Payment Page Specific Styles */
.payment-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.payment-header {
    text-align: left;
    margin-bottom: 40px;
}

.bill-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #2979ff;
}

.bill-info p {
    margin: 8px 0;
    color: #333;
    font-weight: 500;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}

.form-row .input-group {
    margin-bottom: 1em;
}

/* Footer */
.footer {
    background: #041220;
    color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 16px;
    color: white;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #2979ff;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(41, 121, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2979ff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-nav {
        display: none;
    }
    
    .official-banner {
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-section {
        padding: 30px 20px;
    }
    
    .hero-section {
        min-height: 400px;
    }
    
    .hero-overlay {
        padding: 25px 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-features {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .feature {
        font-size: 14px;
        gap: 10px;
        padding: 4px 0;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .form-section {
        padding: 24px 16px;
    }
    
    .form-title {
        font-size: 20px;
    }
    
    .form-description {
        font-size: 14px;
    }
    
    .payment-container {
        padding: 24px 16px;
    }
    
    .hero-section {
        min-height: 350px;
    }
    
    .hero-overlay {
        padding: 20px 15px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .feature {
        font-size: 13px;
        gap: 8px;
        padding: 3px 0;
    }
    
    .hero-features {
        gap: 6px;
        margin-bottom: 15px;
    }
}

/* Loading Animation */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Success Animation */
.success-message {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #0ea5e9;
    color: #0c4a6e;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Confirmation Page Styles */
.confirmation-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.confirmation-header {
    text-align: left;
    margin-bottom: 40px;
}

.confirmation-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2979ff;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(41, 121, 255, 0.15);
}

.amount-card {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.detail-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    font-size: 24px;
    color: #2979ff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.amount-card .detail-icon {
    color: #10b981;
}

.detail-content {
    flex: 1;
}

.detail-content label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
    font-weight: 500;
}

.detail-value {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin: 0;
    word-break: break-all;
}

.amount-value {
    font-size: 28px;
    color: #10b981;
}

.confirmation-question {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #fff7ed, #fed7aa);
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #fb923c;
}

.confirmation-question i {
    font-size: 24px;
    color: #ea580c;
}

.confirmation-question p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #9a3412;
}

.confirmation-actions {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    flex: 1;
}

.btn-secondary:hover {
    background: #e5e7eb;
    color: #1f2937;
    transform: translateY(-1px);
}

.btn-primary {
    flex: 1;
}

@media (max-width: 768px) {
    .confirmation-container {
        padding: 30px 20px;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .detail-card {
        padding: 20px;
    }

    .detail-value {
        font-size: 16px;
    }

    .amount-value {
        font-size: 24px;
    }

    .confirmation-question p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .confirmation-container {
        padding: 24px 16px;
    }

    .detail-card {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .detail-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}