﻿/* ====================
   Global Styles
   ==================== */
body {
    font-family: 'Segoe UI', Roboto, 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
}

p {
    line-height: 1.6;
    font-size: 1rem;
}

/* Navbar */
.navbar {
    border-bottom: 1px solid #eee;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
}

.navbar .nav-link {
    font-weight: 500;
    color: #333;
    position: relative;
    margin: 0 10px;
}

    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        color: #d32f2f;
    }

    .navbar .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        width: 0%;
        height: 2px;
        background-color: #d32f2f;
        transition: width 0.3s;
    }

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

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.hero-overlay {
    background: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn-danger {
    background-color: #d32f2f;
    border: none;
    font-weight: 600;
}

    .btn-danger:hover {
        background-color: #a41f1f;
    }

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
}

    .btn-outline-light:hover {
        background: #fff;
        color: #333;
    }

/* Portfolio / Services cards */
.card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

/* Testimonials */
.testimonial {
    font-style: italic;
    color: #444;
    border-left: 4px solid #d32f2f;
    padding-left: 15px;
}

/* Client logos */
.grayscale {
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
}

    .grayscale:hover {
        filter: grayscale(0%);
        transform: scale(1.05);
    }





.home-section {
    background-color: #9e9e9e;
    color: #fff;
}

    .home-section h1 {
        font-size: 2.5rem;
    }

    .home-section p {
        font-size: 1.2rem;
        color: #fff !important;
    }

.app-heading {
    color: #d32f2f !important;
}

/* Services Images */
section img {
    max-height: 320px;
    object-fit: cover;
}

/* App-heading consistent red */
.app-heading {
    color: #d32f2f !important;
}

/* Hero Services Section */
.hero {
    position: relative;
    padding: 100px 0;
    color: white;
    text-align: center;
}



/* ✅ Specific for Services Page (smaller padding) */
.hero-services {
    padding: 25px 0; /* reduced padding only for Services page */
}

.hero-overlay {
    background: rgba(0,0,0,0.4);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}


/* Make hero image bigger */
.hero-img {
    max-width: 100%; /* Full available width */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transform: scale(1.15); /* Increase size to 115% */
}

/* Optional: make it shrink back on smaller screens */
@media (max-width: 768px) {
    .hero-img {
        transform: scale(1); /* normal size on mobile to prevent overflow */
    }
}



.clients-coming img {
    max-width: 300px; /* Set the max width */
    height: auto; /* Keep aspect ratio */
    display: block;
    margin: 20px auto; /* Center it */
}


/* Hero Section */
.hero-training {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/images/training-bg.jpg') center/cover no-repeat;
    padding: 80px 0;
    position: relative;
}

    .hero-training h1 {
        font-size: 2.8rem;
    }

    .hero-training p {
        font-size: 1.2rem;
    }

/* Cards */
.course-card {
    border-left: 5px solid #d32f2f;
    transition: all 0.3s ease-in-out;
}

    .course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.2);
    }

/* Video Container Responsive */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 video ratio */
    height: 0;
    overflow: hidden;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }



/* About Page Specific Styling */
.hero-services {
    padding: 70px 0;
    text-align: center;
}

    .hero-services h1 {
        font-size: 2.5rem;
        font-weight: 700;
    }

    .hero-services p {
        font-size: 1.1rem;
    }


/* Reduce padding only for Portfolio Hero */
.hero-portfolio {
    padding: 20px 0; /* smaller height */
    text-align: center;
}

/* Hero Section */
.hero-training {
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: #fff;
}

    .hero-training .hero-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.55);
    }

    .hero-training .hero-content {
        position: relative;
        z-index: 2;
    }

    .hero-training h1 {
        font-size: 3rem;
        font-weight: 800;
    }

    .hero-training p {
        font-size: 1.3rem;
        font-weight: 300;
    }

/* Training Cards */
.training-card {
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
}

    .training-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 14px 32px rgba(0,0,0,0.15);
    }

.card-top {
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Gradient Themes */
.bg-gradient-purple {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #1fa2ff, #12d8fa, #a6ffcb);
}

/* Highlight Box */
.highlight-box {
    border-left: 5px solid #ff4b2b;
    background: #fef5f5;
    box-shadow: inset 0 0 8px rgba(255,75,43,0.08);
}

/* Badge Styling */
.experience-badge {
    display: inline-block;
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    color: #fff;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    letter-spacing: 0.3px;
}

/* Video Responsive */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* Gray Header Style for Cards */
.bg-gray {
    background: linear-gradient(135deg, #6c757d, #adb5bd); /* Bootstrap gray tones */
    color: #fff !important;
}

/* Clean White Hero Section (same as Contact page style) */


.hero-clean h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529; /* Dark gray/black heading */
}

.hero-clean p {
    font-size: 1.1rem;
    color: #555; /* Medium gray sub-text */
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600; /* makes it thicker/bolder */
    color: #000; /* pure black */
    margin-top: 10px;
}

.hero-clean {
    padding: 0; /* no extra white space */
    text-align: center;
}


/*upload file*/


/* Accordion Button */
.accordion-button {
    background: #f8f9fa; /* light gray background */
    color: #495057; /* dark gray text */
    font-weight: 600;
    transition: 0.3s ease-in-out;
}

    .accordion-button:not(.collapsed) {
        background: #e0e0e0; /* medium pastel gray */
        color: #212529; /* darker text for contrast */
    }

/* Accordion Body */
.accordion-body {
    background: #ffffff; /* clean white background */
    border: 1px solid #dee2e6; /* light gray border */
    border-radius: 8px;
}

/* Submit Button */
.btn-primary {
    background: linear-gradient(45deg, #adb5bd, #6c757d); /* light → medium gray */
    border: none;
    border-radius: 8px;
    color: white;
}

    .btn-primary:hover {
        background: linear-gradient(45deg, #6c757d, #495057); /* darker gray hover */
        color: white;
    }

/* Container background */
.employee-docs-container {
    background: #fdfdfd; /* almost white gray */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

    /* Header Title */
    .employee-docs-container h2 {
        color: #495057 !important; /* dark neutral gray */
    }



/* Document Card Styling like LaptopCart */
.doc-card {
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

    .doc-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    }

    /* Card Body Flex Layout */
    .doc-card .card-body {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 1.5rem;
    }

    /* Document Image */
    .doc-card img {
        max-height: 160px;
        object-fit: contain;
        margin-bottom: 1rem;
    }

    /* Title */
    .doc-card h6 {
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

    /* Buttons block at bottom */
    .doc-card .action-buttons {
        margin-top: auto;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    /* Make buttons equal size */
    .doc-card .btn {
        flex: 1;
        border-radius: 6px;
        font-weight: 500;
    }


/* Dropdown on hover */
.navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

.navbar .dropdown-menu {
    margin-top: 0;
}



