/* Color Palette Variables */
:root {
    --primary-blue: #0070C0;
    --primary-red: #D33A02;
    --light-blue: #72A9BE;
    --dark-blue: #001F5B;
    --orange: #FD652F;
    --gray: #626366;
}

/* Global Font Settings */
body {
    font-family: "Univers LT Std", "Franklin Gothic", "Franklin Gothic Medium", Arial, sans-serif;
    background-color: white !important;
}

/* Global Paragraph Styling */
p {
    font-size: 17px;
    line-height: 1.6;
}

/* About Page Container Centering */
.about-page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
}

.about-page-wrapper .container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Sponsor Page Container Centering */
.sponsor-page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
}

.sponsor-page-wrapper .container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#shpe_header {
    margin-bottom: 20px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1030;
}

#shpe_header .navbar {
    padding: 10px 0;
}

.navbar-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* Ensure navigation links are properly spaced */
#shpe_header .navbar-nav .nav-link {
    margin-left: 15px;
    font-weight: 500;
}

#become-member-section {
    background-color: #72A9BE;
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-logo {
        max-height: 40px;
    }
    
    #shpe_header .navbar-nav .nav-link {
        margin-left: 0;
        padding: 8px 0;
    }
}

#board-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

#index-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px; /* Add some space between text and image */
}

#board-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Optional: Add rounded corners to the image */
}

/* Hero Section Styling - index.html */
#hero-section {
    background-color: var(--dark-blue);
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    margin-top: 30px;
    margin-bottom: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

#hero-section h1 {
    color: white;
    font-weight: 700;
}

#hero-section p {
    color: #E8F4FD;
    font-size: 18px;
}

#hero-section .btn-primary {
    background-color: var(--orange);
    border-color: var(--orange);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#hero-section .btn-primary:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

/* Index Footer Styling */
.footer-logo {
    max-width: 80%;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

#footer-socials, #footer-quick-links, #footer-contact {
    padding-right: 25px; /* Add spacing between columns */
}

.col-4 p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.4;
}

#social-logos {
    display: flex;
    gap: 15px; /* Space between social logos */
    align-items: center;
}

#social-logos img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

#social-logos img:hover {
    transform: scale(1.1);
}

/* Footer Quick Links Styling */
#footer-quick-links ul {
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove default padding */
    text-align: center; /* Center the links */
}

#footer-quick-links li {
    margin-bottom: 10px; /* Space between links */
}

#footer-quick-links a {
    text-decoration: none; /* Remove underline */
    color: #333; /* Dark color for links */
    font-weight: 500;
    transition: color 0.2s ease;
}

#footer-quick-links a:hover {
    color: #007bff; /* Bootstrap primary color on hover */
}

/* Footer General Styling */
#footer {
    padding: 50px 30px 30px 30px; /* Top, Right, Bottom, Left padding */
    margin-top: 40px; /* Space above footer to separate from content */
    background-color: #f8f9fa; /* Light background to distinguish footer */
}

#footer-quick-links {
    text-align: center;
}

#footer-contact {
    text-align: center;
}

/* Footer headings styling */
#footer h3 {
    margin-bottom: 20px;
    font-weight: 600;
}

/* Copyright text styling */
#footer > p {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 0;
    font-size: 12px;
    color: #666;
}

/* Add vertical lines between footer columns */
#footer-socials {
    border-right: 1px solid #ddd;
}

#footer-quick-links {
    border-right: 1px solid #ddd;
}

/* Sponsor Slider Section - index.html */
#sponsor-slider-section {
    background-color: var(--gray);
    padding: 50px 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#sponsor-slider-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Keep the slider container white */
#sponsor-slider-section .slider {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Calendar Section - index.html */
#calendar-section {    
    color: white;
    padding: 50px 40px;
    border-radius: 15px;
    margin-bottom: 40px;
}

#calendar-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

#calendar-section iframe {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* "Become a Sponsor" Section - pages/sponsor.html */
#becoming-sponsor {
    padding: 60px 40px 40px 40px;
    margin: 30px 20px 40px 20px;
    background-color: var(--dark-blue);
    color: white;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

#becoming-sponsor .col-6:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    padding-right: 30px; /* Space between columns */
}

#becoming-sponsor .col-6:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    padding-left: 30px; /* Space between columns */
    text-align: center; /* Center the text horizontally */
}

#becoming-sponsor h1 {
    margin-bottom: 20px;
    text-align: center;
    color: white;
    font-weight: 700;
}

#becoming-sponsor h3 {
    margin-bottom: 15px;
    text-align: center;
    color: white;
}

#becoming-sponsor p {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #E8F4FD;
    font-size: 16px;
}

#becoming-sponsor .d-flex {
    justify-content: center; /* Center the button */
    margin-top: 20px;
}

