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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background: linear-gradient(135deg, #fefdf8 0%, #fffbeb 100%);
    min-height: 100vh;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: rgba(254, 249, 231, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(251, 191, 36, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(254, 252, 232, 0.95);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.25);
    border-color: rgba(251, 191, 36, 0.4);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f1f1f;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1f1f1f;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #f59e0b 0%, #eab308 50%, #ca8a04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card p {
    color: #404040;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    margin-bottom: 1.5rem;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features li {
    color: #404040;
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

.service-price {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
    border-radius: 10px;
    color: #1f1f1f;
    font-size: 1.1rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.service-price strong {
    color: #f59e0b;
    font-size: 1.3rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(254, 249, 231, 0.6);
    border-radius: 20px;
    margin: 3rem 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    border: 1px solid rgba(251, 191, 36, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

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

.cta-section h2 {
    font-size: 2.5rem;
    color: #1f1f1f;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f59e0b 0%, #eab308 50%, #ca8a04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: 1.2rem;
    color: #404040;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f1f1f;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
}

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

/* Header Styles */
header {
    background: rgba(45, 45, 45, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fef9e7;
    text-decoration: none;
}

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

nav a {
    color: #fef9e7;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

nav a:hover, nav a.active {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
}

/* WhatsApp Floating Pill Button */
.whatsapp-pill {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f1f1f;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.whatsapp-pill img {
    width: 22px;
    height: 22px;
}

.whatsapp-pill:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
}

/* Main Content */
.main-content {
    margin-top: 100px;
    padding: 2rem 0;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h1 {
    font-size: 3rem;
    color: #1f1f1f;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f59e0b 0%, #eab308 50%, #ca8a04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.2rem;
    color: #404040;
    max-width: 600px;
    margin: 0 auto;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Project Tiles */
.project-tile {
    position: relative;
    background: rgba(254, 249, 231, 0.8);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.2);
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.project-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.25);
    border-color: rgba(251, 191, 36, 0.4);
    background: rgba(254, 252, 232, 0.95);
}

.project-tile:hover .tile-overlay {
    opacity: 1;
    visibility: visible;
}

.project-count {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f1f1f;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    color: #f59e0b;
}

.project-tile h3 {
    font-size: 1.8rem;
    color: #1f1f1f;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f59e0b 0%, #eab308 50%, #ca8a04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-tile p {
    color: #404040;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Tile Overlay */
.tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.92) 0%, rgba(245, 158, 11, 0.92) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.explore-text {
    color: #1f1f1f;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 31, 31, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #fefdf8 0%, #fffbeb 100%);
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
    background: rgba(254, 249, 231, 0.8);
}

.modal-header h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #1f1f1f;
    margin: 0;
    font-size: 1.8rem;
}

#modalIcon {
    font-size: 2rem;
    color: #f59e0b;
}

#modalTitleText {
    background: linear-gradient(135deg, #f59e0b 0%, #eab308 50%, #ca8a04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close {
    color: #404040;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover {
    color: #f59e0b;
}

.modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

/* Custom scrollbar for modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(251, 191, 36, 0.1);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 4px;
}

/* Project Gallery */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Project Items */
.project-item {
    background: rgba(254, 249, 231, 0.6);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(251, 191, 36, 0.2);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.4);
    background: rgba(254, 252, 232, 0.8);
}

.project-image {
    font-size: 3rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
    border-radius: 15px;
    color: #f59e0b;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.project-details {
    flex: 1;
}

.project-details h4 {
    color: #1f1f1f;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #f59e0b 0%, #eab308 50%, #ca8a04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-details p {
    color: #404040;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-date,
.project-client {
    background: rgba(254, 249, 231, 0.8);
    color: #404040;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.project-date {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
    color: #1f1f1f;
    font-weight: 500;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.95) 0%, rgba(31, 31, 31, 0.95) 100%);
    color: #fef9e7;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Fade-in Animation */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

/* Only apply fade-in effect when JavaScript is available */
.js-enabled .fade-in {
    opacity: 0;
    transform: translateY(50px);
}

.js-enabled .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-tile {
        padding: 2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .project-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-item {
        flex-direction: column;
        text-align: center;
    }

    .project-image {
        align-self: center;
    }

    nav ul {
        gap: 1rem;
    }

    nav a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .project-tile {
        padding: 1.5rem;
    }

    .project-count {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .project-icon {
        font-size: 2.5rem;
    }

    .whatsapp-pill span {
        display: none;
    }

    .whatsapp-pill {
        padding: 12px;
        border-radius: 50%;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .close {
        font-size: 1.5rem;
    }
}

@keyframes twinkle {
    0%   { opacity: 0.4; transform: scale(0.9); }
    50%  { opacity: 1;   transform: scale(1.1); }
    100% { opacity: 0.5; transform: scale(1); }
}
