/* Global Styles */

<link rel="icon" href="images/favicon/favicon/favicon.png" type="image/x-icon">
    <link rel="icon" type="image/png" sizes="32x32" href="images/favicon/favicon/favicon-16x16.png">
    <link rel="icon" type="image/png" sizes="16x16" href="images/favicon/favicon/favicon-32x32.png">


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Stardos Stencil', sans-serif;
}

@media print {
    body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    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;
}

/* Wrapper */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    height: 80px;
}

/* Branding */
.branding {
    display: flex;
    align-items: center;
}

.branding img {
    width: 70px;
    height: auto;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.branding h1 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    margin: 0 10px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.branding h1:hover {
    background: linear-gradient(to right, #000000, rgb(38, 147, 248), #ffc400cc, #000000 );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: 0.3s;
}


/* Navigation Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0;
    height: 100%;
}

nav ul li {
    position: relative;
    display: flex;
    align-items: center;
}

nav ul li a {
  color: #000;
  text-decoration: none;
  font-size: clamp(10px, 2vw, 14px); /* Responsive font sizing */
  padding: 20px 5px;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-block;
  white-space: nowrap;
}

/* Optional: Adjust spacing on smaller screens */
@media (max-width: 768px) {
  nav ul li a {
    display: block;
    padding: 10px 16px;
    font-size: 16px; /* Slightly larger for touch-friendliness */
  }
}


nav ul li a:hover {
    background: #fae843;
    color: #0051ff;
    border-radius: 5px;
}



.nav-active {
    display: block;
}

.active a {
    background: #0051ff;
    color: white;
    border-radius: 5px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 15px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #000;
  margin: 4px 0;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    background: #ffffffc0;
    width: 100%;
    display: none;
    padding: 10px;
  }

  nav ul.show {
    display: flex;
  }
}


/* ---------------------- */
/* Responsive Styles */
/* ---------------------- */
@media (max-width: 768px) {
    .nav-wrapper {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px 20px;
        height: auto;
    }

    .branding {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .branding img {
        width: 50px;
    }

    .branding h1 {
        font-size: 18px;
        margin-left: 10px;
    }

    .hamburger {
        display: flex;
    }

    nav {
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        background: #ffffff3a;
        width: 100%;
        display: none;
        padding: 10px;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        width: 100%;
        padding: 10px 0;
        position: relative;
    }

    nav ul li a {
        width: 100%;
    }
}


#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, #e6c50c, black);
    color: rgb(0, 0, 0);
  }
  

/* Index Section */
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000; /* fallback background */
    border: none;
}

/* Slideshow container */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: flex;
}

/* 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;
    transition: opacity 1.2s ease-in-out, transform 12s ease-in-out;
    filter: brightness(55%) contrast(1.1) saturate(1.2);
}

/* 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);
    }
    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.2px);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(255, 254, 254, 0.021));
    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;
    display: block; /* Show text by default */
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-text.visible {
  opacity: 1;
}

/* 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);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }
}

/* 3D depth effect on wide screens */
@media (min-width: 1024px) {
    .hero-text {
        transform: translateZ(30px);
        perspective: 800px;
    }
}


/*Project Section*/
.project-category img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
    transition: transform 0.6s ease;
}
.project-category:hover img {
    transform: scale(3);
}

  
.projects-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f2f4f7, #e9edf3);
    margin: 40px auto;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  }
  
  .projects-tagline {
    margin-bottom: 3rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 60px;
    color: #4f6371;
    line-height: 1.8;
    padding: 0 10px;
    position: relative;
  }
  
  .main-heading, .projects-showcase h2 {
    font-size: 3.5rem;
    color: #1c2e4a;
    padding-top: 50px;
    padding-bottom: 50px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-left: 60px;
    margin-bottom: 1rem;
    letter-spacing: 1px;
  }
  
  .projects-showcase h2::after {
    content: '';
    width: 120px;
    height: 4px;
    background: #3056d3;
    display: block;
    margin: 14px auto 0;
    border-radius: 2px;
  }
  
  .project-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
  }
  
  .project-category {
    width: 300px;
    height: 200px;
    border-radius: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid  #f0f0f0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 1;
  }
  
  .project-category:hover {
     transform: translateY(-10px) scale(1.03);
     box-shadow: 0 16px 40px rgba(48, 86, 211, 0.3);
     border: 4px solid #3056d3; /* Thicker border */
  }
  
  .project-category span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 14px;
    text-align: center;
    background: rgba(26, 32, 44, 0.6);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: transform 0.3s ease, background 0.3s ease;
    border-radius: 8px;
  }
  
  .project-category:hover span {
    background: rgba(26, 32, 44, 0.8);
    transform: translate(-50%, -50%) scale(1.05);
  }
  
  .project-category {
    animation: fadeIn 0.8s ease-out;
  }
  
  .project-category::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: 0 0 0 rgba(48, 86, 211, 0.4);
    transition: box-shadow 0.4s ease;
    z-index: -1;
}

