@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f8f9fa;
    color: #2d2d2d;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

:root {
    --primary-color: #ff4500;
    --secondary-color: #ffffff;
    --tertiary-color: #1a1a1a;
    --accent-color: #00c4b4;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    transition: all 0.4s ease;
}

.header.sticky {
     background-color: #f9f3fd;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.nav .logo img {
    height: 45px;
    transition: transform 0.3s ease;
}

.nav .logo img:hover {
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--tertiary-color);
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: var(--tertiary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color), #ff6f00);
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 69, 0, 0.2);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    background: linear-gradient(135deg, #ff6f00, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 69, 0, 0.3);
}

.btn.secondary {
    background: linear-gradient(135deg, var(--tertiary-color), #333);
}

.btn.secondary:hover {
    background: linear-gradient(135deg, #333, var(--tertiary-color));
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: fadeIn 1.5s ease-in-out;
    padding-top: 80px; /* Account for fixed header */
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    gap: 3rem;
    width: 100%;
}

.hero-content .left {
    flex: 1;
    color: var(--secondary-color);
    animation: slideInLeft 1s ease-in-out;
}

.hero-content .left h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content .left p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-content .right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-content .right img.float {
    max-width: 500px;
    width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
    100% { transform: translateY(0); }
}

/* About Section */
.about {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-light);
    padding: 4rem 2rem;
    animation: fadeIn 1s ease-in-out;
}

.about-content {
    max-width: 800px;
    text-align: center;
    animation: slideInUp 1s ease-in-out;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--tertiary-color);
}

.about-content p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 2rem;
    color: #555;
}

/* Plans Section */
.plans {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #fff, var(--bg-light));
    text-align: center;
}

.plans h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--tertiary-color);
}

.plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.plan-card {
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-in-out;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.plan-card h3 {
    font-size: clamp(1.4rem, 3vw, 1.6rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--tertiary-color);
}

.plan-card .speed {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.plan-card .price {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 500;
    color: #555;
    margin-bottom: 1.5rem;
}

.plan-card ul {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.plan-card ul li {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.plan-card ul li::before {
    content: '✔';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--bg-light), #fff);
    text-align: center;
}

.services h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--tertiary-color);
}

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.service-card {
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-in-out;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.service-card span {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    font-size: clamp(1.4rem, 3vw, 1.6rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--tertiary-color);
}

.service-card p {
    font-size: 1rem;
    color: #555;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background-color: var(--bg-light);
    text-align: center;
}

.contact h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--tertiary-color);
}

.contact p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #555;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1280px;
    margin: 0 auto;
    gap: 2rem;
    padding: 1rem;
}

.contact-content .left {
    flex: 1;
}

.contact-content .right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 5px rgba(255, 69, 0, 0.2);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-content .right .email,
.contact-content .right .phone {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--tertiary-color);
}

.contact-content .right .email span,
.contact-content .right .phone span {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Terms Section */
.terms {
    padding: 4rem 2rem;
    background-color: #fff;
    text-align: center;
}

.terms h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--tertiary-color);
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.terms-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.terms-content ul {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.terms-content ul li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.terms-content ul li strong {
    color: var(--tertiary-color);
}

.terms-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-content a:hover {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--secondary-color);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-social a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-color);
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Media Queries - Mobile First Approach */

/* Large screens */
@media (max-width: 1200px) {
    .hero-content,
    .contact-content {
        max-width: 95%;
        padding: 1.5rem;
    }
    
    .plan-cards,
    .services-content {
        max-width: 95%;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .header {
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 2rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-content .right img.float {
        max-width: 400px;
    }
    
    .plan-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Mobile devices */
@media (width <= 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-buttons {
        display: none;
    }

    .hero {
        min-height: 90vh;
        background-attachment: scroll; /* Fix for mobile */
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 2rem;
    }

    .hero-content .right {
        justify-content: center;
    }

    .hero-content .right img.float {
        max-width: 350px;
    }

    .hero-buttons {
        justify-content: center;
        gap: 1rem;
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .contact-content .right {
        align-items: center;
        text-align: center;
    }

    .plan-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .services-content {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .about,
    .plans,
    .services,
    .contact,
    .terms {
        padding: 3rem 1.5rem;
    }

    


}

/* Small mobile devices */
@media (max-width: 576px) {
    .header {
        padding: 0.75rem 1rem;
    }
    
    .nav .logo img {
        height: 35px;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-content {
        padding: 1rem;
        gap: 1.5rem;
    }

    .hero-content .right img.float {
        max-width: 280px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        min-width: 140px;
    }

    .plan-cards,
    .services-content {
        max-width: 350px;
    }

    .plan-card,
    .service-card {
        padding: 1.5rem;
    }

    .contact-form {
        max-width: 100%;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    .footer-links,
    .footer-social {
        gap: 1rem;
    }

    .footer-links a,
    .footer-social a {
        font-size: 0.9rem;
    }

    .about,
    .plans,
    .services,
    .contact,
    .terms {
        padding: 2.5rem 1rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .nav-menu {
        width: 250px;
    }
    
    .hero-content .right img.float {
        max-width: 240px;
    }
    
    .plan-cards,
    .services-content {
        max-width: 300px;
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
    }
}

/* mobile navigation */
