/**
* Template Name: Eterna
* Template URL: https://bootstrapmade.com/eterna-free-multipurpose-bootstrap-template/
* Updated: Jun 25 2025 with Bootstrap v5.3.6
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
  :root {
            --primary-red: #d60000;
            --primary-red-hover: #b30000;
            --dark-bg: #111111;
            --dark-accent: #1a1a1a;
            --text-main: #333333;
            --text-muted: #666666;
            --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            --glass-bg: rgba(255, 255, 255, 0.85);
            --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
            --shadow-hover: 0 20px 40px rgba(214, 0, 0, 0.15);
        }

        body {
            font-family: 'Rubik', sans-serif;
            color: var(--text-main);
            overflow-x: hidden;
            background-color: #fff;
        }

        /* --- Utility Classes --- */
        .text-red { color: var(--primary-red); }
        .bg-red { background-color: var(--primary-red); }
        .section-padding { padding: 50px 0; }
        
        /* --- Top Bar --- */
        .top-bar {
            background: var(--primary-red);
            color: white;
            font-size: 0.85rem;
            padding: 8px 0;
            font-weight: 400;
        }
        .top-bar i { margin-right: 8px; }

        /* --- Navbar --- */
        .navbar {
            transition: var(--transition-smooth);
            padding: 15px 0;
            background: #fff;
        }
        .navbar.scrolled {
            padding: 10px 0;
            box-shadow: var(--shadow-soft);
        }

        .navmenu ul {
            margin: 0;
            padding: 0;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .navmenu li {
            position: relative;
        }

        .navmenu a, .navmenu a:focus {
            color: var(--text-main);
            padding: 18px 15px;
            font-size: 16px;
            font-weight: 500;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: 0.3s;
        }

        .navmenu a i { font-size: 12px; line-height: 0; margin-left: 5px; }
        .navmenu a:hover, .navmenu .active { color: var(--primary-red); }

        /* Desktop Dropdown Logic */
        .navmenu .dropdown ul {
            display: block;
            position: absolute;
            left: 14px;
            top: calc(100% + 30px);
            margin: 0;
            padding: 10px 0;
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            background: #fff;
            box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
            transition: 0.3s;
            border-radius: 4px;
            min-width: 200px;
        }

        .navmenu .dropdown ul li { min-width: 200px; }
        .navmenu .dropdown ul a { padding: 10px 20px; font-size: 15px; text-transform: none; font-weight: 400; }
        .navmenu .dropdown:hover > ul { opacity: 1; top: 100%; visibility: visible; }

        /* Multi-level Nested Dropdown */
        .navmenu .dropdown .dropdown ul { top: 0; left: calc(100% - 30px); visibility: hidden; }
        .navmenu .dropdown .dropdown:hover > ul { opacity: 1; top: 0; left: 100%; visibility: visible; }

        .navmenu .social-links a {
            font-size: 18px;
            padding: 0 10px;
            color: var(--text-muted);
        }
        .navmenu .social-links a:hover { color: var(--primary-red); }

        /* --- Hero Section --- */
        .hero-swiper {
            width: 100%;
            height: 90vh;
        }
        .swiper-slide {
            position: relative;
            overflow: hidden;
        }
        .hero-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
            z-index: 1;
        }
        .hero-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: scale(1.1);
            transition: transform 10s linear;
        }
        .swiper-slide-active .hero-img { transform: scale(1); }
        
        .hero-content {
            position: absolute;
            z-index: 2;
            top: 50%;
            left: 10%;
            transform: translateY(-50%);
            color: white;
            max-width: 700px;
        }
        .hero-title {
            font-size: 4rem;
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 25px;
            opacity: 0;
            transform: translateY(30px);
        }
        .swiper-slide-active .hero-title {
            animation: fadeInUp 0.8s forwards 0.3s;
        }
        
        /* --- Buttons --- */
        .btn-custom {
            padding: 14px 35px;
            border-radius: 4px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: var(--transition-smooth);
            position: relative;
            overflow: hidden;
            border: none;
            z-index: 1;
        }
        .btn-red {
            background: var(--primary-red) !important;
            color: white !important;
        }
        .btn-red::before {
            content: '';
            position: absolute;
            top: 0; left: -100%; width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.5s;
            z-index: -1;
        }
        .btn-red:hover::before { left: 100%; }
        .btn-red:hover {
            background: var(--primary-red-hover);
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
            color: white;
        }

        /* --- Overview Section --- */
        .overview-img-container {
            position: relative;
            padding: 20px;
        }
        .overview-img-container img {
            border-radius: 10px;
            box-shadow: var(--shadow-soft);
        }
        .floating-badge {
            position: absolute;
            bottom: -30px;
            right: -10px;
            background: var(--primary-red);
            color: white;
            padding: 30px;
            border-radius: 10px;
            animation: float 4s ease-in-out infinite;
        }

        /* --- Services Section --- */
        .services-section {
            background: #fdfdfd;
            position: relative;
            clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
            padding: 140px 0;
        }
        .service-card {
            background: white;
            padding: 50px 40px;
            border-radius: 15px;
            height: 100%;
            transition: var(--transition-smooth);
            border: 1px solid #f0f0f0;
            position: relative;
            overflow: hidden;
        }
        .service-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 4px;
            background: var(--primary-red);
            transform: scaleX(0);
            transition: var(--transition-smooth);
            transform-origin: left;
        }
        .service-card:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-hover);
            border-color: transparent;
        }
        .service-card:hover::before { transform: scaleX(1); }
        .service-icon {
            font-size: 3rem;
            color: var(--primary-red);
            margin-bottom: 25px;
            transition: var(--transition-smooth);
            display: inline-block;
        }
        .service-card:hover .service-icon {
            transform: rotateY(360deg);
        }

        /* --- Team Section --- */
         .team-card {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-soft);
            transition: var(--transition-smooth);
            text-align: center;
            position: relative;
        }
        .team-img-box {
            position: relative;
            overflow: hidden;
            aspect-ratio: 1/1.1;
            background: #f8f9fa;
        }
        .team-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }
        .team-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to top, rgba(214, 0, 0, 0.9) 0%, rgba(214, 0, 0, 0.2) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: var(--transition-smooth);
        }
        .team-socials-hover {
            transform: translateY(20px);
            transition: var(--transition-smooth);
        }
        .team-socials-hover a {
            color: white;
            font-size: 1.5rem;
            margin: 0 10px;
            transition: 0.3s;
        }
        .team-socials-hover a:hover { transform: scale(1.2); }

        .team-info { padding: 25px 15px; }
        .team-info h5 { font-weight: 700; margin-bottom: 5px; color: var(--dark-bg); }
        .team-info p { color: var(--primary-red); font-weight: 500; font-size: 0.9rem; text-transform: uppercase; margin: 0; }

        .team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
        .team-card:hover .team-img-box img { transform: scale(1.1); }
        .team-card:hover .team-overlay { opacity: 1; }
        .team-card:hover .team-socials-hover { transform: translateY(0); }

        /* --- Certifications & Clients --- */
        .client-logo {
            filter: grayscale(100%);
            opacity: 0.6;
            transition: var(--transition-smooth);
            max-width: 150px;
        }
        .client-logo:hover {
            filter: grayscale(0%);
            opacity: 1;
            transform: scale(1.1);
        }

        /* --- CTA Strip --- */
        .cta-strip {
            background: linear-gradient(45deg, var(--dark-bg), var(--dark-accent));
            color: white;
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }
        .cta-strip::after {
            content: '';
            position: absolute;
            width: 300px; height: 300px;
            background: rgba(214, 0, 0, 0.1);
            border-radius: 50%;
            top: -100px; right: -100px;
        }

        /* --- Footer --- */
        footer {
            background: #0a0a0a;
            color: #ccc;
            padding-top: 80px;
        }
        .footer-title {
            color: white;
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 30px;
            position: relative;
            padding-bottom: 10px;
        }
        .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0; width: 40px; height: 2px;
            background: var(--primary-red);
        }
        .footer-links li {
            list-style: none;
            margin-bottom: 15px;
        }
        .footer-links a {
            color: #999;
            text-decoration: none;
            transition: var(--transition-smooth);
        }
        .footer-links a:hover {
            color: var(--primary-red);
            padding-left: 8px;
        }
        .footer-bottom {
            border-top: 1px solid #222;
            padding: 30px 0;
            margin-top: 60px;
            font-size: 0.9rem;
        }

        /* --- Animations --- */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(40px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }

        /* Responsive */
        @media (max-width: 991px) {
            .hero-title { font-size: 2.5rem; }
            .section-padding { padding: 60px 0; }
            .hero-swiper { height: 70vh; }
        }
