/* Base Styles & Variables */
:root {
    --primary: #52505B;
    --secondary: #FFFFFF;
    --accent: #8B7E74;
    --text: #333333;
    --light-gray: #F5F5F5;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--secondary);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
    box-shadow: 0 4px 15px rgba(82, 80, 91, 0.3);
}

.btn-primary:hover {
    background-color: #3d3b42;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(82, 80, 91, 0.4);
}

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

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

.section-padding {
    padding: 80px 0;
}

/* Top Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

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

.nav-links a {
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 10px 0;
    display: block; /* Always show bottom nav */
}

.bottom-nav .nav-container {
    max-width: 800px; /* Increased max-width for better spacing */
    margin: 0 auto;
    padding: 0 20px;
}

/* Adjust main content to account for bottom nav */
main {
    padding-bottom: 80px; /* Space for bottom nav */
}

.bottom-nav-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-size: 10px;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 8px;
}

.bottom-nav-link i {
    font-size: 20px;
    margin-bottom: 3px;
}

.bottom-nav-link span {
    font-size: 10px;
    font-weight: 500;
}

.bottom-nav-link:hover,
.bottom-nav-link.active {
    color: var(--accent);
    background-color: rgba(82, 80, 91, 0.1);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
}

/* Adjust main content for bottom nav */
main {
    margin-bottom: 70px;
}

/* Adjust footer for bottom nav */
.footer {
    margin-bottom: 70px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), 
                url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--secondary);
    position: relative;
    margin-top: 70px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* Plans Section */
.plans {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.plans h2 {
    text-align: center;
    margin-bottom:0px;
    position: relative;
    font-size: 2.5rem;
    background-color: #8B7E74;
    color: white;
    border-radius: 6px;
    /* border: 2px solid black;  */
}

.plans h2::after {
    content: '';
    display: block;
    width: 80px;
    background-color: var(--accent);
   
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.plan-card {
    background: var(--secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.plan-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.plan-card:hover .plan-image img {
    transform: scale(1.05);
}

.plan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.plan-card:hover .plan-overlay {
    opacity: 1;
}

.plan-card h3 {
    font-size: 1.5rem;
    margin: 20px 20px 10px;
    color: var(--primary);
}

.plan-card p {
    padding: 0 20px 10px;
    color: #666;
    margin: 0;
}

.plan-details {
    padding: 0 20px 20px;
}

.build-time {
    display: flex;
    align-items: center;
    color: var(--accent);
    font-weight: 500;
    margin-top: 10px;
    font-size: 0.95rem;
}

.build-time i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.about h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 15px auto 0;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 80px 0 0;
}

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

.footer-section h3, 
.footer-section h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    position: relative;
    font-size: 1.5rem;
}

.footer-section h3 span {
    color: var(--accent);
}

.footer-section p {
    margin-bottom: 15px;
    color: #ddd;
    line-height: 1.6;
}

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

.footer-section ul li a {
    color: #ddd;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-section i {
    margin-right: 10px;
    color: var(--accent);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: #aaa;
    font-size: 14px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Styles */
@media (max-width: 992px) {
    /* Hide desktop nav links */
    .nav-links {
        display: none;
    }
    
    /* Show mobile menu button */
    .mobile-nav {
        display: block;
    }
    
    /* Nav icon styles */
    .nav-icon {
        width: 30px;
        height: 25px;
        position: relative;
        cursor: pointer;
        z-index: 1001;
    }
    
    .nav-icon span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--primary);
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: var(--transition);
    }
    
    .nav-icon span:nth-child(1) {
        top: 0;
    }
    
    .nav-icon span:nth-child(2) {
        top: 11px;
    }
    
    .nav-icon span:nth-child(3) {
        top: 22px;
    }
    
    .nav-icon.open span:nth-child(1) {
        top: 11px;
        transform: rotate(135deg);
    }
    
    .nav-icon.open span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-icon.open span:nth-child(3) {
        top: 11px;
        transform: rotate(-135deg);
    }
    
    /* Mobile menu styles */
    .mobile-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--secondary);
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .mobile-menu.show {
        transform: translateY(0);
    }
    
    .mobile-menu a {
        display: flex;
        align-items: center;
        padding: 15px 30px;
        color: var(--primary);
        font-weight: 500;
        transition: var(--transition);
    }
    
    .mobile-menu a i {
        margin-right: 10px;
        font-size: 18px;
        width: 24px;
        text-align: center;
    }
    
    .mobile-menu a:hover,
    .mobile-menu a.active {
        background: var(--light-gray);
        color: var(--accent);
        padding-left: 35px;
    }
    
@media (max-width: 992px) {
    /* Adjust bottom nav for mobile */
    .bottom-nav {
        padding: 8px 0;
    }
    
    /* Adjust main content for bottom nav */
    main {
        margin-bottom: 70px;
    }
    
    /* Adjust footer for bottom nav */
    .footer {
        margin-bottom: 70px;
    }
    
    /* Adjust hero section for mobile */
    .hero {
        margin-top: 10px;
        min-height: calc(100vh - 140px); /* Account for top and bottom nav */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section ul {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 600px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .plans h2,
    .about h2 {
        font-size: 2rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}