.project-category:hover::before {
    box-shadow: 0 0 20px rgba(48, 86, 211, 0.3);
}
  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: scale(0.9);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }

  .project-category::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 16px;
    background: rgba(48, 86, 211, 0.3);
    z-index: -1;
    filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.project-category:hover::after {
    opacity: 1;
}

/* Optional: subtle pulse animation on border */
@keyframes pulseBorder {
    0% {
        box-shadow: 0 0 0 0 rgba(48, 86, 211, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(48, 86, 211, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(48, 86, 211, 0);
    }
}

.project-category:hover {
    animation: pulseBorder 1.5s infinite;
}
  
  /* 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.6);
    overflow-y: auto;
  }
  
  .modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 1100px;
    position: relative;
  }
  
  .close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    font-weight: bold;
    color: #2d3748;
    cursor: pointer;
    transition: color 0.3s;
  }
  
  .close:hover {
    color: #e53e3e;
  }
  
  .project-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 20px;
  }
  
  .project-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .project-column h4 {
    margin-bottom: 16px;
    color: #2c3e50;
    font-size: 20px;
    font-weight: 700;
  }
  
  .project-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  
  .project-card {
    background: linear-gradient(350deg, #ffffffbd, rgb(38, 147, 248));
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    border: 1px solid #e2e8f0;
    padding: 10px;
    transition: transform 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
  }
  
  .project-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .project-card p {
    margin-top: 10px;
    font-size: 15px;
    color: #4a5568;
  }
  
  @media (max-width: 768px) {
    .project-columns {
      flex-direction: column;
    }
    .project-card {
      width: 100%;
    }
  }
  
  /* Gallery modal zoom */
  #galleryImages img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
  }
  
  #galleryImages img:hover {
    transform: scale(1.05);
  }
  
  .project-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  
  .project-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .project-box p {
    padding: 12px;
    font-size: 15px;
    color: #4a5568;
    text-align: center;
  }
  
  .subtitle {
    font-size: 18px;
    color: #718096;
    margin-bottom: 40px;
    font-style: italic;
  }
  

