@charset "utf-8";

/* --- 1. HEADER & NAVIGATION --- */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 20px;
    background: transparent;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-size: 16px;
    padding: 10px 15px !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-item.active .nav-link {
    color: #d62626 !important;
}

/* Brand/Logo Text Styling */
.brand-text {
    line-height: 1.2;
    letter-spacing: 1px;
}

.slogan-line {
    font-size: 14px;
    display: block;
    text-transform: uppercase;
    font-weight: bold;
    color: white;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
}

/* --- 2. TOP INFO ROW (Email, Phone, Socials) --- */
.top-info-row {
    flex-wrap: nowrap;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.top-info-row span, 
.top-info-row a {
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin-right: 25px;
    text-decoration: none;
}

.top-info-row i {
    font-size: 1.1rem;
    margin-right: 8px;
    color: white;
}

.social-links {
    display: flex;
    align-items: center;
}

.social-links a {
    margin-left: 15px;
    margin-right: 0;
}

/* FORCE TRANSPARENCY ON HEADER ELEMENTS */
.main-header,
.top-info-row,
.top-info-row span,
.top-info-row a,
.brand-text,
.slogan-line,
.navbar-brand {
    background-color: transparent !important;
    background: transparent !important;
}

/* Ensure icons don't have a background */
.top-info-row i, 
.social-links i {
    background-color: transparent !important;
}

/* Fix: Header Social Media Hover Color */
.social-links a:hover i {
    color: #d62626 !important;
    transition: color 0.3s ease;
}

/* --- 3. DROPDOWN ANIMATION (Desktop Only) --- */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        margin-top: 0;
        background-color: #d62626;
        border: none;
        border-radius: 0;
        padding: 0;
    }
}

.dropdown-item {
    color: white !important;
    text-transform: uppercase;
    font-size: 13px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #e8e8e8;
    color: #d62626 !important;
}

/* --- 4. MAIN SLIDER LOGIC --- */
.carousel-item {
    height: 915px;
    background-color: #000;
    transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1) !important;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Keep the layout and the zoom trigger */
.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* This triggers the zoom ONLY when the slide is active */
.carousel-item.active img {
    animation: slowZoom 20s infinite alternate;
}

/* Remove the redundant first-load animation to prevent conflicts */
.first-load img {
    /* We will let the standard carousel transition handle the entrance */
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}


/* Initial Load (Slide 1) */
.first-load img {
    animation: slideInFromLeft 1.5s ease-out forwards, slowZoom 20s infinite alternate;
}

@keyframes slideInFromLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* Caption Text Animation */
.carousel-caption {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex !important;
    z-index: 10;
}

.carousel-caption h1, 
.carousel-caption p, 
.carousel-caption .btn {
    opacity: 0;
    transform: translateX(-200px);
    transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

.carousel-item.active .carousel-caption h1,
.carousel-item.active .carousel-caption p,
.carousel-item.active .carousel-caption .btn {
    opacity: 1;
    transform: translateX(0);
}

.carousel-item.active .carousel-caption h1 { transition-delay: 0.6s; letter-spacing: 2px; }
.carousel-item.active .carousel-caption p  { transition-delay: 0.9s; font-size: 18px; }
.carousel-item.active .carousel-caption .btn { transition-delay: 1.2s; }

.slide-2-text { padding-left: 10% !important; width: 50%; }

/* --- 5. FOOTER --- */
.main-footer {
    background-color: #111111;
    color: #ffffff;
    padding: 80px 0 30px;
}

.footer-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.footer-social a {
    color: white;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #d62626 !important;
}

.btn-subscribe {
    position: absolute;
    right: 5px;
    top: 5px;
    background: #d62626;
    color: white;
    border: none;
    padding: 5px 15px;
}

/* --- 6. SERVICES SECTION --- */
.services-section {
    background-color: #1a1a1a; /* Slightly lighter than pure black for depth */
    padding-top: 100px;
    padding-bottom: 100px;
}

.text-red {
    color: #d62626 !important;
}

.tracking-wider {
    letter-spacing: 3px;
}

.red-line {
    width: 80px;
    height: 4px;
    background-color: #d62626;
    margin-top: 15px;
}

/* Service Cards */
.service-card {
    background: #222;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.4s ease;
    height: 100%;
}

.service-card:hover {
    background: #282828;
    border-color: #d62626;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(214, 38, 38, 0.2);
}

.icon-box {
    font-size: 50px;
    color: #d62626;
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1);
}

.service-card h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- 7. POLISHED FOOTER STYLING --- */
.main-footer {
    background-color: #111111;
    color: #ffffff;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 2px solid #d62626; /* Small red accent under titles */
    display: inline-block;
    padding-bottom: 5px;
}

/* Subscribe Box Design */
.subscribe-box {
    position: relative;
    display: flex;
    width: 100%;
}

.subscribe-box input {
    width: 100%;
    background: #222;
    border: 1px solid #333;
    padding: 12px 15px;
    color: #fff;
    outline: none;
}

.btn-subscribe {
    background: #d62626; /* Brand Red */
    border: none;
    color: white;
    padding: 0 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-subscribe:hover {
    background: #b51f1f;
}

/* Footer Social Icons */
.footer-social a {
    color: white;
    font-size: 18px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #d62626;
}

/* Quick Links Hover */
.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #d62626;
    padding-left: 5px; /* Subtle movement effect */
}

/* --- 8. SUB-PAGE HERO --- */
.sub-hero {
    height: 350px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('Images/Slider-1.jpg');
    background-size: cover;
    background-position: center;
    margin-top: 0; /* Align with top of screen */
}

