.custom-img {
    width: 250px !important;
    height: 250px !important;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    display: block;
}

.custom-img-large {
    width: 440px !important;
    height: 440px !important;
}

#custom {
    margin-bottom: 100px;
}

@media (max-width: 756px) {
    #custom {
        margin-bottom: 0;
    }
}
.Mission {
    color: #cc7d13;
}
.Mission2 {
    color: #4f4f4f;
}
.cost {
    width: 500px;
    height: 500px;
    object-fit: cover;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.img-fluid {
    max-width: 100%;
    height: auto;
}

.exco-card {
    position: relative;
    width: 100%;
    max-width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    margin: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.exco-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    /* background: rgba(0, 0, 0, 0.5); */
    color: #fff;
    padding: 10px 0;
}

.overlay h5,
.overlay p {
    margin: 0;
    font-size: 0.95rem;
}

/* Optional spacing styles */
.Mission {
    font-weight: 600;
    color: #ff9900;
}

.Mission2 {
    max-width: 700px;
    margin: auto;
    color: #444;
}

/* General Layout */
#main-section {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
    color: white;
}

@media (max-width: 756px) {
    #main-section {
        min-height: 50vh;
    }
}

#background-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#background-carousel .carousel-inner,
#background-carousel .carousel-item,
#background-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Optional dark overlay */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

nav,
.container,
.learn {
    position: relative;
    z-index: 2;
}

/* Logo Resize */
@media (max-width: 756px) {
    #logo {
        width: 50px;
        height: 50px;
    }
}

@media (min-width: 992px) {
    #logo {
        margin-left: 70px;
    }
}

/* Button Styles */
.join {
    border: 2px solid #cc7d13;
    color: #cc7d13;
    padding: 5px;
    border-radius: 5px;
    width: 170px;
}

.join:hover {
    border: 2px solid white;
    color: white;
}

.network {
    border: 2px solid #cc7d13;
    background-color: #cc7d13;
    color: white;
    padding: 5px;
    border-radius: 5px;
    width: 100px;
    text-align: center;
}

.network:hover {
    color: black;
}

/* Button Extras */
#more {
    background-color: #cc7d13;
    border: 1px solid #cc7d13;
    border-radius: 5px;
}

#more:hover {
    color: black;
}

#more2 {
    color: #cc7d13;
    border: 1px solid #cc7d13;
    background-color: transparent;
}

#more2:hover {
    color: white;
}

.more {
    text-decoration: none;
}

/* Navbar */
#navbar-toggler {
    color: black;
    background-color: white;
}

.main-section2 {
    border-bottom: 1px solid white;
    padding: 30px;
}

/* Navigation Link Styling */
.navlink {
    color: white;
}

.navlink:hover {
    color: #cc7d13;
}

/* Executive Text Styling */
.executive {
    text-decoration: none;
    font-size: 17px;
    color: white;
}

/* Responsive Margin-Top for Executive2 */
.executive2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: clamp(50px, 10vw, 120px);
}

/* Extras */
.read {
    border: 2px solid #cc7d13;
    background-color: #cc7d13;
    color: white;
    padding: 8px 15px;
    width: 120px;
    margin: 10px auto 20px;
    text-align: center;
    border-radius: 5px;
    display: block;
    text-decoration: none;
    font-weight: 500;
}

.test {
    color: #cc7d13;
}

/* Section Header Styles */
.section-header {
    padding: 2rem 0;
}

/* Badge/Label Styling */
.badge-container {
    position: relative;
}

