/* Invest House - Premium Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent: #d4af37;
    /* Metallic Gold */
    --accent-hover: #b5932a;
    --border-color: #333;

    --font-main: 'Outfit', sans-serif;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0;
    /* Removed padding completely to minimize bar height regarding logo */
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    /* Fixed height for the container to control bar thickness */
}

.logo img {
    height: 120px;
    /* Increased size - larger than container to overlap if needed, or just fit */
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin-top: 10px;
    /* Push down slightly if needed */
}

/* Ensure logo can overflow if we want the bar thin but logo big?
   Actually, if we set .nav-container height, we constrain the bar provided the header adapts.
   Let's try just letting the bar grow but keeping padding 0.
*/


.logo:hover img {
    transform: scale(1.05);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    backdrop-filter: blur(2px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-card));
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.testimonial-card i {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.testimonial-card:hover i {
    color: var(--accent);
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Gallery Footer (Socials) */
.gallery-footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-cta-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.gallery-cta-text span {
    color: #fff;
    font-weight: 600;
}

/* Social Media */
.social-media {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.4);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3), var(--bg-dark));
    z-index: -1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards 0.2s;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards 0.4s;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: #000;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards 0.6s;
}

.cta-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* About Section */
.about {
    padding: 6rem 0;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: #fff;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), #111);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover i {
    transform: scale(1.1);
    color: #fff;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #fff;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0 3rem 0;
    /* Reduced bottom padding */
    background: var(--bg-card);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: #fff;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--bg-card);
    padding: 2rem;
    min-width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.contact-card h4 {
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: #fff;
}

footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent);
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Calculator Section - Premium Redesign */
.calculator-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-card) 100%);
    position: relative;
    overflow: hidden;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 300px;
    height: 300px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.05;
    pointer-events: none;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 3rem;
}

/* Calculator Card */
.calculator-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header i {
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
    padding: 10px;
    border-radius: 10px;
}

.card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #fff;
}

/* Form Styling */
.form-section {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.select-wrapper,
.input-wrapper {
    position: relative;
}

.select-wrapper i {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    pointer-events: none;
}

.unit {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-weight: 500;
    pointer-events: none;
    /* Prevent blocking clicks */
}

select,
input[type="number"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1rem 1.25rem;
    padding-right: 3rem;
    /* Space for unit/icon */
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Hide Spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* Dark Options for Select */
select option {
    background-color: #1a1a1a;
    color: #fff;
    padding: 10px;
}

select:focus,
input:focus {
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.option-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.option-card.selected {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent);
}

.option-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-muted);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.option-card.selected .option-checkbox {
    background: var(--accent);
    border-color: var(--accent);
}

.option-card.selected .option-checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: #000;
    font-weight: bold;
}

/* Cookie Popup */
.cookie-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.cookie-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-popup-content {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.cookie-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-icon-large {
    font-size: 2rem;
    color: var(--accent);
}

.cookie-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
}

.cookie-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cookie-preferences {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-option:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cookie-option-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: #fff;
}

.cookie-option-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: .4s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: rgba(212, 175, 55, 0.2);
    border-color: var(--accent);
}

input:checked+.toggle-slider:before {
    transform: translateX(24px);
    background-color: var(--accent);
}

input:disabled+.toggle-slider {
    cursor: not-allowed;
    opacity: 0.6;
}

input:disabled:checked+.toggle-slider:before {
    background-color: #888;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.cookie-btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}

.cookie-btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-hover);
}

.cookie-btn {
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    white-space: nowrap;
    animation: none;
    opacity: 1;
    transform: none;
    cursor: pointer;
    text-align: center;
}

@media (min-width: 480px) {
    .cookie-actions {
        flex-direction: row;
        justify-content: flex-end;
    }

    .cookie-btn-outline,
    .cookie-btn {
        width: auto;
    }
}

/* Extra Inputs */
.extra-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.extra-input-container {
    margin-left: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem;
    border-radius: 8px;
    border-left: 2px solid var(--accent);
    animation: fadeIn 0.3s ease;
}

.extra-input-container label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.input-wrapper.small input {
    padding: 0.5rem;
    font-size: 0.9rem;
}

.hidden {
    display: none;
}

/* Calculate Button */
.calc-btn {
    width: 100%;
    background: var(--accent);
    color: #000;
    border: none;
    padding: 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    background: #fff;
}

/* Result Card */
.result-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95));
    border: 1px solid var(--accent);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    position: sticky;
    top: 2rem;
    animation: fadeIn 0.5s ease-out;
}

.result-header {
    background: rgba(212, 175, 55, 0.1);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.result-header h4 {
    margin: 0;
    color: var(--accent);
    font-size: 1.1rem;
}

#close-result {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}

#close-result:hover {
    color: #fff;
}

.result-body {
    padding: 2rem;
}

.price-row {
    margin-bottom: 0.5rem;
}

.price-row .label {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.price-value {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

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

.discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1.5rem;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.disclaimer {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
}

.contact-cta {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.contact-cta:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 900px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1002;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 2000;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        text-align: center;
        padding: 2rem;
    }
}