/* Color Variables & Base Styles */
:root {
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    --blue-100: #dbeafe;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --bg-dark-blue: #020b24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    --font-sans: 'Montserrat', sans-serif;
    color: var(--slate-900);
    background-color: white;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 80rem; /* 1280px / max-w-7xl */
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utilities */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.bg-light { background-color: var(--slate-50); }
.bg-white { background-color: white; }
.bg-dark { background-color: var(--slate-950); }
.text-white { color: white; }
.text-blue-400 { color: var(--blue-400); }
.text-body { color: var(--slate-600); font-size: 1.125rem; line-height: 1.75; }
.leading-tight { line-height: 1.25; }
.items-center { align-items: center; }

/* Grid Layouts */
.grid-2, .grid-3, .grid-4 { display: grid; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-16 { gap: 4rem; }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Buttons */
.btn {
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--blue-700);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.btn-primary:hover {
    background-color: var(--blue-800);
}

/* Section Common */
.section { padding: 6rem 0; }
.section-subtitle {
    color: var(--blue-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}
.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    z-index: 50;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.logo-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.logo-img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    object-fit: cover;
}
.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--blue-700);
    letter-spacing: 0.025em;
}
.logo-text p {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--slate-500);
}
.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}
.desktop-nav a:hover { color: var(--blue-600); }
.mobile-menu-btn { color: var(--slate-800); }
.desktop-only { display: none; }

.mobile-menu {
    display: none; /* Toggled via JS */
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--slate-200);
    background: white;
}
.mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .desktop-nav, .desktop-only { display: flex; }
    .mobile-menu-btn { display: none; }
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--bg-dark-blue);
    color: white;
    padding: 9rem 0 6rem 0;
    overflow: hidden;
}
.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(37,99,235,0.45), transparent 40%);
}
.hero-container {
    position: relative;
    display: grid;
    gap: 4rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-container { grid-template-columns: repeat(2, 1fr); }
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(59,130,246,0.3);
    background: rgba(59,130,246,0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}
.badge-icon { color: var(--blue-400); }
.badge-text {
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue-100);
}
.hero h2 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}
@media (min-width: 1024px) { .hero h2 { font-size: 4.5rem; } }
.hero p {
    font-size: 1.125rem;
    color: var(--slate-300);
    line-height: 1.75;
    max-width: 42rem;
    margin-bottom: 2.5rem;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}
.btn-primary-hero {
    background-color: var(--blue-600);
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.btn-primary-hero:hover { background-color: var(--blue-700); }
.btn-outline-hero {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 700;
}
.btn-outline-hero:hover { background: rgba(255,255,255,0.1); }

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}
@media (min-width: 1024px) { .hero-image-wrapper { justify-content: flex-end; } }
.hero-glow {
    position: absolute;
    inset: 0;
    background: rgba(59,130,246,0.2);
    filter: blur(40px);
    border-radius: 50%;
}
.hero-img {
    position: relative;
    width: 100%;
    max-width: 32rem;
    border-radius: 1.5rem;
    box-shadow: 0 0 60px rgba(59,130,246,0.5);
}

