/* ========================================= */
/* 1. GOOGLE FONTS & VARIABLES               */
/* ========================================= */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

:root {
    --bs-primary: #fd3604;
    --bs-secondary: #030f27;
    --bs-light: #f3f6f9;
    --bs-dark: #111111;
    --bs-white: #ffffff;
    --bs-body: #666666;
    --font-primary: "Roboto", sans-serif;
}

/* Apply Roboto Globally */
body {
    font-family: var(--font-primary);
    color: var(--bs-body);
    background-color: var(--bs-white);
    line-height: 1.6;
}

h1,
h3,
h4,
h5,
h6,
.h1,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--bs-secondary);
}

/* Specific Blue Color for H2 as requested earlier */
h2,
.h2 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: #001659 !important;
}

/* ========================================= */
/* 2. SPINNER                                */
/* ========================================= */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.5s ease-out,
        visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition:
        opacity 0.5s ease-out,
        visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/* ========================================= */
/* 3. BUTTONS                                */
/* ========================================= */
.btn {
    font-weight: 600;
    transition: 0.5s;
    font-family: var(--font-primary);
}

.btn-square {
    width: 32px;
    height: 32px;
}
.btn-sm-square {
    width: 34px;
    height: 34px;
}
.btn-md-square {
    width: 44px;
    height: 44px;
}
.btn-lg-square {
    width: 56px;
    height: 56px;
}
.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white); /* Fixed Text Color */
    background: var(--bs-primary);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.btn.btn-secondary {
    color: var(--bs-white);
    background: var(--bs-secondary);
    border: none;
}

.btn.btn-secondary:hover {
    background: var(--bs-primary);
    color: var(--bs-white); /* Ensures text stays visible */
}

/* ========================================= */
/* 4. TOPBAR & NAVBAR                        */
/* ========================================= */
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-secondary); /* Dark Blue Background */
}

.topbar a,
.topbar span,
.topbar i {
    color: var(--bs-white) !important; /* Ensure visibility on dark bg */
}
.topbar a:hover {
    color: var(--bs-primary) !important;
}

.sticky-top {
    transition: 1s;
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--bs-dark);
    font-family: var(--font-primary);
}

.navbar .navbar-nav .nav-link {
    position: relative;
    padding: 10px;
    font-weight: 500;
    font-size: 17px;
    transition: 0.5s;
    z-index: 99;
}

.navbar .navbar-nav .nav-item {
    margin: 0 5px;
}

/* Navbar Hover Lines */
.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border: 2px solid var(--bs-primary); /* Orange Border */
    opacity: 0;
    transition: 0.5s;
    z-index: 2 !important;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
    border-bottom: 0;
    border-right: 0;
}
.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
    border-top: 0;
    border-left: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 50%;
    height: 50%;
    opacity: 1;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--bs-dark);
    background: var(--bs-secondary);
}

/* Dropdown */
.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: 0.5s;
    opacity: 1;
}

.navbar .nav-item .dropdown-menu {
    background: var(--bs-light);
    transition: 0.5s;
}

.navbar .nav-item .dropdown-menu .dropdown-item {
    transition: 0.5s;
    font-family: var(--font-primary);
}

.dropdown .dropdown-menu .dropdown-item:hover,
.dropdown .dropdown-menu .dropdown-item.active {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        margin-top: 15% !important;
        transform: rotateX(-75deg);
        transform-origin: 0 0;
        border: 0;
        transition: 0.5s;
        opacity: 0;
        z-index: 9;
    }
}

@media (max-width: 991px) {
    .navbar .nav-item .dropdown-menu {
        position: relative;
        margin-top: 0;
        transition: 0.5s;
    }
    .navbar .navbar-nav .nav-item::after,
    .navbar .navbar-nav .nav-item::before {
        display: none;
    }
    .navbar .navbar-nav .nav-link {
        padding: 12px 0;
    }

    /* Mobile: make hamburger (three lines) white */
    .navbar .navbar-toggler {
        color: var(--bs-white) !important;
    }
    .navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
        background-size: 100% 100%;
    }

    /* Mobile: make collapsed nav background white and center links */
    .navbar-collapse {
        background: var(--bs-white);
    }
    .navbar .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 10px 0;
    }
    .navbar .navbar-nav .nav-link {
        color: var(--bs-secondary) !important;
        width: 100%;
        max-width: 320px;
    }
}

