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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

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

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

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

.cta-button {
    background: #dc2626;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #dc2626 0%, #1e40af 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #dc2626;
    transform: translateY(-2px);
}

.hero-location {
    margin-top: 1.5rem;
    text-align: center;
}

.hero-location p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.hero-location i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Mission Section */
.mission {
    padding: 80px 0;
    background: #e0f2fe;
}

.mission-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e40af;
}

.mission-content p {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.8;
}

/* Industries Section */
.industries {
    padding: 80px 0;
    background: #fecaca;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
    justify-content: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure even distribution for 7 items */
@media (min-width: 768px) {
    .industry-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Position the last 3 items in the second row - all same size */
    .industry-item:nth-last-child(3) {
        grid-column: 1 / 2;
    }
    
    .industry-item:nth-last-child(2) {
        grid-column: 2 / 3;
    }
    
    .industry-item:nth-last-child(1) {
        grid-column: 3 / 4;
    }
}

@media (min-width: 1024px) {
    .industry-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .industry-item:nth-last-child(3) {
        grid-column: 1 / 2;
    }
    
    .industry-item:nth-last-child(2) {
        grid-column: 2 / 3;
    }
    
    .industry-item:nth-last-child(1) {
        grid-column: 3 / 4;
    }
}

@media (min-width: 1200px) {
    .industry-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .industry-item:nth-last-child(3) {
        grid-column: 1 / 2;
    }
    
    .industry-item:nth-last-child(2) {
        grid-column: 2 / 3;
    }
    
    .industry-item:nth-last-child(1) {
        grid-column: 3 / 4;
    }
}

.industry-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.industry-item i {
    font-size: 2.5rem;
    color: #dc2626;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-item h4 {
    color: #1e40af;
    font-size: 1rem;
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e40af;
}

.section-header p {
    font-size: 1.125rem;
    color: #374151;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc2626 0%, #1e40af 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e40af;
}

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

.service-link {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}

/* Portfolio Section */
.portfolio {
    padding: 60px 0;
    background: #e0f2fe;
}

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

.portfolio-testimonial {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 0;
}

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

.client-photo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.client-info h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.client-info p {
    color: #374151;
    margin-bottom: 1rem;
}

blockquote {
    font-style: italic;
    color: #374151;
    line-height: 1.6;
    position: relative;
    padding: 1rem 0;
}

blockquote::before {
    content: '"';
    font-size: 3rem;
    color: #dc2626;
    position: absolute;
    top: -1rem;
    left: -1rem;
}

.portfolio-showcase {
    position: relative;
    margin-top: 0;
    width: 100%;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-item {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-item.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.project-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.project-image {
    width: 500px;
    height: 375px;
    background: #f3f4f6;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    position: relative;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

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

.project-card h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.project-card p {
    color: #374151;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
}

/* Product Gallery Section */
.products {
    padding: 60px 0;
    background: #e0f2fe;
}

/* Product Carousel */
.product-carousel {
    margin-top: 3rem;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.product-slide {
    display: none;
    animation: slideIn 0.5s ease-in-out;
}

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

@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-header {
    text-align: center;
    margin-bottom: 3rem;
}

.slide-header h3 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
    position: relative;
}

.slide-header h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #dc2626;
    border-radius: 2px;
}

.slide-header p {
    font-size: 1.125rem;
    color: #374151;
    max-width: 600px;
    margin: 0 auto;
}

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

.product-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    background: #f3f4f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.product-image:hover {
    transform: scale(1.02);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product-image i {
    font-size: 3rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.image-placeholder-text {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-item h4 {
    font-size: 1.25rem;
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.product-item p {
    color: #374151;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Carousel Navigation */
.carousel-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 0 1rem;
}

.carousel-btn {
    background: #dc2626;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.carousel-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.3);
}

.carousel-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.carousel-indicators {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

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

.indicator:hover {
    background: #9ca3af;
}

.indicator.active {
    background: #dc2626;
    transform: scale(1.2);
}

/* Trusted Brands Section */
.trusted-brands-section {
    margin-top: 4rem;
    text-align: center;
}

.trusted-brands-section h3 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 2rem;
    position: relative;
}

.trusted-brands-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #dc2626;
    border-radius: 2px;
}

/* Brands Row Styling */
.brands-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.brand-logo {
    flex: 0 0 auto;
    text-align: center;
}

.brand-image {
    width: 120px;
    height: 80px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.brand-image:hover {
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
    transform: translateY(-2px);
}

.brand-image i {
    font-size: 1.5rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.brand-placeholder {
    color: #6b7280;
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #dc2626 0%, #1e40af 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e40af;
}

.about-text p {
    color: #374151;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.fun-fact {
    background: #fef2f2;
    color: #dc2626;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #dc2626;
    margin: 1.5rem 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #374151;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #1e40af;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fbbf24;
}

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

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

.social-links a:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    max-width: 200px;
}

.cert-badge {
    background: #dc2626;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.contact-info a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.contact-info i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .logo-image {
        height: 40px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #f8f9fa;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-logo {
        width: 250px;
    }

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

    .project-image {
        width: 350px;
        height: 262px;
    }

    .project-card {
        padding: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

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

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

    .slide-header h3 {
        font-size: 2rem;
    }

    .carousel-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .carousel-indicators {
        order: -1;
    }

    .brands-row {
        gap: 1rem;
    }

    .brand-image {
        width: 100px;
        height: 70px;
    }

    .industry-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        height: 50px;
        max-width: 150px;
    }
}

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

    .hero-logo {
        width: 200px;
    }

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

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .mission-content h2 {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.service-card,
.portfolio-testimonial,
.project-card {
    animation: fadeInUp 0.6s ease-out;
} 