/* About Section */
.feature-box {
    background: linear-gradient(to bottom right, var(--blue-700), var(--slate-900));
    color: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.feature-box h3 { font-size: 1.875rem; font-weight: 700; margin-bottom: 2rem; }
.feature-list { display: flex; flex-direction: column; gap: 1.5rem; }
.feature-item h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-item p { color: var(--slate-300); }

/* Services Section */
.service-card {
    background-color: var(--slate-50);
    border: 1px solid var(--slate-100);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.service-card:hover {
    background-color: var(--blue-700);
    color: white;
}
.service-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.service-card p { color: var(--slate-600); line-height: 1.75; transition: color 0.3s ease;}
.service-card:hover p { color: white; }

/* Industries Section */
.industry-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer
}
.industry-card:hover { background: var(--blue-700); }
.industry-card h3 { font-size: 1.5rem; font-weight: 700; }

.industry-card:hover { 
    transform: translateY(-5px);
}

/* Process Section */
.process-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border: 1px solid var(--slate-100);
}
.process-step {
    font-size: 3rem;
    font-weight: 900;
    color: var(--blue-600);
    margin-bottom: 1.5rem;
}
.process-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.process-card p { color: var(--slate-600); line-height: 1.75; }

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(to right, var(--blue-700), var(--slate-900));
    color: white;
    text-align: center;
}
.cta-container { max-width: 56rem; }
.cta-section h2 { font-size: 3rem; font-weight: 900; margin-bottom: 1.5rem; }
.cta-section p { font-size: 1.25rem; color: var(--slate-200); margin-bottom: 2.5rem; line-height: 1.75;}
.btn-cta {
    background: white;
    color: var(--blue-700);
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.btn-cta:hover { background: var(--slate-200); }

/* Contact Section */
.contact-info {
    font-size: 1.125rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.contact-form-card {
    background: var(--slate-50);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    border: 1px solid var(--slate-100);
}
.contact-form-card h3 { font-size: 1.875rem; font-weight: 700; margin-bottom: 2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    font-family: inherit;
    font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 2px rgba(59,130,246,0.5);
}
.btn-submit {
    background: var(--blue-700);
    color: white;
    padding: 1rem;
    border-radius: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.btn-submit:hover { background: var(--blue-800); }

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border: 1px solid var(--slate-100);
}
.stars { color: #facc15; font-size: 1.5rem; margin-bottom: 1rem; letter-spacing: 2px;}
.review { color: var(--slate-600); line-height: 1.75; margin-bottom: 1.5rem; }
.testimonial-card h4 { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); }

/* Floating WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #22c55e;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    z-index: 50;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.whatsapp-btn:hover { background: #16a34a; }

/* Footer */
.footer {
    background: var(--slate-950);
    color: var(--slate-300);
    padding: 3rem 0;
}
.footer h2 {
    font-size: 1.875rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}
.footer p {
    max-width: 42rem;
    margin: 0 auto 2rem;
    line-height: 1.75;
    color: var(--slate-400);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    color: var(--slate-500);
}
/* Contact Section Social Icons */
.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #f1f5f9; /* Light grey background */
    color: #475569; /* Dark grey icon color */
    border-radius: 50%; /* Circle shape */
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Instagram Hover Effect */
.contact-icon.insta-btn:hover {
    background-color: #E1306C; /* Insta pink color */
    color: white;
    transform: translateY(-4px); /* Moves up slightly */
    box-shadow: 0 10px 15px -3px rgba(225, 48, 108, 0.3);
}
.contact-icon.insta-btn {
    background-color: #E1306C !important; /* Bright WhatsApp Green */
    color: white !important; /* White icon inside */
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); /* Light green shadow */
    border: none;
}

/* WhatsApp Hover Effect */
/* WhatsApp Button - Bright Default State */
.contact-icon.wa-btn {
    background-color: #25D366 !important; /* Bright WhatsApp Green */
    color: white !important; /* White icon inside */
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); /* Light green shadow */
    border: none;
}

/* WhatsApp Button - Hover Effect */
.contact-icon.wa-btn:hover {
    background-color: #128C7E !important; /* Slightly darker green on hover */
    transform: translateY(-4px); /* Moves up slightly */
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.5); /* Stronger shadow on hover */
}
/* Premium Price Button in Cards */
.premium-price-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: transparent;
    color: #2563eb; /* Blue text */
    border: 2px solid #2563eb;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.premium-price-btn:hover {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Card hover aagum pothu (Blue card-kulla) button white aaga */
.service-card:hover .premium-price-btn {
    border-color: white;
    color: white;
}
.service-card:hover .premium-price-btn:hover {
    background: white;
    color: #2563eb;
}