/* ========================================= */
/* 5. PAGE HEADER & CAROUSEL                 */
/* ========================================= */
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(0, 18, 72, 0.7), rgba(0, 18, 72, 0.7)),
        url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}

.carousel .carousel-inner .carousel-item {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

@media (min-width: 992px) {
    .carousel .carousel-inner .carousel-item img {
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 991px) {
    .carousel .carousel-inner .carousel-item {
        height: 700px;
    }
    .carousel .carousel-inner .carousel-item img {
        height: 700px;
        object-fit: cover;
    }
}

.carousel .carousel-inner .carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.carousel .carousel-inner .carousel-item .carousel-caption {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.carousel .carousel-indicators {
    margin-bottom: 40px;
    z-index: 5;
}

.carousel .carousel-indicators li {
    width: 10px;
    height: 10px;
    border: 6px solid var(--bs-secondary);
    background: var(--bs-white);
    margin-right: 30px !important;
}

.carousel .carousel-indicators li.active {
    border: 10px solid var(--bs-primary);
}

.carousel .carousel-control-prev .carousel-control-prev-icon,
.carousel .carousel-control-next .carousel-control-next-icon {
    padding: 25px 30px;
    background: var(--bs-primary);
}

.carousel .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel .carousel-control-next .carousel-control-next-icon:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

/* ========================================= */
/* 6. ABOUT SECTION                          */
/* ========================================= */
.about .about-item-content-img {
    border: 4px solid;
    border-color: var(--bs-secondary) var(--bs-primary) var(--bs-primary)
        var(--bs-secondary);
}

.about .about-item-image {
    position: relative;
    background: var(--bs-light);
    background-image: url(../img/about-bg.png);
    background-size: cover;
    z-index: 1;
}

.about .about-item-image .img-1 {
    margin-bottom: 250px;
    margin-right: 0;
    border: 4px solid;
    border-color: var(--bs-secondary) var(--bs-light) var(--bs-light)
        var(--bs-secondary);
    z-index: 3;
}

.about .about-item-image .img-2 {
    margin-top: 250px;
    margin-left: 0;
    border: 4px solid;
    border-color: var(--bs-light) var(--bs-secondary) var(--bs-secondary)
        var(--bs-light);
    z-index: 3;
}

.about .about-item-image::before {
    width: 80%;
    height: 80%;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-style: dotted;
    border-color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 2;
}

.about .about-item-image .about-item-image-content {
    width: 55%;
    height: 55%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bs-secondary);
    border: 4px solid var(--bs-primary);
    opacity: 0.9;
    z-index: 4;
}

/* ========================================= */
/* 7. FEATURES & SERVICES                    */
/* ========================================= */
.feature .feature-item {
    position: relative;
    transition: 0.5s;
}
.feature .feature-item:hover {
    background: var(--bs-white);
    border: 1px solid transparent;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
}
.feature .feature-item:hover a {
    transition: 0.5s;
}
.feature .feature-item:hover a:hover {
    color: var(--bs-secondary);
}
.feature .feature-item .feature-img img {
    transition: 0.5s;
}
.feature .feature-item:hover .feature-img img {
    border: 1px solid var(--bs-secondary);
}

.service .service-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    z-index: 1;
}

.service .service-item .service-img img {
    transition: 0.5s;
}
.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

.service .service-item::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover:after {
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.service .service-item .service-content {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}
.service .service-item:hover .service-content {
    opacity: 1;
}

.service .service-item:hover .service-content a.fs-4 {
    color: var(--bs-white);
    transition: 0.5s;
}
.service .service-item:hover .service-content a.fs-4:hover {
    color: var(--bs-secondary);
}

.service .service-item .service-title {
    position: absolute;
    width: 100%;
    height: 80px;
    bottom: 0;
    right: 0;
    background: var(--bs-light);
    display: flex;
    transition: 0.5s;
    z-index: 3;
}
.service .service-item:hover .service-title {
    margin-right: -100%;
}

/* ========================================= */
/* 8. BLOG & CONTACT                         */
/* ========================================= */
.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}
.blog .blog-item .blog-img img {
    transition: 0.5s;
}
.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}
.blog .blog-item .blog-content {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}
.blog .blog-item .blog-content a {
    transition: 0.5s;
}
.blog .blog-item:hover .blog-content a:hover {
    color: var(--bs-secondary);
}

