.header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.875rem;
    padding: 0 1.875rem;
    height: 6.25rem;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ensure padding does not overflow */
}

@media (max-width: 576px) { 
    .header {
        padding: 0 1.5rem 0 0.5rem !important; /* Ensure it overrides */
        gap: 0;
    }
}

.header-logo img {
    max-width: 270;  /* Prevents it from exceeding its container */
    height: auto;      /* Maintains aspect ratio */
    max-height: 100px;  /* Adjust this based on your design */
}

@media (max-width: 768px) {
    .header-logo img {
        max-width: 200px; /* Adjust this based on your logo size */
    }
}


.apply-now-section {
    background: linear-gradient(rgba(0,0,0,0.02), rgba(0,0,0,0.05));
    padding: 60px 0;
    margin-top: 40px;
}

.section-title {
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
}

.admission-highlights {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.highlight-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    max-width: 600px;
}

.highlight-box:hover {
    transform: translateY(-5px);
}

.highlight-box i {
    font-size: 2em;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.highlight-box h4 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #333;
}

.highlight-box p {
    color: #666;
    margin: 0;
}

.apply-cta {
    margin-top: 40px;
}

.apply-button {
    padding: 15px 40px;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.apply-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-info {
    margin-top: 20px;
    color: #666;
}

.contact-info strong {
    color: #333;
}

.career-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa, #fff);
}

.career-grid {
    margin-top: 40px;
    row-gap: 30px;
}

.career-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 0; /* Remove default margin bottom */
    
}

/* Add gap between rows when cards wrap */
.col-md-4 {
    margin-bottom: 30px;
}

/* Ensure consistent height for all cards */
.career-details {
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.career-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.career-icon {
    font-size: 2.5em;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-align: center;
}

.career-card h3 {
    color: #333;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.career-details p {
    color: #666;
    margin-bottom: 15px;
}

.career-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.salary {
    color: #28a745;
    font-weight: 600;
    font-size: 0.9em;
}

.demand {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
}

.demand.high {
    background: #28a745;
    color: white;
}

.demand.medium {
    background: #ffc107;
    color: #000;
}

.career-footer {
    margin-top: 50px;
}

.opportunities-note {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 20px;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.industry-tags span {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    color: #666;
    font-size: 0.9em;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.industry-tags span:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.infrastructure-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #fff, #f8f9fa);
}

.infra-grid {
    margin-top: 40px;
    row-gap: 30px;
}

.infra-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

/* Update image styles for better display */
.infra-image {
    margin: -25px -25px 20px -25px;
    position: relative;
    overflow: hidden;
    max-height: 300px;
}

.infra-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.infra-card:hover .infra-image img {
    transform: scale(1.05);
}

.infra-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.infra-details li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: #666;
}

.infra-details li:before {
    content: "\f105"; /* FontAwesome right arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 16px;
    background: var(--color-primary-light);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
}

/* Add some spacing between list items */
.infra-details li:not(:last-child) {
    margin-bottom: 8px;
}

.infra-footer {
    margin-top: 30px;
    padding: 20px 0;
}

.facilities-note {
    color: #666;
    font-size: 1.2em;
    margin: 0;
    font-weight: 500;
}

.infra-footer .btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.infra-footer .btn:hover {
    transform: scale(1.05);
    background: var(--color-primary);
    color: white;
}

.why-choose-section {
    padding: 80px 0;
    background: linear-gradient(to bottom right, #f8f9fa, #fff);
}

.features-grid {
    margin-top: 40px;
    row-gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--color-primary);
}

.feature-icon i {
    font-size: 2em;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-card h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
}

.feature-badge span {
    background: var(--color-primary-light);
    color: var(--color-primary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-badge span {
    background: var(--color-primary);
    color: white;
}

/* Update infrastructure card header layout */
.infra-card .card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.infra-card .infra-icon {
    font-size: 1.8em;
    color: var(--color-primary);
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.infra-card h3 {
    margin: 0;
    font-size: 1.4em;
    color: #333;
}

/* Update infrastructure card header layout */
.infra-card .infra-icon {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 0;
    vertical-align: middle;
}

.infra-card h3 {
    display: inline-block;
    margin-bottom: 20px;
    vertical-align: middle;
}

/* Define primary and secondary colors */
:root {
    --color-primary: #374942;
    --color-secondary: #116f59;
    --color-light: #2b957c;
    --color-primary-light: rgba(55, 73, 66, 0.1);
}

/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 3px;
    width: 50px;
    background: var(--color-secondary);
}

.lead {
    font-size: 1.25rem;
    color: #555;
    font-weight: 500;
}

/* About Us Section */
.about-us-section {
    padding: 80px 0;
}

.about-us-content {
    margin-bottom: 30px;
}

.about-us-content h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-us-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

.about-us-image img {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-us-image img:hover {
    transform: scale(1.03);
}

/* Vision & Mission Styles */
.vision-card,
.mission-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: 0.3s;
    margin-bottom: 20px;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.icon-box {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.mission-list i {
    color: var(--color-light);
    margin-right: 10px;
}

.mission-list li,
.vision-card p {
    font-size: 1.1rem;
}
@media (min-width: 1200px) {
    .header-nav-logo {
        height: 100px;
    }
}