.contact-content {
    margin-bottom: 50px;
    margin-top: 100px;
}

.row {
    /* --bs-gutter-x: 1.5rem; */
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1* var(--bs-gutter-y));
    margin-right: calc(-.5* var(--bs-gutter-x));
    margin-left: calc(-.5* var(--bs-gutter-x));
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
    padding: 30px 20px;
    position: relative;
    margin-bottom: 25px;
    border-radius: 50px 50px 50px 0;
    background: #ffffff;
    box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
    transition: all .5s ease-in-out;
}

.contact-info::before {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -8px;
    background: #116e63;
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
    height: 20px;
    z-index: -1;
}

.contact-info-icon {
    font-size: 35px;
    color: #ffffff;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    position: relative;
    border-radius: 30px;
    background: #116e63;
}

.contact-info-icon::before {
    content: "";
    position: absolute;
    left: -15px;
    right: -15px;
    top: -15px;
    bottom: -15px;
    border: 3px solid #116e63;
    border-radius: 40px;
}

.fa-light, .fal {
    font-weight: 300;
}

.fal img{
    width: 30px;
    filter: invert(1);
}

.contact-info h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-dark);
}

h5 {
    font-size: 18px;
}

.contact-info p {
    color: #19232b;
    font-weight: 500;
    font-size: 16px;
}

p {
    margin: 0px;
}

.fa-classic, .fa-light, .fa-regular, .fa-solid, .fa-thin, .fal, .far, .fas, .fat {
    font-family: "Font Awesome 6 Pro";
}

.row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap; /* Ensures items wrap to the next line if necessary */
}

.col-md-3 {
    flex: 0 0 25%; /* Sets the column width to 25% (3/12 = 25%) */
    max-width: 20%; /* Ensures the column does not grow beyond 25% */
    box-sizing: border-box; /* Includes padding and border in width calculation */
}

@media (max-width: 576px) {
    .col-md-3 {
        flex: 0 0 100%; /* Columns take full width on small devices */
        max-width: 100%;
    }

    .welcome2 {
        margin-bottom: 2px;
    }

    .innerimg::before {
        height: 40vh;
        content: ""; /* Add content property for pseudo-element to work */
        position: absolute; /* Ensure it's positioned properly */
        width: 100%;
        background: rgba(0, 0, 0, 0.5); /* Example: Overlay effect */
    }

    .innerimg img {
        height: 40vh;
        object-fit: cover; /* Ensures the image scales nicely */
        width: 100%; /* Ensure full width */
    }



.map-container iframe {
    width: 100%;
    height: 500px;
}

.map-container {
    margin: 20px auto;
    width: 100%;;
}

/* General Footer Styles */

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-container div {
    flex: 1 1 30%; /* Each section takes up 30% width */
    min-width: 200px; /* Ensure a minimum width for sections */
}

.footer-container h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fda31b; /* Highlight color */
}

.footer-container p,
.footer-container a {
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
}

.footer-container a:hover {
    color: #fda31b; /* Hover color for links */
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #fda31b; /* Highlight color */
}

/* Contributors Section */
.contributors {
    margin-top: 20px;
    text-align: center;
}

.contributors h3 {
    color: #fda31b; /* Section title color */
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contributors-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Wrap contributors for smaller screens */
}

.contributor {
    text-align: center;
    max-width: 150px;
}

.contributor img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contributor p {
    font-size: 0.9rem;
    color: white;
    margin-bottom: 5px;
}

.contributor a {
    font-size: 0.8rem;
    color: #fda31b;
    text-decoration: none;
}

.contributor a:hover {
    color: white; /* Hover effect */
}

/* Responsive Footer Styles */
@media (max-width: 768px) { /* Tablet and smaller screens */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-container div {
        flex: 1 1 100%; /* Full width for each section */
    }

    .contributors-list {
        justify-content: center;
    }
}

.iframe{
    width: 100%;
}

@media (max-width: 576px) { /* Mobile screens */
    .footer-container p,
    .footer-container a {
        font-size: 0.8rem; /* Smaller font size */
    }

    .footer-bottom {
        font-size: 0.7rem;
    }

    .contributor img {
        width: 60px; /* Smaller image size */
        height: 60px;
    }

    .contributor p {
        font-size: 0.8rem;
    }

    .contributor a {
        font-size: 0.7rem;
    }
}
}
/* Highlighted Scholarship Link Style */
.highlight-link {
    background: linear-gradient(135deg, #fda31b 0%, #fd8c1b 50%, #fda31b 100%);
    color: white !important;
    padding: 8px 18px;
    border-radius: 12px;
    font-weight: 600;
    border: 3px solid transparent;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    transform: translateZ(0);
    overflow: hidden;
}

/* Add shine effect */
.highlight-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    pointer-events: none;
}

