/*HEADER*/
.site-header {
    background-color: var(--bg-color);
    border-bottom: 2px solid var(--primary-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.5 rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}


/*FOOTER */

.site-footer {
    background-color: var(--bg-color);
    border-top: 2px solid var(--primary-color);
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

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

.footer-info p {
    margin: 0.3rem 0;
    color: var(--text-color);
    font-size: 0.95rem;
}


/*baground and font*/
body{
    background-color: var(--bg-color);
    font-family: Verdana, sans-serif;
    color: var(--text-color);
}

h1,h2{
    font-family: "Century Gothic", sans-serif;
    letter-spacing: -1px; /* Tighter spacing makes it look more professional */
    font-weight: bold;
}




/*==========index.html============================================================*/

/*hero section*/
.hero {
    position: relative;
    background-image: url("images/background.jpeg");
    overflow: hidden;
    min-height: 100vh; /* Or 100vh for full screen */
    background-attachment: fixed; /* Key property for parallax */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover
}

/*.hero-overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(6px);
    background-color: var(--bg-color);
}*/

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 2rem;
}

.hero-logo {
    width: 160px;
    max-width: 60%;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.hero-subtext {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-color);
    max-width: 700px;
}

/*flow of events*/
.flow-events {
    padding: 4rem 2rem;
    background-color: var(--bg-color);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;

    max-width: 1000px;
    margin: 0 auto;
}

.event-card {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 2rem;
    border-color: var(--primary-color);
    border-radius: 2rem;
    box-shadow: 0 8px 20px var(--shadow-color-hover);
}

.event-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/*letters*/
.letter-secretary {
    padding: 4rem 2rem;
    background-color: var(--bg-color);
}
.letter-director {
    padding: 4rem 2rem;
    background-color: var(--bg-color);
}

.letter-container {
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.letter-text {
    flex: 1 1 400px;
}

.letter-text p {
    line-height: 1.7;
    color: var(--text-color);
}

.letter-image {
    display: flex;
    justify-content: flex-start;
    text-align: center;
}

.letter-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;

    border-radius: 50%;
    box-shadow: 0 10px 25px var(--shadow-color-hover);
}

/*============= resources.html======================================*/

/*delegate resources*/
.resources-matrix {
    padding: 4rem 2rem;
    background-color: var(--bg-color);
}

.link-container {
    max-width: 900px;
    margin: 0 auto;

    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.link-card {
    min-width: 260px;
    padding: 1.5rem 2rem;

    text-align: center;
    text-decoration: none;
    font-weight: 600;

    color: var(--text-color);
    background-color: var(--bg-color);

    border-radius: 12px;
    border: 2px solid transparent;

    box-shadow: 0 8px 20px var(--shadow-color-hover);

    transition: 
        border-color 0.25s ease,
        transform 0.25s ease;
}

.link-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

/*background guides*/
.bg-guide {
    padding: 4rem 2rem;
    background-color: var(--bg-color);
}

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

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.bg-card {
    position: relative;
    flex: 1 1 240px;
    max-width: 280px;
    height: 160px;

    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    border-color: var(--primary-color);

    text-decoration: none;
    box-shadow: 0 8px 20px var(--shadow-color-hover);

    transition: transform 0.3s ease;
}

.bg-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
}

.bg-title {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-color);
    z-index: 2;
}

.bg-card:hover {
    transform: scale(1.06);
}

.bg-card:hover .bg-overlay {
    background-color: var(--primary-color); 
}

/*---------------committees--------------------------------*/
.nav-list {
    padding: 4rem 2rem;
    background-color: var(--bg-color);
    margin-right: 3rem;
}

.nav-list-container {
    max-width: 1100px;
    width: 85vw;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding-right: 6rem;
    padding-left: 1rem;
}

.nav-item {
    display: block;
    width: 100%;
    padding: 1.5rem 2rem;

    text-decoration: none;
    font-weight: 600;
    color: var(--text-color);

    border: 2px solid var(--secondary-color);
    border-radius: 10px;

    transition: border-color 0.25s ease, transform 0.25s ease;
}

.nav-item:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
}


/*-----styking common for all committees------------------*/
.committee-hero {
    position: relative;
    height: 80vh;
    background-image: url("images/committee-bg.jpg");
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding-bottom: 6rem;
}

.committee-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--bg-color);
}

.committee-content {
    position: relative;
    z-index: 1;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 3rem 2rem;
    text-align: center;
}

.committee-title {
    margin-top: 1rem;
}

.agenda {
    margin-top: 3rem;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    color: var(--text-color);
    max-width: 900px;
}

.bg-btn {
    margin-top: auto;
    margin-bottom: 3rem;

    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    color: var(--text-color);
    background-color: var(--primary-color);

    border-radius: 12px;
    box-shadow: 0 10px 25px var(--shadow-color-hover);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bg-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px var(--shadow-color-hover);
}


/*----------the eb part----------------------------*/
.eb {
    padding: 4rem 2rem;
    margin-top: 5rem;
    background-color: var(--bg-color);
}

.eb-list {
    max-width: 1100px;
    margin: 0 auto;
}

.eb-item {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--primary-color);
}

.eb-profile {
    min-width: 180px;
    text-align: center;
}

.eb-profile img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.eb-name {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.eb-role {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.eb-text p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-color);
}

/*---------------------register.html--------------------*/

.registrations {
  width: 100%;
  padding: 4rem 2rem;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.registrations-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.registration-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border: 2px solid var(--secondary-color);
  margin-bottom: 1.5rem;
  border-radius: 14px;
}

.registration-text {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-color);
}

.register-btn {
  text-decoration: none;
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.register-btn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

