* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #f8f8f8;
    color: #ffffff;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(242, 140, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 179, 71, 0.1);
    transition: background 0.3s ease;
}

.header img{
  max-width: 60px;
  max-height: 60px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b1a;
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: flex;
    width: 25px;
    height: 2px;
    background: #ffffff;
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: #ffffff;
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Banner Carousel */
.banner-section {
    margin-top: 70px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.banner-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 2rem;
    max-width: 900px;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.banner-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
/*    background: rgba(255, 107, 26, 0.8);*/
    border: none;
    color: black;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 107, 26, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 2rem;
}

.carousel-btn.next {
    right: 2rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

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

/* Section Styles */
.section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.team-section{
/*    background: rgba(26, 26, 26, 0.95);*/
    padding: 5rem 7rem;
    max-width: 100%;
    margin: auto auto;
}

.team-section .worker-name{
    color: rgba(0, 78, 124 , 0.8);
}

.gallery-section{
    background: rgba(242, 140, 40, 0.95);
    padding: 5rem 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.gallery-section .section-title{
    color: #ffffff;
}

.gallery-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: white;
}

.gallery-section .gallery-title {
    color: #ffffff;
}

.contact-section{
/*    background: rgba(0, 78, 124, 0.9);*/
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(0, 78, 124 , 0.8);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b1a, #ff8c42);
}

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

.service-card {
    background: #2d2d2d;
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 107, 26, 0.1);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 107, 26, 0.2);
    border-color: rgba(255, 107, 26, 0.3);
}

.service-card-1 {
    background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* overlay */
    url('images/uap-bejana.png') center/cover no-repeat;
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 107, 26, 0.1);
    cursor: pointer;
}


.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b1a, #ff8c42);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.service-description {
    color: rgba(255, 255, 255, 0.7);
    padding-block: 0.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.learn-more-btn {
    background: #ff6b1a;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.learn-more-btn:hover {
    background: #ff8c42;
    transform: scale(1.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #2d2d2d;
    padding: 3rem;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    position: relative;
    border: 2px solid #ff6b1a;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.modal-close:hover {
    color: #ff6b1a;
    transform: rotate(90deg);
}

.modal-title {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.modal-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 0.7rem;
}

/* Workers Section */
.workers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.worker-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.worker-card:hover {
    transform: translateY(-5px);
}

.worker-image-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ff6b1a;
    transition: border-color 0.3s ease;
}

.worker-card:hover .worker-image-container {
    border-color: #ff8c42;
}

.worker-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worker-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.worker-position {
    color: #ff6b1a;
    font-weight: 500;
}

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

.about-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
/*    padding: 3rem;*/
    background: #2d2d2d;
    border-radius: 12px;
    border: 2px solid rgba(255, 107, 26, 0.2);
}

.about-logo img{
    width: 300px;
    height: 300px;
}

.about-company-name {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #FFB347;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #222222;
    line-height: 1.8;
    font-size: 1rem;
}

/* Gallery Section */
.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.gallery-item {
    background: #2d2d2d;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 107, 26, 0.1);
}

.gallery-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

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

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Outer Gallery Carousel */
.outer-gallery-carousel {
  position: relative;
  overflow: hidden;
  width: 90%;
  max-width: auto;
  margin: auto;
}

.outer-gallery-track {
  display: flex;
  transition: transform 0.6s ease;
}

.outer-gallery-slide {
  min-width: 100%;
  text-align: center;
}

.gallery-images {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.gallery-images img {
  width: 30%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-images img:hover {
  transform: scale(1.05);
}

/* Navigation Buttons */
.gallery-nav {
  position: absolute;
  top: 65%;
  transform: translateY(-50%);
  color: darkslategray;
  border: none;
  font-size: 1rem;
  margin: -10px -10px;
  padding: 5px 10px;
  cursor: pointer;
}

.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }

.gallery-nav:hover {
  background: #ff9800;
}


/* Partners Section */
/*.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}*/

/*.partner-logo {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    min-height: 100px;
}*/

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
}

/*.partner-logo:hover {
    transform: translateY(-5px);
    background: #383838;
    border-color: rgba(255, 107, 26, 0.3);
}*/

/*.partner-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}*/

/*.partner-logo:hover .partner-text {
    color: #ffffff;
}
*/
/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #2d2d2d;
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 26, 0.1);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(255, 107, 26, 0.3);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b1a, #ff8c42);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.7);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 26, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b1a;
    transition: background 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #ff6b1a;
    color: #ffffff;
    transform: scale(1.1);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    border: 1px solid rgba(255, 107, 26, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: rgba(0, 78, 124, 0.8);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 107, 26, 0.1);
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    
    .header img{
        max-width: 15%;
        max-height: 15%;
    }

    .logo{
        font-size: 1rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(255, 107, 26, 0.2);
        background: rgba(242, 140, 40, 0.95);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-button {
        display: block;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1.1rem;
    }

    .carousel-btn {
        visibility: hidden;
        padding: 0.75rem;
    }

    .carousel-btn.prev {
        left: 1rem;
    }

    .carousel-btn.next {
        right: 1rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .team-section{
        padding: 3rem 1.5rem;
    }

    .gallery-section {
        padding: 3rem 1.5rem;
    }

    .gallery-images {
        grid-template-columns: 1fr;
    }    

    .outer-gallery-carousel {
        position: relative;
        overflow: hidden;
        width: 100%;
        margin: auto;
    }

    .gallery-nav {
        visibility: hidden;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .workers-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .modal-content {
        padding: 2rem;
    }

}