:root {
    --primary-blue: #0066cc;
    --primary-yellow: #ffb800;
    --dark-blue: #003d7a;
    --light-yellow: #ffd54f;
    --light-blue: #e3f2fd;
    --text-dark: #1a1a1a;
    --text-light: #666;
}

/* Default logo size for mobile/small screens */
.navbar-logo {
    width: 50px;
    height: auto;
    transition: width 0.3s ease;
}

/* Medium screens (tablets) */
@media (min-width: 768px) {
    .navbar-logo {
        width: 90px;
        margin-left: 10px;
    }
}

@media (min-width: 375px) {
    .navbar-logo {
        width: 50px;
        margin-left: 10px;
    }
}

/* Large screens (desktops) */
@media (min-width: 992px) {
    .navbar-logo {
        width: 110px;
        margin-left: 10px;
    }
}

/* Extra large screens */
@media (min-width: 1200px) {
    .navbar-logo {
        width: 70px;
    }
}

.preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background: #0270ff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 80px;
    aspect-ratio: 1;
    animation: l2-1 2s infinite linear, l2-2 1s infinite steps(1) alternate;
}

@keyframes l2-1 {
    0% {
        transform: perspective(150px) rotateX(0deg);
    }

    100% {
        transform: perspective(150px) rotateX(360deg);
    }
}

@keyframes l2-2 {
    0% {
        background: #ffa516;
    }

    50% {
        background: #f03355;
    }
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Fade out animation */
.preloader.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

/* Gallery Section */
.portfolio-section {
    padding: 40px 0;
}

/* .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        } */

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    /* color: white; */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #fbbf24;
}

.carousel-container {
    position: relative;
    margin-top: 50px;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 5px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) rgba(255, 255, 255, 0.1);
}

.carousel-wrapper::-webkit-scrollbar {
    height: 8px;
}

.carousel-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.carousel-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.carousel-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}

.portfolio-item {
    min-width: 380px;
    height: 300px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        transparent 100%
    );
    padding: 30px 20px 20px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    padding-bottom: 30px;
}

.portfolio-overlay h4 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    color: #fbbf24;
    font-size: 1rem;
    font-weight: 500;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgb(14, 210, 249);
    /* color: white; */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: white;
    /* color: #ffffff; */
    transform: scale(1.1);
}

.nav-btn:active {
    transform: scale(0.95);
}

