:root {
  --primary-color: #00BFFF;
  --secondary-color: #0000FF;
  --secondary-color-light: #0485CB;
  --background-deep: #B9E5F6;
  --background-light: #DFF1F8;
  --background-dark: #CDCACA;
  --background-light-pink: #FCF0E9;
  --background-main: linear-gradient(90deg, #e5f5fc, #DFF1F8, #f0f9fc, #f0f9fc, #f0f9fc, #f6fdff, #fbfeff, #DFF1F8);
  --button-color: linear-gradient(90deg, #00BFFF, #00BFFF, #4dd2fe, #B9E5F6);
  --background-second: linear-gradient(90deg, #b2ecff, #c8f1ff, #eefaff, #eefaff);
  --background-border: #B4AEAE;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* body {
  background: var(--background-main);
  color: #111;
} */

h1 {
  font-size: 65px;
}

h2 {
  font-size: 48px;
}

h3 {
  font-size: 30px;
}

.hading-text {
  font-size: 65px;
}

a {
  text-decoration: none;
  color: black;
}



li {
  list-style: none;
}

span {
  font-size: 16px;
}

/* Circle Decorations */
.circle {
  position: absolute;
}

.fcircle {
  top: 100px;
  left: 50px;
  width: 29px;
  height: 29px;
}

.scircle {
  top: 105px;
  left: 20px;
  width: 18px;
  height: 18px;
}

.tcircle {
  top: 135px;
  left: 20px;
  width: 14px;
  height: 14px;
}

.bfcircle {
  top: 197px;
  right: 153px;
  width: 27px;
  height: 29px;
}

.bscircle {
  top: 184px;
  right: 212px;
  width: 14px;
  height: 14px;
}

.btcircle {
  top: 169px;
  right: 173px;
  width: 18px;
  height: 18px;
}

.calculater-main{
  background: var(--background-main);
  padding-bottom: 20px;
}
/* Age Calculator Section */
.age-calculator {
  text-align: center;
  padding: 2rem;
 
}

.subtitle {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.desc {
  color: #555;
  margin-bottom: 2rem;
}

.calculator-box {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 900px;
  margin: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.top-section {
  display: flex;
  gap: 20px;
}

.top-section .inputs,
.top-section .results {
  border: 1px solid var(--background-border);
  border-radius: 10px;
  padding: 1rem;
}

.top-section .inputs {
  width: 60%;
}

.top-section .results {
  width: 35%;
}

.input-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}

select {
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.buttons {
  margin-top: 1rem;
}

.buttons button {
  background: var(--button-color);
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s ease;
}

button:hover {
  background: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.clear {
  background: none;
  color: #333;
  margin-left: 1rem;
  text-decoration: underline;
}

.results h3 {
  text-align: left;
  margin-bottom: 1rem;
}

.result-box {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: left;
}

.result-box .highlight {
  background: #e0f3ff;
  padding: 0.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  border-radius: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

td {
  padding: 0.5rem;
  border: 1px solid var(--background-border);
}

/* About Section */
.about-section {
  padding: 50px 20px;
}

.about-content {
  display: flex;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: auto;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.text {
  flex: 1 1 55%;
}

.text h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.text .highlight {
  color: var(--primary-color);
}

.text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}

.image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image img {
  width: 300px;
  height: 350px;
  max-width: 420px;
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  object-fit: contain;
  position: relative;
  left: 175px;
}

.bg-blue {
  width: 250px;
  height: 450px;
  position: relative;
  z-index: -1;
  background-color: var(--secondary-color-light);
}
.datePickerBtn{
  width: 40px;
  height: 40px;
  background-color: transparent;
  font-size: large;
  border: none;
  color: var(--primary-color);
}
.datePickerBtn i{
  font-size: 2rem;
}

/* ===================== Responsive Design ===================== */

/* Small tablets / large phones */
@media (max-width: 1024px) {
  .top-section {
    flex-direction: column;
  }
  .top-section .inputs,
  .top-section .results {
    width: 100%;
  }

  .input-group {
    flex-wrap: wrap;
  }

  .calculator-box {
    padding: 1.5rem;
  }

  .image img {
    width: 250px;
    height: 300px;
    left: 0;
  }

  .about-content {
    flex-wrap: wrap;
    gap: 2rem;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 38px;
  }

  h3 {
    font-size: 26px;
  }
}

.footer-tel-quicklink{
  background-color: yellow;
}

/* Phones */
@media (max-width: 768px) {
  .calculator-box {
    padding: 1rem;
  }

  .input-group {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }

  select {
    width: 100%;
  }
  .buttons{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .buttons button {
    width: 60%;
    padding: 0.7rem 0;
    margin-left: 0px;
    margin-bottom: 10px;
  }

  .top-section {
    gap: 15px;
  }

  .result-box {
    font-size: 0.9rem;
  }

  .image img {
    width: 200px;
    height: 250px;
    left: 0;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 22px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .age-calculator {
    padding: 1rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .desc {
    font-size: 0.9rem;
  }

  .input-group select,
  .input-group button {
    font-size: 0.9rem;
  }

  .buttons button {
    font-size: 0.9rem;
    margin-left: 0px;
    margin-bottom: 10px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  .circle {
    width: 15px !important;
    height: 15px !important;
  }

  .fcircle { top: 80px; left: 30px; }
  .scircle { top: 90px; left: 10px; }
  .tcircle { top: 120px; left: 10px; }
  .bfcircle { top: 150px; right: 80px; }
  .bscircle { top: 140px; right: 110px; }
  .btcircle { top: 130px; right: 90px; }
}


