/* Missing CSS Classes - Add these styles to fix undefined classes */

/* Navbar Custom Styles */
.navbar_custom {
    position: sticky;
    backdrop-filter: blur(20px);
    z-index: 1000;
}

/* Hero Content Styles */
.hero-content {
    color: white;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 0;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Video Background Styles - Standardized to use video__wrapper */

/* Consistent overlay for all video backgrounds */
.video__wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Project Section Styles */
.project-tabs {
    margin-bottom: 2rem;
}

.project-content {
    padding-right: 1rem;
}

.project-meta {
    margin-bottom: 1rem;
}

.project-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-image:hover .project-overlay {
    opacity: 1;
}

.project-overlay-content {
    text-align: center;
    color: white;
    padding: 1rem;
}

.project-overlay-content h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.project-overlay-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-overlay-content li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Event Card Styles */
.event-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.event-card-small {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-image-wrapper {
    position: relative;
    overflow: hidden;
}

.event-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    min-width: 60px;
}

.event-date .month {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.event-meta {
    margin-bottom: 1rem;
}

.event-details {
    margin-bottom: 1rem;
}

.event-details-small {
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.detail-item i {
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

/* About Us Card Styles */
.AboutUsCard {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.AboutUsCard h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.AboutUsCard p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Meet Team Styles */
.MeetTeam {
    padding: 2rem 0;
}

.MeetTeam h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: bold;
}

.MeetTeam__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.MeetTeam__item {
    position: relative;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.team-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.team-name {
    padding: 1rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
    text-align: center;
}

.MeetTeam__item:hover .team-overlay {
    opacity: 1;
}

.team-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-position {
    font-size: 0.9rem;
    color: #fcd34d;
    font-weight: 500;
}

.team-overlay p {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* Team Member Background Images */
.team-member-1 .team-image {
    background-image: url('../images/AboutUsCard_logo.png');
}

.team-member-2 .team-image {
    background-image: url('../images/AboutUsCard_logo.png');
}

.team-member-3 .team-image {
    background-image: url('../images/AboutUsCard_logo.png');
}

.team-member-4 .team-image {
    background-image: url('../images/AboutUsCard_logo.png');
}

.team-member-5 .team-image {
    background-image: url('../images/AboutUsCard_logo.png');
}

.team-member-6 .team-image {
    background-image: url('../images/AboutUsCard_logo.png');
}

/* Core Objectives Hover Overlay */
.core-objective-card {
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.core-objective-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.core-objective-card .core-objective-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 67, 69, 0.95);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    border-radius: inherit;
    transform: scale(0.985);
}

.core-objective-card:hover .core-objective-overlay {
    opacity: 1;
    transform: scale(1);
}

.core-objective-overlay-inner {
    max-width: 90%;
}

.core-objective-overlay p {
    color: rgba(255, 255, 255, 0.9);
}

/* Icons for objectives */
.objective-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #0f2a2b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.core-objective-card:hover .objective-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(15,42,43,0.35);
}

@media (max-width: 576px) {
    .core-objective-card { min-height: 320px; }
}

/* Image Wrapper for Our Projects */
.img__wrapper__ourproject {
    height: 450px;
    overflow: hidden;
    border-radius: 1rem;
}

.img__wrapper__ourproject img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.img__wrapper__ourproject:hover img {
    transform: scale(1.05);
}

/* Enhanced Responsive Design */

/* Large screens and up */
@media (min-width: 1200px) {
    .MeetTeam__container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .MeetTeam__item {
        min-height: 280px;
    }
    
    .team-image {
        min-height: 220px !important;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.75rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        margin: 0.25rem 0;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .project-tabs .nav-pills {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-tabs .nav-pills .nav-link {
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    .event-card .row {
        flex-direction: column;
    }
    
    .event-card .col-md-6:first-child {
        order: 2;
    }
    
    .event-card .col-md-6:last-child {
        order: 1;
    }
    
    /* Team section responsive for tablets */
    .MeetTeam__container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .MeetTeam__item {
        min-height: 220px;
    }
    
    .team-image {
        min-height: 180px !important;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .modal-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .form-control-lg {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .input-group-lg > .form-control {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Team section responsive improvements */
    .MeetTeam__container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .MeetTeam__item {
        min-height: 200px;
    }
    
    .team-image {
        min-height: 150px !important;
    }
    
    /* Core objectives responsive */
    .core-objective-card {
        margin-bottom: 1rem;
    }
    
    /* Join banner responsive */
    .join-banner {
        text-align: center;
        padding: 2rem 1rem !important;
    }
    
    .join-banner img {
        max-width: 100%;
        height: auto;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .AboutUsCard {
        margin-top: 2rem !important;
    }
    
    /* Fix contribute page hero height on small devices */
    .hero.min-vh-100 {
        min-height: auto !important;
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .AboutUsCard h1 {
        font-size: 2rem;
    }
    
    .MeetTeam__container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-overlay-content {
        padding: 0.5rem;
    }
    
    .project-overlay-content h4 {
        font-size: 1rem;
    }
    
    .event-date {
        top: 0.5rem;
        left: 0.5rem;
        padding: 0.25rem 0.5rem;
        min-width: 50px;
    }
    
    .event-date .month {
        font-size: 0.7rem;
    }
    
    .event-date .day {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .AboutUsCard {
        padding: 1rem;
        margin-top: 1rem !important;
    }
    
    .AboutUsCard h1 {
        font-size: 1.5rem;
    }
    
    .AboutUsCard p {
        font-size: 0.9rem;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* Ensure contribute cards are visible on mobile */
    .hero.min-vh-100 {
        min-height: auto !important;
        padding: 1rem 0;
    }
    
    #contribute-cards {
        margin-top: 1rem !important;
    }
    
    .MeetTeam h2 {
        font-size: 1.5rem;
    }
    
    .team-image {
        height: 150px;
    }
    
    .img__wrapper__ourproject {
        height: 300px;
    }
}

/* Animation Classes */
.animate__fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate__delay-1s {
    animation-delay: 1s;
}

.animate__delay-2s {
    animation-delay: 2s;
}

.animate__delay-3s {
    animation-delay: 3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.text-green-lighter {
    color: #a7f3d0;
}

.border-green-lighter {
    border-color: #a7f3d0;
}

.font-merri {
    font-family: 'Merriweather', serif;
}

/* Custom Button Styles */
.btn-filled {
    background-color: #fcd34d;
    color: black;
    text-decoration: none;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-filled:hover {
    background-color: #eab308;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(252, 211, 77, 0.3);
}

.btn-outline {
    border: 2px solid white;
    background: transparent;
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Footer Styles */
.bg-teal-dark {
    background-color: #1B4345 !important;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

/* Footer logo sizing to match navbar */
footer img {
    height: 40px !important;
    width: auto;
}

/* Events Section Styles */
.events-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
    align-items: center;
    justify-content: center;
}

.events-section h2 {
    color: #1B4345 !important;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.events-section .lead {
    color: #6c757d !important;
    font-size: 1.1rem;
    text-align: center;
}

/* Ensure events section text is visible and centered */
.events-section .text-center h2 {
    color: white !important;
    font-weight: 700;
    margin-bottom: 1rem;
}

.events-section .text-center .lead {
    color: white !important;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Override any conflicting text colors in events section */
.events-section .text-dark {
    color: white !important;
}

.events-section .text-muted {
    color: white !important;
}

/* Ensure proper contrast for events section headings */
.events-section .display-4 {
    color: #1B4345 !important;
    font-weight: 700;
}

.events-section .animate__animated {
    color: inherit !important;
}

/* Event Card Enhancements */
.event-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

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

.event-card .card-body {
    padding: 2rem;
}

.event-card .card-title {
    color: #1B4345;
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-card .card-text {
    color: #6c757d;
    line-height: 1.6;
}

.event-card-small {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    height: 100%;
}

.event-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.event-card-small .card-body {
    padding: 1.5rem;
}

.event-card-small .card-title {
    color: #1B4345;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.event-card-small .card-text {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Event Image Wrapper */
.event-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.event-image-wrapper img {
    transition: transform 0.3s ease;
}

.event-card:hover .event-image-wrapper img {
    transform: scale(1.05);
}

/* Event Date Styling */
.event-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(27, 67, 69, 0.9);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    text-align: center;
    min-width: 70px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-date .month {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.event-date .day {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

/* Event Meta Styling */
.event-meta {
    margin-bottom: 1.5rem;
}

.event-meta .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
}

.event-meta .text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
}

/* Event Details Styling */
.event-details {
    margin-bottom: 1.5rem;
}

.event-details-small {
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.detail-item i {
    margin-right: 0.75rem;
    width: 18px;
    text-align: center;
    color: #1B4345;
}

.detail-item:last-child {
    margin-bottom: 0;
}

/* Event Buttons */
.event-card .btn-primary {
    background-color: #fcd34d;
    border-color: #fcd34d;
    color: #1B4345;
    border-radius: 2rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.event-card .btn-primary:hover {
    background-color: #eab308;
    border-color: #eab308;
    color: #1B4345;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(252, 211, 77, 0.3);
}

.event-card-small .btn-outline-primary {
    border-color: #1B4345;
    color: #1B4345;
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.event-card-small .btn-outline-primary:hover {
    background-color: #1B4345;
    border-color: #1B4345;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(27, 67, 69, 0.3);
}

/* Responsive Event Styles */
@media (max-width: 768px) {
    .events-section {
        padding: 3rem 0;
    }
    
    .event-card .card-body {
        padding: 1.5rem;
    }
    
    .event-card-small .card-body {
        padding: 1rem;
    }
    
    .event-date {
        top: 0.75rem;
        left: 0.75rem;
        padding: 0.5rem 0.75rem;
        min-width: 60px;
    }
    
    .event-date .month {
        font-size: 0.7rem;
    }
    
    .event-date .day {
        font-size: 1.5rem;
    }
    
    .detail-item {
        font-size: 0.85rem;
    }
    
    .detail-item i {
        width: 16px;
        margin-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    .events-section {
        padding: 2rem 0;
    }
    
    .events-section h2 {
        font-size: 2rem;
    }
    
    .event-card .card-body {
        padding: 1rem;
    }
    
    .event-card-small .card-body {
        padding: 0.75rem;
    }
    
    .event-date {
        top: 0.5rem;
        left: 0.5rem;
        padding: 0.4rem 0.6rem;
        min-width: 50px;
    }
    
    .event-date .month {
        font-size: 0.65rem;
    }
    
    .event-date .day {
        font-size: 1.25rem;
    }
}

/* Contact Form and Contact Page Styles */
.contact-form-wrapper {
    background: rgba(27, 67, 69, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-form-wrapper .form-label {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white !important;
}

.contact-form-wrapper .input-group {
    align-items: stretch;
}

.contact-form-wrapper .input-group-text {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem 0 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 100%;
}

/* Height matching for single-line input fields */
.contact-form-wrapper .input-group .input-group-text {
    height: calc(1.5em + 1.5rem + 2px); /* Match Bootstrap form-control-lg height */
}

/* Override for textarea - use natural height and align to top */
.contact-form-wrapper .input-group .input-group-text.align-self-start {
    height: auto;
    align-self: flex-start;
    padding-top: 0.75rem;
}

.contact-form-wrapper .form-control {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #333 !important;
    padding: 0.75rem 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
    border-left: none !important;
    transition: all 0.3s ease;
    flex: 1;
}

.contact-form-wrapper .input-group:focus-within .input-group-text {
    border-color: #fcd34d !important;
    background: rgba(252, 211, 77, 0.1) !important;
}

.contact-form-wrapper .input-group:focus-within .form-control {
    border-color: #fcd34d !important;
    box-shadow: 0 0 0 0.2rem rgba(252, 211, 77, 0.25) !important;
}

.contact-form-wrapper .form-control:focus {
    background: white !important;
    border-color: #fcd34d !important;
    box-shadow: 0 0 0 0.2rem rgba(252, 211, 77, 0.25) !important;
    color: #333 !important;
}

/* Special handling for textarea alignment */
.contact-form-wrapper .input-group .form-control[rows] {
    border-radius: 0 0.5rem 0.5rem 0;
    border-left: none !important;
    min-height: 120px;
    resize: vertical;
}

.contact-form-wrapper .input-group-text.align-self-start {
    align-self: flex-start !important;
    padding-top: 0.75rem;
}

.contact-form-wrapper .form-control::placeholder {
    color: #6c757d;
    opacity: 0.8;
}

.contact-form-wrapper .btn-warning {
    background: linear-gradient(135deg, #fcd34d, #eab308) !important;
    border: none !important;
    color: #1B4345 !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(252, 211, 77, 0.3);
}

.contact-form-wrapper .btn-warning:hover {
    background: linear-gradient(135deg, #eab308, #d97706) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 211, 77, 0.4);
    color: #1B4345 !important;
}

.contact-form-wrapper .btn-warning:active {
    transform: translateY(0);
}

/* Contact Info Section */
.contact-info {
    background: rgba(27, 67, 69, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-info h3 {
    color: white !important;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #fcd34d, #eab308);
    border-radius: 2px;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fcd34d, #eab308);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1B4345;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(252, 211, 77, 0.3);
}

.contact-text h4 {
    color: white !important;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0;
    font-size: 0.95rem;
}

/* Social Links */
.social-links h4 {
    color: white !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: linear-gradient(135deg, #fcd34d, #eab308);
    color: #1B4345;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(252, 211, 77, 0.4);
    border-color: transparent;
}

/* Contact Page Hero Section - Using standardized video__wrapper from main.css */

/* Overlay for better text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Form Validation Styles */
.contact-form .form-control.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.contact-form .form-control.is-valid {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25) !important;
}

.invalid-feedback {
    color: #f8d7da;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    color: #d1e7dd;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Loading State */
.contact-form .btn-warning:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-form .btn-warning .spinner-border {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
    .contact-form-wrapper,
    .contact-info {
        padding: 2rem !important;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .contact-icon {
        align-self: center;
    }
    
    .contact-form-wrapper .btn-warning {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .social-links .d-flex {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .contact-form-wrapper,
    .contact-info {
        padding: 1.5rem !important;
    }
    
    .contact-form-wrapper h2 {
        font-size: 2rem;
    }
    
    .contact-form-wrapper .lead {
        font-size: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-text h4 {
        font-size: 1rem;
    }
    
    .contact-text p {
        font-size: 0.9rem;
    }
}
