/* Design Tokens */
:root {
    --primary-color: #003049; /* Dark Navy from reference */
    --secondary-color: #d8e2dc; /* Light Grey/Green from reference */
    --accent-color: #fdf0d5; /* Creamy White */
    --text-color: #ffffff;
    --dark-text: #333333;
    --header-bg: #f8f9fa;
    --nav-bg: #e9ecef;
    --footer-bg: #001d3d;

    /* Navigation highlight colors */
    --nav-home-color: #ff6b6b;      /* Coral */
    --nav-about-color: #ff6b6b; 
    --nav-executives-color: #ff6b6b;
    --nav-constitution-color: #ff6b6b;
    --nav-advisor-color: #ff6b6b;
    --nav-former-color: #ff6b6b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--primary-color);
    color: var(--text-color);
}

/* Header Styles */
.header {
    background-color: var(--header-bg);
    color: var(--primary-color);
    padding: 10px 0;
    text-align: center;
}

.header-link {
  text-decoration: none; /* Removes the underline */
  color: inherit;        /* Keeps your original text colors */
  display: block;        /* Ensures the link fills the whole width */
}

.header--row-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 80%;
    height: auto;
    margin: 0 auto;
    padding: 0 20px;
}

.header-logo-left img, .header-logo-right img {
    height: 130px;
    width: auto;
}

.header-title h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.header-title p {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Navbar Styles */
.navbar {
    background-color: var(--nav-bg);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a.active,
.nav-links a:hover {
    color: #0077b6;
}

/* Navigation highlight colors for each page */
.nav-home a.active {
    color: var(--nav-home-color);
}

.nav-about a.active {
    color: var(--nav-about-color);
}

.nav-executives a.active {
    color: var(--nav-executives-color);
}

.nav-constitution a.active {
    color: var(--nav-constitution-color);
}

.nav-advisor a.active {
    color: var(--nav-advisor-color);
}

.nav-former a.active {
    color: var(--nav-former-color);
}

.nav-links a:hover {
    color: #0077b6;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    width: 600px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.slide-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Intro Section */
.association-intro {
    text-align: center;
    padding: 50px 20px;
}

.association-intro h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}


/* Photo Layout */
.photo-layout {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.profile-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    width: 30%;
    height: 425px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
    height: auto
}

.main-profile {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    width: 95%;
    min-height: 500px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 40px;
    gap: 50px;
    transition: transform 0.3s;
    height: auto;
}

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

.profile-card img {
    max-width: 250px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    flex-shrink: 0;
    margin-bottom: 15px;
}

.main-profile img {
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    flex-shrink: 0;
}

.profile-info h3 {
    margin-bottom: 5px;
    color: var(--accent-color);
    font-size: 2.2rem;
}

.main-profile .profile-info h3 {
    font-size: 2.8rem;
}

.profile-info .designation {
    font-weight: bold;
    margin-bottom: 10px;
    color: #ccc;
}

.main-profile .profile-info .designation {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.profile-info .about-text {
    font-size: 0.9rem;
    color: #ddd;
}

.main-profile .profile-info .about-text {
    font-size: 1.2rem;
    line-height: 1.7;
}

.profile-info .phone {
    font-size: 0.9rem;
    color: var(--accent-color);
    padding-top: 1rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 8px 0;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Footer Styles */
.footer {
    background-color: var(--footer-bg);
    padding: 30px 20px;
    text-align: center;
    margin-top: 50px;
}

.footer-content a {
    color: var(--text-color);
    text-decoration: none;
}

/* Page Content Styles */
.page-content {
    max-width: 90%;
    margin: 50px auto;
    padding: 0 20px;
}

.title-text {
    max-width: 800px;
    margin: auto;
    display: flex;
    justify-content: center;
}

.executive-pdf {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
}

.executive-pdf embed {
    width: auto;
    height: 800px;
}

.content-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px;
    color: var(--text-color);
}

.content-container h2 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.content-text {
    line-height: 1.8;
    font-size: 1.1rem;
}

.content-text h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin: 30px 0 20px 0;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.content-text ul, .content-text ol {
    margin-left: 40px;
    margin-bottom: 20px;
}

.content-text ol {
    list-style-type: decimal;
}

.content-text li {
    margin-bottom: 10px;
}

.executive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 320px));
    gap: 30px;
    margin: 40px 0;
    justify-content: center;
}

.executive-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.executive-card h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 10px;
}

.executive-card p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.executive-card strong {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.year-section {
    margin-bottom: 40px;
}

.year-section h4 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
}

.content-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.content-text a:hover {
    text-decoration: none;
}

@media (max-width: 1000px) {
    .header-title p{
        font-size: 0rem;
        visibility: hidden;
    }

    .profile-card {
        width: 100%;
        height: auto;
    }

    .main-profile {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        gap: 30px;
        height: auto;
    }

    .main-profile img {
        width: 100%;
        height: auto;
        max-width: 300px;
        margin: 0 auto;
    }

    .profile-card img {
        width: 100%;
        height: auto;
        max-width: 300px;
        margin: 0 auto;
    }

    .main-profile .profile-info h3 {
        font-size: 1.8rem;
    }

    .main-profile .profile-info .designation {
        font-size: 1.1rem;
    }

    .main-profile .profile-info .about-text {
        font-size: 1rem;
    }

    .button-group {
        justify-content: center;
    }
}


@media (max-width: 830px) {
    .header{
        width: 100%;
    }

    .header--row-inner {
        flex-direction: column;
        width: 100%;
        margin: auto;
    }

    .header-logo-left {
        margin-bottom: 10px;
    }
    
    .header-logo-right {
        margin-bottom: 0px;
        height: 0px;
        width: auto;
        visibility: hidden;
    }
}

/* Mobile Responsive */
@media (max-width: 750px) {
    .content-container {
        padding: 25px;
    }

    .content-container h2 {
        font-size: 2rem;
    }

    .content-text h3 {
        font-size: 1.5rem;
    }

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

    .menu-toggle {
        display: block;
        padding: 10px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--nav-bg);
        position: absolute;
        top: 100%;
        left: 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hero-slider {
        height: 300px;
    }

    .slide-overlay h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 550px) {
    .header-title h1{
        font-size: 1.1rem;
    }

    .btn-primary {
        margin: auto;
    }

    .btn-secondary {
        margin: auto;
    }
}
