
/* ******************************************************
	Author URI: https://codeconvey.com/
	Demo Purpose Only - May not require to add.
	font-family: "Raleway",sans-serif;
*********************************************************/

@import url('https://fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,900');



html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

a:hover, a:focus {
	color: #373e18;
}
section {
  width: 100%;
  display: flex;               /* use flexbox */
  flex-wrap: wrap;             /* allow wrapping of cards */
  justify-content: center;     /* center cards horizontally */
  align-items: flex-start;     /* optional: align items at top */
  padding-bottom: 3em;
  margin-top: 170px;
  float: none;                 /* remove float */
}

.package-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.packages {
  background-color: #1e2321;
  color: #f4f4f4;
  border-radius: 20px;
  padding: 20px;
  text-align: center;          /* center text inside card */
  display: flex;
  flex-direction: column;
  align-items: center;         /* center contents horizontally */
  width: 280px;
}

p {
    font-size: medium;
}

h2 {
    color: #1a0e0e;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    line-height: normal;
	text-transform:uppercase;
}
h2 span {
    display: block;
    padding: 0;
    font-size: 18px;
    opacity: 0.7;
    margin-top: 5px;
	text-transform:uppercase;
}

#float-right{
	float:right;	
}
#package-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 20px;
}

#package-container .packages {
  flex: 0 1 calc(33.333% - 20px); /* 3 per row with gaps */
  min-width: 250px;                /* don't shrink below this */
  max-width: 350px;                /* optional max */
  box-sizing: border-box;
}

/* Responsive: 2 per row on tablets */
@media (max-width: 960px) {
  #package-container .packages {
    flex: 0 1 calc(50% - 15px);
  }
}

/* 1 per row on mobile */
@media (max-width: 600px) {
  #package-container .packages {
    flex: 0 1 100%;
  }
}
