/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    background-color: #121212;
}

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

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

ul {
    list-style: none;
}

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

/* Header styles */
header {
    background-color: #1a1a1a;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00ff88, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #00ff88;
}

.cta-button {
    background: linear-gradient(45deg, #00ff88, #00bfff);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #121212, #1a1a1a);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #00ff88, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(45deg, #00ff88, #00bfff);
    border: none;
}

.btn-secondary {
    border: 2px solid #00ff88;
    background: transparent;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
}

.btn-secondary:hover {
    background: rgba(0, 255, 136, 0.1);
}

/* Services section */
.services {
    padding: 5rem 0;
}

.services h2, .portfolio h2, .testimonials h2, .about h2, .blog h2, .contact h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #333;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00ff88;
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.2);
}

.service-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #00ff88, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Quote form section */
.quote-form {
    background: #1a1a1a;
    padding: 4rem 0;
}

.quote-form h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.quote-form p {
    text-align: center;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #f0f0f0;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2);
}

.btn-block {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

/* Portfolio section */
.portfolio {
    padding: 5rem 0;
}

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

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
}

.portfolio-item img {
    transition: transform 0.5s;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.portfolio-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #00ff88;
    font-weight: 500;
}

/* Testimonials section */
.testimonials {
    padding: 5rem 0;
    background: #1a1a1a;
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scrollbar-width: thin;
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background: #00ff88;
    border-radius: 4px;
}

.testimonial-card {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 15px;
    min-width: 300px;
    flex-shrink: 0;
    border: 1px solid #444;
}

.testimonial-card p {
    margin-bottom: 1.5rem;
    font-style: italic;
    opacity: 0.9;
}

.testimonial-card h4 {
    font-weight: 600;
    color: #00ff88;
}

/* About section */
.about {
    padding: 5rem 0;
}

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

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.feature i {
    color: #00ff88;
}

.about-image img {
    border-radius: 15px;
    border: 1px solid #333;
    overflow: hidden;
}

/* Blog section */
.blog {
    padding: 5rem 0;
}

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

.blog-card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.read-more {
    display: inline-block;
    color: #00ff88;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Contact section */
.contact {
    padding: 5rem 0;
    background: #1a1a1a;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.contact-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ff88, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 255, 136, 0.1);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #f0f0f0;
    font-family: inherit;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2);
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Footer */
footer {
    background: #1a1a1a;
    padding: 3rem 0;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #00ff88, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: #00ff88;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    opacity: 0.7;
    font-size: 0.9rem;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive design */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    nav {
        position: fixed;
        top: 60px;
        right: -100%;
        background: #1a1a1a;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s;
        border-left: 1px solid #333;
        z-index: 999;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image {
        order: -1;
    }
    
    .testimonials-slider {
        scroll-snap-type: x mandatory;
    }
    
    .testimonial-card {
        min-width: 80%;
        scroll-snap-align: start;
    }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}