* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: arial;
    list-style: none;
    text-decoration: none;
}

header {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 33px 9%;
    background: transparent;

}

::-webkit-scrollbar {
    display: none;
}



.nav-link {
    padding: 0.5rem 1rem;
    transition: color 0.3s, border-bottom 0.3s;
  }

  .nav-link.active {
    color: yellow !important;
    border-bottom: 2px solid yellow !important;
  }

  html {
    scroll-behavior: smooth;
  }

  section {
    scroll-margin-top: 1px; /* navbar height for proper spacing */
  }

.logo {
    font-size: 30px;
    font-weight: 700;
    color: white;
}

.navlist {
    display: flex;
}

.navlist a {
    color: white;
    margin-left: 60px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all .55s ease;
}

.navlist a:hover {
    border-bottom: 2px solid white;
}

#menu-icon {
    color: white;
    font-size: 30px;
    z-index: 10001;
    cursor: pointer;
    display: none;
}

.hero {
    height: 100%;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(245.59deg, #4d9559 0%, #38703d 28.53%, #133917 75.52%);
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
}

section {
    padding: 0 19%;
}

.hero-text h5 {
    font-size: 14px;
    font-weight: 400;
    color: white;
    margin-bottom: 40px;
}

.hero-text h1 {
    font-family: arial;
    font-size: 90px;
    line-height: 1;
    color: white;
    margin: 0 0 45px;
}

.hero-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.hero-text p {
    color: white;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 40px;
}

.hero-img img {
    width: 700px;
    height: auto;
}

.hero-text a {
    display: inline-block;
    color: white;
    background: #4d9559;
    border: 1px solid transparent;
    padding: 12px 30px;
    line-height: 1.4;
    font-size: 14px;
    font-weight: 500;
    border-radius: 30px;
    text-transform: uppercase;
    transition: all .55s ease;
}

.hero-text a:hover {
    background: transparent;
    border: 1px solid white;
    transform: translateX(8px);
}

.hero-text a.ctaa {
    background: transparent;
    border: 1px solid white;
    margin-left: 20px;
}

.hero-text a.ctaa i {
    vertical-align: middle;
    margin-right: 5px;

}

.icons {
    position: absolute;
    top: 50%;
    padding: 0 9%;
    transform: translateY(-50%);
}

.icons i {
    display: block;
    margin: 26px 0;
    font-size: 24px;
    color: white;
    transition: all .50s ease;
}

.icons i:hover {
    color: #4d9559;
    transform: translateY(-5px);
}

.scroli-down {
    position: absolute;
    bottom: 6%;
    right: 9%
}

.scroli-down i {
    display: block;
    padding: 12px;
    font-size: 25px;
    color: white;
    background: #4d9559;
    border-radius: 30px;
    transition: all .50s ease;
}

.scroli-down i:hover {
    transform: translateY(-5px);
}

@media (max-width: 1535px) {
    header {
        padding: 15px 3%;
        transition: .2s;
    }

    .icons {
        padding: 0.3%;
        transition: .2s;
    }

    .scroli-down {
        right: 3%;
        transition: .2s;
    }
}

@media (max-width: 1460px) {
    section {
        padding: 0 12%;
        transition: 02s;
    }
}

@media (max-width: 1340px) {
    .hero-img img {
        width: 100%;
        height: auto;
    }

    .hero-text h1 {
        font-size: 75px;
        margin: 0 0 30px;
    }

    .hero-text h5 {
        margin-bottom: 25px;
    }
}

@media (max-width: 1195px) {
    section {
        padding: 0 3%;
        transition: .2s;
    }

    .hero-text {
        padding-top: 115px;
    }

    .hero-img {
        text-align: center;
    }

    .hero-img img {
        width: 560px;
        height: auto;
    }

    .hero {
        height: 100%;
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .icons {
        display: none;
    }

    .scroli-down {
        display: none;
    }
}

@media (max-width: 990px) {
    #menu-icon {
        display: block;
    }

    .navlist {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 300px;
        height: 40vh;
        background: #4d9559;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 50px 20px;
        transition: all .55s ease;
    }

    .navlist a {
        margin-left: 0;
        display: block;
        margin: 7px 0;
    }

    .navlist.open {
        right: 0;
    }

}



@media (max-width: 680px) {
    .hero-img img {
        width: 100%;
        height: auto;
    }

}




.about {
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
    background: linear-gradient(245.59deg, #4d9559 0%, #38703d 28.53%, #133917 75.52%);
    padding: 0 9%;
}


.about-text h5 {
    display: flex;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
}

/* Flip horizontally */
.flip-x {
  transform: scaleX(-1);
}

/* Flip vertically */
.flip-y {
  transform: scaleY(-1);
}

.center {
    display: flex;
    justify-content: center;
    align-self: center;
    background: linear-gradient(245.59deg, #4d9559 0%, #38703d 28.53%, #133917 75.52%);

}

.about-text h2 {
    font-size: 50px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #4d9559;
    color: #fff;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.3s;
}

.about-btn:hover {
    background: transparent;
    border: 1px solid white;
    transform: translateY(-3px);
}

.about-img img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
}

@media (max-width: 992px) {
    .about {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 5%;
    }

    .about-img {
        order: -1;
    }

    .about-text h2 {
        font-size: 35px;
    }
}




/* Clans Section Styling */
.clans-section {
  min-height: 100vh;
  background:linear-gradient(245.59deg, #133917 0%,#4d9559 28.53%,#38703d 75.52%); /* Lush green gradient */
  color: #fff;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clans-container {
  max-width: 1200px;
  text-align: center;
}

.clans-title {
  font-size: 3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #fff; /* Bright green */

  animation: fadeDown 1s ease-out;
}

.clans-desc {
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: #d0ffd0; /* Light greenish text */
  animation: fadeUp 1.2s ease-out;
}

.clan-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.clan-card {
  background: linear-gradient(245.59deg, #133917 0%,#4d9559 28.53%,#38703d 75.52%);
  border: 2px solid black(124, 252, 0, 0.5);
  border-radius: 15px;
  padding: 20px;
  max-width: 300px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: zoomIn 1.2s ease-out;
}

.clan-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 2px solid transparent;
}

.clan-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 25px #e6f0dc;
}

.clan-card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffcc00;
  text-shadow: 0 0 10px rgba(124, 252, 0, 0.6);
}

.clan-card p {
  font-size: 1rem;
  color: #caffca; /* Softer green-white */
}

/* Animations */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .clan-cards {
    flex-direction: column;
    align-items: center;
  }
}



/* Town Hall Section */
.townhall-section {
    min-height: 100vh;
    background:linear-gradient(245.59deg, #133917 0%,#4d9559 28.53%,#38703d 75.52%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    overflow: hidden;
}

.townhall-content {
    max-width: 900px;
    animation: fadeInUp 1.5s ease-in-out;
}

.townhall-title {
    font-size: 4rem;
    color: #ffcc00;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.townhall-desc {
    font-size: 1.3rem;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 30px;
}

.townhall-img {
    width: 350px;
    max-width: 90%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 204, 0, 0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.townhall-img:hover {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 15px 50px rgba(255, 204, 0, 0.9);
}

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

/* Responsive */
@media (max-width: 768px) {
    .townhall-title {
        font-size: 2.5rem;
    }
    .townhall-desc {
        font-size: 1.1rem;
    }
}


/* Troops Section Styling */
.troops-section {
  min-height: 100vh;
  background: linear-gradient(245.59deg, #4d9559 0%, #38703d 28.53%, #133917 75.52%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  color: white;
  text-align: center;
}

.troops-title {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 3px 3px 8px #000;
  animation: fadeDown 1s ease-in-out;
}

.troops-subtitle {
  font-size: 1.2rem;
  margin-bottom: 50px;
  opacity: 0.8;
}

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

.troop-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 15px;
  transition: transform 0.4s ease, background 0.4s ease;
  cursor: pointer;
}

.troop-card img {
  width: 250px;
  height: auto;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.troop-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-10px) rotate(-2deg);
}

.troop-card:hover img {
  transform: scale(1.1) rotate(5deg);
}

/* Crazy shake animation for hover */
.troop-card:hover img {
  animation: crazyShake 0.5s ease-in-out infinite;
}

@keyframes crazyShake {
  0% { transform: translateX(0) rotate(0deg); }
  25% { transform: translateX(-3px) rotate(-3deg); }
  50% { transform: translateX(3px) rotate(3deg); }
  75% { transform: translateX(-3px) rotate(-3deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

@keyframes fadeDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}



.contact {
    min-height: 100vh;
    background: linear-gradient(245.59deg, #133917 0%, #38703d 40%, #4d9559 100%);
    padding: 60px 9%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-heading {
    text-align: center;
    margin-bottom: 40px;
}

.contact-heading h1 {
    font-size: 3rem;
    color: #ffcc00; /* gold clash style */
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-heading p {
    font-size: 18px;
    color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border: none;
    border-radius: 10px;
    outline: none;
    font-size: 16px;
}

.contact-form textarea {
    min-height: 120px;
    resize: none;
}

.contact-form button {
    padding: 14px;
    background: #ffcc00;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.4s ease;
}

.contact-form button:hover {
    background: #fff;
    color: #133917;
    box-shadow: 0 0 15px #ffcc00, 0 0 30px #ffcc00;
    transform: scale(1.05);
}

.contact-img img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    animation: float 4s ease-in-out infinite;
}

/* Crazy floating effect */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contact-img {
        order: -1;
    }
}




.footer {
    background: linear-gradient(245.59deg, #4d9559 0%, #38703d 28.53%, #133917 75.52%);
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    position: relative;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: #ffcc00; /* clash gold */
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ffcc00;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: #ffcc00;
    text-shadow: 0 0 10px #ffcc00;
}

.footer-social {
    margin: 20px 0;
}

.footer-social a {
    margin: 0 10px;
    font-size: 22px;
    color: #fff;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #ffcc00;
    transform: scale(1.2);
    text-shadow: 0 0 15px #ffcc00;
}

.footer-copy {
    margin-top: 25px;
    font-size: 14px;
    color: #aaa;
    border-top: 1px solid #333;
    padding-top: 15px;
}
