/* css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Sticky Navbar */
.navbar {
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #0d6efd, #dc3545);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.navbar-brand span {
    background: none;
    -webkit-background-clip: unset;
    color: #dc3545 !important;
}

.nav-link {
    font-weight: 600;
    margin: 0 0.25rem;
    color: #1e293b !important;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: #dc3545 !important;
}

.hero-section{
    background:linear-gradient(135deg,#0d6efd,#003b8b);
    color:#fff;
    padding:100px 0;
    position:relative;
    overflow:hidden;
}

.hero-img{
    max-width:100%;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.25);
    animation:float 4s ease-in-out infinite;
}

.hero-features{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.hero-features span{
    background:rgba(255,255,255,.12);
    padding:8px 15px;
    border-radius:30px;
    font-size:14px;
}

.hero-features i{
    color:#ffc107;
    margin-right:6px;
}

@keyframes float{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-10px);
    }
}

@media(max-width:768px){

    .hero-section{
        padding:70px 0;
        text-align:center;
    }

    .display-4{
        font-size:2rem;
    }

    .hero-features{
        justify-content:center;
    }
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 1.8rem 0.5rem;
    border-radius: 24px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -12px rgba(0,0,0,0.15);
}

.feature-card i {
    transition: transform 0.3s;
}

.feature-card:hover i {
    transform: scale(1.1);
}

/* Course Cards */
.course-card {
    border-radius: 28px;
    transition: 0.3s ease;
    border: none;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.2) !important;
}

/* Testimonial Slider */
.testimonial-card {
    background: white;
    border-radius: 32px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    padding: 12px;
    background-size: 50%;
}

/* Trainer Cards */
.trainer-card {
    background: #f8fafc;
    border-radius: 32px;
    transition: 0.3s;
    cursor: pointer;
}

.trainer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.trainer-card img {
    border: 4px solid #dc3545;
    object-fit: cover;
    transition: transform 0.3s;
}

.trainer-card:hover img {
    transform: scale(1.02);
}

/* Counter Section */
.counter-section {
    background: linear-gradient(90deg, #0d6efd, #dc3545);
}

.counter-num {
    font-size: 3rem;
    font-weight: 800;
    display: inline-block;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(120deg, #0b2b40, #1d4a6e);
}

/* Animations */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px);}
    100% { opacity: 1; transform: translateY(0);}
}

.animate-fade-up {
    animation: fadeUp 0.6s ease forwards;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    line-height: 60px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* ============ ENHANCED STRONG FOOTER STYLES ============ */
.main-footer {
    background: linear-gradient(135deg, #0a0f1c 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 60px 0 20px;
    margin-top: 0;
    border-top: 4px solid #dc3545;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #ffffff, #dc3545);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #cbd5e1;
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-4px);
}

.footer-heading {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #dc3545;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #dc3545;
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-item i {
    margin-top: 0.2rem;
    min-width: 20px;
    color: #dc3545;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #334155, transparent);
    margin: 35px 0 25px;
}

.copyright-area {
    padding: 10px 0 5px;
}

.copyright-area p {
    color: #64748b;
    font-size: 0.85rem;
}

.badge.bg-danger {
    background: #dc3545 !important;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .main-footer {
        text-align: center;
        padding: 40px 0 20px;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .copyright-area {
        text-align: center;
    }
}

/* About Page Extra Styles (shared) */
.page-hero {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    padding: 70px 0;
    text-align: center;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Placement Page Styles */
.placement-hero {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 70px 0;
}

.company-logo-placeholder {
    background: #f1f5f9;
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    transition: 0.3s;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.student-profile-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.student-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.12);
}

.salary-card {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Contact Page Styles */
.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.contact-info-card i {
    font-size: 2.5rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.form-card {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 20px 35px rgba(0,0,0,0.08);
}

/* General Utility */
.text-danger {
    color: #dc3545 !important;
}

.bg-primary-custom {
    background: #0d6efd;
}

.btn-primary {
    background: #dc3545;
    border-color: #dc3545;
}

.btn-primary:hover {
    background: #b02a37;
    border-color: #b02a37;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        margin-bottom: 0.5rem;
    }
    
    .counter-section h2 {
        font-size: 2rem;
    }
    
    .counter-num {
        font-size: 2.5rem;
    }
    
    .testimonial-card {
        margin: 0 1rem;
        padding: 1.5rem;
    }
}

/* Smooth Scroll & Selection */
::selection {
    background: #dc3545;
    color: white;
}

/* Button Hover Effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Card Image Placeholder */
.card-img-top {
    object-fit: cover;
    height: 200px;
}

/* Modal Styles */
.modal-content {
    border-radius: 24px;
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    border-radius: 24px 24px 0 0;
}

/* Accordion Styles */
.accordion-button:not(.collapsed) {
    background: #dc3545;
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #dc3545;
}