.contact .contact-map {
    position: relative;
    overflow: hidden;
    padding: 20px;
    z-index: 1;
}
.contact .contact-map::before {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--bs-primary);
    z-index: -1;
}
.contact .contact-map::after {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--bs-secondary);
    z-index: -1;
}

/* ========================================= */
/* 9. FOOTER                                 */
/* ========================================= */
.footer {
    background:
        linear-gradient(rgba(0, 18, 72, 0.9), rgba(0, 18, 72, 1)),
        url(../img/footer-img.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}
.footer .footer-item p {
    line-height: 35px;
}
.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-secondary);
}
.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}
.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}
.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary) !important;
}

/* ========================================= */
/* 10. COPYRIGHT                             */
/* ========================================= */
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark);
}

/* Gallery Card Hover Effect */
.gallery-item {
    background: #ffffff;
    transition: all 0.4s ease-in-out;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* Lift + Shadow */
.gallery-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #0d6efd;
}

/* Icon Container Animation */
.gallery-img {
    transition: all 0.4s ease-in-out;
    border-radius: 50%;
}

/* Icon Rotate + Scale */
.gallery-item:hover .gallery-img {
    transform: rotate(10deg) scale(1.15);
    background-color: #0d6efd !important;
}

/* Icon Color Change */
.gallery-item:hover i {
    color: #ffffff !important;
}

/* Title Hover Effect */
.gallery-item a {
    transition: color 0.3s ease-in-out;
}

.gallery-item:hover a {
    color: #0d6efd;
}

/* Smooth Paragraph Fade */
.gallery-item p {
    transition: opacity 0.3s ease-in-out;
}

.gallery-item:hover p {
    opacity: 0.9;
}
/* End of Gallery Card Hover Effect */

/* Mission Card Hover Effect */
.card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Lift + shadow on hover */
.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

/* Top border animation */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 5px;
    background-color: #fdbe33;
    transition: all 0.4s ease;
}

.card:hover::before {
    left: 0;
}

/* Icon animation */
.card i {
    transition: all 0.4s ease;
}

.card:hover i {
    transform: rotate(-8deg) scale(1.15);
    color: #fdbe33;
}

/* Heading animation */
.card h3 {
    transition: color 0.3s ease;
}

.card:hover h3 {
    color: #fdbe33;
}

/* Text fade effect */
.card p {
    transition: color 0.3s ease;
}

.card:hover p {
    color: #555 !important;
}
/* End of Mission Card Hover Effect */

/* Social icon buttons – force white icon */
.topbar .btn i {
    color: #fff;
}

/* On hover, click (active), and focus */
.topbar .btn:hover i,
.topbar .btn:active i,
.topbar .btn:focus i {
    color: #fff;
}

/* Optional: keep background clean on click */
.topbar .btn:focus,
.topbar .btn:active {
    box-shadow: none;
}
/* End of Social icon buttons */

/* ============================= */
/* WHITE TIMELINE ACHIEVEMENTS   */
/* ============================= */

.achievements-white {
    background: #ffffff;
}

/* Timeline Base */
.timeline-white {
    position: relative;
    max-width: 850px;
    margin: auto;
}

/* Vertical Line */
.timeline-white::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, #fdbe33, #eee);
}

/* Timeline Item */
.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

/* Icon */
.timeline-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 3px solid #fdbe33;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fdbe33;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: floatIcon 3s ease-in-out infinite;
}

.timeline-icon.dark {
    border-color: #030f27;
    color: #030f27;
}

/* Floating Animation */
@keyframes floatIcon {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* Glass Content Card */
.timeline-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    padding: 20px 25px;
    border-radius: 14px;
    border-left: 5px solid #fdbe33;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

/* Hover Motion */
.timeline-content:hover {
    transform: translateX(12px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

/* Text */
.timeline-content h4 {
    margin-bottom: 6px;
    font-weight: 600;
}

.timeline-content p {
    margin: 0;
    color: #555;
}

/* End of White Timeline Achievements */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
}

/* Client Logo & video Styling */

.project-card {
    transition: all 0.4s ease;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}
.project-img img,
.project-img video {
    transition: 0.6s ease;
}
.project-card:hover img {
    transform: scale(1.05);
}
.client-logo {
    max-height: 80px;
    width: auto;
}

/* End of Client Logo & video Styling */

/* Project Image Video Section Style */
/* Modern Filter Buttons */
#portfolio-flters li {
    border: 2px solid #fd3604;
    border-radius: 50px;
    cursor: pointer;
    padding: 8px 25px;
    font-weight: bold;
    color: #030f27;
    transition: 0.3s;
    display: inline-block;
}
#portfolio-flters li.active,
#portfolio-flters li:hover {
    background: #fd3604;
    color: white !important;
}

