/* 
   Telenet ISP Website Stylesheet
   Modern, responsive design with Telenet brand colors
*/

/* ===== Base Styles ===== */
:root {
    /* Brand Colors */
    --primary-color: #fbb900; /* Gold/yellow from logo */
    --secondary-color: #ae0f0a; /* Red from logo */
    --dark-color: #222222;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --text-color: #333333;
    --border-color: #e0e0e0;
    
    /* Typography */
    --body-font: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-spacing: 5rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-spacing) 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.6rem;
}

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

.btn-primary:hover {
    background-color: #e6a800; /* Darker shade of primary */
    color: var(--dark-color);
}

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

.btn-secondary:hover {
    background-color: #900c08; /* Darker shade of secondary */
    color: var(--light-color);
}

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

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

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.4rem;
    background-color: var(--primary-color);
}

.section-header p {
    max-width: 60rem;
    margin: 0 auto;
    font-size: 1.8rem;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1.5rem 0;
}

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

.logo {
    max-width: 180px;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 3rem;
}

.main-nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 3rem;
    height: 0.3rem;
    background-color: var(--dark-color);
    margin: 0.3rem 0;
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    padding-top: calc(var(--section-spacing) + 8rem);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 245, 245, 0.9) 100%), url('');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content {
    max-width: 60rem;
    margin-bottom: 4rem;
}

.hero h1 {
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.hero p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.hero-cta {
    display: flex;
    gap: 2rem;
}

/* ===== Services Section ===== */
.services {
    background-color: var(--gray-color);
}

.service-plans {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.plan {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.plan.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.plan.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.4rem;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.plan-header h3 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.price {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.period {
    font-size: 1.6rem;
    color: #777;
    margin-left: 0.5rem;
}

.speed-indicator {
    margin-bottom: 2rem;
}

.speed-value {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.speed-bar {
    height: 1rem;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.speed-fill {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
}

.plan-features ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.plan-features ul li i {
    color: var(--primary-color);
    margin-right: 1rem;
}

.plan-cta {
    margin-top: 3rem;
    text-align: center;
}

.plan-cta .btn {
    width: 100%;
}

/* ===== Features Section ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.feature {
    text-align: center;
    padding: 3rem;
    border-radius: 10px;
    background-color: var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 8rem;
    height: 8rem;
    background-color: rgba(251, 185, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

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

.feature h3 {
    margin-bottom: 1.5rem;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: var(--gray-color);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.testimonial {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-content p::before {
    content: '"';
    font-size: 5rem;
    color: rgba(251, 185, 0, 0.2);
    position: absolute;
    top: -2rem;
    left: -1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    margin-bottom: 0.5rem;
}

.author-info p {
    margin-bottom: 0;
    color: #777;
}

/* ===== FAQ Section ===== */
.faq-list {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: var(--light-color);
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.8rem;
}

.faq-toggle {
    width: 3rem;
    height: 3rem;
    background-color: rgba(251, 185, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-toggle i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    background-color: var(--light-color);
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 0 2rem 2rem;
    max-height: 1000px;
}

/* ===== CTA Section ===== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffcc33 100%);
    color: var(--dark-color);
    text-align: center;
}

.cta-content {
    max-width: 70rem;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 2rem;
}

.cta p {
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

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

/* ===== Contact Section ===== */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-item {
    display: flex;
    margin-bottom: 3rem;
}

.contact-icon {
    width: 5rem;
    height: 5rem;
    background-color: rgba(251, 185, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
}

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

.contact-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.contact-form {
    flex: 1;
    min-width: 280px;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1.6rem;
}

.form-group textarea {
    resize: vertical;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-logo {
    flex: 1;
    min-width: 280px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-links-column {
    flex: 1;
    min-width: 150px;
}

.footer-links-column h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-links-column ul li {
    margin-bottom: 1rem;
}

.footer-links-column ul li a {
    color: #aaa;
}

.footer-links-column ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #aaa;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    html {
        font-size: 55%;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .service-plans {
        flex-direction: column;
        align-items: center;
    }
    
    .plan {
        width: 100%;
        max-width: 400px;
    }
    
    .plan.featured {
        transform: scale(1);
    }
    
    .plan.featured:hover {
        transform: translateY(-10px);
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 4rem;
    }
    
    .footer-links {
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial {
        width: 100%;
        max-width: 400px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: calc(var(--section-spacing) + 6rem);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.6rem;
    }
    
    .footer-links {
        flex-direction: column;
    }
}
