/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Stardos Stencil', sans-serif;
}

body {
    background: transparent;
    color: #333;
    line-height: 1.6;
    margin: 0 10px;
}

/* Header */
header {
    background: linear-gradient(135deg, #ffffffbd, rgb(38, 147, 248));
    color: rgb(0, 0, 0);
    padding: 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

#scrollUpBtn {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 99;
    font-size: 20px;
    border: none;
    outline: none;
    background: linear-gradient(110deg, #ffffff, rgb(38, 147, 248), black);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
  }
  
  #scrollUpBtn:hover {
    background: linear-gradient(110deg, #ffffff, #f2a900, black);
    color: rgb(0, 0, 0);
  }
  
/* Wrapper to control full layout */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px; /* adjust for spacing on edges */
    max-width: 100%;
}

/* Branding (logo + company name) */
.branding {
    display: flex;
    align-items: center;
}

/* Logo */
.branding img {
    width: 70px; /* Adjust size as needed */
    height: auto;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.branding img:hover {
    transform: scale(3.0) rotate(5deg);
    box-shadow: 0 8px 20px rgb(255, 255, 255); /* Blue glow */
}

/* Company Name */
.branding h1 {
    font-size: 22px;
    font-weight: bold;
    color: #000;
    margin: 0;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.branding h1:hover {
    color: #0051ff;
    box-shadow: 0 8px 20px rgb(255, 255, 255); /* Blue glow */
}

/* Navigation Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    transition: 0.3s;
}

nav ul li a:hover {
    background: #fae843;
    color: #0051ff;
    border-radius: 5px;
}

.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slideshow container */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Individual slide image */
.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    z-index: 0;

    /* Cinematic effects */
    filter: brightness(55%) contrast(1.1) saturate(1.2);
    transition: opacity 1.2s ease-in-out, transform 12s ease-in-out;
    transform: scale(1);
}

/* Active slide with zoom animation */
.hero-slideshow .slide.active {
    opacity: 1;
    z-index: 1;
    animation: zoomEffect 10s ease-in-out forwards;
}

/* Cinematic HD zoom */
@keyframes zoomEffect {
    0% {
        transform: scale(1);
        filter: brightness(55%) contrast(1.1) saturate(1.2);
    }
    100% {
        transform: scale(1.08);
    }
}

/* Overlay with blur + soft gradient */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(0.5px);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

/* Hero text box */
.hero-text {
    position: relative;
    text-align: center;
    color: white;
    z-index: 2;
    padding: 20px;
    animation: fadeInUp 1.8s ease-in-out both;
}

/* Cinematic fade in animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Title styling */
.hero-text h1 {
    font-size: 60px;
    letter-spacing: 2px;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Paragraph styling */
.hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
    color: rgb(255, 255, 255);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Buttons wrapper */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Base button styles */
.btn, .btn-outline {
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 16px;
    box-shadow: 0 0 0 rgba(243, 220, 87, 0.5); /* Initial no-glow */
}

/* Filled button */
.btn {
    background-color: #f3dc57;
    color: #000;
}

/* Filled hover */
.btn:hover {
    background-color: #0057d8;
    color: #fff;
    box-shadow: 0 0 20px rgba(243, 220, 87, 0.8); /* Glowing hover */
}

/* Outline button */
.btn-outline {
    border: 2px solid #f2a900;
    color: #fff;
}

/* Outline hover */
.btn-outline:hover {
    background-color: #f3dc57;
    color: #000;
    box-shadow: 0 0 20px rgba(243, 220, 87, 0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn, .btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* Bonus 3D depth for hero text on wide screens */
@media (min-width: 1024px) {
    .hero-text {
        transform: translateZ(30px);
        perspective: 800px;
    }
}

.cta-banner {
    background: linear-gradient(135deg, #ffffffbd, rgb(38, 147, 248));
    padding: 40px;
    text-align: center;
}
.cta-banner h2 {
    color: #004080; /* Navy Blue */
}

.cta-banner p {
    color: #333333; /* Dark Gray */
}

.cta-banner .btn-outline {
    color: #ffffff;
    background-color: #007bff80;
    border: 2px solid #ffffff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease; /* Smooth transition */
}

.cta-banner .btn-outline:hover {
    background-color: #f3dc57;
    border: 2px solid #000000;
    color: #000000; /* Keeps text white */
}


/*Project Section*/
.project-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
  }
  
  .project-category {
    width: 300px; /* Fixed width */
    height: 200px; /* Fixed height */
    background-size: cover; /* Ensure image covers the area without stretching */
    background-position: center; /* Center the image */
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid #f0f0f0; /* Subtle border color */
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
  }
  
  .project-category:hover {
    transform: translateY(-7px); /* Hover effect: slight lift */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    border-color: #226efa; /* Border color change on hover */
  }
  
  .project-category span {
    position: absolute;
    top: 50%; /* Vertically center the text */
    left: 50%; /* Horizontally center the text */
    transform: translate(-50%, -50%); /* Center text exactly */
    width: 100%;
    text-align: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 1px;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  }
  
  .project-category:hover span {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7); /* Darker overlay on hover */
    transform: translate(-50%, -50%) scale(1.05); /* Slight scaling effect on hover */
  }
  
  /* Adjusted for proper image display without distortion */
  .project-category {
    background-size: 100% 100%; /* Stretch image to fit the size without distortion */
  }
  
  .project-category img {
    object-fit: cover; /* Ensures the image is scaled and cropped appropriately */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    object-position: center; /* Center the image */
  }
  
  /* Adding a subtle animation effect */
  .project-category {
    animation: fadeIn 1s ease-out;
  }
  
  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: scale(0.9);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  /* Modal styles */
  .project-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
  }
  
  .modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 1100px;
    position: relative;
    overflow: hidden;
  }
  
  .close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #333;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .project-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
  }
  
  .project-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .project-column h4 {
    margin-bottom: 15px;
    color: #2c3e50;
  }
  
  .project-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  
  .project-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    border: 1px solid #ddd;
    padding: 10px;
    transition: transform 0.3s ease;
  }
  
  .project-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .project-card p {
    margin-top: 10px;
    font-size: 15px;
    color: #444;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .project-columns {
      flex-direction: column;
    }
  }
  
  
 
  .project-box {
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    width: 300px;
  }
  .project-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  .project-box p {
    padding: 10px;
    font-size: 14px;
    color: #444;
  }
  
  .projects-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f5f5f5;
    margin: 40px auto;
}