/* Image Card Effects */
.project-card {
    transition: 0.3s;
    border: 1px solid #eee !important;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.media-placeholder {
    background: #111;
}
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 15, 39, 0.2);
    opacity: 0;
    transition: 0.3s;
}
.project-card:hover .hover-overlay {
    opacity: 1;
}
.project-card:hover video,
.project-card:hover img {
    transform: scale(1.05);
    transition: 0.5s;
}

/* ============================================ */
/* AUTO SCROLLING VIDEO REELS SECTION STYLES */
/* ============================================ */

/* ===================== REELS SECTION ===================== */
.reels-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.reels-scroll-wrapper {
    overflow: hidden;
    width: 100%;
}

.reels-scroll-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: autoScroll 40s linear infinite;
}

.reels-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes autoScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Individual Reel Card */
.reel-card {
    flex-shrink: 0;
    width: clamp(160px, 25vw, 280px);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reel-card:hover {
    transform: translateY(-12px) scale(1.03);
}

.reel-video-wrapper {
    position: relative;
    width: 100%;
    height: clamp(260px, 40vw, 480px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #000;
    transition: all 0.4s ease;
}

.reel-card:hover .reel-video-wrapper {
    box-shadow: 0 15px 40px rgba(253, 54, 4, 0.3);
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.reel-card:hover .reel-video {
    transform: scale(1.08);
}

/* Gradient Overlay at Bottom */
.reel-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Play Icon Overlay */
.reel-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.reel-card:hover .reel-play-overlay {
    opacity: 1;
    animation: pulseIcon 1.5s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

/* Title Overlay at Bottom */
.reel-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    color: white;
    z-index: 2;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.reel-card:hover .reel-title-overlay {
    transform: translateY(0);
    opacity: 1;
}

.reel-title-overlay p {
    font-size: clamp(12px, 2vw, 16px);
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.reel-title-overlay small {
    font-size: 12px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Glow Border Effect on Hover */
.reel-video-wrapper::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(45deg, #fd3604, #ff6b3d, #fd3604, #ff8c5d);
    background-size: 300% 300%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: gradientShift 3s ease infinite;
}

.reel-card:hover .reel-video-wrapper::before {
    opacity: 0.7;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

/* ===================== GALLERY TITLES ===================== */
.video-gallery-title-alt,
.image-gallery-title-alt {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.title-icon { font-size: 1.4rem; }

/* ===================== IMAGE GRID CARDS ===================== */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(253, 54, 4, 0.15) !important;
}

.hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(253, 54, 4, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .hover-overlay {
    opacity: 1;
}

/* ===================== FILTER BUTTONS ===================== */
#portfolio-flters li {
    border: 2px solid #fd3604;
    color: #fd3604;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    background: #fd3604;
    color: #fff;
}

/* ===================== RESPONSIVE BREAKPOINTS ===================== */
@media (max-width: 768px) {
    .reels-scroll-track {
        gap: 12px;
    }

    .reel-card {
        width: clamp(140px, 42vw, 200px);
    }

    .reel-video-wrapper {
        height: clamp(220px, 65vw, 320px);
        border-radius: 14px;
    }

    .reel-play-overlay i {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 480px) {
    .reel-card {
        width: clamp(130px, 44vw, 180px);
    }

    .reel-video-wrapper {
        height: clamp(200px, 68vw, 290px);
        border-radius: 12px;
    }

    .reel-title-overlay {
        padding: 10px;
    }

    .reel-title-overlay p {
        font-size: 11px;
    }
}

/*End Projects Image Video Style Section */

.founder-img-wrapper {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    position: relative;
}
.founder-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid #fff; /* White border as requested */
    transition: 0.5s;
}
.founder-card:hover img {
    transform: scale(1.05);
    border-color: #030f27;
}
.founder-card h3 {
    color: #333;
    font-size: 24px;
}
.text-small {
    font-size: 14px;
}



