:root{

  /* Backgrounds */
  --background: #f6f7f4;
  --surface: #ffffff;
  --surface-alt: #e8ece3;

  /* Primary */
  --primary: #2f4f3e;
  --primary-light: rgba(255,255,255,0.08);
  --inverse-table: rgba(255,255,255,0.05);

  /* Secondary */
  --secondary: #c26d3a;

  /* Tertiary / Accent */
  --tertiary: #e8b86d;
  --tertiary-light: #f1d09a;

  /* Text */
  --text-color: #263228;
  --text-light: #6e7b70;
  --text-white: #ffffff;

  /* Headers */
  --header-color: #1f3528;

  /* Borders */
  --border-color: #d6ddd1;

  /* Cards */
  --card-bg: #ffffff;
  --card-dark: #24392d;

  /* Buttons */
  --button-primary: #c26d3a;
  --button-hover: #a6592c;

}

/* ---------- Reset / Global ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  scroll-behavior: smooth;
}

html {
  font-size: 16px;
  overflow-x: hidden;

}

body {
  background-color: var(--background);
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
}


body.hidden-scrolling {
  overflow-y: hidden;
}


section {
/*   min-height: 100vh; */
/*   padding: 10rem 9% 2rem; */
  padding: 5rem 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--header-color);
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.4rem; font-weight: 500; }
 
/* responsive heading */
@media(max-width: 992px){

  h1{font-size: 2.6rem;}
  h2{font-size: 1.8rem;}
  h3{font-size: 1.55rem;}
  h4{font-size: 1.3rem;}

}

@media(max-width: 768px){
  h1{font-size: 2.2rem; }
  h2{font-size: 1.6rem;}
  h3{font-size: 1.4rem;}
  h4{font-size: 1.2rem;}
}

@media(max-width: 576px){
  h1{font-size: 1.9rem;}
  h2{font-size: 1.4rem;}
  h3{font-size: 1.25rem;}
  h4{font-size: 1.1rem; }
}

@media(max-width: 400px){

  h1{font-size: 1.7rem;}
  h2{font-size: 1.25rem;}
  h3{font-size: 1.15rem;}
  h4{font-size: 1rem;}

}

p, li, blockquote { line-height: 1.6; margin-bottom: 1rem; }
a, small { line-height: 1.6; }

p { font-size: 1rem; font-weight: 400; }
a {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-base); 
}

.text-small {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.bold {
  font-weight: 500;
  margin-bottom: 0.5rem;
}


ul, ol { padding-left: 1.5rem; }
nav ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}


/* ---------- Btn ---------- */
.btn{
  padding: 1rem 2rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.primary-btn{
  background: var(--card-bg);
  color: var(--secondary);
  
}
.primary-btn:hover{
 
  color: var(--secondary);
  
}

.secondary-btn{
  border: 1px solid rgba(255,255,255,0.25);
  color: white;

  background: rgba(255,255,255,0.05);

  backdrop-filter: blur(10px);
}

.btn:hover{
  transform: translateY(-5px);
}

/* ---- Responsive BTN ---- */

.btn-group{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  min-height: 54px;
  min-width: 160px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
}

.primary-btn{
  background: var(--card-bg);
  color: var(--secondary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.primary-btn:hover{
  background: var(--surface-alt);
  color: var(--secondary);
  transform: translateY(-4px);
}


.secondary-btn{
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  color: var(--text-white);
}

.secondary-btn:hover{
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}


.btn:active{
  transform: translateY(-1px) scale(0.98);
}

.btn:focus-visible{
  outline: 3px solid color-mix(
    in srgb,
    var(--tertiary) 70%,
    white
  );

  outline-offset: 3px;
}


@media (max-width: 992px){

  .btn{
    padding: 0.95rem 1.7rem;

    min-width: 150px;

    font-size: 0.95rem;
  }

}

@media (max-width: 768px){

  .btn-group{
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .btn{
    width: 100%;

    min-width: unset;

    padding: 1rem 1.25rem;

    font-size: 0.95rem;
  }

}

@media (max-width: 480px){

  .btn{
    padding: 0.9rem 1rem;

    border-radius: 12px;

    font-size: 0.9rem;
  }

}



/* ----------  Global Classes ---------- */

/* --  header and font classes --*/

.section-header{
  margin-bottom: 4rem;
  color: var(--header-color);
}

.section-subtitle{
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.white-font{
  color: var(--text-white);
}

/* -- Container and Section classes -- */ 
.container{
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.large-text{
  font-size: 1.3rem;
}

@media(max-width: 768px){
  .large-text{
    font-size: 1.15rem;
  }
}

@media(max-width: 576px){
  .large-text{
    font-size: 1.05rem;
  }
}

@media(max-width: 400px){
  .large-text{
    font-size: 1rem;
  }
}


/*----- Hero Section -----*/
.hero-section{
  position: relative;
  min-height: 90vh;
  display: flex;  
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 3rem;
  padding-bottom: 4rem;
  background:
  radial-gradient(
    circle at top left,
    color-mix(in srgb, var(--secondary) 35%, transparent),
    transparent 30%
  ),

  radial-gradient(
    circle at top right,
    color-mix(in srgb, var(--tertiary) 18%, transparent),
    transparent 30%
  ),

  radial-gradient(
    circle at bottom center,
    color-mix(in srgb, var(--primary-light) 35%, transparent),
    transparent 45%
  ),

  var(--primary);
}
.section-hero-div{
  position: relative;
  z-index: 2;
}


.hero-description{
  max-width: 900px;
}

.hero-description p{
  color: var(--text-white);
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 1.8rem;
  font-size: 1.1rem;
}


.hero-description::before{
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  border-radius: 999px;
  background: var(--secondary);
  margin-bottom: 2rem;
}

/* ----- sections color -----*/

.section-primary{
  background: var(--primary);
}

.section-card-bg{
  background-color: var(--card-bg);
}

/* -- section-primary and section-card-bg responsive */

@media(max-width: 768px){

  .section-primary,
  .section-card-bg{
    padding: 6rem 0;
  }
}

@media(max-width: 576px){

  .section-primary,
  .section-card-bg{
    padding: 5rem 0;
  }

}


/* -- Global Flex Cards --*/

.cards-flex{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card{
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 24px;
  backdrop-filter: blur(12px);
}

.card-inverse{
  background: var(--primary);
  color: var(--text-white);
}

.card-inverse h4{
  color: var(--tertiary);
}

.info-card h3{
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.info-card h4{  
  margin-bottom: 1.5rem;
}

.info-card ul{
  padding-left: 1rem;
}

.info-card li{
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

/* -- flex card responsive --*/
@media(max-width: 992px){
  .cards-flex{
    gap: 1.7rem;
  }

  .info-card{
    padding: 1.7rem;
    border-radius: 20px;
  }

  .info-card h3{
    font-size: 1.35rem;
  }

}
@media(max-width: 768px){

  .cards-flex{
    gap: 1.5rem;
  }

  .info-card{
    padding: 1.5rem;

    border-radius: 18px;
  }

  .info-card h3{
    font-size: 1.25rem;
  }

  .info-card h4{
    margin-bottom: 1.2rem;
  }

  .info-card li{
    margin-bottom: 0.7rem;

    font-size: 0.95rem;
  }

}

@media(max-width: 576px){

  .info-card{
    padding: 1.2rem;

    border-radius: 16px;
  }

  .info-card h3{
    font-size: 1.15rem;
  }

  .info-card h4{
    font-size: 1rem;
  }

  .info-card ul{
    padding-left: 0.9rem;
  }

  .info-card li{
    font-size: 0.9rem;

    line-height: 1.5;
  }

}


@media(max-width: 400px){

  .info-card{
    padding: 1rem;
  }

  .info-card h3{
    font-size: 1.05rem;
  }

  .info-card h4{
    font-size: 0.95rem;
  }

 
}

/* ---- Tables  ---- */

.table-container{
  overflow-x: auto;
  background: var(--card-bg);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 35px rgba(0,0,0,0.05);
}


.table-data {
  width: 100%;
  border-collapse: collapse;
  min-width: 1000px;
}


.table-data thead{
  background: var(--primary);
}

.table-data th{
  padding: 1.5rem;
  text-align: left;
  color: var(--text-white);
  font-weight: 600;
  font-size: 1.1rem;
}


.table-data td{
  padding: 1.5rem;
  vertical-align: top;
  border-bottom: 1px solid var(--border-color);

}

.table-data tbody tr:last-child td{
  border-bottom: none;
}

.table-data  tbody tr:hover{
  background: rgba(47,79,62,0.03);
}


.table-data  td:first-child{
  min-width: 190px;
  font-weight: 600;
  color: var(--secondary);
}


.table-data  td:last-child{
  min-width: 450px;
}

/* -- Inverse Table --*/

.inverse-table{
  background: var(--inverse-table);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
}


.inverse-table .table-data  thead{
  background: var(--primary-light);
}

.inverse-table .table-data  th{
  color: var(--text-white);
}

.inverse-table .table-data  td{
  color: var(--text-white);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.inverse-table .table-data  td:first-child{
  color: var(--tertiary);
}

/* .inverse-table .table-data  td:nth-child(2){
  color: var(--text-white);
} */


.inverse-table .table-data  tbody tr:hover{
  background: rgba(255,255,255,0.04);
}

/* -- Table responsive --*/
@media (max-width: 768px) {
  .table-container {
    border-radius: 16px;
    margin: 0 -1px;
  }

  .table-data {
    min-width: auto;
  }

  .table-data th,
  .table-data td {
    padding: 1rem;
  }

  .table-data th {
    font-size: 0.85rem;
    padding: 1rem 0.75rem;
  }

  .table-data td {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .table-data td:first-child {
    min-width: 120px;
    font-size: 0.85rem;
  }

  .table-data td:nth-child(2) {
    min-width: 140px;
    font-size: 0.85rem;
  }

  .table-data td:last-child {
    min-width: 200px;
  }

  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }


  .inverse-table {
    backdrop-filter: blur(8px);
  }

  .inverse-table .table-data td:first-child {
    font-size: 0.85rem;
  }
}


@media (max-width: 480px) {
  .table-data th,
  .table-data td {
    padding: 0.75rem;
  }

  .table-data th {
    font-size: 0.75rem;
    padding: 0.75rem 0.5rem;
  }

  .table-data td {
    font-size: 0.7rem;
    padding: 0.75rem 0.5rem;
  }

  .table-data td:first-child {
    min-width: 100px;
    font-size: 0.75rem;
  }

  .table-data td:nth-child(2) {
    min-width: 110px;
    font-size: 0.75rem;
  }

  .table-data td:last-child {
    min-width: 160px;
  }

  .table-container {
    border-radius: 12px;
  }
}
