/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Top Bar Styles */
.top-bar {
    background: #1a365d;
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

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

.top-bar-left {
    display: flex;
    align-items: center;
}

.top-bar-text {
    color: rgba(255, 255, 255, 0.9);
}

.top-bar-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar-phone,
.top-bar-email {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.top-bar-phone:hover,
.top-bar-email:hover {
    color: #fbbf24;
}

.top-bar i {
    font-size: 0.85rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 36px; /* Height of top bar */
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #e5e7eb;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #FFD700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #e5e7eb;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 50vh;
    padding: 7rem 0 2rem; /* Increased to account for top bar + header */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23374151" width="1200" height="800"/><polygon fill="%236b7280" points="0,800 400,600 800,700 1200,500 1200,800"/><polygon fill="%234b5563" points="0,800 300,650 600,750 900,550 1200,650 1200,800"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    color: #1a1a1a;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FFA500, #B8860B);
    color: #1a1a1a;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f8fafc;
}

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

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.about-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #1a1a1a;
    font-size: 1.5rem;
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.about-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* Services Section */
.services-categories {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-category {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-category:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.category-header {
    display: flex;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-left: 4px solid #FFD700;
}

.expand-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #e5e7eb;
    border-top: 1px solid #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #374151;
}

.expand-button:hover {
    background: #FFD700;
    color: #1a1a1a;
}

.expand-button.active {
    background: #FFD700;
    color: #1a1a1a;
}

.expand-button.active .expand-text {
    position: relative;
    color: transparent;
}

.expand-button.active .expand-text::before {
    content: "Show less";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    color: #1a1a1a;
}

.expand-button.active .expand-icon {
    transform: rotate(180deg);
}

.expand-icon {
    transition: transform 0.3s ease;
}

.category-header.active {
    background: #f1f5f9;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    transition: all 0.3s ease;
}

.category-header.active .category-icon {
    background: linear-gradient(135deg, #FFA500, #B8860B);
}

.category-content {
    flex: 1;
}

.category-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.category-content p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}


.category-services {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #f8fafc;
}

.category-services.active {
    max-height: none;
    padding: 1.5rem 2rem 2rem;
}

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

.service-item {
    background: white;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    border-left: 3px solid #FFD700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: #374151;
    transition: all 0.3s ease;
    position: relative;
}

.service-item:hover {
    border-left-color: #FFD700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.service-item::before {
    content: '✓';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #10b981;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover::before {
    opacity: 1;
}

/* Portfolio Section */
.portfolio {
    background: #f8fafc;
}

.portfolio-carousel {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.portfolio-track {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-slide {
    display: none;
    width: 100%;
}

.portfolio-slide.active {
    display: block;
}

.project-showcase {
    background: white;
    padding: 0;
}

.project-images {
    background: #f8fafc;
    padding: 3rem 2rem;
}

.image-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.image-card {
    position: relative;
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
}

.image-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.image-label {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.after-card .image-label {
    background: #FFD700;
    color: #1a1a1a;
}

.transform-arrow {
    background: #FFD700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    flex-shrink: 0;
}

.project-details {
    padding: 2.5rem;
    text-align: center;
}

.project-details h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.project-details p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.project-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    background: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.portfolio-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-prev,
.portfolio-next {
    background: #FFD700;
    color: #1a1a1a;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.portfolio-prev:hover,
.portfolio-next:hover {
    background: #DAA520;
    transform: scale(1.1);
}

.portfolio-dots {
    display: flex;
    gap: 0.5rem;
}

.portfolio-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.3s ease;
}

.portfolio-dot.active {
    background: #FFD700;
}

/* Mobile optimizations for portfolio */
@media (max-width: 768px) {
    .image-pair {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .transform-arrow {
        transform: rotate(90deg);
    }
    
    .project-images {
        padding: 2rem 1rem;
    }
    
    .project-details {
        padding: 2rem 1rem;
    }
    
    .project-details h3 {
        font-size: 1.5rem;
    }
    
    .project-stats {
        gap: 1rem;
    }
    
    .portfolio-nav {
        gap: 1rem;
    }
    
    .portfolio-prev,
    .portfolio-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Testimonials Section */
.testimonials {
    background: #f8fafc;
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-container {
    overflow: hidden;
    border-radius: 15px;
}

.testimonial-slide {
    display: none;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-stars {
    margin-bottom: 1.5rem;
}

.testimonial-stars i {
    color: #FFD700;
    font-size: 1.2rem;
    margin: 0 2px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: #1e40af;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #6b7280;
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    background: #FFD700;
    color: #1a1a1a;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: #DAA520;
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.3s ease;
}

.testimonial-dot.active {
    background: #FFD700;
}

/* Contact Section */
.contact {
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    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: #FFD700;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    color: #1a1a1a;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: linear-gradient(135deg, #FFA500, #B8860B);
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #1a1a1a;
    font-size: 1.3rem;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #374151;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: #DAA520;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-logo p {
    color: #9ca3af;
    margin-top: 0.5rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #FFD700;
    transform: translateY(-2px);
    color: #1a1a1a;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .top-bar {
        font-size: 0.8rem;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .top-bar-left {
        display: none; /* Hide tagline on mobile */
    }
    
    .top-bar-right {
        gap: 1rem;
    }
    
    .top-bar-email span {
        display: none; /* Show only icon on mobile */
    }
    
    .top-bar-phone span {
        font-size: 0.85rem;
    }
    
    .header {
        top: 28px; /* Adjusted for smaller top bar */
    }
    
    .hero {
        padding-top: 6rem; /* Adjusted for mobile */
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    .nav-list.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .services-list {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        padding: 1.5rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-right: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .service-card,
    .about-card,
    .contact-form {
        padding: 1.5rem;
    }

    .testimonial-slide {
        padding: 2rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 16px;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-btn i {
    font-size: 24px;
    margin-right: 10px;
}

.whatsapp-text {
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Hide text on small screens */
@media (max-width: 480px) {
    .whatsapp-btn {
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-btn i {
        margin: 0;
        font-size: 28px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}

/* Utility Classes */
.hidden {
    display: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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