/* 🎨 Zenvora Color Palette (Premium Fintech Look)
🟢 Primary Colors (Brand Identity)
Emerald Green → #10B981
👉 Main brand color (trust + finance vibe)
Deep Teal → #065F46
👉 For buttons, hover, strong elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* color: white; */
    color: darkgreen;
}

a {
    text-decoration: none;
}

.hero {
    height: 100vh;
    width: 100%;
    background: #10B981;
    background-color: #9fe870;
}

.navbar ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.navbar a {
  text-decoration: none;
  color: #222;
  position: relative;
  font-weight: 500;
}

/* animation line */
.navbar a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #00b386;
  transition: 0.3s;
}

.navbar a:hover::after {
  width: 100%;
}

nav {
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 10vh;
    background-color: rgba(255, 255, 255, 0.5);
}

nav h1,
.ul1 li,
.ul2 li {
    pointer-events: none;
}

nav h1 {
    margin-left: 20px;
}

.ul1 {
    list-style-type: none;
    display: flex;
    justify-items: center;
    align-items: center;
    margin-left: 20px;
    color: rgb(85, 192, 85);
}

.leftmar {
    margin-left: 53px;
}

.ul2 {
    list-style-type: none;
    display: flex;
    margin-left: auto;
    margin-right: 70px;
    gap: 20px;
    color: rgb(39, 157, 39);
    justify-content: flex-end;
    /* move items right */
    align-items: center;
    /* center vertically */
}

.ul2 {
    transition: all 0.3s ease;
}

/* home page css */
.herocontent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 92px;
    font-family: "Fira Sans", sans-serif;
}

.herocontent h1:nth-child(2) {
    font-size: 56px;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    color: #0B3D02;
    text-transform: uppercase;
    font-family: "Fira Sans", sans-serif;
    font-weight: 700;
}

.herocontent h1 {
    font-size: 50px;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    color: #0B3D02;
    text-transform: uppercase;
    font-weight: 700;
}

.herocontent p {
    font-size: 25px;
}

.herop {
    margin-top: 45px;
}

.btn {
    margin-top: 15px;
    width: 200px;
    height: 47px;
    background-color: #163300;
    color: #9fe870;
    border-radius: 25px;

    transition: 0.3s ease-in-out;
}

.btn:hover {
    background-color: #162b07;
    box-shadow:
        0px 6px 12px rgba(0, 0, 0, 0.3),
        0px 4px 8px rgba(255, 0, 0, 0.4);
    transform: scaleY(0.8);
}

.herocontent img {
    width: 95vw;
    margin: 20px 30px;
    border-radius: 25px;
}

/* rating section  */
.rating {
    margin-top: 45px;
}

.rating h1 {
    text-align: center;
    font-weight: 700;
    font-size: 60px;
}

.ratingcard {
    margin: 30px 30px;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
}

.ratingcard1 {
    width: 400px;
    height: 100px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;

}

.ratingcard1 h3 {
    margin-left: 18px;
    width: 250px;
    height: 47px;
    font-size: 25px
}

.circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 91px;
    height: 79px;
    border-radius: 50%;
    background-color: #a0e1e1;
    color: #0e0f0c;
    text-align: center;
    font-size: 50px;
    margin: 20px 0px;
    margin-left: 30px;
}

/* text image side div */
.text_img {
    /* width: 90%; */
    /* height: 100%; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    margin-top: 60px;

}

/* left div side */
.lefttext {
    width: 50%;
}

.lefttext h1 {
    width: 470px;
    font-size: 59px;
    color: #0B3D02;
    text-transform: uppercase;
    font-family: "Fira Sans", sans-serif;
    font-weight: 700;
    margin: 30px 0px;
}

.textp {
    font-size: 25px;
    margin-bottom: 20px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e6f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon {
    font-size: 22px;
    color: black;
    
}

.feature h3 {
    font-size: 25px;
    font-weight: 600;
    color: #000000;
    ;
}

.feature p {
    font-size: 20px;
    color: #454745;
}

/* right div side  */
.rightimg {

    width: 50%;
    display: flex;
    justify-content: center;
}

.rightimg img {
    width: 100%;
    max-width: 500px;
    /* control size 🔥 */
    height: auto;
    border-radius: 20px;
}
.rightimg2 {

    width: 50%;
    display: flex;
    justify-content: center;
}

.rightimg2 img {
    width: 100%;
    max-width: 500px;
    /* control size 🔥 */
    height: auto;
    border-radius: 20px;
}

.about {
    width: 250px;
    height: 45px;
    margin: 40px;
    border-radius: 25px;
    background-color: #9fe870;
    color: #0B3D02;
    font-weight: 700;
    transition: 0.3s ease-out;
}

.about:hover {
    box-shadow:
        0px 6px 12px rgba(0, 0, 0, 0.3),
        0px 4px 8px rgba(255, 0, 0, 0.4);
    transform: scaleY(1);
}

/* ======================================= */
.cc-wrapper {
    display: flex;
    /* justify-content:center ; */
    align-items: center;
    margin: 100px 0;
    margin-left: 100px;
}

/* 🔥 MAIN CALCULATOR CARD */
.cc-card {
    width: 380px;
    padding: 30px;
    border-radius: 20px;

    /* 🎯 YOUR BG IMAGE */
    background: url("CALC.png") no-repeat center/cover;

    /* 💎 Glass overlay effect */
    position: relative;
    overflow: hidden;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* ✨ WHITE OVERLAY FOR READABILITY */
.cc-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.8);
    /* backdrop-filter: blur(10px); */

    z-index: 0;
}

/* 🧱 KEEP CONTENT ABOVE */
.cc-card * {
    position: relative;
    z-index: 1;
}

/* 🎨 TITLE */
.cc-title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #0f7a2f;
    margin-bottom: 20px;
}

