/* 
    HOME PAGE STYLES
    - Primary CTA color: #2563eb (blue)
    - Secondary accent: #10b981 (green)
    - Background: #f8fafc (light gray)
*/

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: #f8fafc;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* New Modern Header Design with Updated Logo */
.new-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
    height: 80px;
}

.header-left .logo h1 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(45deg, #2563eb, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.header-center .main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.header-center .main-nav a {
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.header-center .main-nav a:hover,
.header-center .main-nav a.active {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

.contact-bar {
    margin-right: 1.5rem;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(90deg, #10b981, #059669);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    white-space: nowrap;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.6);
}

.phone-icon {
    font-size: 1.4rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.6rem;
    border-radius: 0.5rem;
    transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
    background: #f1f5f9;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: #334155;
    margin: 4px 0;
    transition: 0.4s;
    border-radius: 2px;
}

/* Mobile Menu - Hidden by default */
.mobile-menu {
    display: none;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    border-top: 1px solid #e2e8f0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0.5rem;
}

.mobile-nav a {
    display: block;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: #2563eb;
    color: white;
}

.mobile-contact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.mobile-contact-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(90deg, #10b981, #059669);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    justify-content: center;
}

.mobile-contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.6);
}

/* Modern Hero Section */
.modern-hero {
    height: 80vh;
    min-height: 600px;
    background-image: url('https://media.istockphoto.com/id/1944772735/id/foto/closeup-of-team-of-industrial-engineers-meeting-analyze-machinery-blueprints-consult-project.jpg?s=612x612&w=0&k=20&c=S3Bl69PZSQlVK3IxuB3mr-bF91CfAl0f4DE3Vssf3Lc=');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Space for fixed header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    color: white;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    color: #f1f5f9;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.phone-button {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 1.3rem 2.7rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.5);
    border: 2px solid #10b981;
    white-space: nowrap;
}

.phone-button:hover {
    background: transparent;
    color: #10b981;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.7);
}

.estimate-button {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 1.3rem 2.7rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    border: 2px solid white;
    white-space: nowrap;
}

.estimate-button:hover {
    background: white;
    color: #1e293b;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.5);
}

/* Trust Strip */
.trust-strip {
    background: linear-gradient(90deg, #1e293b, #334155);
    color: white;
    text-align: center;
    padding: 1.7rem;
}

.trust-strip p {
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

/* Services Section with Images */
.services-section {
    padding: 5rem 0;
    background: white;
}

.services-section h2 {
    text-align: center;
    font-size: 2.7rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto 2.5rem;
}

.service-card {
    background: white;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.09);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    border-color: #2563eb;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #1e293b;
    font-weight: 700;
    text-align: center;
}

.service-content p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.1rem;
    text-align: center;
}

.small-text {
    text-align: center;
    color: #64748b;
    font-style: italic;
    font-size: 1.15rem;
    margin-top: 1.2rem;
}

/* Coming Soon Section */
.coming-soon-section {
    padding: 5rem 0;
    background: #f1f5f9;
}

.coming-soon-section h2 {
    text-align: center;
    font-size: 2.7rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.accordion {
    max-width: 750px;
    margin: 0 auto;
    background: white;
    border-radius: 1.2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 2rem;
    background: linear-gradient(90deg, #2563eb, #10b981);
    color: white;
    border: none;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.4s ease;
}

.accordion-header:hover {
    background: linear-gradient(90deg, #1d4ed8, #059669);
}

.accordion-icon {
    font-size: 2.2rem;
    transition: transform 0.4s ease;
}

.accordion-content {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.accordion-content ul {
    list-style: none;
    padding: 1.8rem 0;
}

.accordion-content li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 500;
    color: #334155;
    font-size: 1.1rem;
}

.accordion-content li:last-child {
    border-bottom: none;
}

.accordion.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion.active .accordion-content {
    max-height: 450px;
    padding: 2rem;
}

/* Portfolio Section with New Images */
.portfolio-section {
    padding: 5rem 0;
    background: white;
}

.portfolio-section h2 {
    text-align: center;
    font-size: 2.7rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.portfolio-card {
    background: #f8fafc;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.image-container {
    height: 270px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .image-container img {
    transform: scale(1.08);
}

.portfolio-card h3 {
    padding: 1.7rem;
    text-align: center;
    font-size: 1.6rem;
    color: #1e293b;
    font-weight: 700;
}

.view-portfolio {
    display: block;
    text-align: center;
    color: #2563eb;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    padding: 1.3rem;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
    max-width: 320px;
    margin: 0 auto;
    border: 2px solid #2563eb;
}

.view-portfolio:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Modern Footer with Updated Logo */
.modern-footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 4rem 0 1.5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-column h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(45deg, #2563eb, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-column h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 1.7rem;
    position: relative;
    padding-bottom: 0.7rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

.footer-column p {
    margin-bottom: 0.7rem;
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.9rem;
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    font-size: 1.05rem;
}

.footer-column a:hover {
    color: #2563eb;
    transform: translateX(6px);
}

.contact-details a {
    color: #94a3b8;
    font-weight: 500;
}

.contact-details a:hover {
    color: #2563eb;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #334155;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    margin-top: 2.5rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 1rem;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #2563eb;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
}

@media (max-width: 900px) {
    .header-center {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .services-section h2,
    .coming-soon-section h2,
    .portfolio-section h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
        height: 70px;
    }
    
    .header-left .logo h1 {
        font-size: 1.8rem;
    }
    
    .contact-bar {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn span {
        width: 24px;
        height: 2.5px;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .modern-hero {
        height: 75vh;
        min-height: 500px;
        margin-top: 70px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        gap: 1.2rem;
    }
    
    .phone-button,
    .estimate-button {
        padding: 1.1rem 2.2rem;
        font-size: 1.05rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        max-width: 100%;
    }
    
    .service-image {
        height: 200px;
    }
    
    .service-content {
        padding: 1.7rem;
    }
    
    .service-content h3 {
        font-size: 1.4rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 0.8rem;
    }
    
    .header-left .logo h1 {
        font-size: 1.6rem;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .phone-button,
    .estimate-button {
        padding: 1rem 2rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        font-size: 1rem;
    }
    
    .services-section h2,
    .coming-soon-section h2,
    .portfolio-section h2 {
        font-size: 2.1rem;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
    
    .accordion-header {
        padding: 1.5rem;
        font-size: 1.2rem;
    }
    
    .accordion-content ul {
        padding: 1.5rem 0;
    }
}