/* Evening Coaching Page Specific Styles */
.hero-section {
    background: #000;
    background-image: url('https://step.pgc.edu/wp-content/themes/step/assets/images/img-visual.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    transform: translateZ(0); /* GPU acceleration */
    backface-visibility: hidden; /* Reduce repaints */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none; /* Prevent blocking clicks */
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Hero Section */
.evening-hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    color: white;
    position: relative;
    overflow: hidden;
}

.evening-hero-content {
    padding: 2rem 0;
}

.introducing-text {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.evening-main-title {
   color: #fbb718;
    font-weight: 600;
    line-height: 0.9;
}

.evening-main-title:before{
 position: relative;
    content: '';
    width: 100%;
    height: 4px;
    background: #fafafa;
    display: block;
    margin-bottom: 10px;

}

.evening-main-title:after{
    position: relative;
    content: '';
    width: 100%;
    height: 4px;
    background: #fafafa;
    display: block;
    margin-bottom: 10px;
}

.evening-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.evening-apply-btn {
    background: #ffc107;
    color: #333;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.evening-apply-btn:hover {
    background: #ffb300;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.evening-hero-image {
    text-align: center;
    position: relative;
}

.evening-person-img {
    max-height: 500px;
    width: auto;
    object-fit: contain;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 2px;
}

/* Why STEP PREP Section - Official Design Match */
.why-step-prep-section {
    background: #f5f5f5 !important;
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
}

.why-step-prep-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100px;
    background: #1e3a8a;
    transform: rotate(45deg);
    transform-origin: top right;
    z-index: 1;
}

.why-step-prep-section::after {
    content: '';
    position: absolute;
    top: 50px;
    right: 150px;
    width: 120px;
    height: 60px;
    background: #fbbf24;
    transform: rotate(45deg);
    transform-origin: center;
    z-index: 1;
}

.why-step-prep-title {
    font-size: 48px !important;
    font-weight: 800 !important;
    color: #333 !important;
    text-align: center !important;
    margin-bottom: 60px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    position: relative;
    z-index: 2;
}

.why-step-prep-card {
    background: #d1d5db !important;
    padding: 30px 35px !important;
    border-radius: 15px !important;
    transition: all 0.3s ease !important;
    height: 120px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    position: relative !important;
    z-index: 2 !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    width: 100% !important;
}

.why-step-prep-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    background: #c5c9d0 !important;
}

.why-step-prep-icon {
    width: 60px !important;
    height: 60px !important;
    margin-right: 25px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,0.4) !important;
    border-radius: 8px !important;
    padding: 12px !important;
}

.why-step-prep-icon img {
    max-width: 35px !important;
    height: auto !important;
    filter: brightness(0) !important;
}

.why-step-prep-card-title {
    color: #333 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-align: left !important;
    flex: 1 !important;
}

/* Responsive Design */
@media screen and (max-width: 991px) {
    .why-step-prep-section::before,
    .why-step-prep-section::after {
        display: none !important;
    }
    
    .why-step-prep-title {
        font-size: 36px !important;
        margin-bottom: 40px !important;
    }
    
    .why-step-prep-card {
        height: 140px !important;
        padding: 20px !important;
    }
    
    .why-step-prep-icon {
        width: 50px !important;
        height: 50px !important;
        margin-right: 18px !important;
    }
    
    .why-step-prep-icon img {
        max-width: 28px !important;
    }
    
    .why-step-prep-card-title {
        font-size: 13px !important;
    }
}

@media screen and (max-width: 768px) {
    .why-step-prep-section {
        padding: 40px 15px !important;
    }
    
    .why-step-prep-title {
        font-size: 24px !important;
        margin-bottom: 25px !important;
        letter-spacing: 1px !important;
    }
    
    .why-step-prep-card {
        height: 90px !important;
        padding: 15px 20px !important;
        margin-bottom: 15px !important;
        border-radius: 10px !important;
    }
    
    .why-step-prep-icon {
        width: 45px !important;
        height: 45px !important;
        margin-right: 15px !important;
        padding: 8px !important;
        border-radius: 6px !important;
    }
    
    .why-step-prep-icon img {
        max-width: 25px !important;
    }
    
    .why-step-prep-card-title {
        font-size: 12px !important;
        line-height: 1.3 !important;
        letter-spacing: 0.3px !important;
    }
}

