/* Variables & Reset */
:root {
    --bg-color: #050505;
    --surface-color: #121212;
    --surface-hover: #1e1e1e;
    --primary-color: #D946EF; /* Fuchsia */
    --secondary-color: #8B5CF6; /* Violet */
    --text-color: #F3F4F6;
    --text-muted: #9CA3AF;
    --white: #ffffff;
    --black: #000000;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px -10px rgba(217, 70, 239, 0.1);
    --card-bg: #0A0A0A;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

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

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

.bg-darker {
    background-color: #020202;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: none; 
    text-shadow: none; 
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 70, 239, 0.5);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-weight: 600;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(217, 70, 239, 0.1);
}

.btn-youtube-highlight {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: var(--white);
    border: 1px solid var(--white);
    color: var(--black);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-youtube-highlight i {
    color: #FF0000; /* YouTube Red */
    font-size: 1.2rem;
}

.btn-youtube-highlight:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
}

/* Subtler Nav Button (Desktop) */
.btn-nav-contact {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-nav-contact:hover {
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
    background: rgba(217, 70, 239, 0.1);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
    background: transparent;
    backdrop-filter: none;
}

header.scrolled {
    padding: 15px 0;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo span {
    font-weight: 400;
    font-size: 1rem;
    opacity: 0.9;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* Hero Section */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0 15px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

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

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); 
}

.hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    animation: bounce 2s infinite;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    width: 100%;
    aspect-ratio: 4/5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.experience-badge .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.stats-grid {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    flex: 1;
    background: var(--surface-color);
    padding: 20px;
    border-radius: 15px;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.stat-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.stat-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0;
    background: rgba(217, 70, 239, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-text-wrap h4 {
    font-size: 1.3rem;
    margin-bottom: 2px;
    line-height: 1;
}

.stat-text-wrap p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Services Section */
.section-header {
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 20px;
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--surface-hover);
    border-color: rgba(255,255,255,0.1);
}

.service-icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    border: 1px solid rgba(217, 70, 239, 0.1);
    flex-shrink: 0;
}

.service-content {
    flex-grow: 1;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--white);
    line-height: 1.2;
}

.service-tags {
    margin-top: 5px;
    width: 100%;
    border: none;
    padding-top: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: normal;
}

.service-tags span {
    color: rgba(255,255,255,0.6);
}

/* Portfolio Section */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    margin-top: 15px;
}

.portfolio-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    background: var(--surface-color);
}

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

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

.portfolio-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    z-index: 1;
}

.portfolio-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.portfolio-card h4 {
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
    font-weight: 700;
}

/* Calculator Section */
.calculator-box {
    background: var(--surface-color);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255,255,255,0.05);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.calc-step-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Project Type Cards */
.project-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    margin-bottom: 40px;
}

.project-card {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 160px;
}

.project-card:hover {
    background: var(--surface-hover);
    transform: translateY(-5px);
}

.project-card.selected {
    border-color: var(--primary-color);
    background: rgba(217, 70, 239, 0.1);
    box-shadow: 0 0 15px rgba(217, 70, 239, 0.2);
}

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

.project-card.selected i {
    color: var(--primary-color);
}

.project-card h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.3;
    font-weight: 600;
}

.project-card span {
    font-size: 0.9rem;
    color: var(--primary-color);
    opacity: 0.9;
}

/* Unified Calculator Bar Layout */
.calc-unified-bar {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr; /* Duration | Extras | Total */
    gap: 30px;
    background: rgba(255,255,255,0.03);
    padding: 25px 30px;
    border-radius: 15px;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.05);
    min-height: 160px; /* Stable height */
}

.calc-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Col 1: Duration / Quantity */
.range-slider-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fixed-text-display {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 600;
    padding: 10px 0;
}

.range-value-display {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.range-value-display span {
    font-size: 1.8rem;
    color: var(--white);
}

.range-slider-box input[type="range"] {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
    margin-top: 5px;
}

.range-slider-box input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.range-slider-box input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Dynamic Visibility Classes */
.hidden {
    display: none !important;
}

/* Col 2: Extras (Toggle Buttons) */
.extras-toggle-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.toggle-btn {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.toggle-btn input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.toggle-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
    white-space: nowrap;
}

.toggle-content i {
    font-size: 0.9rem;
}

.toggle-btn:hover .toggle-content {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.toggle-btn input:checked ~ .toggle-content {
    background: rgba(217, 70, 239, 0.15);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 10px rgba(217, 70, 239, 0.1);
}

.toggle-btn input:checked ~ .toggle-content i {
    color: var(--primary-color);
}

/* Col 3: Total */
.calc-col-total {
    text-align: right;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.total-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.price-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    line-height: 1;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-content p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: var(--surface-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p, .info-item a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--surface-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form-box {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0,0,0,0.5);
}

.full-width {
    width: 100%;
}

/* Footer Extended */
footer {
    background: #020202;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 0 30px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.footer-col {
    min-width: 0;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.footer-social {
    margin-top: 0;
    margin-bottom: 20px;
}

.contact-small p {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

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

.reveal-left, .reveal-right, .reveal-bottom {
    opacity: 0;
    transition: all 1s ease;
}

.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-bottom { transform: translateY(50px); }

.reveal-left.active, .reveal-right.active, .reveal-bottom.active {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 { font-size: 3rem; }
    .about-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; width: 100%; aspect-ratio: 16/9; } 
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .project-type-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { flex-direction: column; }
    .services-grid { grid-template-columns: 1fr; }
    .section-padding { padding: 70px 0; }
    
    .calc-unified-bar {
        grid-template-columns: 1fr; /* Stack on mobile/tablet */
        gap: 30px;
        padding: 25px;
    }
    
    .calc-col-total {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-left: 0;
        padding-top: 20px;
        text-align: center;
    }
    
    .extras-toggle-group {
        justify-content: flex-start;
    }
    
    .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%; 
        height: 100vh;
        background: rgba(5, 5, 5, 0.98); 
        backdrop-filter: blur(10px);
        padding: 100px 40px;
        transition: 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.8);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .nav-menu.active { right: 0; }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        width: 100%;
    }
    
    .nav-menu a {
        font-size: 1.2rem; 
        display: block;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    /* Enhanced Mobile Contact Button */
    .btn-nav-contact {
        margin-top: 20px;
        width: 100%;
        text-align: center;
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        border: none;
        color: var(--white) !important;
        font-weight: 700;
        padding: 15px;
        box-shadow: 0 5px 15px rgba(217, 70, 239, 0.3);
    }
    
    .hamburger { display: block; z-index: 1001; }
    
    .hero-content h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    
    .footer-grid { 
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom { flex-direction: column; text-align: center; }
    
    .portfolio-grid-modern { grid-template-columns: 1fr; }
    .calculator-box { padding: 30px 20px; }
    .section-padding { padding: 60px 0; }
    
    /* Improved Calculator Layout on Mobile */
    .project-type-grid { 
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns for better compactness */
        gap: 10px; 
    }
    
    .project-card {
        min-height: 120px; /* More compact cards */
        padding: 15px 10px;
    }
    
    .project-card i {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .project-card h5 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1.1rem; }
    
    .hero-btns { flex-direction: column; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
    
    .service-card { flex-direction: column; text-align: center; }
    .service-icon-box { margin-bottom: 10px; }
    
    /* Stack calculator cards only on very small screens */
    .project-type-grid { grid-template-columns: 1fr; } 
}

/* Prevent horizontal overflow globally */
body, html {
    max-width: 100vw;
    overflow-x: hidden;
}