.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: 3.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.careers-section h2::after {
    content: '';
    width: 120px;
    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: 220px;   /* slightly smaller */
    height: 150px;
    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: 60px 30px;
    max-width: 1100px;
    margin: 0 auto;
    background-color: #f9f9f9;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }
  
  /* Page Header */
  .page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e3c72; /* Engineering blue */
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .page-header h1::after {  
    content: '';
    width: 120px;
    height: 4px;
    background: linear-gradient(
        to right,
        #f1ba37,
        #ffffff,
        #104c91
    );
    background-size: 300% 100%;
    background-position: 0% 0%;
    display: block;
    margin: 16px auto 0;
    border-radius: 2px;
    animation: runningGradient 3s linear infinite;
    transition: width 0.3s ease;
}
.page-header h1:hover::after {
    width: 160px;
}


/* Animation Keyframes */
@keyframes runningGradient {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}


  .page-header .subheading {
    font-size: 18px;
    color: #6c7a89;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
  }
  
  /* Section Titles */
  .terms-section h2,
  .privacy-section h2 {
    font-size: 30px;
    color: #1a2264;
    margin-bottom: 15px;
    border-left: 5px solid #f2a900;
    padding-left: 15px;
    background: linear-gradient(to right, #eef4f9, transparent);
    font-weight: 600;
  }
  
  /* Paragraph Styling */
  .terms-section p,
  .privacy-section p {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .content-container {
      padding: 40px 15px;
    }
  
    .page-header h1 {
      font-size: 3.5rem;
    }
  
    .terms-section h2,
    .privacy-section h2 {
      font-size: 30px;
    }
  }
  

  
/*Footer*/
.footer-section {
    margin-top: 0;
    background: linear-gradient(135deg, #ffffffbd, rgb(38, 147, 248));
    padding: 30px 20px;
    text-align: center;
    border-top: none;
    box-shadow: none; /* Removes top separation shadow */
}


.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(5) rotate(-1deg);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0);
}
.company-name { 
    font-size: 30px;
    font-weight: 1000;
    color: #000;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    text-shadow: 1px 1px 2px #ffffff;
    transition: transform 0.3s ease, color 0.3s ease;
}

.company-name:hover {
    background: linear-gradient(to right, #000000, #2693f8, #ffc400cc, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    transform: scale(1.05);
}


.tagline {
    margin-top: 5px;
    color: #6d6c6c;
    font-size: 20px;
    font-style: italic;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 18px;
    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;
}

/* Clients Section */
.clients-testimonials-section {
    padding: 100px 100px;
    background: linear-gradient(135deg, #f9f9f9, #f1f1f1);
    position: relative;
    overflow: hidden;
    text-align: center;
  }
  .clients-testimonials-section h2 {
    font-size: 3.5rem;
    color: #2c3e50;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-left: 60px;
    margin: 0; /* removes all margins including top */
    background-size: 45px;
  }
  
  
  .clients-testimonials-section h2::after {
    content: '';
    width: 120px;
    height: 4px;
    background: #f2a900;
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
    margin-bottom: 20px;

  }
  
  /* Subtitle */
  .clients-trust-text {
    margin-bottom: 3.5rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    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-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 solid #2465f0; /* Engineering blue border */
    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 {
    border-color: #ffbb00;
    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;
    width: 100%;
    height: 100%;
    opacity: 0.07;
    z-index: 0;
  }
  
  /* Title inside cards */
  .client-category h3 {
    font-size: 1.3rem;
    color: #264653;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
    border-bottom: 3px 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: 100px;
    height: 50px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #fca311;
    padding: 6px;
    transition: transform 0.3s ease;
  }
  
  .client-logos img:hover {
    transform: scale(2.5) rotate(-1deg);
    border-color: #2465f0;
  }
  
  /* 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: 3.5rem;
      padding-left: 50px;
      background-size: 36px;
    }
  
    .client-category {
      padding: 24px 18px;
    }
  
    .clients-trust-text {
      font-size: 1rem;
    }
  }

/* 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));
}

/* Contact Section */
  .title-container {
    text-align: center;
    margin-bottom: 60px;
}

.title-container h2 {
    padding-top: 50px;
    padding-bottom: 50px;
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.title-container h2::after {
    content: '';
    width: 120px;
    height: 4px;
    background: #3056d3;
    display: block;
    margin: 14px auto 0;
    border-radius: 2px;
}

.contact-tagline {
    margin-bottom: 3.5rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 60px;
    color: #4f6371;
    line-height: 1.8;
    padding: 0 10px;
    position: relative;
    font-style: normal;
} 
.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;
    }
}

  /* Prevent content from being cut */
  .page-break {
    page-break-before: always;
  }

  /* Force content to fit within A4 */
  @page {
    margin: 1cm;
  }


/* Workforce Section */
.workforce-gallery {
    background: linear-gradient(135deg, #f9f9f9, #f1f1f1);
    padding: 3rem 1rem;
  }
  
  .workforce-gallery h2 {
    padding-top: 50px;
    padding-bottom: 50px;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1c2e4a;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
  }
  
  .workforce-gallery h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: #3056d3;
    margin: 14px auto 0;
    border-radius: 2px;
  }
  
  .workforce-tagline {
    margin-bottom: 3.5rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 60px;
    color: #4f6371;
    line-height: 1.8;
    padding: 0 10px;
    position: relative;
  }
  
.workforce-gallery-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  display: flex;
  flex-direction: column; /* Stack the image and other content vertically */
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
  background: #daeaff;
  border: 4px solid #2465f0;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  cursor: pointer;
  padding: 10px;
}


  
  .gallery-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #ffbb00;
  }
  
.gallery-img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Keeps the full image visible without cropping */
  display: block;
  margin-left: auto;  /* Centers the image horizontally */
  margin-right: auto; /* Centers the image horizontally */
}


  
  .gallery-card:hover .gallery-img {
    transform: scale(1.05);
  }

  .pagination-controls {
  text-align: center;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.pagination-controls button {
  background-color: #3056d3;
  color: #fff;
  border: none;
  margin: 0 15px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s;
  padding: 5px 10px;
}

.pagination-controls button:hover {
  background-color: #ffbb00;
}

#pageIndicator {
  font-size: 18px;
  color: #1c2e4a;
  font-weight: bold;
}