.text-red { color: #d62626; }
.btn-red { background-color: #d62626; color: white; border: none; }
.btn-red:hover { background-color: #b51f1f; color: white; }

/* --- 9. STICKY NAVBAR BEHAVIOR --- */
.main-header {
    transition: all 0.4s ease-in-out;
}

/* This class is triggered via JavaScript */
.header-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    background: #000000 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    animation: slideDown 0.5s ease;
}

/* Hide the top info bar when sticky */
.header-sticky .top-info-row {
    display: none !important;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Package Card Styling */
.package-card {
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.package-card:hover { transform: translateY(-5px); }
.package-list li { margin-bottom: 10px; font-size: 14px; }

/* --- 10. CONTACT PAGE STYLES --- */
.contact-info-section {
    background-color: #f8f9fa; /* Light grey background for the cards row */
}

.info-card {
    transition: transform 0.3s ease;
    border-radius: 4px;
}

.info-card i {
    font-size: 2.5rem;
}

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

.border-red-bottom {
    border-bottom: 3px solid #d62626;
}

/* Map & Form Styling */
.get-in-touch {
    background-color: #1a1a1a; /* Matches the dark services background */
}

.map-container {
    border: 5px solid #333;
}

.contact-form .form-control {
    border: 1px solid #ddd;
    padding: 25px 15px;
    margin-bottom: 10px;
}

.contact-form .form-control:focus {
    border-color: #d62626;
    box-shadow: none;
}

.contact-form textarea.form-control {
    padding: 15px;
}

.packages-section {
    background-color: #1a1a1a; /* Matches your Services section */
    padding-top: 80px;
    padding-bottom: 80px;
}

/* --- TRAINER CARD STYLING --- */
.trainer-card {
    background: #222;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.4s ease;
    height: 100%;
    overflow: hidden; /* Keeps the image zoom contained */
}

.trainer-card:hover {
    background: #282828;
    border-color: #d62626;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(214, 38, 38, 0.2);
}

.trainer-img-container {
    overflow: hidden;
    height: 350px; /* Adjust height as needed */
}

.trainer-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-img-container img {
    transform: scale(1.1); /* Slight zoom on image when card is hovered */
}

.trainer-socials a {
    color: #fff;
    margin: 0 10px;
    font-size: 18px;
    transition: color 0.3s;
}

.trainer-socials a:hover {
    color: #d62626; /* Brand red on hover */
}

/* --- TRAINER DETAIL STYLES --- */
.trainer-detail-img {
    border: 5px solid #222;
    transition: border-color 0.3s ease;
}

.trainer-detail-img:hover {
    border-color: #d62626; /* Glows red on hover */
}

.trainer-info-list li {
    padding: 10px 0;
    border-bottom: 1px solid #333;
    font-size: 16px;
}

.bg-red {
    background-color: #d62626 !important;
}

.border-red {
    border: 3px solid #d62626;
}

/* Progress Bars */
.skill-item span {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Table Styling */
.table-dark {
    background-color: #222;
}

.border-333 {
    border: 1px solid #333;
}

.table-dark td, .table-dark th {
    border-color: #333;
    padding: 20px;
    vertical-align: middle;
}

.trainer-detail-socials a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s;
}

.trainer-detail-socials a:hover {
    color: #d62626;
}

/* --- REVISED TRAINER DETAIL STYLES --- */
.trainer-detail-img {
    border: 3px solid #d62626; /* The red border you requested */
    overflow: hidden;
}

.trainer-detail-img img {
    transition: transform 0.5s ease;
    width: 100%;
}

.trainer-detail-img:hover img {
    transform: scale(1.05); /* Subtle hover effect for elegance */
}

/* --- COURSE LINK LIST STYLES --- */
.course-link-list li {
    margin-bottom: 12px;
}

.course-link-list li a {
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

/* Hover Effect: Text turns red and shifts slightly right */
.course-link-list li a:hover {
    color: #d62626;
    padding-left: 10px;
}

/* Optional: Add a small red dash before the link only on hover */
.course-link-list li a:hover::before {
    content: "—";
    position: absolute;
    left: -10px;
    color: #d62626;
}

/* Course List Styling */
.course-list li {
    font-size: 16px;
    padding: 8px 0;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Socials Section */
.trainer-detail-socials span {
    font-size: 14px;
    letter-spacing: 1px;
}

.trainer-detail-socials a {
    color: #fff;
    font-size: 18px;
    transition: color 0.3s;
}

.trainer-detail-socials a:hover {
    color: #d62626;
}

.border-top {
    border-top: 1px solid #333 !important;
}

/* --- REDESIGNED CONTACT FORM STYLES --- */
.dark-input {
    background-color: #222 !important; /* Slightly lighter than the background */
    border: 1px solid #333 !important;
    color: #ffffff !important;
    border-radius: 0;
    padding: 15px;
    transition: all 0.3s ease;
}

.dark-input:focus {
    background-color: #282828 !important;
    border-color: #d62626 !important; /* Highlights red on focus */
    box-shadow: none !important;
    outline: none;
}

.dark-input::placeholder {
    color: #666;
    font-size: 14px;
}

.custom-contact-form label {
    margin-bottom: 8px;
    display: block;
    letter-spacing: 1px;
}

/* Red line under the header */
.red-line {
    width: 60px;
    height: 3px;
    background-color: #d62626;
    margin-top: 15px;
}

/* Highlight for the middle info card (as seen in many modern designs) */
.border-red-active {
    border-bottom: 3px solid #d62626;
}