.highlight-link:hover::before {
    animation: shine 0.6s ease-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Enhanced Blinking Border Animation - Blended with Website Theme */
.blink {
    animation: blinkBorder 1s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

/* Orange-themed blinking border that matches the button */
@keyframes blinkBorder {
    0%, 45% {
        border-color: #ff8c00;
        box-shadow: 
            0 0 15px rgba(253, 163, 27, 0.8),
            0 0 25px rgba(253, 163, 27, 0.4),
            inset 0 0 10px rgba(255, 255, 255, 0.1);
    }
    50%, 100% {
        border-color: #ffa500;
        box-shadow: 
            0 0 8px rgba(253, 163, 27, 0.6),
            0 0 15px rgba(253, 163, 27, 0.3),
            inset 0 0 5px rgba(255, 255, 255, 0.05);
    }
}

/* Alternative: Professional blue theme for school websites */
.blink-blue {
    animation: blinkBorderBlue 1s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

@keyframes blinkBorderBlue {
    0%, 45% {
        border-color: #2196F3;
        box-shadow: 
            0 0 15px rgba(33, 150, 243, 0.8),
            0 0 25px rgba(33, 150, 243, 0.4),
            inset 0 0 10px rgba(255, 255, 255, 0.1);
    }
    50%, 100% {
        border-color: #64B5F6;
        box-shadow: 
            0 0 8px rgba(33, 150, 243, 0.6),
            0 0 15px rgba(33, 150, 243, 0.3),
            inset 0 0 5px rgba(255, 255, 255, 0.05);
    }
}

/* Subtle orange glow - most website-friendly */
.blink-subtle {
    animation: blinkBorderSubtle 1.5s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

@keyframes blinkBorderSubtle {
    0%, 45% {
        border-color: #fd8c1b;
        box-shadow: 
            0 0 10px rgba(253, 140, 27, 0.6),
            0 0 20px rgba(253, 140, 27, 0.3);
    }
    50%, 100% {
        border-color: #fda31b;
        box-shadow: 
            0 0 5px rgba(253, 163, 27, 0.4),
            0 0 10px rgba(253, 163, 27, 0.2);
    }
}

/* Subtle scale pulse */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Alternative: Pulsing Border (if you prefer smoother effect) */
.blink-pulse {
    animation: pulseBorder 1.5s ease-in-out infinite;
}

@keyframes pulseBorder {
    0% {
        border-color: #ff4444;
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.8);
    }
    70% {
        border-color: #ff4444;
        box-shadow: 0 0 0 6px rgba(255, 68, 68, 0);
    }
    100% {
        border-color: #ff4444;
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
    }
}

/* Hover effect with matching theme colors */
.highlight-link:hover {
    animation-play-state: paused;
    border-color: #ff8c00;
    box-shadow: 
        0 0 20px rgba(253, 163, 27, 0.9),
        0 0 35px rgba(253, 163, 27, 0.5),
        0 4px 15px rgba(0,0,0,0.3);
    transform: scale(1.05) translateY(-2px);
    background: linear-gradient(135deg, #fd8c1b 0%, #fda31b 50%, #fd8c1b 100%);
}

/* Enhanced pulsing version */
.blink-enhanced {
    animation: enhancedPulse 1.5s ease-in-out infinite;
}

@keyframes enhancedPulse {
    0% {
        border-color: #ff0044;
        box-shadow: 
            0 0 5px rgba(255, 0, 68, 0.4),
            0 0 10px rgba(255, 0, 68, 0.2);
        transform: scale(1);
    }
    25% {
        border-color: #ff2266;
        box-shadow: 
            0 0 10px rgba(255, 34, 102, 0.6),
            0 0 20px rgba(255, 34, 102, 0.3);
        transform: scale(1.015);
    }
    50% {
        border-color: #ff0044;
        box-shadow: 
            0 0 20px rgba(255, 0, 68, 0.9),
            0 0 30px rgba(255, 0, 68, 0.5),
            0 0 40px rgba(255, 0, 68, 0.2);
        transform: scale(1.03);
    }
    75% {
        border-color: #ff2266;
        box-shadow: 
            0 0 15px rgba(255, 34, 102, 0.7),
            0 0 25px rgba(255, 34, 102, 0.4);
        transform: scale(1.015);
    }
    100% {
        border-color: #ff0044;
        box-shadow: 
            0 0 5px rgba(255, 0, 68, 0.4),
            0 0 10px rgba(255, 0, 68, 0.2);
        transform: scale(1);
    }
}