/* General Styles */
:root {
    --primary-color: #1C2B72; /* Dark blue */
    --secondary-color: #007BFF; /* Bright blue */
    --accent-color: #ff6f61; /* Coral red */
    --background-light: #f9f9f9; /* Light gray */
    --text-color: #333; /* Dark gray */
    --text-light: #fff; /* White */
    --font-family: Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
header {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav .logo img {
    height: 50px;
    width: auto;
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav .nav-links a {
    color: var(--text-light);
    font-weight: bold;
    transition: color 0.3s ease;
}

nav .nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: url('images/background.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hero .btn {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background: #005bb5; /* Darker blue */
}

/* About Section */
.about {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* Slideshow Section */
.slideshow {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    position: relative;
}

.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.mySlides {
    display: none;
    width: 100%;
}

.mySlides img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Slideshow Navigation */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: var(--text-light);
    font-weight: bold;
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0 5px 5px 0;
    transition: background 0.3s ease;
}

.next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Dots Navigation */
.dots-container {
    text-align: center;
    padding: 10px;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 80px 20px;
    background-color: var(--background-light);
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.service-card {
    background-color: var(--text-light);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    color: #666;
}

/* Industries Section */
.industries {
    padding: 80px 20px;
    background: var(--background-light);
    text-align: center;
}

.industries h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.industry-card {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.industry-card:hover {
    transform: scale(1.05);
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 43, 114, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.industry-card:hover .industry-overlay {
    opacity: 1;
}

.industry-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.industry-overlay p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.industry-overlay .btn {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.industry-overlay .btn:hover {
    background: #005bb5;
}

/* Manufacturing Section */
.manufacturing {
    padding: 80px 20px;
    background-color: var(--background-light);
    text-align: center;
}

.manufacturing h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.manufacturing-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Reusing the same .service-card class from Services section */
.manufacturing .service-card {
    background-color: var(--text-light);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.manufacturing .service-card:hover {
    transform: translateY(-10px);
}

.manufacturing .service-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.manufacturing .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.manufacturing .service-card p {
    font-size: 1rem;
    color: #666;
}

/* Commitment Section */
.commitment {
    padding: 80px 20px;
    background-color: var(--background-light);
    text-align: center;
}

.commitment h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.commitment-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.commitment-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.commitment-card:hover {
    transform: translateY(-10px);
}

.commitment-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.commitment-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.commitment-card p {
    color: #666;
    line-height: 1.6;
}

/* Ready to Optimize Section - Full-width with overlay */
.ready-to-optimize {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.optimize-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.optimize-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.ready-to-optimize h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ready-to-optimize p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.ready-to-optimize .btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.ready-to-optimize .btn:hover {
    background: white;
    color: var(--primary-color);
}

/* Modern Contact Section */
.contact {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: #1C2B72;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.contact-header h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: #007BFF;
    bottom: -10px;
    left: 25%;
}

.contact-header p {
    color: #666;
    font-size: 1.1rem;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    flex: 1;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px 0 5px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
    background: transparent;
    transition: all 0.3s ease;
}

.textarea-group {
    margin-bottom: 30px;
}

.input-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: #999;
    transition: all 0.3s ease;
    pointer-events: none;
}

.input-group .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #007BFF;
    transition: all 0.3s ease;
}

.input-group input:focus + label,
.input-group input:valid + label,
.input-group textarea:focus + label,
.input-group textarea:valid + label {
    top: -5px;
    font-size: 0.8rem;
    color: #007BFF;
}

.input-group input:focus ~ .underline,
.input-group textarea:focus ~ .underline {
    width: 100%;
}

.submit-btn {
    background: #1C2B72;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(28, 43, 114, 0.3);
}

.submit-btn:hover {
    background: #007BFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}
/* Form Container (appears below button) */
.quote-form-container {
    margin: 20px auto 0;
    max-width: 500px;
}
/* Form Container */
.quote-form-container {
    margin-top: 20px;
    animation: fadeIn 0.3s ease;
}

/* Form Styling */
.quote-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.quote-form h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Footer */
footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-address, .footer-contact {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.footer-address h3, .footer-contact h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.footer-address p, .footer-contact p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.social-links {
    flex: 1;
    min-width: 250px;
    text-align: right;
}

.social-links a {
    color: var(--text-light);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

footer p {
    margin: 20px 0 0;
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 768px) {
    nav .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about, .services-grid, .industries-grid {
        flex-direction: column;
        align-items: center;
    }
}
/* Map Container */
.map-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  }
  
  /* Custom Marker (via URL parameter) */
  .map-container iframe {
    height: 250px;
    display: block;
    filter: grayscale(20%);
    transition: all 0.3s ease;
  }
  
  .map-container iframe:hover {
    filter: grayscale(0%) brightness(105%);
  }
  
  /* Directions Button */
  .map-actions {
    text-align: center;
    padding: 15px;
    background: white;
  }
  
  .directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1C2B72;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(28, 43, 114, 0.2);
  }
  
  .directions-btn:hover {
    background: #007BFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
  }
  
  .directions-btn i {
    font-size: 0.9em;
  }
/* Map Container */
.map-container {
    width: 100%;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    display: block;
    filter: grayscale(20%) contrast(90%);
    transition: filter 0.3s ease;
}

.map-container iframe:hover {
    filter: grayscale(0%) contrast(100%);
}
/* Compact Map Styling */
.map-container {
    width: 100%;
    max-width: 800px;  /* Constrains width on large screens */
    margin: 0 auto 30px;  /* Centered with bottom spacing */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  }
  
  .map-container iframe {
    height: 250px;  /* Ensures height matches HTML attribute */
    filter: grayscale(20%);
    transition: filter 0.3s ease;
  }
  
  .map-container iframe:hover {
    filter: grayscale(0%);
  }
  .map-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0; /* Subtle border */
  }
  
  .map-container iframe {
    height: 250px;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.3s;
  }
  
  .map-container iframe:hover {
    filter: grayscale(0%);
  }
/* Footer Adjustments */
footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
}
/* Social Media Icons with Brand Colors */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 8px;
    color: white !important;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  /* Facebook (Blue) */
  .social-links a.facebook {
    background: #1877F2;
  }
  .social-links a.facebook:hover {
    background: #166FE5;
    transform: translateY(-3px);
  }
  
  /* WhatsApp (Green) */
  .social-links a.whatsapp {
    background: #25D366;
  }
  .social-links a.whatsapp:hover {
    background: #1DA851;
    transform: translateY(-3px);
  }
  
  /* LinkedIn (Professional Blue) */
  .social-links a.linkedin {
    background: #0077B5;
  }
  .social-links a.linkedin:hover {
    background: #006097;
    transform: translateY(-3px);
  }
  
  /* Instagram (Gradient) */
  .social-links a.instagram {
    background: radial-gradient(circle at 30% 107%, 
      #fdf497 0%, #fdf497 5%, 
      #fd5949 45%, #d6249f 60%, 
      #285AEB 90%);
  }
  .social-links a.instagram:hover {
    opacity: 0.9;
    transform: translateY(-3px);
  }
  
  /* Hover Effects for All */
  .social-links a:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }