/* Toastmasters Brand Colors - Official 2025 Guidelines */
:root {
    --loyal-blue: #004165;
    --true-maroon: #772432;
    --cool-gray: #A9B2B1;
    --happy-yellow: #F2DF74;
    --black: #000000;
    --white: #FFFFFF;
    --fair-gray: #F5F5F5;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif; /* Alternative to Gotham */
    --font-body: 'Source Sans Pro', sans-serif; /* Alternative to Myriad Pro */
}

/* :) */

.carousel-track-container {
  overflow: hidden;
  width: 100%;
  height: 500px;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

/*
.carousel-slide {
  min-width: 100%;
  height: 100%;
}
*/

.hero-section {
  position: relative;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100vh;
}

.carousel-slide {
  display: none;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0; left: 0;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Use 'contain' if you want no cropping */
}

.carousel-slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

.carousel-slide.no-image {
  background: linear-gradient(90deg, #004165, #772432);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.hero-overlay {
  position: relative;
  z-index: 10;
  padding-top: 80px;
}

.hero-heading {
  font-size: 4rem;
  margin-bottom: 10px;
}

.hero-subheading {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 30px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #f2df74;
}

.stat-label {
  display: block;
  font-size: 1.2rem;
  color: #f5f5f5;
}

.hero-buttons .btn {
  margin: 0 10px;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: #004165;
  color: #fff;
  border: none;
}

.btn-secondary {
  background-color: transparent;
  color: #004165;
  border: 2px solid #004165;
}

.carousel-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.carousel-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.carousel-dot.active {
  background-color: #fff;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.typewriter-text {
  font-size: 1.8rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 4s steps(55, end) forwards;
  max-width: 100%;
  margin-top: 20px;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}
/*
.typewriter-text::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: #fff;
  animation: blink 0.75s step-end infinite;
}
*/

/*    Comment    */


/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.8rem); }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--loyal-blue);
}

/* Images */
.responsive-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--loyal-blue);
    color: var(--white);
    border-color: var(--loyal-blue);
}

.btn-primary:hover {
    background-color: var(--true-maroon);
    border-color: var(--true-maroon);
}

.btn-secondary {
    background-color: #f5f5f5;
    color: var(--loyal-blue);
    border-color: var(--loyal-blue);
}

.btn-secondary:hover {
    background-color: var(--loyal-blue);
    color: var(--white);
}

.cta-button {
    background-color: var(--happy-yellow);
    color: var(--black);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--true-maroon);
    color: var(--white);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tm-logo {
    height: 50px;
    width: auto;
}

.club-name h1 {
    font-size: 1.5rem;
    color: var(--loyal-blue);
    margin-bottom: 0.25rem;
}

.club-details {
    font-size: 0.9rem;
    color: var(--cool-gray);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--loyal-blue);
}

.nav-menu a.active {
    color: var(--loyal-blue);
    font-weight: 700;
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--loyal-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--loyal-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* Media queries for responsive design */
@media screen and (max-width: 768px) {
    .nav-logo {
        gap: 0.5rem;
    }
    
    .tm-logo {
        height: 40px;
    }
    
    .club-name h1 {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-logo {
        gap: 0.3rem;
    }
    
    .tm-logo {
        height: 35px;
    }
    
    .club-name h1 {
        font-size: 1rem;
    }
    
    .club-details {
        font-size: 0.7rem;
    }
}

/* Mobile menu styles */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    gap: 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--loyal-blue) 0%, var(--true-maroon) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--happy-yellow);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--fair-gray);
}

.about h2 {
    text-align: center;
    color: var(--loyal-blue);
    margin-bottom: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits h3 {
    color: var(--true-maroon);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.benefits ul {
    list-style: none;
    padding-left: 0;
}

.benefits li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--loyal-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Meetings Section */
.meetings {
    padding: 80px 0;
    background-color: var(--white);
}

.meetings h2 {
    text-align: center;
    color: var(--loyal-blue);
    margin-bottom: 3rem;
}

.meeting-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.meeting-details h3 {
    color: var(--true-maroon);
    margin-bottom: 2rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--fair-gray);
}

.schedule-item .label {
    font-weight: 600;
    color: var(--loyal-blue);
}

.schedule-item .value {
    font-weight: 500;
}

.meeting-card {
    background: linear-gradient(135deg, var(--loyal-blue), var(--true-maroon));
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
}

.meeting-theme {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.meeting-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.meeting-number {
    background-color: var(--happy-yellow);
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 1rem;
}

.meeting-poster {
    margin-top: 1rem;
    text-align: center;
}

.meeting-poster img {
    max-width: 100%;
    border-radius: 8px;
}

.meeting-video video {
    max-width: 100%;
    border-radius: 8px;
}

/* Executive Committee */
.executive-committee {
    padding: 80px 0;
    background-color: var(--fair-gray);
}

.executive-committee h2 {
    text-align: center;
    color: var(--loyal-blue);
    margin-bottom: 3rem;
}

.excom-poster {
    text-align: center;
    margin-bottom: 3rem;
}

.excom-poster img {
    max-width: 100%;
    border-radius: 12px;
}

.excom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.excom-member {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.excom-member h3 {
    color: var(--loyal-blue);
    margin-bottom: 0.5rem;
}

.excom-member p {
    color: var(--true-maroon);
    font-weight: 600;
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact h2 {
    text-align: center;
    color: var(--loyal-blue);
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-item h4 {
    color: var(--true-maroon);
    margin-bottom: 0.5rem;
}

.contact-form {
    background-color: var(--fair-gray);
    padding: 2rem;
    border-radius: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--cool-gray);
    border-radius: 8px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--loyal-blue);
}

/* Join Section */
.join-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--true-maroon), var(--loyal-blue));
    color: var(--white);
    text-align: center;
}

.join-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.join-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--happy-yellow);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--happy-yellow);
}

.footer-bottom {
    border-top: 1px solid var(--cool-gray);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .about-grid,
    .meeting-info,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons,
    .join-buttons {
        flex-direction: column;
        align-items: center;
    }

    .excom-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .meeting-card {
        padding: 1.5rem;
    }

    .excom-member {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

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

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Print styles */
@media print {
    .header,
    .footer {
        background: none !important;
        color: black !important;
    }

    .btn {
        border: 1px solid black !important;
        background: none !important;
        color: black !important;
    }
}