/* EquaBd Final Styling 
    Theme: Modern, Professional, Sharp Rectangles
*/

:root {
    --primary-red: #d90429;
    --dark-navy: #1a1b2e;
    --light-gray: #f8f9fa;
    --jakarta: 'Plus Jakarta Sans', sans-serif;
}

/* --- Global Reset --- */
body {
    font-family: var(--jakarta);
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.fw-800 { font-weight: 800; }
.fw-600 { font-weight: 600; }

/* --- Top Bar (Phone & Email) --- */
.top-bar {
    background-color: var(--dark-navy);
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.top-bar a {
    transition: 0.3s;
    text-decoration: none;
}

.top-bar a:hover {
    color: var(--primary-red) !important;
}

/* --- Navbar --- */
.navbar {
    padding: 15px 0;
}

.navbar-brand { 
    font-size: 1.8rem; 
    letter-spacing: -1.5px; 
}

.nav-link { 
    font-weight: 600; 
    font-size: 0.95rem; 
    color: #444 !important; 
    transition: 0.3s;
}

.nav-link:hover { 
    color: var(--primary-red) !important; 
}

/* --- Hero Section (Sharp Rectangle) --- */
.hero-section{
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.60)),
    url('https://images.unsplash.com/photo-1549692520-acc6669e2f0c?auto=format&fit=crop&w=1600&q=80');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-section .overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}

.text-danger-light{
    color: #ffb3b3;
}

.fw-800{
    font-weight: 800;
}

.square-btn{
    border-radius: 10px;
}
/* --- Square Buttons --- */
.btn {
    border-radius: 0 !important; /* All buttons sharp rectangle */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- About EquaBd Section --- */
.about-image-wrapper {
    position: relative;
    padding: 10px;
}

.about-image-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border: 8px solid #f8f9fa;
    border-radius: 0 !important; /* Sharp look */
}

.exp-badge {
    min-width: 150px;
    text-align: center;
    z-index: 2;
    border-radius: 0 !important;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #fff0f1;
    border-radius: 0; /* Sharp Rectangle */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Course Section (Dark Solid Background) --- */
/* --- Course Section Background Styling --- */
.course-bg-section {
    position: relative;
    /* This creates a dark overlay over a professional dark textured image */
    background: linear-gradient(rgba(26, 27, 46, 0.95), rgba(26, 27, 46, 0.95)), 
                url('https://images.unsplash.com/photo-1557683316-973673baf926?auto=format&fit=crop&w=1920'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    padding: 100px 0;
}

/* Ensure the cards stay bright white against the dark background */
.course-card-premium {
    background: #ffffff !important;
    border-radius: 0 !important; /* Sharp Rectangles */
    transition: all 0.3s ease;
}

.course-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4) !important;
}

/* Custom Soft Red Background for Icons */
.bg-danger-soft {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-color: rgba(217, 4, 41, 0.1);
    margin-bottom: 20px;
}

/* --- Service Panels --- */
.service-panel {
    min-height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.4s;
    border-radius: 0 !important;
}

.service-panel:hover { 
    transform: scale(1.03); 
}

.study-bg { background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?auto=format&fit=crop&w=600'); }
.work-bg { background: linear-gradient(rgba(217, 4, 41, 0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=600'); }

/* --- Registration Section --- */
#contact .card {
    background: linear-gradient(135deg, #d90429 0%, #a0001d 100%);
    border-radius: 0 !important;
}

.form-control, .form-select {
    padding: 14px;
    border-radius: 0 !important; /* Sharp look */
    font-size: 14px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.25rem rgba(217, 4, 41, 0.1);
}

/* --- Responsive Layout --- */
@media (max-width: 991px) {
    .about-image-wrapper img {
        height: 350px;
    }
    #about-equabd, .course-bg-section {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-section { min-height: 65vh; text-align: center; }
    .hero-section h1 { font-size: 2.5rem; }
    .top-bar { text-align: center; }
    .top-info { justify-content: center; width: 100%; gap: 10px; }
}