.projects-tagline {
    font-size: 18px;
    color: #666;
    margin-top: -15px;
    margin-bottom: 40px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.main-heading {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.subtitle {
    font-size: 18px;
    color: #777;
    margin-bottom: 40px;
    font-style: italic;
}

.projects-showcase {
    margin-bottom: 60px;
}

.projects-showcase h2 {
    font-size: 60px;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase; /* Capitalize only first letters */
    letter-spacing: 0.5px;
    position: relative;
}

.projects-showcase h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #366afa;
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
}
  
  @media (max-width: 768px) {
    .project-card {
      width: 100%;
    }
  }


.core-values-text {
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;
    border-radius: 10px;
    font-family: 'Stardos Stencil', sans-serif;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.5;
}

.core-values-text p {
    text-align: justify;
    text-indent: 100px; /* This is the indention you wanted */
    margin: 0;
}


#general-work-scope {
    background-color: #ffffff; /* Themed background color */
    padding: 50px 0;
    font-family: 'Arial', sans-serif;
  }
  
  #general-work-scope h2 {
    text-align: center;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 600;
  }
  
  .work-scope-cards {
    display: flex;
    justify-content: space-around; /* Spread items evenly */
    gap: 20px;
  }
  
  .work-card {
    background: linear-gradient(135deg, #ffffffbd, rgb(38, 147, 248));
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    color: #ffd417;
    font-size: 1.2em;
    position: relative;
    flex: 1;
    max-width: 250px; /* Card size */
  }
  
  .work-card img {
    width: 100%;
    border-radius: 10px;
  }
  
  .work-card h3 {
    font-size: 1.4em;
    color: #000000;
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
  }
  
  .carousel-inner {
    max-width: 100%;
    overflow: hidden;
  }
  
  .carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px; /* Adjust the height as needed */
  }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: #b8b0b0;
    border-radius: 50%;
  }
  
  @media (max-width: 768px) {
    #general-work-scope h2 {
      font-size: 2em;
    }
  
    .work-scope-cards {
      flex-direction: column; /* Stack items in a column on small screens */
      align-items: center;
    }
  
    .carousel-item {
      height: auto;
    }
  
    .work-card h3 {
      font-size: 1.2em;
    }
  }
  
  
