/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Light Theme (Default) */
    --bg-color: #ffffff;
    --bg-alt: #ffffff;
    --text-main: #111111;
    --text-muted: #666666;
    --accent-color: #3bb371;
    --border-color: #d0d0d0;
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transDur: 0.5s;
    --primary: var(--accent-color);
    --primaryT: rgba(59, 179, 113, 0.2);
}

[data-theme="dark"] {
    --bg-color: #0f0f0f;
    --bg-alt: #161616;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --accent-color: #3bb371;
    --border-color: #2a2a2a;
    --card-bg: #1a1a1a;
    --nav-bg: rgba(15, 15, 15, 0.85);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky nav */
}

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 300; /* Light thin body text */
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700; /* Bold headings */
    color: var(--text-main);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section {
    padding: 1rem 0;
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Scroll Animations */
.section-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme {
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
}

.theme__fill,
.theme__icon {
    transition: 0.3s;
}

.theme__fill {
    display: none; /* Disabling the full screen blend mode as it might break existing layout */
}

.theme__icon,
.theme__toggle {
    z-index: 1;
}

.theme__icon,
.theme__icon-part {
    position: absolute;
}

.theme__icon {
    display: block;
    top: 0.4em;
    left: 0.4em;
    width: 1.5em;
    height: 1.5em;
    pointer-events: none;
}

.theme__icon-part {
    border-radius: 50%;
    box-shadow: 0.4em -0.4em 0 0.5em hsl(0,0%,100%) inset;
    top: calc(50% - 0.5em);
    left: calc(50% - 0.5em);
    width: 1em;
    height: 1em;
    transition: box-shadow var(--transDur) ease-in-out,
                opacity var(--transDur) ease-in-out,
                transform var(--transDur) ease-in-out;
    transform: scale(0.5);
}

.theme__icon-part ~ .theme__icon-part {
    background-color: hsl(0,0%,100%);
    border-radius: 0.05em;
    top: 50%;
    left: calc(50% - 0.05em);
    transform: rotate(0deg) translateY(0.5em);
    transform-origin: 50% 0;
    width: 0.1em;
    height: 0.2em;
}

.theme__icon-part:nth-child(3) { transform: rotate(45deg) translateY(0.45em); }
.theme__icon-part:nth-child(4) { transform: rotate(90deg) translateY(0.45em); }
.theme__icon-part:nth-child(5) { transform: rotate(135deg) translateY(0.45em); }
.theme__icon-part:nth-child(6) { transform: rotate(180deg) translateY(0.45em); }
.theme__icon-part:nth-child(7) { transform: rotate(225deg) translateY(0.45em); }
.theme__icon-part:nth-child(8) { transform: rotate(270deg) translateY(0.5em); }
.theme__icon-part:nth-child(9) { transform: rotate(315deg) translateY(0.5em); }

.theme__toggle {
    background-color: #000;
    border-radius: 1.5em;
    box-shadow: 0 0 0 0.125em var(--primaryT);
    padding: 0.25em;
    width: 4em;
    height: 2em;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color var(--transDur) ease-in-out,
                box-shadow 0.15s ease-in-out,
                transform var(--transDur) ease-in-out;
    cursor: pointer;
    position: relative;
}

.theme__toggle:before {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    width: 1.5em;
    height: 1.5em;
    display: block;
    transition: 0.3s;
}

.theme__toggle:focus {
    box-shadow: 0 0 0 0.125em var(--primary);
    outline: transparent;
}

.theme__toggle:checked {
    background-color: hsl(198,90%,15%);
}

.theme__toggle:checked:before {
    transform: translateX(2em);
    background-color: var(--accent-color);
}

.theme__toggle:checked ~ .theme__icon {
    transform: translateX(2em);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(1) {
    opacity: 0;
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part ~ .theme__icon-part {
    opacity: 0;
}

.theme__toggle-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
}

.btn-pill {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.mobile-dropdown {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

.mobile-dropdown.open {
    max-height: 400px;
}

.mobile-links {
    padding: 1rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-links a {
    font-size: 1.1rem;
    font-weight: 500;
}

.desktop-only {
    display: inline-block;
}

.mobile-quote-btn {
    display: none;
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 130px 0 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 0;
}

/* Fade-in-up animation */
.fade-in-up {
    animation: fadeInUp 1.5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SVG Illustrations Styling */
.hero-illustration, .services-illustration, .promotion-illustration, .contact-illustration-svg {
    display: flex;
    justify-content: center;
    margin: 0;
}

.anim-svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.services-icon-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    margin: -60px auto -60px;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.hero-icon-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    margin: -80px auto 0;
    transition: filter 0.3s ease;
    filter: drop-shadow(0 0 50px rgba(59, 179, 113, 0.25));
}

.hero {
    /* Spotlight effect behind the hero content */
    background: radial-gradient(circle at center, rgba(59, 179, 113, 0.05) 0%, transparent 70%);
}

[data-theme="dark"] .hero-icon-img {
    /* Slight brightness boost for dark mode specifically */
    filter: drop-shadow(0 0 50px rgba(59, 179, 113, 0.35)) brightness(1.1);
}

/* Theme-specific visibility */
.light-only {
    display: none;
}

[data-theme="light"] .light-only {
    display: block;
}

[data-theme="light"] .dark-only {
    display: none;
}

.laptop-float, .tools-float, .graph-float, .desk-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10; /* Ensures buttons are above the image */
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--text-main);
    color: var(--bg-color);
    border-color: var(--text-main);
}

.pricing-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    animation: fadeInTab 0.5s ease;
}

@media (min-width: 1024px) {
    .pricing-grid.active {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-grid.active {
    display: grid;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 179, 113, 0.15);
    border-color: var(--accent-color);
}

.pricing-card.pro {
    border-color: var(--accent-color);
    position: relative;
}

.pricing-card.pro::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
}

.plan-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.price-start {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.plan-price span {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    margin-right: 0.2rem;
}

.plan-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.plan-features li:last-child {
    border-bottom: none;
}

/* Special Boxes under Poster */
.special-boxes-container {
    margin-top: 4rem;
    grid-column: 1 / -1;
}

.special-heading {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.special-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.special-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.special-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 179, 113, 0.1);
    border-color: var(--accent-color);
}

.special-box h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.price-range {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.special-box ul {
    margin-bottom: 1.5rem;
}

.special-box li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.box-link {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.box-link:hover {
    text-decoration: underline;
}

/* Promotion Section */
.promotion {
    background-color: var(--bg-alt);
}

.features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.feature-icon-box i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-icon-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-icon-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.promo-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.promo-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
}

.promo-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.promo-price {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.promo-card ul {
    margin-bottom: 2rem;
}

.promo-card li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    flex-wrap: wrap;
}

.contact-left {
    display: flex;
    justify-content: center;
}

.contact-icon-img {
    width: 100%;
    max-width: 450px;
    height: auto;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 550px;
}

.contact-form h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-alt);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
}

.contact-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-links a:hover {
    color: var(--accent-color);
}

/* Footer Redesign */
footer {
    background-color: var(--bg-color);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    display: inline-block;
}

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

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-contact-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    width: 20px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .desktop-only {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .mobile-quote-btn {
        display: inline-block;
        text-align: center;
    }
    .promo-cards-row {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .floating-wa {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
}

/* Floating WhatsApp Button */
.floating-wa {
    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: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-wa:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}
/* Offer Popup Styling */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.popup-overlay.show {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: var(--card-bg);
    border: 1px solid var(--accent-color);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    max-width: 450px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transform: scale(0.9) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-overlay.show .popup-content {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.popup-close:hover {
    color: var(--accent-color);
    background: rgba(59, 179, 113, 0.1);
    transform: rotate(90deg);
}

.popup-header {
    margin-bottom: 1.5rem;
}

.popup-header i {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.popup-header h3 {
    font-size: 2rem;
    color: var(--text-main);
    margin: 0;
}

.popup-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.popup-content strong {
    color: var(--accent-color);
    font-weight: 700;
}

/* Animations and Responsive Adjustments already handled by existing classes */
