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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Container utility class */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation Styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #667eea 100%);
    color: white;
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo styling - reduced by 50% for balanced size */
.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Portal Login link highlighting */
.portal-login {
    background: rgba(255,255,255,0.2) !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.portal-login:hover {
    background: rgba(255,255,255,0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    opacity: 1 !important;
}

/* Mobile menu hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section Styles - Banner background with gradient overlay */
.hero {
    background: 
        linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%),
        url('assets/banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Hero container - centered content for all views */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Hero buttons - centered layout */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero banner now used as background image with gradient overlay */

.hero-icon {
    font-size: 15rem;
    opacity: 0.1;
    text-align: center;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* Packages Section Styles - Reduced height by 30% again (total 51% reduction) */
.packages-section {
    padding: 39px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Home Packages Grid - Center featured layout */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}

/* Full width package styling - spans all 3 columns */
.full-width-package {
    grid-column: 1 / 4;
    max-width: none;
    margin: 0;
}

/* Responsive design for smaller screens */
@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .full-width-package {
        grid-column: 1 / 3;
    }
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .full-width-package {
        grid-column: 1;
    }
}

/* Premium full-width package - matches standard package styling */
.full-width-package.premium {
    /* Inherits standard package-card styling */
}

.package-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

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

.package-card.popular {
    border-color: #667eea;
    transform: scale(1.05);
}

.package-card.premium {
    border-color: #667eea;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

/* Center Featured Package - Dark Theme */
.package-card.center-featured {
    grid-column: 2;
    grid-row: 1 / 3;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    border-color: #667eea;
    transform: scale(1.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 10;
    position: relative;
    align-self: center;
    justify-self: center;
    height: fit-content;
}

.package-card.center-featured:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 25px 80px rgba(0,0,0,0.4);
}

.package-card.center-featured .package-header h3 {
    color: white;
    font-size: 2.2rem;
}

.package-card.center-featured .package-speed {
    color: #90cdf4;
}

.package-card.center-featured .amount {
    color: white;
    font-size: 3.5rem;
}

.package-card.center-featured .currency,
.package-card.center-featured .period {
    color: #cbd5e0;
}

.package-card.center-featured .package-features i {
    color: #68d391;
}

.package-card.center-featured .popular-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-size: 0.9rem;
    padding: 8px 24px;
}

.popular-badge, .premium-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.premium-badge {
    background: #667eea;
}

.package-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.package-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.package-speed {
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
}

.package-price {
    text-align: center;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.2rem;
    color: #718096;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2d3748;
}

.period {
    font-size: 1rem;
    color: #718096;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-features i {
    color: #48bb78;
    font-size: 0.9rem;
}

.btn-package {
    width: 100%;
    background: #667eea;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-package:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.btn-popular {
    background: #667eea;
}

.btn-premium {
    background: #9f7aea;
}

.btn-premium:hover {
    background: #667eea;
}

/* Business Packages Section (Compact) */
.business-section {
    padding: 60px 0;
    background: #edf2f7;
}

.section-header.compact {
    margin-bottom: 2rem;
}

.section-header.compact h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.business-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.business-package {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.business-package:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.biz-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.3rem;
}

.biz-speed {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 1rem;
}

.biz-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 1rem;
}

.btn-biz {
    background: #4a5568;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-biz:hover {
    background: #2d3748;
}

/* About Section Styles */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-content h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.feature i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.feature p {
    color: #718096;
    line-height: 1.6;
}

/* Contact Section Styles */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

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

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

/* Centered phone number styling with bold and increased size */
.contact-phone-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 600px;
}

.phone-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.15);
    padding: 2rem 3rem;
    border-radius: 16px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.phone-icon {
    font-size: 2rem;
    opacity: 0.9;
    color: white;
}

.phone-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.phone-number:hover {
    color: #f0f8ff;
    transform: scale(1.05);
}

/* Footer Styles */
.footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #a0aec0;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
}

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

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

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

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
    text-align: center;
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #667eea;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero section mobile - ensure proper centering */
    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-icon {
         font-size: 8rem;
     }
     
     /* Mobile hero banner styling for responsive design */
     .hero-banner {
         max-height: 250px;
         border-radius: 8px;
     }
    
    .nav-logo {
         justify-content: center;
     }
     
     /* Mobile logo styling - using favicon for compact design */
     .logo-img {
          content: url('assets/favicon-white.png');
          height: 20px;
      }
    
    /* Packages mobile - single column layout with M20 first */
    .packages-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    /* M20 package appears first in mobile view */
    .package-card.center-featured {
        order: -1;
        grid-column: 1;
        grid-row: auto;
        transform: none;
        margin-bottom: 1rem;
    }

    .package-card.popular {
        transform: none;
    }
    
    .business-packages {
        grid-template-columns: 1fr;
    }
    
    /* Contact mobile - responsive phone number styling */
    .phone-display {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 2rem;
        gap: 0.8rem;
    }
    
    .phone-number {
        font-size: 1.8rem;
    }
    
    .phone-icon {
        font-size: 1.5rem;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .package-card {
        padding: 1.5rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for better UX */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.package-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus styles for accessibility */
.btn:focus,
a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .hero {
        background: none;
        color: black;
    }
    
    .package-card {
        break-inside: avoid;
    }
}