:root {
    --primary: #F15A24;
    --youtube: #FF0000;
    --whatsapp: #25D366;
    --dark: #222222;
    --white: #FFFFFF;
}

body {
    font-family: 'Poppins', sans-serif;
}

.navbar-nav .nav-link {
    margin: 0 6px;
    font-weight: 500;
    color: var(--dark);
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

.navbar-nav .nav-link.active {
    color: var(--primary);
}

#youtube-btn {
    background: var(--youtube);
    color: var(--white);
    border: none;
    transition: all .3s ease;
    cursor: pointer;
}

#youtube-btn:hover {
    background: #D90000;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

#whatsapp-btn {
    background: var(--whatsapp);
    color: var(--white);
    border: none;
    transition: all .3s ease;
    cursor: pointer;

}

#whatsapp-btn:hover {
    background: #1EBE5D;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

html {
    scroll-behavior: smooth;
}

.navbar-brand {
    flex-shrink: 0;
}

.navbar-collapse {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.navbar-nav {
    margin: 0 auto;
    text-align: center;
}

.navbar-buttons {
    display: flex;
    gap: 12px;
}

.navbar {
    padding: 8px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

body {
    padding-top: 80px;
}

.hero {
    position: relative;
    min-height: 100vh;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .8);
}

.hero-title {
    position: relative;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-subtitle {
    position: relative;
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 500;
}

.hero-desc {
    position: relative;
    max-width: 600px;
    font-size: 1.05rem;
    opacity: .9;
}

#hero-youtube-btn {
    background: var(--youtube);
    color: var(--white);
    border: none;
    transition: all .3s ease;
}

#hero-youtube-btn:hover {
    background: #D90000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

#hero-whatsapp-btn {
    background: var(--whatsapp);
    color: var(--white);
    border: none;
    transition: all .3s ease;
}

#hero-whatsapp-btn:hover {
    background: #1EBE5D;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

@media (max-width:991px) {
    .navbar-collapse {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 6px 0;
    }

    .navbar-buttons {
        flex-direction: column;
        width: 100%;
        padding-top: 15px;
        border-top: 1px solid #eee;
        gap: 10px;
    }

    #youtube-btn,
    #whatsapp-btn {
        width: 100%;
        text-align: center;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.6rem;
    z-index: 5;
    background: rgba(0, 0, 0, .3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 1.8s infinite;
}

.hero-buttons {
    margin-bottom: 50px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@media (max-width:768px) {
    .hero {
        min-height: 100vh;
        padding: 90px 20px 70px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-desc {
        font-size: .95rem;
    }

    .scroll-indicator {
        bottom: 15px;
        font-size: 1.3rem;
    }
}

.section-tag {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: .85rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}

.services-section {
    background: #f9f9f9;
}

.service-group-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 1.1rem;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 20px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .06);
    transition: all .3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .1);
}

.service-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card h5 {
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.videos-section {
    background: var(--white);
}

.video-scroll {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0 15px 12px;
}

.video-scroll::-webkit-scrollbar {
    height: 6px;
}

.video-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.video-card {
    flex: 0 0 auto;
    width: 280px;
    text-decoration: none;
    color: inherit;
}

.video-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
}

.video-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .25);
    opacity: 0;
    transition: opacity .3s ease;
}

.play-overlay i {
    font-size: 2.8rem;
    color: var(--youtube);
    background: rgba(255, 255, 255, .9);
    border-radius: 50%;
    padding: 10px 12px;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.video-title {
    margin-top: 12px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--dark);
    line-height: 1.4;
}

.scroll-btn {
    display: none;
    position: absolute;
    top: 96px;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    color: var(--white);
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease;
}

.scroll-btn:hover {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.scroll-btn-left {
    left: 0;
}

.scroll-btn-right {
    right: 0;
}

@media (min-width:992px) {
    .scroll-btn {
        display: flex;
    }
}

.video-scroll-wrapper {
    padding: 0 45px;
}

.gallery-section {
    background: #f9f9f9;
}

.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transition: transform .3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.03);
}

.gallery-item {
    position: relative;
}

.gallery-video-wrap {
    position: relative;
}

.gallery-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
    pointer-events: none;
}

.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox-content {
    max-width: 90%;
    max-height: 85vh;
}

.gallery-lightbox-content img,
.gallery-lightbox-content video {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.contact-section {
    background: var(--white);
}

.contact-info-card h5 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info-card p {
    margin-bottom: 5px;
}

.contact-info-card a {
    color: #555;
    text-decoration: none;
}

.contact-info-card a:hover {
    color: var(--primary);
}

.contact-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all .3s ease;
}

.whatsapp-icon {
    background: var(--whatsapp);
}

.instagram-icon {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.youtube-icon {
    background: var(--youtube);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, .2);
}

.map-embed iframe {
    border-radius: 12px;
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--dark);
}

.contact-form .form-control {
    border-radius: 8px;
    padding: 10px 14px;
    border: 1px solid #ddd;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(241, 90, 36, .15);
}

.btn-contact-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all .3s ease;
}

.btn-contact-submit:hover {
    background: #D14A15;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.site-footer {
    background: var(--dark);
    color: #ccc;
    padding: 40px 0 20px;
}

.footer-tagline {
    color: #aaa;
    font-size: .9rem;
    margin-top: 5px;
}

.footer-links {
    gap: 20px !important;
    flex-wrap: nowrap;
}

.footer-links li a {
    color: #ccc;
    text-decoration: none;
    font-size: .9rem;
    transition: color .3s ease;
}

.footer-links li a:hover {
    color: var(--primary);
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    margin-left: 8px;
    transition: all .3s ease;
}

.footer-social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, .15);
    margin: 25px 0 15px;
}

.footer-copy {
    color: #888;
    font-size: .85rem;
}

@media (min-width:992px) and (max-width:1400px) {

    #youtube-btn,
    #whatsapp-btn {
        padding: 8px 14px !important;
        font-size: .85rem;
    }
}

@media (max-width:767px) {
    .footer-links {
        flex-wrap: wrap;
        gap: 15px !important;
    }
}

@media (max-width: 991px) {
  .navbar .container-fluid {
    flex-wrap: wrap
  }
  .navbar-brand {
    max-width: 75%;
  }
  .navbar-brand h5 {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .navbar-brand small {
    font-size: 12px !important;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .navbar-toggler {
    flex-shrink: 0;
    align-self: center;
  }
}

@media (max-width: 991px) {
  .scroll-btn-left, .scroll-btn-right {
    display: none;
  }
  .video-scroll-wrapper {
    position: relative;
  }
  .video-scroll-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.9));
    pointer-events: none;
  }
 .video-card {
    scroll-snap-align: start;
    width: 85%;
    flex: 0 0 85%;
  }
  .video-scroll {
    scroll-snap-type: x mandatory;
  }
}

@media (max-width: 991px) {
  .navbar .container-fluid {
    flex-wrap: wrap;
  }
  .navbar-brand {
    max-width: 75%;
  }
  .navbar-brand h5 {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .navbar-brand small {
    font-size: 12px !important;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .navbar-toggler {
    flex-shrink: 0;
    align-self: center;
  }
  .navbar-collapse {
    width: 100%;
    flex-basis: 100%;
  }
}