/* Careers Section */
.careers-section {
    background-color: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
}

.careers-section h2 {
    font-size: 60px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.careers-section h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #f2a900;
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
}

.careers-tagline {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.career-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

@media (max-width: 1024px) {
    .career-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .career-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .career-list {
        grid-template-columns: 1fr;
    }
}

.career-item {
    background-color: #ffffff;
    padding: 25px 20px; /* reduced padding */
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    border-left: 6px solid #f2a900;
    min-height: 100%; /* Makes all cards same height */
}
.career-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Matches feature-box hover */
    border-color: #f2a900;
}

.career-item img.career-icon {
    width: 150px;   /* slightly smaller */
    height: 110px;
    margin-bottom: 15px; /* reduced spacing */
    display: block;
}

.career-item h3 {
    font-size: 22px; /* slightly smaller */
    color: #222;
    font-weight: 700;
    margin-bottom: 10px; /* less margin */
}

.career-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.4; /* tighter spacing */
    margin-bottom: 15px; /* less margin */
    font-weight: 400;
}

.career-item a {
    font-size: 14px;
    padding: 10px 20px; /* smaller button */
    border-radius: 5px;
    background-color: #1f66ff;
    color: #ffffff;
}


.career-item a:hover {
    background-color: #f2a900;
    color: #000000;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.careers-section {
    animation: fadeIn 1s ease-out;
}

/* Modal container with soft fade-in effect */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-in-out;
  }
  
  /* Modal content with pastel color and bounce-in effect */
  .modal-content {
    background: #fff0f6;
    margin: 10% auto;
    padding: 25px 30px;
    border-radius: 20px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    animation: bounceIn 0.4s ease;
    font-family: 'Stardos Stencil', sans-serif;
    position: relative;
  }
  
  /* Close button styled cute and modern */
  .close {
    color: #2f00ff;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .close:hover {
    color: #ff0015;
    transform: scale(1.2);
  }
  
  /* Optional extras for fun */
  .modal-content h2 {
    color: #ff6b81;
    text-align: center;
    margin-bottom: 10px;
  }
  
  .modal-content p {
    color: #333;
    text-align: center;
    font-size: 16px;
  }
  /* Minimalist Engineering-Style View Qualifications Button */
.view-btn {
    background-color: #eee489; /* sleek blueprint purple */
    color: #000000;
    border: none;
    padding: 10px 22px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .view-btn:hover {
    background-color: #509ad6; /* subtle darken on hover */
    transform: translateY(-2px);
    color: #fff;
  }
  
  
  
  /* Keyframe animations */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes bounceIn {
    0% {
      opacity: 0;
      transform: scale(0.8);
    }
    60% {
      opacity: 1;
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }
  
/* Main Content */
.content-container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .page-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
  }
  
  .page-header .subheading {
    font-size: 18px;
    margin-bottom: 30px;
    color: #777;
  }
  
  .terms-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #004979;
  }
  
  .terms-section p,
  .privacy-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
  }

  
/*Footer*/
.footer-section {
    margin-top: 40px;
    background: linear-gradient(135deg, #ffffffbd, rgb(38, 147, 248));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    text-align: center;
}

.footer-container.company-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-logo-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    width: 70px; /* Adjust size as needed */
    height: auto;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    margin-bottom: 10px;
}

.footer-logo:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 8px 20px rgb(255, 255, 255);
}
.company-name {
    font-size: 24px;
    color: #000;
    font-weight: bold;
    margin: 0;
}
.company-name:hover {
    font-size: 24px;
    color: #0059ff;
    font-weight: bold;
    margin: 0;
}

.tagline {
    margin-top: 5px;
    color: #000;
    font-size: 16px;
    font-style: normal;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: #000;
    text-align: center;
}

.footer-links {
    margin-top: 8px;
}