/* Licenses and Certificates Section */
.licenses-certificates-section {
    background: white;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Section title */
.licenses-certificates-section .section-title {
    font-size: 3.5rem;
    color: #1c2e4a;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* Section title underline effect */
.licenses-certificates-section .section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: #f2a900;
    margin: 14px auto 0;
    border-radius: 2px;
}

/* Card hover effects */
.licenses-certificates-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    z-index: 1;
    border: 3px solid #0253cc; /* Light border to start with */
    border-radius: 8px;
    height: auto;
    max-height: 550px; /* Cap the card height */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Hover effect for the card */
.licenses-certificates-section .card:hover {
    transform: translateY(-10px) scale(1.05); /* Lift and scale the card */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* Bigger shadow */
    border-color: #fde34c; 
}

/* Card image adjustments */
.licenses-certificates-section .card-img-top {
    height: 350px; /* Keeps image height balanced */
    object-fit: contain; 
    width: 100%;
    background-color: #e0e0e08f; /* Optional: adds white background if image doesn’t fill full space */
    border-bottom: 3px solid #0253cc;
    transition: transform 0.3s ease;
}

/* Hover effect for the card image */
.licenses-certificates-section .card-img-top:hover {
    height: 350px;
    object-fit: contain; /* Ensure still not cropped */
    border-bottom: 3px solid #fde34c;
}

/* Apply border to carousel container for cards with carousels */
.licenses-certificates-section .card .carousel-inner {
    border-bottom: 3px solid #0253cc;
}

/* Optional: Add hover effect too */
.licenses-certificates-section .card:hover .carousel-inner {
    border-bottom: 3px solid #fde34c;
}

/* Hover effect for the image zoom */
.licenses-certificates-section .card:hover .card-img-top {
    transform: scale(1.05); /* Slight zoom effect on the image */
}

/* Adding a nice hover effect for the card body */
.licenses-certificates-section .card-body {
    padding: 20px;
    flex-grow: 1; /* Ensures the body fills remaining space within the card */
    overflow: hidden;
    background-color: #f7c111c5; /* Add a blue background to the card body */
    color: rgb(0, 0, 0); /* Change text color to white for contrast */
}
/* Hover effect for the card body */
.licenses-certificates-section .card:hover .card-body {
    background-color: #2092d4; /* Add a blue background to the card body */
    color: rgb(255, 255, 255); /* Change text color to white for contrast */
}

.card-description {
    color: rgb(255, 255, 255);
    transition: color 0.3s ease, transform 0.3s ease;
}

.card:hover .card-description {
    color: rgb(0, 0, 0); /* Highlight color */
    transform: translateY(-2px); /* Subtle lift effect */
}

/*Company Profile*/ 
/* PDF Viewer Section Styles */
.pdf-section {
    background: white;
    padding: 40px 0; /* Removed side padding */
    border-radius: 0;
    box-shadow: none;
}

/* PDF Title and Subtext */
.pdf-section .section-title {
    font-size: 3rem;
    color: #1c2e4a;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pdf-section .section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: #3056d3;
    margin: 14px auto 0;
    border-radius: 2px;
}

/* PDF Viewer Style */
.pdf-frame-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border: 3px solid #0253cc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pdf-frame-wrapper iframe {
    display: block;
    width: 100%;
    height: 700px;
    border: none;
}
.lead {
margin-bottom: 3.5rem;
text-align: center;
margin-left: auto;
margin-right: auto;
font-size: 1.15rem;
max-width: 700px;
margin: 0 auto 60px;
color: #4f6371;
line-height: 1.8;
padding: 0 10px;
position: relative;
}

@media print {
    body * {
      visibility: hidden;
    }
  
    #pdfViewer {
      visibility: visible;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
  }  

.pdf-viewer-section {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@media (max-width: 768px) {
    iframe#companyProfilePDF {
        height: 500px;
    }
}

.pdf-container {
    animation: fadeInUp 0.6s ease-out;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
/* News & Updates Section */ 
.news-updates {
  background-color: #f9f9f9;
  padding: 3rem 1rem;
}

.section-title {
  font-size: 3.5rem;
    color: #1c2e4a;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
  margin-bottom: 20px;
}

.section-title::after {
  content: '';
  display: block;
  width: 120px;
  height: 4px;
  background: #f2a900;
  margin: 14px auto 0;
  border-radius: 2px;
}

.section-tagline {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 2rem;
}

.event-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1c2e4a;
}

.media-box {
  background-color: #c7c7c7;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: center;
}

.carousel-item {
  text-align: center;
}

.media-caption { 
  background-color: rgba(48, 48, 48, 0.425); /* dark background */
  color: rgb(255, 205, 69);
  font-size: 16px;
  padding: 6px 10px;
  border-radius: 10px;
  text-align: center;
  position: absolute;
  top: 10px; /* changed from bottom to top */
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  z-index: 2; /* ensures it appears above the image/video */
}


.carousel-item {
  position: relative;
}

/* Exact media sizing */
.media-item {
  width: auto;
  max-width: 100%;
  max-height: 400px;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

video.media-item {
  height: 300px;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .media-item {
    max-height: 250px;
    width: 100%;
  }
  video.media-item {
    height: auto;
  }
}