.section-badge {
    background: linear-gradient(135deg, #cc7d13, #e8a75d);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(204, 125, 19, 0.3);
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.section-badge:hover::before {
    left: 100%;
}

/* Heading Styling */
.heading-container {
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #cc7d13, #e8a75d);
    border-radius: 2px;
    position: relative;
}

.title-underline::before,
.title-underline::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #cc7d13;
    border-radius: 50%;
    transform: translateY(-50%);
}

.title-underline::before {
    left: -20px;
}

.title-underline::after {
    right: -20px;
}

/* Content Styling */
.content-wrapper {
    max-width: 800px;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #5a6c7d;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    padding: 0 1rem;
}

.lead-text::before {
    content: '"';
    font-size: 4rem;
    color: #cc7d13;
    position: absolute;
    left: -10px;
    top: -20px;
    opacity: 0.3;
    font-family: serif;
}

/* Mission Highlight */
.mission-highlight {
    background: linear-gradient(
        135deg,
        rgba(204, 125, 19, 0.05),
        rgba(232, 167, 93, 0.1)
    );
    border-left: 4px solid #cc7d13;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.mission-highlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23cc7d13' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.mission-text {
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

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

.section-badge {
    animation: fadeInUp 0.6s ease-out;
}

.heading-container {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.lead-text {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.mission-highlight {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .lead-text {
        font-size: 1.1rem;
        padding: 0;
    }

    .lead-text::before {
        left: -5px;
        top: -15px;
        font-size: 3rem;
    }

    .mission-highlight {
        padding: 1.5rem !important;
    }

    .mission-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 6px 20px;
    }
}

/* About Page Specific Styles */
.centered-content {
    padding: 4rem 0;
}

/* About Page Specific Styles */
.centered-content {
    padding: 4rem 0;
}

/* About page title underline - Different from navbar */
.about-title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #cc7d13, #e8a75d);
    border-radius: 2px;
    position: relative;
}

.about-title-underline::before,
.about-title-underline::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    background: #cc7d13;
    border-radius: 50%;
    transform: translateY(-50%);
}

.about-title-underline::before {
    left: -25px;
}

.about-title-underline::after {
    right: -25px;
}

/* Badge/Label Styling - Consistent with index.html */
.badge-container {
    position: relative;
}

.section-badge {
    background: linear-gradient(135deg, #cc7d13, #e8a75d);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(204, 125, 19, 0.3);
}

/* Title Underline - Consistent with index.html */
.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #cc7d13, #e8a75d);
    border-radius: 2px;
}

/* Lead Text Styling */
.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #5a6c7d;
    text-align: center;
}

/* Mission Highlight */
.mission-highlight {
    background: linear-gradient(
        135deg,
        rgba(204, 125, 19, 0.05),
        rgba(232, 167, 93, 0.1)
    );
    border-left: 4px solid #cc7d13;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.mission-text {
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Belief List Styling */
.belief-list {
    text-align: left;
}

.belief-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.belief-icon {
    background: #cc7d13;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    font-weight: bold;
}

/* Values Grid Styling */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
}

.value-item {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-title {
    color: #cc7d13;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.value-desc {
    color: #5a6c7d;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Image Styling */
.cost {
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.cost:hover {
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .belief-item {
        margin-bottom: 0.8rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .section-badge {
        font-size: 0.75rem;
        padding: 6px 20px;
    }

    .value-item {
        padding: 1rem;
    }
}

/* Content should be above overlay but below navbar */
.container.text-white.py-5 {
    position: relative;
    z-index: 2;
}

/* Excos Section Styles - Always Visible */
.exco-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(204, 125, 19, 0.1);
}

.exco-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(204, 125, 19, 0.15);
}

.exco-img-container {
    position: relative;
    overflow: hidden;
}

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

.exco-card:hover .exco-img {
    transform: scale(1.05);
}

.exco-info-visible {
    padding: 1.5rem 1rem;
    text-align: center;
    background: white;
}

.exco-name {
    font-size: 1rem;
    font-weight: 700;
    color: #000000 !important;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.exco-role {
    font-size: 0.9rem;
    color: #cc7d13 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

/* Make sure text-warning uses your theme color */
.text-warning {
    color: #cc7d13 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .exco-img {
        height: 200px;
    }

    .exco-info-visible {
        padding: 1rem 0.8rem;
    }

    .exco-name {
        font-size: 0.9rem;
    }

    .exco-role {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .exco-img {
        height: 180px;
    }

    .col-6 {
        padding: 0.5rem;
    }

    .exco-info-visible {
        padding: 0.8rem 0.5rem;
    }

    .exco-name {
        font-size: 0.85rem;
    }

    .exco-role {
        font-size: 0.75rem;
    }
}

/* Ensure text colors are visible */
.text-warning {
    color: #cc7d13 !important;
}

.text-dark {
    color: #000000 !important;
}

/* Optional: Add some hover effect */
.card {
    transition: transform 0.3s ease;
}

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

/* Fix Navbar Z-Index */
.navbar {
    position: relative;
    z-index: 9999 !important;
}

.navbar-collapse {
    z-index: 9999 !important;
}

.navbar-nav .nav-link {
    position: relative;
    z-index: 9999 !important;
}

/* Make sure nothing else interferes */
#main-section {
    position: relative;
    z-index: 1;
}
