/* Header styles */
header {
    position: relative;
    padding: 3rem 1.5rem;
    color: white;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('../imges/logo.png') center/cover no-repeat; /* adjust path */
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Blurred logo overlay at 50% opacity, only 10% blur now */
.logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5; /* 50% visible */
    pointer-events: none;
    z-index: 0;
    width: 80%;
    max-width: 400px;
    filter: blur(1px); /* very slight blur */
}

.logo-overlay img {
    width: 100%;
    height: auto;
    display: block;
}

/* Keep header text above overlay */
header > *:not(.logo-overlay) {
    position: relative;
    z-index: 1;
}

/* Optional: nav link styling */
nav a {
    color: white;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: bold;
}
nav a:hover {
    text-decoration: underline;
}




/* Custom Colors/Variables */
:root {
    --primary-color: #2c3e50; /* Deep Blue from header */
    --secondary-color: #e67e22; /* Vibrant Orange/Amber */
    --card-bg: white; /* Background color for the card itself */
    --green-whatsapp: #25D366;
    --text-color: #333;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}
/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color), #34495e);
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Header text */
header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0,0,0,0.2);
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Navigation - moved down by 30% */
nav {
    position: relative;
    top: 30%;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

/* Navigation links as glowing gradient boxes */
nav a {
    background: linear-gradient(45deg, #FFD700, #FF8C00); /* gold → orange */
    color: black;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 0 8px #FFD700, 0 0 16px #FF8C00, 0 0 24px #FFD700;
    transition: transform 0.2s, box-shadow 0.3s, color 0.3s;
    display: inline-block;
}

nav a:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px #FFD700, 0 0 30px #FF8C00, 0 0 40px #FFD700;
    color: black;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}


/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 58, 80, 0.8), rgba(52, 73, 94, 0.8)), url('https://images.unsplash.com/photo-1544897493-1547d89b631a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    z-index: 2;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin: 2rem 0 1.5rem;
    text-align: center;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

/* Pricing Table Scroll (Websites) */
.pricing-table-scroll {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0;
    gap: 1.5rem;
    margin: 2rem 0;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    width: 100%;
}

/* Hide scrollbar in modern browsers */
.pricing-table-scroll::-webkit-scrollbar {
    display: none;
}

.pricing-table-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.pricing-card {
    background: var(--card-bg); /* Keep the white background for contrast */
    border-radius: 12px;
    /* Increased box-shadow for more visibility */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), /* Primary shadow */
                0 5px 15px rgba(0, 0, 0, 0.15); /* Secondary shadow for depth */
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
    border: 2px solid #ddd; /* Keep a subtle border */
    flex-shrink: 0;
    width: 85vw;
    max-width: 340px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    /* Enhanced shadow on hover */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), /* Primary shadow */
                0 10px 25px rgba(0, 0, 0, 0.25); /* Secondary shadow */
    border-color: var(--secondary-color);
}

.pricing-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.pricing-card .price small {
    display: block;
    font-size: 0.9rem;
    font-weight: normal;
    color: #777;
}

.price-calculation {
    background: rgba(224, 247, 250, 0.9); /* Slightly more opaque background */
    border: 1px solid #b2ebf2;
    padding: 0.75rem;
    border-radius: 6px;
    margin: 1rem 0;
    text-align: center;
    /* Ensure visibility on dark background */
    background: linear-gradient(to bottom, #e0f7fa, #b2ebf2); /* Gradient background */
}

.price-calculation .monthly {
    font-size: 1.4rem;
    font-weight: 800;
    /* Changed color for better visibility on dark background */
    color: var(--primary-color); /* Use the deep blue color */
    /* Alternative: color: white; */
    /* Alternative: color: var(--secondary-color); */
}

.price-calculation small {
    display: block;
    margin-top: 0.25rem;
    color: #4db6ac;
    font-weight: 600;
}

.card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-out, padding 0.6s ease-out;
    padding: 0;
}

.card-details.active {
    max-height: 500px;
    padding-bottom: 1rem;
    transition: max-height 0.8s ease-in, padding 0.8s ease-in;
}

.card-details ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0.5rem 0;
}

.card-details ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #555;
}

.card-details ul li:last-child {
    border-bottom: none;
}

.card-details ul li:before {
    content: "✓";
    color: #27ae60;
    margin-right: 10px;
    font-weight: bold;
}

.card-details ul li.highlight:before {
    content: "★";
    color: var(--secondary-color);
}

.toggle-details {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: bold;
    margin: 0.5rem 0 1rem 0;
    cursor: pointer;
    transition: color 0.3s;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-top: 1px dashed #ddd;
    border-bottom: 1px dashed #ddd;
}

