/* --- 1. Global Reset & Typography --- */
:root {
    /* Color Palette */
    --primary-red: #E53935; /* Brighter, modern Red for action/alert */
    --secondary-dark: #121212; /* Deep Black for sleek headers/footers */
    --accent-grey: #424242; /* Dark Text/Icons */
    --light-bg: #F8F8F8; /* Soft background */
    --white: #ffffff;
    --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--accent-grey);
    background-color: var(--white);
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0; /* More vertical breathing room */
}

h1, h2, h3, h4, h5 {
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--secondary-dark);
}

h2 {
    font-size: 2.8em;
    text-align: center;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-description {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1em;
    color: var(--accent-grey);
}

/* --- 2. Buttons and Links --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 8px 5px;
    border-radius: 50px; /* Pill shape */
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
}

.btn.primary {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4); /* Red glow shadow */
}

.btn.primary:hover {
    background-color: #D32F2F; 
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

.btn.secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn.secondary:hover {
    background-color: var(--white);
    color: var(--primary-red);
}


/* --- 3. Header/Navigation --- */
header {
    background-color: var(--secondary-dark);
    color: var(--white);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2em;
    font-weight: 900;
}

.logo .pvt-ltd {
    font-size: 0.5em;
    vertical-align: top;
    color: var(--primary-red);
}

nav a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 15px;
    margin-left: 10px;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 4px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-red);
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
    left: 0;
}

.menu-toggle {
    display: none; 
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8em;
    cursor: pointer;
}

/* --- 4. Hero Section --- */
.hero {
    color: var(--white);
    text-align: center;
    padding: 150px 20px;
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('uploaded:image_627063.png-37be442f-6b5a-4ac1-853b-23680dd80a03');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 4.2em;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 800;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

.hero .highlight {
    color: var(--primary-red);
}

.hero p {
    font-size: 1.35em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* --- 5. Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--primary-red);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    background-color: var(--light-bg);
}

.service-card h3 {
    color: var(--secondary-dark);
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-card .icon-large {
    font-size: 3em;
    color: var(--primary-red);
    margin-bottom: 15px;
    animation: pulse 2s infinite; /* Subtle animation */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}


.more-services {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
    text-align: left;
    margin-top: 40px;
    box-shadow: var(--shadow-light);
}

.more-services h3 {
    margin-bottom: 20px;
    color: var(--primary-red);
    text-align: center;
}

.more-services ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px 30px;
    padding: 0;
}

.more-services li {
    font-size: 1.05em;
    color: var(--accent-grey);
    padding-left: 0;
}

.more-services li i {
    color: var(--primary-red);
    margin-right: 10px;
}


/* --- 6. About Us Section --- */
.bg-light {
    background-color: var(--light-bg);
}

.about-content {
    max-width: 900px; 
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.image-placeholder {
    margin: 40px auto;
    text-align: center;
    max-width: 700px;
}

.image-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    transition: transform 0.4s ease;
}

.image-placeholder img:hover {
    transform: scale(1.02);
}

.image-placeholder .caption {
    margin-top: 15px;
    font-style: italic;
    color: var(--accent-grey);
    font-size: 0.9em;
}

/* Training & Certification Specific Styling */
.training-info {
    margin-top: 50px;
    padding: 40px;
    border: 1px solid rgba(229, 57, 53, 0.3);
    border-radius: 12px;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.training-info h3 {
    color: var(--secondary-dark);
    font-size: 2em;
    border-bottom: 3px solid var(--primary-red);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.certification-details {
    margin-top: 20px;
    text-align: left;
    padding: 0 20px;
}

.certification-details h4 {
    color: var(--primary-red);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.certification-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.certification-details li {
    margin-bottom: 12px;
    font-size: 1.05em;
    color: var(--accent-grey);
}

.certification-details li i {
    color: var(--primary-red);
    margin-right: 15px;
}

/* Course Level Details */
.course-levels {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.course-levels h4 {
    color: var(--secondary-dark);
    border-bottom: 1px solid var(--primary-red);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.course-item {
    margin-bottom: 25px;
    padding: 20px;
    background-color: var(--white);
    border-left: 5px solid var(--primary-red);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.course-item h5 {
    color: var(--primary-red);
    font-size: 1.3em;
    margin-bottom: 8px;
    font-weight: 700;
}


/* --- 7. Contact Us Section --- */
.contact-form {
    max-width: 650px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--secondary-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.2);
    outline: none;
}

textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
}

/* --- 8. Footer --- */
footer {
    background-color: var(--secondary-dark);
    color: var(--light-bg);
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--accent-grey);
}

.footer-col h4 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 700;
}

.footer-col p, .footer-col ul {
    font-size: 0.95em;
}

.footer-col p i {
    margin-right: 12px;
    color: var(--primary-red);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: var(--light-bg);
    text-decoration: none;
    line-height: 2.2;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85em;
    color: #888;
}

/* --- 9. Media Queries (Responsiveness) --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5em;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.8em;
    }

    .hero p {
        font-size: 1.1em;
    }

    h2 {
        font-size: 2.2em;
    }

    /* Mobile Navigation */
    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; 
        left: 0;
        background-color: var(--secondary-dark);
    }

    nav.open {
        display: flex;
    }

    nav a {
        margin: 0;
        padding: 15px 20px;
        border-bottom: 1px solid var(--accent-grey);
    }
    nav a::after {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col {
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2em;
    }
    .btn {
        padding: 10px 20px;
    }
}