/* 💰 INPUT */
.cc-input-box input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 18px;
    text-align: center;
}

/* 🔄 ROW */
.cc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

/* 🌍 SELECT */
.cc-select-box select {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* 🔁 SWAP BUTTON */
.cc-swap {
    background: #10B981;
    color: white;
    border: none;
    font-size: 18px;
    padding: 10px 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.cc-swap:hover {
    transform: rotate(180deg);
    background: #0f7a2f;
}

/* 💸 RESULT */
.cc-result {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: #0f7a2f;
}

/* 📊 RATE TEXT */
.cc-rate {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

/*  ICON CIRCLE (Updated Premium Style) */
.circle {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100px;
    height: 100px;
    border-radius: 50%;

    background: linear-gradient(145deg, #9ad1d1, #7fbcbc);

    box-shadow:
        0px 6px 12px rgba(0, 0, 0, 0.15),
        inset 0px 2px 5px rgba(255, 255, 255, 0.4);

    margin: 20px 0px;
    margin-left: 30px;

    transition: 0.3s ease;
}

/* 🎯 ICON STYLE (Star, Bank, Headset) */
.icon {
    font-size: 45px;
    color: transparent;
    -webkit-text-stroke: 3px #0a6b0a;
    /* green outline */
    transition: 0.3s ease;
}

/* 🔥 HOVER EFFECT */
.circle:hover {
    transform: translateY(-5px);
    box-shadow:
        0px 10px 20px rgba(0, 0, 0, 0.2),
        inset 0px 2px 5px rgba(255, 255, 255, 0.5);
}

.circle:hover .icon {
    transform: scale(1.1);
}

/* 🎯 BUTTON FIX (Important) */
.btn:hover {
    background-color: #162b07;
    box-shadow:
        0px 6px 12px rgba(0, 0, 0, 0.3),
        0px 4px 8px rgba(255, 0, 0, 0.4);

    transform: translateY(-2px);
    /* FIXED */
}

#typeText::after {
    content: "|";
    animation: blink 0.7s infinite;
    margin-left: 5px;

}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* media queries */
/* Default (Desktop) */
.ratingcard {
    display: flex;
    justify-content: space-between;
}

/* 📱 Mobile View */
@media (max-width: 768px) {
    .ratingcard {
        flex-wrap: wrap;
        /* FIXED */
        justify-content: center;
        gap: 20px;
    }

    .ratingcard1 {
        width: 100%;
        /* full width on phone */
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .circle {
        margin-left: 0;
        /* center icon */
    }
}

/* ========================= */
/* 📱 MOBILE (<= 768px) */
/* ========================= */
@media (max-width: 768px) {

    nav {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .ul1,
    .ul2 {
        flex-direction: column;
        gap: 10px;
    }

    .herocontent h1 {
        font-size: 30px;
    }

    .herocontent h1:nth-child(2) {
        font-size: 34px;
    }

    .herocontent p {
        font-size: 16px;
    }

    .btn {
        width: 150px;
        height: 40px;
    }

    .rating h1 {
        font-size: 35px;
    }

    .ratingcard {
        flex-wrap: wrap;
        justify-content: center;
    }

    .ratingcard1 {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }

    .circle {
        margin: 0 auto;
    }

    .ratingcard1 h3 {
        margin-top: 10px;
    }
}

/* ========================= */
/* 📱 SMALL PHONES (<= 480px) */
/* ========================= */
@media (max-width: 480px) {

    .herocontent h1 {
        font-size: 24px;
    }

    .herocontent h1:nth-child(2) {
        font-size: 26px;
    }

    .btn {
        width: 130px;
        height: 38px;
    }

    .circle {
        width: 80px;
        height: 80px;
    }

    .icon {
        font-size: 35px;
    }
}

/* MENU ICON (hidden on desktop) */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    margin-left: auto;
}

/* ========================= */
/* 📱 MOBILE VIEW */
/* ========================= */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .ul1,
    .ul2 {
        display: none;
        /* hide menu */
        flex-direction: column;
        width: 100%;
        background: white;
        margin-top: 10px;
        padding: 10px 0;
        border-radius: 10px;
    }

    .ul1 li,
    .ul2 li {
        padding: 12px;
        text-align: center;
    }

    /* SHOW MENU WHEN ACTIVE */
    .show {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .left,
    .right {
        width: 100%;
    }

    .right img {
        max-width: 90%;
    }
}

/* ================================================================================== */
/* ================================================================================== */
/* ================================================================================== */
/* ================================================================================== */
/* ================================================================================== */
/* ================================================================================== */
/* ========================= */
/* 📱 TABLET + MOBILE (<= 768px) */
/* ========================= */
@media (max-width: 768px) {

    /* NAVBAR */
    nav {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .menu-toggle {
        display: block;
    }

    .ul1,
    .ul2 {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        margin-top: 10px;
        padding: 10px 0;
        border-radius: 10px;
    }

    .ul1 li,
    .ul2 li {
        padding: 12px;
        text-align: center;
    }

    .show {
        display: flex;
    }

    /* HERO */
    .herocontent h1 {
        font-size: 30px;
    }

    .herocontent h1:nth-child(2) {
        font-size: 34px;
    }

    .herocontent p {
        font-size: 16px;
    }

    .btn {
        width: 150px;
        height: 40px;
    }

    /* TEXT + IMAGE SECTION 🔥 */
    .text_img {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .lefttext,
    .rightimg {
        width: 100%;
    }

    .lefttext h1 {
        width: 100%;
        font-size: 32px;
    }

    .rightimg img {
        max-width: 90%;
        margin-top: 20px;
    }

    /* FEATURES */
    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* RATING SECTION */
    .rating h1 {
        font-size: 35px;
    }

    .ratingcard {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .ratingcard1 {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }

    .circle {
        margin: 0 auto;
    }

    .ratingcard1 h3 {
        margin-top: 10px;
    }
}

/* ========================= */
/* 📱 SMALL PHONES (<= 480px) */
/* ========================= */
@media (max-width: 480px) {

    .herocontent h1 {
        font-size: 24px;
    }

    .herocontent h1:nth-child(2) {
        font-size: 26px;
    }

    .lefttext h1 {
        font-size: 26px;
    }

    .btn {
        width: 130px;
        height: 38px;
    }

    .circle {
        width: 80px;
        height: 80px;
    }

    .icon {
        font-size: 35px;
    }

    .feature h3 {
        font-size: 20px;
    }

    .feature p {
        font-size: 16px;
    }
}




/* ========================= */
/* 🔥 PREMIUM NAVBAR */
/* ========================= */

nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 40px;
  height: 70px;

  background: rgba(255, 255, 255, 0.6);
   /* backdrop-filter : blur(12px); */

  transition: all 0.3s ease;
}

/* scroll effect */
nav.scrolled {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* LOGO */
nav h1 {
  font-size: 22px;
  font-weight: 700;
  color: #065F46;
}

/* MENU */
.navbar ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

/* LINKS */
.navbar a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  color: #222;

  padding: 8px 16px;
  border-radius: 20px;

  transition: all 0.3s ease;
}

/* 🔥 HOVER BACKGROUND */
.navbar a:hover {
  background: rgba(16, 185, 129, 0.15);
  color: #065F46;
  transform: translateY(-2px);
}

/* ⚡ UNDERLINE ANIMATION (CENTER) */
.navbar a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0%;
  height: 2px;
  background: #10B981;

  transform: translateX(-50%);
  transition: 0.3s ease;
}

.navbar a:hover::after {
  width: 70%;
}

/* 🎯 ACTIVE LINK */
.navbar a.active {
  color: #10B981;
}

.navbar a.active::after {
  width: 70%;
}

/* ========================= */
/* 📱 MOBILE MENU */
/* ========================= */

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {

  nav {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 15px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 18px;
  }

  .navbar ul {
    flex-direction: column;
    width: 100%;
    gap: 10px;

    max-height: 0;
    overflow: hidden;

    opacity: 0;
    transform: translateY(-10px);

    transition: all 0.3s ease;
  }

  /* SHOW MENU */
  .navbar ul.show {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
  }

  .navbar a {
    width: 100%;
    display: block;
    padding: 12px;
    text-align: center;
  }
}




/* container */
.countries {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;

  padding: 60px 100px;
}

/* each item */
.country {
  text-align: center;
}

/* flag circle */
.flag-icon {
  width: 100 px;
  height: 50px;
  border-radius: 40%;
  display: inline-block;
  background-size: cover;
  margin-bottom: 10px;
  font-size: 40px;
}

/* link */
.country a {
  text-decoration: underline;
  color: #0B3D02;
  font-size: 16px;
}

/* hover */
.country:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}


@media (max-width: 768px) {
  .countries {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px;
  }
}


.flag-icon {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ========================= */
/* 🔥 FOOTER */
/* ========================= */

.footer {
  background:#9fe870 ;
  color: white;
  padding-top: 60px;
}

/* container */
.footer-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;

  padding: 0 80px;
}

/* columns */
.footer-col h3 {
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

/* links */
.footer-col a {
  color: black;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: black;

}

/* logo */
.logo {
  color: black;

  margin-bottom: 15px;
}

/* social */
.socials i {
  font-size: 20px;
  margin-right: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.socials i:hover {
  color: black;

  transform: translateY(-3px);
}

/* bottom */
.footer-bottom {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 30px;
  }
}