.toggle-details:hover {
    color: var(--secondary-color);
}

/* Portfolio Section */
#portfolio {
    padding: 3rem 0;
    background-color: #f0f0f0;
    text-align: center;
}

#portfolio h3 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.portfolio-item {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.portfolio-item a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: opacity 0.3s;
}

.portfolio-item:hover img {
    opacity: 0.9;
}

.portfolio-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 1rem 1rem 0.25rem 1rem;
}

.portfolio-item p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin: 0 1rem 1rem 1rem;
    font-weight: 600;
}

/* Comparison Table */
.comparison-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th {
    background: var(--secondary-color);
    color: white;
    padding: 0.8rem 1rem;
    text-align: left;
    font-size: 0.95rem;
    font-weight: bold;
}

.comparison-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #333;
}

.comparison-table tr:nth-child(even) {
    background: #fafafa;
}

.comparison-table tr:hover {
    background: #f5f5f5;
}

/* App Section */
.app-pricing-card {
    background: #f8f9fa;
    border: 2px solid var(--secondary-color);
}

.app-pricing-card h3 {
    color: var(--secondary-color);
}

.app-pricing-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.contact-form button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #d35400;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background: var(--primary-color);
    color: white;
    margin-top: 2rem;
    border-top: 3px solid var(--secondary-color);
}

footer p {
    font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--green-whatsapp);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Order on WhatsApp Button */
.order-whatsapp {
    display: block;
    background: var(--secondary-color);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: background 0.3s;
    text-align: center;
}

.order-whatsapp:hover {
    background: #d35400;
}

/* Blurry Background Sections - REMOVED FOR #websites */
.bg-section {
    position: relative;
    margin: 3rem 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Specific background for the #websites section - CHANGED TO GRADIENT */
#websites.bg-section {
    /* Removed background image and blur styles */
    background: linear-gradient(135deg, var(--primary-color), #34495e); /* Use same gradient as header */
    color: white; /* Ensure text is white on this background */
}

/* Removed #websites.bg-section::before and #websites .bg-section-content specific background styles */


#websites .bg-section-content h2,
#websites .bg-section-content p,
#websites .bg-section-content .section-title {
    color: white; /* Ensure text is white on the potentially dark background */
}

#websites .bg-section-content .section-title {
    border-bottom-color: white; /* Match title border to text color */
}

#websites .comparison-table {
    background: rgba(255, 255, 255, 0.85); /* Slightly transparent background for tables */
    color: var(--text-color);
}

#websites .comparison-table th {
    background: var(--secondary-color);
    color: white;
}

#websites .comparison-table tr:nth-child(even) {
    background: rgba(250, 250, 250, 0.8); /* Slightly transparent even row */
}

#websites .comparison-table tr:hover {
    background: rgba(245, 245, 245, 0.9); /* Slightly transparent hover */
}

/* Data Analysis Section - Kept as is */
#data.bg-section {
    background-image: url('imges/data_bg.jpg'); /* Keep the original data section image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#data.bg-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(0%); /* No blur for data section */
    z-index: 1;
}

#data .bg-section-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.4); /* Keep the dark overlay for contrast */
    border-radius: 12px;
}

#data .bg-section-content h2,
#data .bg-section-content p,
#data .bg-section-content .section-title {
    color: white;
}

#data .bg-section-content .section-title {
    border-bottom-color: white;
}

/* Swipe Hint Style */
.swipe-hint {
    color: var(--secondary-color); /* Uses the orange color variable */
    font-style: italic;
    font-size: 1.1rem; /* Increased size */
    text-align: center;
    margin: 0.5rem 0;
    /* Glowing effect using text-shadow */
    text-shadow:
        0 0 5px var(--secondary-color),   /* Inner glow */
        0 0 10px var(--secondary-color),  /* Slightly larger glow */
        0 0 15px var(--secondary-color),  /* Outer glow */
        0 0 20px var(--secondary-color);  /* Outermost glow */
    animation: pulse 2s infinite; /* Optional subtle pulse animation */
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}


/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .container {
        padding: 0 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    nav a {
        margin: 0 8px;
        font-size: 0.9rem;
    }
}

@media (min-width: 1024px) {
    .pricing-table-scroll {
        overflow-x: hidden;
        justify-content: center;
        flex-wrap: wrap;
        margin: 2rem auto;
        padding: 1rem 0;
    }
    .pricing-card {
        width: 280px;
        margin-bottom: 2rem;
    }
    .card-details {
        max-height: 500px;
        padding-bottom: 1rem;
    }
    .toggle-details {
        display: none;
    }
}