/* Tablet Responsive (768px - 1024px) */
@media (max-width: 1024px) {
    .portfolio-item {
        min-width: 320px;
        height: 280px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .carousel-wrapper {
        gap: 20px;
    }
}

/* Mobile Landscape & Small Tablets (600px - 768px) */
@media (max-width: 768px) {
    .portfolio-section {
        padding: 30px 0;
    }

    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    .carousel-container {
        margin-top: 35px;
    }

    .portfolio-item {
        min-width: 280px;
        height: 250px;
    }

    .carousel-wrapper {
        gap: 15px;
        padding: 15px 5px;
    }

    .portfolio-overlay {
        padding: 20px 15px 15px;
    }

    .portfolio-overlay h4 {
        font-size: 1.2rem;
    }

    .portfolio-overlay p {
        font-size: 0.9rem;
    }

    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .carousel-nav {
        gap: 12px;
        margin-top: 25px;
    }
}

/* Mobile Portrait (480px - 600px) */
@media (max-width: 600px) {
    .section-title {
        font-size: 1.6rem;
    }

    .portfolio-item {
        min-width: 240px;
        height: 220px;
    }

    .carousel-wrapper {
        gap: 12px;
    }

    .portfolio-overlay h4 {
        font-size: 1.1rem;
    }

    .portfolio-overlay p {
        font-size: 0.85rem;
    }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
    .portfolio-section {
        padding: 20px 0;
    }

    .container {
        padding: 0 10px;
    }

    .section-title {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
    }

    .section-title::after {
        width: 50px;
        height: 2px;
        bottom: -8px;
    }

    .carousel-container {
        margin-top: 30px;
    }

    .portfolio-item {
        min-width: calc(100vw - 30px);
        width: calc(100vw - 30px);
        height: 220px;
        border-radius: 12px;
    }

    .carousel-wrapper {
        gap: 15px;
        padding: 10px 5px;
        scroll-snap-type: x mandatory;
    }

    .portfolio-item {
        scroll-snap-align: center;
    }

    .portfolio-overlay {
        padding: 15px 12px 12px;
    }

    .portfolio-overlay h4 {
        font-size: 1rem;
        margin-bottom: 3px;
    }

    .portfolio-overlay p {
        font-size: 0.8rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        border-width: 1.5px;
    }

    .carousel-nav {
        gap: 10px;
        margin-top: 20px;
    }

    /* Disable hover effects on small mobile for better touch experience */
    .portfolio-item:hover {
        transform: none;
    }

    .portfolio-item:hover img {
        transform: none;
    }
}

/* Specific styling for 375px devices (iPhone SE, etc.) */
@media (max-width: 375px) {
    .portfolio-item {
        min-width: calc(100vw - 30px);
        width: calc(100vw - 30px);
        height: 210px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .portfolio-overlay h4 {
        font-size: 1rem;
    }

    .portfolio-overlay p {
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile (max 360px) */
@media (max-width: 360px) {
    .section-title {
        font-size: 1.2rem;
    }

    .portfolio-item {
        min-width: calc(100vw - 25px);
        width: calc(100vw - 25px);
        height: 200px;
    }

    .portfolio-overlay h4 {
        font-size: 0.9rem;
    }

    .portfolio-overlay p {
        font-size: 0.75rem;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

 .card {
            min-width: calc(25% - 15px);
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        }

        .year1 {
            font-size: 2em;
            font-weight: bold;
            color: #667eea;
            margin-bottom: 15px;
            text-align: center;
        }
/* Sections */
.section1 {
    max-width: 1288px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

h2 {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 700;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #ffd700;
}

/* About Section */
#about {
    background: #f9f9f9;
}

.about-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: justify;
}

/* Trust About Section */
.section1 h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section1 h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #ffd700;
    margin: 1rem auto;
}

.trust-about-container {
    display: grid;
    grid-template-columns: 41% 55%;
    gap: 3rem;
    align-items: start;
    margin-top: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.trust-image-wrapper {
    position: relative;
    margin-top: 81px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.trust-image {
    /* width: 100%; */
    height: 452px;
    padding: 24px;

    object-fit: cover;
    display: block;
}

.trust-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 2rem;
    color: white;
}

.trust-image-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.trust-content {
    padding: 1rem 0;
}

.highlight {
    /* background-color: #fff3cd; light yellow background */
    color: rgb(30, 60, 114);           /* dark golden text */
    font-weight: bold;
    padding: 0 0.2rem;
    border-radius: 3px;
}

.trust-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.highlight-yellow {
    color: #ffd700;
    font-weight: 600;
}

@media (max-width: 968px) {
    .trust-about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .trust-image {
        height: 400px;
    }

    .section1 h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .section1 {
        padding: 2rem 1rem;
    }

    .trust-about-container {
        padding: 1.5rem;
    }

    .trust-image {
        height: 300px;
    }

    .trust-content p {
        font-size: 0.95rem;
    }
}

/* Trustees Section */
.section1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
}

.section1 h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trustees-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding: 0 2rem;
}

.trustee-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    width: 100%;
    max-width: 450px;
    flex: 0 1 calc(50% - 1.5rem);
    display: flex;
    flex-direction: column;
}

.trustee-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.trustee-card:hover::before {
    transform: scaleX(1);
}

.trustee-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.trustee-image-container {
    width: 100%;
    height: 380px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
    flex-shrink: 0;
}

.trustee-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
    display: block;
}

.trustee-card:hover .trustee-image {
    transform: scale(1.05);
}

.trustee-info {
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.trustee-role {
    display: inline-block;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: blue;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.trustee-info h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

/* .trustee-description {
        color: #555;
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        text-align: justify;
        flex-grow: 1;
    } */
.trustee-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
    flex-grow: 1;

    /* Truncate text to ~50 characters */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Sub-trustees section styling */
.sub-trustess {
    display: flex;
    flex-wrap: nowrap;
    /* justify-content: center; */
    gap: 2rem;
    margin-top: 4rem;
    padding: 0 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.sub-trustess .card {
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    width: 18rem;
    min-width: 18rem;
    flex-shrink: 0;
    position: relative;
}

.sub-trustess .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sub-trustess .card:hover::before {
    transform: scaleX(1);
}

.sub-trustess .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.sub-trustess .card-body {
    padding: 2rem 1.5rem;
}

.sub-trustess .card-title {
    color: #1e3c72;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sub-trustess .card-subtitle {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sub-trustess .card-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.sub-trustess .card-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    margin-right: 1rem;
}

.sub-trustess .card-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.sub-trustess .card-link:hover {
    color: #764ba2;
}

.sub-trustess .card-link:hover::after {
    width: 100%;
}

/* Ensure first two cards are centered when only two exist */
.trustees-grid:has(.trustee-card:nth-child(2)):not(
        :has(.trustee-card:nth-child(3))
    ) {
    justify-content: center;
}

@media (max-width: 992px) {
    .trustees-grid {
        gap: 2.5rem;
    }

    .trustee-card {
        flex: 0 1 calc(50% - 1.25rem);
        max-width: 400px;
    }

    .trustee-image-container {
        height: 350px;
    }

    .sub-trustess {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .sub-trustess .card {
        min-width: 16rem;
    }
}

@media (max-width: 768px) {
    .section1 h2 {
        font-size: 2rem;
    }

    .trustees-grid {
        gap: 2rem;
        padding: 0 1rem;
    }

    .trustee-card {
        flex: 0 1 100%;
        max-width: 500px;
    }

    .trustee-info {
        padding: 1.8rem 1.5rem;
    }

    .trustee-image-container {
        height: 380px;
    }

    .sub-trustess {
        padding: 0 1rem;
        gap: 1.2rem;
    }

    .sub-trustess .card {
        min-width: 15rem;
    }
}

@media (max-width: 480px) {
    .trustee-image-container {
        height: 350px;
    }

    .trustee-info {
        padding: 1.5rem;
    }

    .trustee-info h3 {
        font-size: 1.3rem;
    }

    .trustee-description {
        font-size: 0.9rem;
    }

    .sub-trustess .card-body {
        padding: 1.5rem 1.2rem;
    }

    .sub-trustess .card-title {
        font-size: 1.2rem;
    }
}

/* Why Choose Us Section */
/* .why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.why-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.why-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.why-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
} */

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.why-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 2.5rem;
    color: #222;
}

.why-card h3 {
    color: #1e3c72;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    min-height: 48px; /* Ensures 2-line height for alignment */
}

.why-card p {
    margin: 0.2rem 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
}

.card-text {
    font-weight: 500;
    color: #444;
}

/* Statistics Section */
.statistics {
    /* background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); */
    background: url("https://www.apmccper.in/img/images/2.jpg");
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    color: #ffd700;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Contact Section */
#contact {
    /* background: #f9f9f9; */
    margin-bottom: 48px;
    margin-top: 25px;
}

 #map {
    height: 300px;
    width: 100%;
    border-radius: 10px;
    margin-top: 20px;
  }
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1e3c72;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.contact-info {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    padding: 2rem;
    border-radius: 10px;
    color: white;
}

.contact-info1 {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    padding: 0.4rem;
    border-radius: 10px;
    color: white;
}

.contact-info h3 {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
        margin-left: 46px;
}

.contact-info1 h3 {
    color: #ffd700;
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item strong {
    color: #ffd700;
    min-width: 80px;
}

/* Footer */

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-text h1 {
        font-size: 1.8rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    h2 {
        font-size: 2rem;
    }

    .trust-about-container {
        grid-template-columns: 1fr;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .modal-content {
        padding: 2rem;
    }
}

.carousel-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("https://images.unsplash.com/photo-1521587760476-6c12a4b040da?q=80&w=2000");
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 60px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

.stat-card {
    min-width: 223px;
    border: 2px solid rgba(235, 164, 0, 0.974);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.stat-card h2 {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider-center {
    display: block;
    width: 50px;
    height: 2px;
    background: white;
    margin: 10px auto 20px;
}

.stat-value {
    color: white;
    font-size: 36px;
    font-weight: bold;
}

.stat-value.small {
    font-size: 18px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #060cc9;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: #273bf0;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .carousel-section {
        padding: 40px 10px;
    }

    .carousel-wrapper {
        padding: 20px 50px;
    }

    .stat-card {
        min-width: 200px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Mobile - Show only 1 card at 375px */
@media (max-width: 480px) {
    .carousel-section {
        padding: 30px 5px;
    }

    .carousel-wrapper {
        padding: 20px 45px;
    }

    .carousel-track {
        gap: 15px;
    }

    .stat-card {
        min-width: calc(100vw - 110px);
        max-width: 280px;
        padding: 25px 20px;
    }

    .stat-card h2 {
        font-size: 18px;
    }

    .stat-value {
        font-size: 28px;
    }

    .stat-value.small {
        font-size: 16px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .carousel-btn.prev {
        left: 5px;
    }

    .carousel-btn.next {
        right: 5px;
    }

    .carousel-dots {
        gap: 8px;
        padding: 0 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

/* u */
.header1 {
    text-align: center;
    margin-bottom: 60px;
}

.header1 h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.logo-container1 {
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.logo-container1 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.institute-card-link {
  text-decoration: none !important;
  display: block;
}

.institutes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.institute-card {
  background: white;
  border-radius: 15px;
  padding: 20px 10px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.institute-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #e74c3c, #0066ff);
}

.institute-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.institute-card:hover .logo-container1 img {
    transform: scale(1.1);
}

/* .institute-name {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.year {
    font-size: 18px;
    color: #7f8c8d;
    font-weight: 600;
    background: #ecf0f1;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
} */

.institute-name {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  line-height: 1.4;
  min-height: 70px; /* added a bit more space for longer names */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.year {
  font-size: 16px;
  color: #7f8c8d;
  font-weight: 600;
  background: #ecf0f1;
  padding: 6px 18px;
  border-radius: 25px;
  display: inline-block;
  margin-top: 10px;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #0066ff);
    margin: 20px auto;
}

@media (max-width: 768px) {
    .header1 h1 {
        font-size: 32px;
    }

    .institutes-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .institute-name {
        font-size: 18px;
    }
}

/* f */

.footer-modern {
    background: rgb(0, 35, 71);
    color: #f5f5f5;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    min-height: 320px;
}

.footer-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(
        90deg,
        #ff9f1c 0%,
        #ffb347 25%,
        #ffd700 50%,
        #ffb347 75%,
        #ff9f1c 100%
    );
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 20px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1.2fr 1.2fr;
    gap: 40px;
    margin-bottom: 30px;
    align-items: start;
}

/* Enhanced About Section */
.footer-about {
    padding-right: 30px;
}

.temple-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.logo-container {
    position: relative;
    margin-right: 20px;
}

.temple-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffff;
    border: 3px solid #ff9f1c;
    box-shadow: 0 0 20px rgba(255, 159, 28, 0.4),
        inset 0 0 15px rgba(255, 159, 28, 0.1);
    transition: all 0.3s ease;
    object-fit: cover;
}

.temple-logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 159, 28, 0.6);
}

.logo-glow {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #ff9f1c,
        #ffd700,
        #ff9f1c,
        #ffb347,
        #ff9f1c
    );
    opacity: 0.3;
    animation: rotate 6s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.temple-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff9f1c;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 3px;
    background: linear-gradient(45deg, #ff9f1c, #ffd700, #ff9f1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.temple-subtitle {
    font-size: 0.85rem;
    color: #ffb347;
    font-style: italic;
    margin-bottom: 10px;
}

.footer-about p {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 12px;
    margin-bottom: 20px;
    text-align: justify;
}

/* Social Media Links */
.social-media {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    font-size: 16px;
    text-decoration: none;
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
    );
}

.social-link.youtube {
    background: #ff0000;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 159, 28, 0.4);
}

/* Enhanced Section Headers */
.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ff9f1c;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section h4::after {
    /* content: ""; */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, #ff9f1c, #ffb347);
    border-radius: 2px;
}

/* Enhanced Navigation Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: #d4d4d4;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    display: block;
}

/* .footer-links a::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: #ff9f1c;
    font-size: 10px;
    transition: all 0.3s ease;
    transform: scale(0.8);
} */

.footer-links a:hover {
    color: #ff9f1c;
    padding-left: 22px;
}

.footer-links a:hover::before {
    transform: scale(1.2);
    text-shadow: 0 0 8px rgba(255, 159, 28, 0.8);
}

/* Contact Section */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 12px;
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 159, 28, 0.1);
    border: 2px solid #ff9f1c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff9f1c;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: #ff9f1c;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 159, 28, 0.5);
}

.contact-info1 {
    flex: 1;
    padding-top: 6px;
}

.contact-info1 a,
.contact-info1 span {
    color: #d4d4d4;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.3s ease;
    display: block;
}

.contact-info1 a:hover {
    color: #ff9f1c;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 159, 28, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #b0b0b0;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom a {
    color: #ff9f1c;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-bottom a:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .temple-logo {
        flex-direction: column;
        text-align: center;
    }

    .logo-container {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .footer-about p {
        text-align: left;
    }

    .social-media {
        justify-content: center;
    }
}

/* Enhanced Contact Section */
.contact-item {
    display: flex;
    align-items: center;
    /* Reduced margin and padding */
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 159, 28, 0.1);
}

.contact-item:hover {
    background: rgba(255, 159, 28, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 159, 28, 0.2);
}

.contact-icon {
    /* Reduced size */
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff9f1c, #ffb347);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.4);
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: iconShine 3s ease-in-out infinite;
}

@keyframes iconShine {
    0%,
    100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.contact-icon i {
    color: white;
    /* Reduced font size */
    font-size: 16px;
    z-index: 1;
}

.contact-info {
    flex: 1;
}

.contact-info1 {
    flex: 1;
}

.contact-info a,
.contact-info span {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    /* Reduced font size */
    font-size: 14px;
}

.contact-info1 a,
.contact-info1 span {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    /* Reduced font size */
    font-size: 14px;
}

.contact-info a:hover {
    color: #ff9f1c;
    text-shadow: 0 0 8px rgba(255, 159, 28, 0.5);
}

.contact-info1 a:hover {
    color: #ff9f1c;
    text-shadow: 0 0 8px rgba(255, 159, 28, 0.5);
}

/* Enhanced Social Media */
.social-media {
    display: flex;
    gap: 15px;
    /* Reduced margin */
    margin-top: 15px;
    justify-content: flex-start;
}

.social-link {
    /* Reduced size */
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    transition: all 0.3s ease;
    opacity: 0;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #0d65d9);
}

.social-link.instagram {
    background: linear-gradient(135deg, #e4405f, #833ab4, #fd1d1d, #fcb045);
}

.social-link.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3),
        0 3px 10px rgba(255, 159, 28, 0.4);
}

.social-link i {
    color: white;
    /* Reduced font size */
    font-size: 18px;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2);
}

/* Enhanced Footer Bottom */
.footer-bottom {
    border-top: 2px solid rgba(255, 159, 28, 0.3);
    /* Reduced padding */
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: rgba(0, 0, 0, 0.2);
    margin: -20px -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom p {
    color: #d4d4d4;
    /* Reduced font size */
    font-size: 13px;
    margin: 0;
}

.footer-bottom a {
    color: #ff9f1c;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffb347;
    transition: width 0.3s ease;
}

.footer-bottom a:hover::after {
    width: 100%;
}

.footer-bottom a:hover {
    color: #ffb347;
    text-shadow: 0 0 8px rgba(255, 179, 71, 0.5);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 30px;
    }

    .temple-logo img {
        width: 55px;
        height: 55px;
    }

    .temple-info h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-about {
        grid-column: 1 / -1;
        text-align: center;
        padding-right: 0;
        margin-bottom: 15px;
    }

    .temple-logo {
        justify-content: center;
    }

    .social-media {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 30px 15px 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .temple-logo img {
        width: 50px;
        height: 50px;
    }

    .temple-info h3 {
        font-size: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px 0;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
    }

    .footer-modern {
        min-height: 280px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 25px 10px 10px;
    }

    .temple-logo {
        flex-direction: column;
        gap: 10px;
    }

    .temple-logo img {
        width: 45px;
        height: 45px;
    }

    .temple-info h3 {
        font-size: 1.4rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 8px;
    }

    .contact-icon {
        margin: 0 0 8px 0;
        width: 35px;
        height: 35px;
    }

    .social-media {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .footer-modern {
        min-height: 250px;
    }
}

/* Animation for footer reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-modern {
    animation: fadeInUp 1s ease-out;
}

.career-section {
    background: #f8f9fa;
    padding: 80px 20px;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.career-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.career-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.career-icon {
    width: 60px;
    height: 60px;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.career-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.career-description {
    color: #666;
    margin-bottom: 20px;
}

.career-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: transform 0.3s ease;
    font-weight: 600;
}

.career-btn:hover {
    transform: scale(1.05);
}


.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.custom-recaptcha-wrapper.is-invalid {
    border: 2px solid #dc3545;
    border-radius: 4px;
    padding: 5px;
}

#recaptcha-error {
    display: none;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.5rem;
}

.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.btn-close {
    float: right;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    opacity: 0.5;
    cursor: pointer;
}