/* Modal (Popup) Styles */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    animation: popupFadeIn 0.4s ease;
}

.close-modal {
    position: absolute;
    top: 20px; right: 25px;
    font-size: 30px;
    color: #64748b;
    cursor: pointer;
}

.close-modal:hover { color: #0f172a; }

.modal-header { text-align: center; margin-bottom: 30px; }
.modal-header h2 { font-size: 2rem; color: #0f172a; }

.pricing-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.price-box {
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.price-box.premium-box {
    border: 2px solid #2563eb;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price { font-size: 2.5rem; font-weight: bold; color: #0f172a; margin: 15px 0; }
.price span { font-size: 1rem; color: #64748b; }

.price-box ul { list-style: none; padding: 0; margin-bottom: 25px; text-align: left; }
.price-box ul li { margin-bottom: 10px; color: #475569; }

.buy-btn {
    width: 100%; padding: 12px; border-radius: 10px;
    border: 1px solid #2563eb; background: transparent;
    color: #2563eb; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.buy-btn.premium { background: #2563eb; color: white; }
.buy-btn:hover { opacity: 0.9; transform: translateY(-2px); }

@keyframes popupFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .pricing-options { grid-template-columns: 1fr; }
    .price-box.premium-box { transform: scale(1); }
}
/* Pricing Modal Updated Styles */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(5px); z-index: 1000;
    justify-content: center; align-items: center; overflow-y: auto; padding: 20px 0;
}
.pricing-modal-wide {
    background: white; padding: 40px; border-radius: 20px; 
    width: 95%; max-width: 1100px; /* Wider for 3 columns */
    position: relative; animation: popupFadeIn 0.4s ease; margin: auto;
}
.pricing-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    gap: 25px;
}
.price-box ul { list-style: none; padding: 0; margin-bottom: 25px; text-align: left; }
.price-box ul li { margin-bottom: 12px; color: #475569; font-size: 0.95rem; display: flex; gap: 8px;}

/* Mobile View for 3 columns */
@media (max-width: 992px) {
    .pricing-options { grid-template-columns: 1fr; }
    .price-box.premium-box { transform: scale(1); border: 2px solid #2563eb; }
}
/* Service Cards Button Alignment Fix */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Card full height edukka */
}

.service-card .premium-price-btn {
    margin-top: auto !important; /* Button-a strictly kela thalla */
}
/* Pricing Box Hover Effects */
.price-box {
    transition: all 0.3s ease !important; /* Smooth animation */
    border: 2px solid #e2e8f0; /* Normal border */
}

/* Mouse mela vekkum pothu (Hover) */
.price-box:hover {
    border: 2px solid #2563eb !important; /* Blue border */
    transform: translateY(-8px); /* Card mela thooki kaatum */
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15) !important; /* Blue shadow */
}

/* Center-la irukka Premium Box hover aagum pothu */
.price-box.premium-box:hover {
    transform: scale(1.05) translateY(-8px) !important; /* Already perusa irukkum, so athoda serthu mela varum */
}
/* 1. Red Circles: Adding solid color to all Get Started buttons */
.buy-btn {
    background-color: #2563eb !important; /* Solid blue background */
    color: white !important; /* White text */
    border: none !important; /* Removes the outline border */
}

.buy-btn:hover {
    background-color: #1d4ed8 !important; /* Darker blue on hover */
}

/* 2. Green Box: Removing border from the Premium/Center Box */
.price-box.premium-box {
    border: none !important; /* Removes the blue border */
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15) !important; /* Keeps a nice soft shadow so it still pops out */
}

/* Hover effect update for premium box since border is removed */
.price-box.premium-box:hover {
    border: none !important;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25) !important;
}
/* Pricing Box Flexbox Alignment Fix */
.price-box {
    display: flex !important;
    flex-direction: column;
    height: 100%; /* Box full height edukka */
}

.price-box .buy-btn {
    margin-top: auto !important; /* Button-a strictly kela (bottom) thalla */
}
/* Center Box-oda extra length (zoom effect) remove pandrathuku */
.price-box.premium-box {
    transform: none !important; /* Zoom effect-a remove pannum */
}

/* Hover aagum pothum matha cards mathiriye normal-a mela poga */
.price-box.premium-box:hover {
    transform: translateY(-8px) !important; 
}
/* =========================================
   TOP ANNOUNCEMENT BAR (ADS) - FIXED & RE-SIZED
========================================= */
.announcement-bar {
    background: linear-gradient(90deg, #0f172a 0%, #2563eb 100%);
    color: white;
    padding: 20px 0; /* Increase Height */
    position: relative;
    z-index: 1050;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Width reduction logic - keep it from breaking the layout */
    width: 100%; 
    max-width: 100vw;
    overflow-x: hidden;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    /* This makes sure text wraps neatly */
    flex-wrap: nowrap; 
    max-width: 1200px; /* Constrain text width */
    margin: 0 auto; /* Center it */
}

/* Pulsing Badge (Kept same logic) */
.announcement-badge {
    background: #f59e0b;
    color: #fff;
    padding: 6px 16px; /* Slightly bigger padding for height */
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    animation: pulseBadge 2s infinite;
}

.announcement-text {
    margin: 0;
    line-height: 1.6;
    /* THIS IS KEY: Make text wrap instead of pushing width */
    word-wrap: break-word;
    white-space: normal; 
    display: block; 
    padding-right: 50px; /* Space for close button */
}

.highlight-text {
    color: #cbd5e1;
    margin-left: 5px;
    display: inline;
}

/* Close Button (X) */
.close-announcement {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close-announcement:hover {
    opacity: 1;
}

/* -----------------------------------------
   GLOBAL STRUCTURAL REALIGNMENT (IMPORTANT)
----------------------------------------- */

/* Make sure header and banner stack vertically, not push each other */
body > .header-main {
    top: auto; /* Remove relative positioning if top-bar present */
    position: relative;
}

/* Ensure navbar items are properly spaced, not merged */
.nav-links-fixed {
    display: flex;
    justify-content: flex-end; /* Keep nav on right */
    width: auto;
    gap: 2rem; /* Add clear spacing back */
}

/* Ensure the main logo section takes up proper space */
.logo-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Correcting the special blue badge below banner alignment */
.special-blue-badge {
    margin-top: 15px;
    text-align: center;
    display: block;
}
/* =========================================
   HERO BADGE REALIGNMENT (LEFT ALIGNED)
========================================= */

/* Centering container-a left-la push panrathuku */
.hero-badge-container {
    display: flex;
    justify-content: flex-start; /* Strictly pushes to the left */
    margin-bottom: 20px; /* Space between badge and main text */
    width: 100%;
}

/* Premium Badge Styling */
.hero-ai-badge {
    
    color: var(--blue-100);
    padding: 8px 18px;
    border-radius: 30px; /* Pill shape */
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}


/* -----------------------------------------
   HEADER & ANNOUNCEMENT WIDTH RESET
----------------------------------------- */
.announcement-bar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px 0 !important;
}

/* Resetting layout to original state */
.logo-nav-container {
    display: flex !important;
    flex-direction: row !important; /* Back to row standard layout */
    justify-content: space-between !important;
    align-items: center !important;
}
/* =========================================
   MOBILE RESPONSIVENESS (PHONES & TABLETS)
========================================= */
@media (max-width: 768px) {
    /* =========================================
       MOBILE RESPONSIVENESS FIXES (INSIDE @media max-width: 768px)
    ========================================= */

    /* Announcement Bar Mobile Fix */
    .announcement-bar {
        padding: 15px 10px !important; /* Proper padding for mobile */
        width: 100% !important;
        box-sizing: border-box !important; /* Stops it from overflowing */
        height: auto !important; /* Lets it expand naturally based on text */
    }

    .announcement-content {
        flex-direction: column !important; /* Stack items vertically */
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .announcement-text {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        padding-right: 0 !important; /* Remove right padding meant for close btn */
        width: 100% !important;
        word-wrap: break-word !important; /* Fixes text cutting off */
        word-break: normal !important; /* Prevents weird word breaks */
        white-space: normal !important; 
    }

    /* Fix the close button positioning on mobile */
    .close-announcement {
        position: absolute !important;
        top: 5px !important;
        right: 15px !important;
        transform: none !important;
        font-size: 1.2rem !important;
    }

    /* Fix Header Stacking over Banner */
    .header-main {
        position: relative !important; /* Keeps header below the banner */
        width: 100% !important;
        box-sizing: border-box !important;
    }
    /* 1. Header & Navigation Fix */
    .logo-nav-container {
        flex-direction: column !important; /* Stack logo and links */
        gap: 15px;
        text-align: center;
    }
    .nav-links-fixed {
        flex-wrap: wrap; /* Wraps links to next line if no space */
        justify-content: center;
        gap: 15px !important;
    }

    /* 2. Hero Section Adjustments */
    .hero-content h1 {
        font-size: 2.2rem !important; /* Reduces main heading size */
        line-height: 1.3;
    }
    .hero-badge-container {
        justify-content: center; /* Center the blue badge on mobile */
    }
    .hero-content {
        text-align: center; /* Center align text on mobile */
    }

    /* 3. Grid to Single Column (Service Cards, etc.) */
    .grid-3, .container.grid-3 {
        grid-template-columns: 1fr !important; /* Makes it 1 column */
        gap: 20px;
    }

    /* 4. Pricing Modal Mobile Fix */
    .pricing-modal-wide {
        width: 95% !important;
        padding: 25px 15px !important;
    }
    .pricing-options {
        grid-template-columns: 1fr !important; /* Stack pricing cards */
        gap: 20px;
    }
    .price-box.premium-box {
        transform: none !important; /* Remove zoom effect on mobile */
    }

    /* 5. Footer Fix */
    .footer .grid-3 {
        text-align: center;
        gap: 30px;
    }
    .social-icons {
        justify-content: center; /* Center social icons */
    }
    
    /* 6. General Spacing */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}
/* =========================================
   NOTIFICATION BELL & DROPDOWN POPUP
========================================= */
.nav-links-fixed {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-container {
    position: relative; /* Idi chaala important, deeni vallen layout break avvadu */
    display: flex;
    align-items: center;
}

.notification-btn {
    background: transparent;
    border: none;
    color: #0f172a;
    cursor: pointer;
    position: relative;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.notification-btn:hover {
    color: #2563eb;
}

.notification-badge {
    position: absolute;
    top: 0px;
    right: 2px;
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
}

/* Dropdown Popup Styling */
.notification-dropdown {
    display: none; /* Mundu hide ayyi untundi */
    position: absolute;
    top: 40px; /* Bell icon kante koncham kinda */
    right: 0; /* Right side ki align ayyi untundi */
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
    z-index: 9999;
    text-align: left;
}

.notification-dropdown.show {
    display: block; /* Click chesinappudu show avtundi */
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.notif-header h4 { margin: 0; color: #0f172a; font-size: 1.1rem; }
.close-notif { font-size: 1.5rem; cursor: pointer; color: #64748b; }
.close-notif:hover { color: #ef4444; }

.notif-body {
    padding: 15px 20px;
    max-height: 300px;
    overflow-y: auto;
}

.notif-item { padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.notif-item:last-child { border-bottom: none; }
.notif-item p { margin: 5px 0 0; font-size: 0.9rem; color: #475569; line-height: 1.5; }

.offer-tag {
    background: #f59e0b;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.notif-footer {
    padding: 15px 20px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    text-align: center;
}

.notif-action-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
}
.notif-action-btn:hover { background: #1d4ed8; }
/* =========================================
   HEADER & NAVBAR MASTER FIX (Desktop & Mobile)
========================================= */

/* 1. Desktop Nav Alignment Fix */
.nav-links-fixed {
    display: flex !important;
    flex-direction: row !important; /* Keep items in a straight line */
    align-items: center !important; /* Center them vertically */
    justify-content: center !important;
    gap: 25px !important; /* Proper spacing between links */
}

/* 2. Bell Icon Container Fix */
.notification-container {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
}

/* 3. Hide Dropdown by Default (Fixes text spilling on desktop) */
.notification-dropdown {
    display: none; /* This hides the messy text until clicked */
    position: absolute;
    top: 45px;
    right: -10px;
    /* other styles are already there */
}
.notification-dropdown.show {
    display: block !important;
}

/* 4. MOBILE VIEW MAGIC FIX */
@media (max-width: 768px) {
    /* Give header a solid white background */
    .header-main {
        background-color: white !important; 
        position: relative !important;
        z-index: 1050 !important;
    }

    /* Keep Logo and Hamburger icon on the same row */
    .logo-nav-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        padding: 10px 15px !important;
    }

    /* Fix the overlapping links - Drop them down with a white background */
    .nav-links-fixed {
        flex-direction: column !important; /* Stack links vertically */
        width: 100% !important;
        background-color: white !important; /* Stops overlapping with blue section */
        position: absolute !important;
        top: 100% !important; /* Opens exactly below the logo */
        left: 0 !important;
        padding: 20px 0 !important;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1) !important;
        gap: 15px !important;
    }

    /* Center the bell icon in mobile menu */
    .notification-container {
        margin: 10px auto !important;
        justify-content: center !important;
    }

    /* Fix Notification Dropdown position on mobile */
    .notification-dropdown {
        position: fixed !important;
        top: 80px !important;
        left: 5% !important;
        width: 90% !important;
        z-index: 2000 !important;
    }
}
/* =========================================
   MOBILE VIEW PERFECT ALIGNMENT FIX
========================================= */
@media (max-width: 768px) {
    
    /* 1. Header Height-a reduce panni Fix pandrathu */
    .header-main {
        height: 70px !important; /* Header-a chinnathaakidum */
        position: fixed !important;
        top: 0; left: 0; width: 100%;
        background-color: white !important;
        z-index: 1000 !important;
    }

    .logo-nav-container {
        display: flex !important;
        flex-direction: row !important; /* Logo & icons ore line-la vara */
        justify-content: space-between !important;
        align-items: center !important;
        height: 70px !important;
        padding: 0 15px !important;
    }

    /* 2. Hero Text Cut Aagama Kela Erakkurathu (Red Circle Fix) */
    .hero-content {
        padding-top: 100px !important; /* Header-ku kela thevaiyana space */
    }
    
    .hero-content h1 {
        margin-top: 0 !important;
        font-size: 2.2rem !important;
        line-height: 1.3 !important;
    }

    /* 3. Bell Icon-a correct-a Hamburger menu pakkathula vekkurathu */
    .notification-container {
        position: absolute !important;
        right: 60px !important; /* Hamburger icon-ku left-la azhaga ukarum */
        top: 15px !important;
        margin: 0 !important;
    }

    /* 4. Get Started button overlap aaguratha thadukka */
    /* Mobile header-la space illathathala, intha button-a hide panrathu nallathu */
    .header-main .get-started-btn, 
    .header-main .buy-btn,
    .header-main button {
        display: none !important; 
    }

    /* 5. Notification Popup Mobile Fix */
    .notification-dropdown {
        position: fixed !important;
        top: 70px !important;
        left: 5% !important;
        width: 90% !important;
        z-index: 2000 !important;
    }
}