@media screen and (max-width: 576px) {
    .why-step-prep-section {
        padding: 30px 10px !important;
    }
    
    .why-step-prep-title {
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .why-step-prep-card {
        height: 80px !important;
        padding: 12px 15px !important;
        margin-bottom: 12px !important;
    }
    
    .why-step-prep-icon {
        width: 40px !important;
        height: 40px !important;
        margin-right: 12px !important;
        padding: 6px !important;
    }
    
    .why-step-prep-icon img {
        max-width: 22px !important;
    }
    
    .why-step-prep-card-title {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
}

/* Courses Offered Section - Official Design Match */
.courses-offered-section {
    background: #f5f5f5 !important;
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
}

.courses-offered-section::before {
    content: '';
    position: absolute;
    top: 150px;
    left: -50px;
    width: 150px;
    height: 100px;
    background: #1e3a8a;
    transform: rotate(45deg);
    z-index: 1;
}

.courses-offered-section::after {
    content: '';
    position: absolute;
    top: 200px;
    left: 50px;
    width: 100px;
    height: 60px;
    background: #fbbf24;
    transform: rotate(-45deg);
    z-index: 1;
}

.courses-offered-section .section-title {
    font-size: 48px !important;
    font-weight: 800 !important;
    color: #333 !important;
    text-align: center !important;
    margin-bottom: 60px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    position: relative;
    z-index: 2;
}

.course-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
    position: relative;
    z-index: 2;
}

.course-link:hover {
    text-decoration: none !important;
    color: inherit !important;
}

.course-offered-card {
    background: #333 !important;
    padding: 30px 25px !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    height: 120px !important;
    border: 3px solid #fbbf24 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.course-link:hover .course-offered-card {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25) !important;
    border-color: #fbbf24 !important;
    background: #2a2a2a !important;
}

.course-offered-card h5 {
    color: white !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.3 !important;
}

.course-link:hover .course-offered-card h5 {
    color: #fbbf24 !important;
    transform: scale(1.05) !important;
}

/* Responsive Design for Courses */
@media screen and (max-width: 991px) {
    .courses-offered-section::before,
    .courses-offered-section::after {
        display: none !important;
    }
    
    .courses-offered-section .section-title {
        font-size: 36px !important;
        margin-bottom: 40px !important;
    }
    
    .course-offered-card {
        height: 100px !important;
        padding: 20px !important;
    }
    
    .course-offered-card h5 {
        font-size: 14px !important;
    }
}

@media screen and (max-width: 768px) {
    .courses-offered-section {
        padding: 60px 0 !important;
    }
    
    .courses-offered-section .section-title {
        font-size: 28px !important;
        margin-bottom: 30px !important;
    }
    
    .course-offered-card {
        height: 80px !important;
        padding: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .course-offered-card h5 {
        font-size: 12px !important;
    }
}

/* Campus List Section */
.campus-list-section {
    background: white;
}

.campus-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.campus-table thead {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.campus-table thead th {
    border: none;
    padding: 1.5rem 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.campus-table tbody tr {
    transition: all 0.3s ease;
}

.campus-table tbody tr:hover {
    background: rgba(30, 60, 114, 0.05);
}

.campus-table tbody td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.campus-table tbody td small {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Form Section */
.contact-form-section {
    background: #f8f9fa;
}

.contact-form-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-card h3 {
    color: #333;
    font-weight: 700;
    margin-bottom: 2rem;
}

.evening-contact-form .form-control {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.evening-contact-form .form-control:focus {
    border-color: #1e3c72;
    box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25);
    background: white;
}

.evening-submit-btn {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.evening-submit-btn:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.4);
}

/* Contact Us Section */
.contact-us-section {
    background: white;
}

.contact-info-item {
    padding: 1.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    max-width: 40px;
    height: auto;
}

.contact-info-item h5 a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
}

.contact-info-item h5 a:hover {
    color: #2a5298;
}

.contact-info-item p {
    color: #666;
    margin-bottom: 0;
}

.social-links-evening {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-link {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .evening-main-title {
        font-size: 3rem;
    }
    
    .evening-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .evening-main-title {
        font-size: 2.5rem;
    }
    
    .evening-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
    
    .campus-table thead th,
    .campus-table tbody td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .social-links-evening {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
       .evening-main-title {
        font-size: 2.5rem;
        font-weight: bold;
    }
    .evening-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .evening-hero-content {
        text-align: left;
    }
    
    .contact-form-card {
        padding: 1.5rem 1rem;
    }

    .hero-person-img {
        /* position: absolute; */
        max-height: 312px;
        width: auto;
        object-fit: contain;
        left: 33px;
        bottom: -35px;
}

}

.introducing-badge{
  /* z-index: 2; */
    /* letter-spacing: -2.5px; */
    padding: 6px -6px !important;
    font-weight: 600px !important;
    color: #232f58;
    font-size: 34px;
    /* position: relative; */
    background: white;
    max-width: 60%;
    /* margin: 0px 0px 17px; */
    letter-spacing: -1.69px;
    
padding-left: 11px;
}

.introducing-badge {
    margin-left: 7px;
    -webkit-transform: skewX(15deg);
    transform: skewX(345deg) !important;
}

.hero-section h2 {
    color: #fbb718;
    font-size: 37px;
    letter-spacing: -2px;
    font-weight: 500;
    margin: 0px 0 28px;
    text-shadow: 5px 2px 0 #0b233f, 2px 1px 0 #ffffff;
}
.navbar-brand .logo {
    height: 62px !important;
    width: auto;
    max-width: 212px !important;
    object-fit: contain;
    transition: all 0.3s ease;
}

.top-bar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 8px 0;
    font-size: 14px;
    transform: translateZ(0);
}

.top-bar .social-links a {
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
    font-size: 16px;
    display: inline-block;
}

.top-bar .social-links a:hover {
    color: #ffd700;
    transform: translateY(-2px) translateZ(0);
}

.top-bar .contact-info a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.top-bar .contact-info a:hover {
    color: #ffd700;
}