/* Large emphasized button for "Become a Sponsor" section */
#becoming-sponsor .btn-primary {
    background-color: var(--orange);
    border-color: var(--orange);
    font-weight: 700;
    font-size: 20px;
    padding: 20px 40px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(253, 101, 47, 0.3);
}

#becoming-sponsor .btn-primary:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(211, 58, 2, 0.4);
}

/* Sponsor Table Styling */
.container table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 30px;
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.container table th {
    background-color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    border-right: 2px solid var(--gray);
    border-bottom: 2px solid var(--gray);
    color: var(--dark-blue);
}

.container table th:first-child {
    border-left: none;
}

.container table th:last-child {
    border-right: none;
}

.container table td {
    padding: 25px;
    border-right: 2px solid var(--gray);
    border-bottom: 2px solid var(--gray);
    vertical-align: middle;
    background-color: white;
}

.container table td:first-child {
    border-left: none;
}

.container table td:last-child {
    border-right: none;
}

.container table tr:last-child td {
    border-bottom: none;
}

/* Medal/Tier images styling */
.container table td img:not(.sponsor-logo) {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Sponsor logos container */
.container table td:nth-child(2) {
    text-align: center;
}

/* Sponsor logo styling */
.sponsor-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin: 10px 15px;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.sponsor-logo:hover {
    transform: scale(1.05);
}

/* Responsive sponsor logos - wrap to next line when needed */
.container table td:nth-child(2) {
    line-height: 1.5;
}

/* Mobile responsive adjustments for sponsor table */
@media (max-width: 768px) {
    .container table td {
        padding: 15px;
    }
    
    .sponsor-logo {
        width: 100px;
        height: 50px;
        margin: 8px 10px;
    }
    
    .container table td img:not(.sponsor-logo) {
        width: 60px;
        height: 60px;
    }
}

/* Sponsor Table Section - pages/sponsor.html */
.container:has(table) {
    padding: 50px 40px 60px 40px;
    margin: 30px 20px 40px 20px;
    background-color: var(--gray);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.container:has(table) h1 {
    text-align: center;
    margin-bottom: 20px;
    color: white;
    font-weight: 700;
}

.container:has(table) p {
    text-align: center;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #E8F4FD;
    font-size: 16px;
}

/* Executive Board Section - pages/about.html */
.container:has(#executive-board-pics) {
    background-color: var(--dark-blue);
    margin: 30px 20px 40px 20px;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#executive-board-section h2 {
    color: white;
    text-align: center;
    font-weight: 700;
    margin-bottom: 25px;
}

#executive-board-section p {
    color: #E8F4FD;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

/* Executive Board Member Cards - pages/about.html */
#executive-board-pics {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 30px;
    padding: 40px 20px;
    margin-top: 30px;
    scroll-behavior: smooth;
}

.member-card {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-red));
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 25px 20px;
    text-align: center;
    width: 200px;
    min-width: 200px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, var(--primary-red), var(--dark-blue));
}

.member-card img {
    width: 120px;
    height: 140px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 15px;
}

.member-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    color: white;
}

.eboard-position {
    font-weight: 500;
    font-size: 14px;
    color: #FFE4B5;
    margin-bottom: 8px;
}

.major {
    font-size: 13px;
    color: #E8F4FD;
    margin-bottom: 5px;
    line-height: 1.3;
}

.year {
    font-size: 12px;
    color: #D1E7FF;
    margin-bottom: 0;
    font-weight: 500;
}

/* Responsive adjustments for member cards */
@media (max-width: 768px) {
    #executive-board-pics {
        gap: 20px;
        padding: 30px 15px;
    }
    
    .member-card {
        width: 180px;
        min-width: 180px;
        padding: 20px 15px;
    }
    
    .member-card img {
        width: 100px;
        height: 120px;
    }
}

/* Mission & Vision Section - pages/about.html */
#mission-vision-section {
    padding: 50px 40px;
    margin: 30px 20px 40px 20px;
    background-color: var(--gray);
    color: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#mission-vision-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-right: 30px;
}

#mission-vision-content h2 {
    margin-bottom: 25px;
    font-weight: 600;
    color: white;
}

#mission-vision-content p {
    line-height: 1.6;
    font-size: 16px;
    color: #E8F4FD;
}

#mission-vision-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 30px;
}

#mission-vision-image img {
    max-width: 80%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile responsive adjustments for mission section */
@media (max-width: 768px) {
    #mission-vision-section .row {
        flex-direction: column;
    }
    
    #mission-vision-content,
    #mission-vision-image {
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    #mission-vision-image img {
        max-width: 90%;
    }
}

/* Additional Button Styling */
.btn-primary {
    background-color: var(--orange);
    border-color: var(--orange);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

/* Link Styling */
a {
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-red);
}

/* Headings Color Enhancement */
h1, h2, h3, h4, h5, h6 {
    color: inherit;
}