.footer-links a {
    color: #0e4aa5;
    text-decoration: none;
    font-weight: 500;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
    /* Make Header content more mobile-friendly */
    .nav-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .brand h1 {
        font-size: 20px;
    }

    .hero-text h1 {
        font-size: 45px;
    }

    .hero-text h2 {
        font-size: 25px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .project-cards {
        flex-direction: column;
        align-items: center;
    }

    .project-card {
        width: 90%;
    }

}
@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 35px;
    }

    .hero-text h2 {
        font-size: 20px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    .footer-column {
        padding: 10px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .footer-contacts {
        grid-template-columns: 1fr; /* Stack in one column on small screens */
    }
}

/* General Section Styling */
section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

section h2 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

section p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* About Us Section */
.about-us {
    background-color: #ffffff;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.feature-box {
    background: #f0f0f0;
    border-radius: 12px;
    padding: 25px;
    width: 280px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    border-left: 6px solid #366afa;

}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #366afa;
}

.feature-box img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.feature-box h3 {
    color: #222;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Vision-Mission Section */
.vision-mission {
    display: flex;
    flex-direction: row; /* Display the vision and mission horizontally */
    justify-content: space-between;
    gap: 40px; /* Adjusted for better spacing between vision and mission */
    margin-top: 60px;
    padding: 40px 20px;
    max-width: 100%; /* Make container full width */
    margin: 60px auto; /* Centered the section */
    box-sizing: border-box; /* Ensure padding does not affect width */
    background-color: #eef1f6;
}

/* Vision and Mission Titles */
.vision-mission h2 {
    font-size: 2.5rem; /* Larger for better visibility */
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 40px; /* Space below the title */
    text-align: center; /* Center the title */
}

/* Vision section */
.vision-mission .vision {
    display: flex;
    flex-direction: column; /* Stack content vertically within the vision section */
    justify-content: flex-start;
    gap: 20px; /* Space between title, text, and image */
    align-items: center; /* Center align items */
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    width: 45%; /* Make vision section take 45% of the width */
}

.vision-mission .vision h3 {
    font-size: 2.5rem; /* Bigger for emphasis */
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.vision-mission .vision p {
    font-size: 1.5rem; /* Slightly larger text for better readability */
    color: #000000;
    line-height: 1.8;
    font-weight: 300; /* Lighter font weight for better readability */
    text-align: left; /* Center text */
    max-width: 90%; /* Prevent text from stretching too much */
}

.vision-mission .vision .vision-image {
    width: 100%; /* Set to full width */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure image fits properly */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Subtle shadow for images */
    transition: transform 0.3s ease;
}

.vision-mission .vision .vision-image:hover {
    transform: scale(1.03); /* Slight zoom effect when hovered */
}

/* Mission section */
.vision-mission .mission {
    display: flex;
    flex-direction: column; /* Stack content vertically within the mission section */
    justify-content: flex-start;
    gap: 20px; /* Space between title, text, and image */
    align-items: center; /* Center align items */
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    width: 45%; /* Make mission section take 45% of the width */
}

.vision-mission .mission h3 {
    font-size: 2.5rem; /* Bigger for emphasis */
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.vision-mission .mission p {
    font-size: 1.5rem; /* Slightly larger text for better readability */
    color: #000000;
    line-height: 1.8;
    font-weight: 300; /* Lighter font weight for better readability */
    text-align: left; /* Center text */
    max-width: 90%; /* Prevent text from stretching too much */
}

.vision-mission .mission .mission-image {
    width: 100%; /* Set to full width */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure image fits properly */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Subtle shadow for images */
    transition: transform 0.3s ease;
}

.vision-mission .mission .mission-image:hover {
    transform: scale(1.03); /* Slight zoom effect when hovered */
}

/* Icon Images for Vision and Mission */
.vision-icon, .mission-icon {
    width: 50%;
    height: 40%;
    margin-bottom: 20px;
}

.vision h3::after,
.mission h3::after {
    content: '';
    display: block;
    margin: 10px auto 0;
    width: 80px;
    height: 4px;
    background-color: #366afa;
    border-radius: 5px;
}



/* Responsive resizing */
@media (max-width: 768px) {
    .company-logo img {
        max-width: 150px; /* Reduce logo size on smaller screens */
    }

    .vision-mission {
        flex-direction: column; /* Stack vision and mission content vertically */
        gap: 30px; /* Adjust spacing */
    }

    .vision-mission h2 {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }

    .vision-mission .vision, .vision-mission .mission {
        width: 100%; /* Take full width on smaller screens */
    }

    .vision-mission .vision .vision-image, .vision-mission .mission .mission-image {
        width: 80%; /* Adjust width on smaller screens */
    }

    .vision-mission .vision p, .vision-mission .mission p {
        font-size: 1rem; /* Adjust font size for readability */
    }
}

@media (max-width: 480px) {
    .company-logo img {
        max-width: 100px; /* Further reduce logo size on very small screens */
    }
}


/* Team Section */
.team-section {
    margin-top: 80px;
    text-align: center;
    padding: 60px 20px;
    background: #f7f7f7;
    border-radius: 20px;
}

.team-section h3 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.team-section h3::after {
    content: '';
    display: block;
    margin: 10px auto 0;
    width: 80px;
    height: 4px;
    background-color: #366afa;
    border-radius: 5px;
}

.team-section p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Team Members Wrapper */
.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

/* Individual Team Member Card */
.team-member {
    background: linear-gradient(60deg,  rgb(240, 240, 149),#ffffff, rgb(95, 169, 238));
    border-radius: 16px;
    padding: 30px 20px;
    width: 330px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 5px solid transparent;
    margin-bottom: 30px;
}

/* Hover Effects for Team Members */
.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border-color: #000000;
}

/* Team Member Image */
.team-member img {
    width: 140px; /* Adjust size */
    height: 140px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Image Hover Effect */
.team-member img:hover {
    transform: scale(1.5);
}

/* Team Member Name */
.team-member h4 {
    margin: 12px 0 6px;
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Team Member Position */
.team-member p {
    font-size: 1rem;
    color: #777;
    line-height: 1.6;
}

/* Contact Info Styling */
.contact-info {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #444;
}

.contact-info p {
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 100%;
}

.contact-info a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%;
}

.contact-info i {
    color: #000000;
    font-size: 1rem;
}

.contact-info a:hover {
    color: #444;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-section h3 {
        font-size: 2.8rem;
    }

    .team-member {
        width: 220px;
    }

    .contact-info i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .team-section h3 {
        font-size: 2.2rem;
    }

    .team-member {
        width: 200px;
    }

    .contact-info i {
        font-size: 0.8rem;
    }
}


/* Clients Section */
.clients-testimonials-section {
    padding: 100px 20px;
    background: linear-gradient(to bottom right, #f0f8ff, #e6f2ff);
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 8px dotted #a0c4ff;
    border-bottom: 8px dotted #a0c4ff;
  }
/* Section Header */
.clients-testimonials-section h2 {
    font-size: 3.5rem;
    color: #1c2e4a;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-left: 60px;
    margin-bottom: 20px;
    background: url('https://cdn-icons-png.flaticon.com/512/3176/3176364.png') no-repeat left center; /* Construction crane icon */
    background-size: 45px;
  }
  
  .clients-testimonials-section h2::after {
    content: '';
    display: block;
    margin: 12px auto 0;
    width: 120px;
    height: 5px;
    background: linear-gradient(to right, #ffa41b, #ffcc29);
    border-radius: 8px;
  }
  
  /* Subtitle */
  .clients-trust-text {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 60px;
    color: #4f6371;
    line-height: 1.8;
    padding: 0 10px;
    position: relative;
  }
  
  /* Gears Spinning in Background */
  .clients-testimonials-section::before,
  .clients-testimonials-section::after {
    content: '';
    position: absolute;
    background: url('https://cdn-icons-png.flaticon.com/512/747/747376.png') no-repeat;
    background-size: contain;
    opacity: 0.07;
    z-index: 0;
    animation: spinGear 40s linear infinite;
  }
  
  .clients-testimonials-section::before {
    top: -70px;
    left: -60px;
    width: 180px;
    height: 180px;
  }
  
  .clients-testimonials-section::after {
    bottom: -70px;
    right: -60px;
    width: 150px;
    height: 150px;
  }
  
  @keyframes spinGear {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Cards Container */
  .clients-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
  }
  
  /* Client Card */
  .client-category {
    background-color: #ffffff;
    border: 2px dashed #accbee;
    border-radius: 22px;
    padding: 30px 25px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .client-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }
  
  /* Blueprint overlay */
  .client-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url('https://www.transparenttextures.com/patterns/blueprint.png');
    width: 100%;
    height: 100%;
    opacity: 0.07;
    z-index: 0;
  }
  
  /* Title inside cards */
  .client-category h3 {
    font-size: 1.4rem;
    color: #264653;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
    border-bottom: 2px dotted #fca311;
    display: inline-block;
    padding-bottom: 6px;
  }
  
  /* Logos grid */
  .client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    z-index: 1;
    position: relative;
  }
  
  .client-logos img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #d9e2ec;
    padding: 6px;
    transition: transform 0.3s ease;
  }
  
  .client-logos img:hover {
    transform: scale(2.5) rotate(5deg);
    border-color: #fca311;
  }
  
  /* Testimonial Bubble */
  .client-category .testimonial {
    background: #fef9f3;
    border-left: 6px solid #ffa41b;
    border-radius: 20px;
    padding: 20px;
    font-style: italic;
    margin-top: 25px;
    position: relative;
    font-size: 0.95rem;
    color: #444;
    z-index: 1;
  }
  
  /* Add construction-related emoji to testimonial bubbles */
.client-category .testimonial::before {
    content: "🏗️"; /* construction emoji */
    font-size: 1.3rem;
    position: absolute;
    top: -16px;
    left: 12px;
  }
  
  /* Responsive Tweaks */
  @media (max-width: 768px) {
    .clients-testimonials-section h2 {
      font-size: 2.2rem;
      padding-left: 50px;
      background-size: 36px;
    }
  
    .client-category {
      padding: 24px 18px;
    }
  
    .clients-trust-text {
      font-size: 1rem;
    }
  }
  
  
  

/* Title Section */
.title-container {
    text-align: center;
    margin-bottom: 60px;
}

.title-container h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.title-container h2::after {
    content: '';
    display: block;
    margin: 10px auto 0;
    width: 80px;
    height: 4px;
    background-color: #366afa; /* Blue underline */
    border-radius: 5px;
}

.tagline {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

/* Location and Contact Container */
.location-contact-container {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
    margin: 0 auto 60px;
    max-width: 1200px;
}

/* Location Card */
.location-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex: 1 1 32%;
    min-width: 300px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover effect for the card */
.location-card:hover {
    background: linear-gradient(350deg, #ffffffbd, rgb(38, 147, 248));
    transform: scale(1.02);
}


.location-card iframe {
    width: 100%;
    height: 300px;
    border-radius: 12px 12px 0 0;
    border: none;
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* Hover effect on the map container */
.location-card:hover iframe {
    filter: brightness(0.9);
    transform: scale(1.02);
    cursor: pointer;
}


/* Location Card Content */
.location-content {
    padding: 20px;
    text-align: center;
}

.location-card h3 {
    font-size: 1.6rem;
    color: #333;
    margin: 15px 0 10px;
    font-weight: 600;
}

.location-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.location-card i {
    color: #007BFF;
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Facebook Link Styling */
.facebook-link {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    color: #1877f2; /* Facebook blue */
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
}

.material-icons {
    font-size: 24px;
    margin-right: 10px;
}

.facebook-link:hover {
    color: #005fb2; /* Darker blue on hover */
    text-decoration: underline;
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .location-contact-container {
        flex-direction: column;
        align-items: center;
    }

    .location-card {
        width: 90%;
    }
}


/* Contact Form Section */
.contact-form-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    min-width: 350px;
    margin: 20px auto;
    max-width: 900px;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.contact-form-container:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    background: linear-gradient(350deg, #ffffffbd, rgb(238, 215, 115));
}

/* Title and description */
.contact-form-container h3 {
    font-size: 2.4rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.contact-form-container p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    text-align: center;
}

/* Contact Branch Info Container */
.contact {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* Each contact card (Cebu and Leyte) */
.contact .cebu, .contact .leyte {
    background: linear-gradient(135deg, #f9f9f9, #e6f2ff);
    padding: 20px;
    border-radius: 10px;
    width: 48%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact .cebu:hover, .contact .leyte:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
}

/* Section titles */
.contact h4 {
    font-size: 1.8rem;
    color: #007BFF;
    margin-bottom: 15px;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 5px;
}

/* Contact details */
.contact div {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

/* Contact links */
.contact div a {
    color: #007BFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact div a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact {
        flex-direction: column;
        align-items: center;
    }

    .contact .cebu, .contact .leyte {
        width: 100%;
        margin-right: 0;
    }
}

