* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #f5f5f7;
    color: #1a1a1a;
    height: 100%;
}

main {
    padding-top: 90px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(236, 230, 230, 0.782);
    padding: 5px 20px;
    margin: 0 auto;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: auto;
    width: 180px;
    margin: 0;
}

.navLinks ul {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    gap: 25px;
    list-style-type: none;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.navLinks a {
    text-decoration: none;
    font-weight: bold;
    color: #1a1a1a;
    transition: 0.3s ease
}

.navLinks a:hover {
    color: #003f8d;
}

.hero {
    text-align: center;
    padding: 120px 20px;
    background: linear-gradient(135deg, #7f7fd5, #86a8e7, #91eae4 );
    color: #ffffff;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #496d9b;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: 0.3s ease;
}

.cta-button:hover {
    background-color: #d1d6e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.quickNav {
    padding: 50px 30px;
}
.quickNav li {
    list-style-type: none;
    padding: 10px;
    text-decoration: none;
}

.quickNav a {
    padding: 12px 20px;
    text-decoration: none;
    color: #5443c5;
    transition: 03s ease;
    font-weight: bold;
    text-decoration: none;
}

.quickNav a:hover {
    color: #003f8d;
}

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

.hamburger span {
    height: 3px;
    width: 25px;
    background: #333;
    margin: 4px 0;
    border-radius: 2px;
}

/*Mobile styling*/
@media (max-width: 768px) {
    .navLinks ul {
        flex-direction: column;
        width: 60%;
        position: absolute;
        top: 60px;
        left: 10px;
        background-color: rgba(235, 235, 235, 0.892);
        display: none;
        padding: 20px;
        border-radius: 8px;
        z-index: 100;
    }
    .navLinks.navLinks.nav-active {
        margin: 15px 0;
        text-align: left;
    }
    .navLinks ul li {
        margin: 15px 0;
        text-align: left;
    }
    .navLinks.nav-active ul {
        display: flex;
    }
    .hamburger {
        display: flex;
        align-items: flex-end;
    }
    .hero h1 {
        font-size: 2rem;
    }
}

.clubsContainer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 50px 120px 50px;
}

@media (max-width: 900px) {
    .clubsContainer {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .clubsContainer {
        grid-template-columns: 1fr;
    }
}
.clubsList {
    list-style-type: disc;
    padding-left: 20px;
}
.subHeading{
    padding: 80px 20px 10px 40px;
    display: flex;
    justify-content: center;
}

.homeSubheading {
    padding: 20px 20px 10px 20px;
    justify-content: flex-start;
}

.allClubs {
    background: white;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.allClubs:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(84, 67, 197, 0.3);
}

.allClubs h3 {
    font-weight: bolder;
    color: #5443c5;
    margin: 15px;
}

.clubsList li {
    padding: 5px;
    margin: 10px 0;
}

.robotics h2 {
    padding: 10px 30px;   
}
.robotics p {
    margin: 10px;
    padding: 0 20px;
    line-height: 1.8;
}

.imgSection {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    flex-wrap: wrap; /* trial*/
}

.imgSection img {
    max-width: 100%; /*this too*/
    width: 450px;
    height: 300px; /* this too*/
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease; /*this too*/
}

.imgSection img:hover {
    transform: scale(1.05);
}

.esportsDesc h2{
    padding: 10px 30px;
}

.esportsDesc p {
    margin: 10px;
    padding: 0 20px;
    line-height: 1.8;
}

.espImages {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    flex-wrap: wrap;
}

.espImages img {
    max-width: 100%;
    width: 450px;
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.espImages img:hover {
    transform: scale(1.05);
}

.archeryDesc h2 {
    padding: 10px 30px;
}

.archeryDesc p {
    margin: 10px;
    padding: 0 20px;
    line-height: 1.8;
}

.archImages {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    flex-wrap: wrap;
}

.archImages img {
    max-width: 100%;
    width: 450px;
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archImages img:hover {
    transform: scale(1.05);
}

.digMediaDesc h2 {
    padding: 10px 30px;
}

.digMediaDesc p {
    margin: 10px;
    padding: 0 20px;
    line-height: 1.8;
}

.digMediaImages {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    flex-wrap: wrap;
}

.digMediaImages img {
    max-width: 100%;
    width: 450px;
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.digMediaImages img:hover {
    transform: scale(1.05);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #5443c5;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #003f8d;
    transform: translateY(-5px);
}

footer {
    background-color: #3c3a3a;
    color: #ffffff;
    padding: 40px 20px 20px;
    margin-top: 60px;
    margin-top: auto;
}

.footerContent {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

@media (max-width: 768px) {
    .footerContent {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footerSection h3 {
    color: #91eae4;
    margin-bottom: 15px;
}

.footerSection ul {
    list-style: none;
}

.footerSection ul li {
    margin: 10px 0;
}

.footerSection a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footerSection a:hover {
    color: #91eae4;
}

.socialLinks {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.socialLinks a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #5443c5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.socialLinks a:hover {
    background-color: #91eae4;
    transform: translateY(-3px);
}

.footerBottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
}
.contact-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: linear-gradient(135deg, #7f7fd5, #86a8e7, #91eae4 );
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.contact-section h1 {
  text-align: center;
  margin-bottom: 10px;
  color: #fff;
}
.contact-section p {
  text-align: center;
  margin-bottom: 30px;
  color: #fff;
}
.error-message {
  text-align: center;
  color: red;
  font-size: 16px;
}
.contact-form,
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}
.contact-form label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #fff;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #0077cc;
  outline: none;
}
.contact-form button {
  padding: 12px 25px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.contact-form button:hover {
  background-color: #005fa3
}

.three-columns {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-image: url('assets/pattern.png');
  background-repeat: repeat;
  padding: 2rem 1rem;
}
.two-columns {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-image: url('assets/pattern.png');
  background-repeat: repeat;
  padding: 2rem 1rem;
}
.col {
  text-align: center;
}

.circle-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.8rem;
}
.slideshow img {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 0.8rem;
}
.eventsContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px 40px 80px;
}

.eventCard img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.eventCard img:hover {
  transform: scale(1.05);
}

.eventCard {
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.eventCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(84, 67, 197, 0.3);
}

.eventTag {
  display: inline-block;
  background: #5443c5;
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  margin-bottom: 8px;
}
