/* Base Styles */
:root {
    --primary-color: #0066cc;
    --secondary-color: #00478f;
    --accent-color: #ff6600;
    --text-color: #333333;
    --light-text: #ffffff;
    --background-light: #f5f8fa;
    --background-dark: #1a2533;
    --border-color: #e1e8ed;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-weight: 600;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/lagos-skyline.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 180px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Features Section */
.features {
    background-color: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Plans Section */
.plans-preview {
    background-color: var(--background-dark);
    color: var(--light-text);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-card {
    background-color: #fff;
    color: var(--text-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.plan-card:hover {
    transform: scale(1.05);
}

.plan-card.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}

.popular-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.plan-card .price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0;
}

.plan-card .price span {
    font-size: 1rem;
    color: var(--text-color);
}

.features-list {
    margin: 25px 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.features-list li:before {
    content: "✓";
    color: var(--success-color);
    position: absolute;
    left: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: #fff;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    min-width: 300px;
    flex: 1;
    scroll-snap-align: start;
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.quote {
    font-style: italic;
    position: relative;
    padding: 10px 0;
}

.quote:before,
.quote:after {
    content: '"';
    font-size: 50px;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.quote:before {
    top: -20px;
    left: -10px;
}

.quote:after {
    bottom: -40px;
    right: -10px;
}

.author {
    margin-top: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Speed Test Section */
.speed-test {
    background-color: var(--background-dark);
    color: var(--light-text);
    text-align: center;
}

.speed-test-widget {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
}

.test-display {
    margin-bottom: 20px;
}

.speed-result {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.speed-result div {
    text-align: center;
}

.label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.value {
    font-size: 1.8rem;
    font-weight: bold;
}

.upgrade-cta {
    margin-top: 40px;
}

/* Coverage Map Section */
.coverage-map {
    background-color: #fff;
}

.map-container {
    height: 400px;
    background-color: #eee;
    border-radius: 10px;
    margin-bottom: 30px;
}

.coverage-check {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.coverage-check input {
    flex: 1;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

.coverage-check button {
    border-radius: 0 5px 5px 0;
}

/* Footer Styles */
footer {
    background-color: var(--background-dark);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo p {
    margin-top: 15px;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h3:after,
.footer-contact h3:after,
.footer-social h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    bottom: -10px;
    left: 0;
    background-color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

/* Contact Page Styles */
.contact-section {
    padding: 120px 0 80px;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../images/lagos-map-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info, 
.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.contact-info:hover, 
.contact-form:hover {
    transform: translateY(-5px);
}

.contact-info h3, 
.contact-form h3 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
}

.contact-info h3:after, 
.contact-form h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    bottom: -10px;
    left: 0;
    background-color: var(--accent-color);
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-info ul li i {
    margin-right: 15px;
    color: var(--primary-color);
    min-width: 20px;
    margin-top: 5px;
}

.contact-info ul li strong {
    display: block;
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.required:after {
    content: '*';
    color: #e74c3c;
    margin-left: 3px;
}

.social-connect {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.social-connect h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.office-locations {
    margin-top: 80px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.location-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.location-card:hover {
    transform: translateY(-10px);
}

.location-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.location-card h4:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
}

.location-card p {
    margin-bottom: 10px;
}

.location-card p strong {
    font-weight: 600;
}

.map-container {
    height: 200px;
    background-color: #e9ecef;
    margin-top: 20px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.map-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 102, 204, 0.1);
    z-index: 1;
    pointer-events: none;
}

/* Form submission button styling */
.contact-form .btn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* Alternative contact options */
.alt-contact-options {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}

.alt-contact {
    text-align: center;
    padding: 10px;
}

.alt-contact i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.alt-contact a {
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.alt-contact a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .header-cta {
        display: none;
    }
    
    nav ul {
        display: none;
    }
    
    .plans-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .coverage-check {
        flex-direction: column;
    }
    
    .coverage-check input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .coverage-check button {
        border-radius: 5px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info, .contact-form {
        padding: 20px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 180px;
    }
    
    .alt-contact-options {
        flex-direction: column;
        gap: 15px;
    }
}
