/* Global styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #4285F4;
  --primary-hover: #3367D6;
  --background: #0a0a0a;
  --secondary-bg: #161616;
  --card-bg: #1e1e1e;
  --text: #ffffff;
  --text-light: #e2d8d8f8;
  --shadow: rgba(255, 228, 181, 0.2);
  --shadow-hover: rgba(255, 228, 181, 0.4);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-heading {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  position: relative;
  text-align: center;
}

.section-heading::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: var(--primary);
  margin: 0.5rem auto;
  border-radius: 5px;
}
  
/* -------------------------------------------------------------Header--------------------------------------------------------------*/

header {
  background: rgba(10, 10, 10, 0.9);
  position: sticky;
  top: 0;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

header h1 span {
  color: var(--primary);
  position: relative;
}

header h1 span::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

header h1:hover span::after {
  width: 100%;
}

header nav {
  display: flex;
  align-items: center; 
  justify-content: space-between;
  padding: 1rem 5%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* -------------------------------------------------------------Home--------------------------------------------------------------*/

.hero {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 6rem 10%;
  min-height: calc(100vh - 70px);
  background-color: var(--secondary-bg);
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(66, 133, 244, 0.15) 0%, transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(66, 133, 244, 0.1) 0%, transparent 20%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.4s ease;
  z-index: -1;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(66, 133, 244, 0.05) 0%, transparent 50%),
    linear-gradient(225deg, rgba(66, 133, 244, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.hero-content {
  max-width: 50%;
  position: relative;
  z-index: 1;
  animation: fadeInLeft 1s ease-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-content h1 span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  bottom: 5px;
  left: 0;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.5s ease-out;
  z-index: -1;
  opacity: 0.3;
}

.hero-content h1 span:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.hero-content h2 {
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}  

.hero-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 90%;
}

.buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--text);
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--primary);
  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
  z-index: -1;
}

.btn-secondary:hover {
  color: var(--text);
}

.btn-secondary:hover::before {
  width: 100%;
}

.no-underline {
  text-decoration: none;
}

.highlights {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 2.5rem;
  width: 450px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
  animation: fadeInRight 1s ease-out;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.highlights:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.highlight {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1rem;
}

.highlight:last-child {
  margin-bottom: 0;
}

.highlight::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0%;
  background: var(--primary);
  transition: height 0.3s ease;
}

.highlight:hover::before {
  height: 80%;
}

.icon {
  background-color: var(--primary);
  border-radius: 10px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1.5rem;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: var(--transition);
}

.highlight:hover .icon::before {
  transform: translateX(0);
}

.highlight p {
  color: var(--text);
  font-size: 1.1rem;
  margin: 0;
  font-weight: 500;
}  
  
/* -------------------------------------------------------------Expertise------------------------------------------------------------*/

.expertise-section {
  text-align: center;
  padding: 6rem 5%;
  margin: 0 auto;
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.expertise-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(66, 133, 244, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(66, 133, 244, 0.03) 0%, transparent 30%);
  pointer-events: none;
}

.expertise-container {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.expertise-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 2.5rem;
  width: 320px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.03);
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: height 0.5s ease;
  z-index: -1;
}

.expertise-card:hover::before {
  height: 100%;
}

.expertise-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(66, 133, 244, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.expertise-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.expertise-card:hover::after {
  opacity: 1;
}

.expertise-card .icon {
  background-color: var(--primary);
  border-radius: 12px;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(66, 133, 244, 0.25);
}

.expertise-card .icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.expertise-card:hover .icon::before {
  transform: translateX(0);
}

.expertise-card h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

.expertise-card h3::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.expertise-card:hover h3::after {
  width: 100%;
}

.expertise-card ul {
  list-style: none;
  padding: 0;
}

.expertise-card ul li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: var(--text-light);
  position: relative;
  padding-left: 25px;
  transition: var(--transition);
}

.expertise-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  opacity: 0.7;
  transition: var(--transition);
}

.expertise-card:hover ul li {
  transform: translateX(5px);
}

.expertise-card:hover ul li::before {
  opacity: 1;
}

.certifications {
  margin-top: 4rem;
  padding: 0 1rem;
}

.certifications h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.certifications h3::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  bottom: -6px;
  left: 25%;
  background-color: var(--primary);
  border-radius: 2px;
}

.skill-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}

.skill-tags span {
  background: var(--primary);
  color: var(--text);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(66, 133, 244, 0.2);
}

.skill-tags span::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-hover);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  z-index: -1;
}

.skill-tags span:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(66, 133, 244, 0.3);
}

.skill-tags span:hover::before {
  transform: translateX(0);
}

/* --------------------------------------------------------Portfolio--------------------------------------------------------------- */

.portfolio-section {
  text-align: center;
  padding: 6rem 5%;
  margin: 0 auto;
  background-color: var(--secondary-bg);
  position: relative;
  overflow: hidden;
}

.portfolio-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 90% 20%, rgba(66, 133, 244, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 10% 80%, rgba(66, 133, 244, 0.03) 0%, transparent 30%);
  pointer-events: none;
}

.portfolio-section > p {
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

.portfolio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.portfolio-card:hover::before {
  transform: scaleX(1);
}

.portfolio-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 40px 40px;
  border-color: transparent transparent var(--primary) transparent;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.portfolio-card:hover::after {
  opacity: 0.3;
}

.portfolio-card img {
  display: block;
  margin: 0 auto 1.5rem;
  object-fit: contain;
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.portfolio-card:hover img {
  transform: scale(1.1) rotate(5deg);
}

.portfolio-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: var(--text);
}

.portfolio-card h3::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.portfolio-card:hover h3::after {
  width: 100%;
}

.portfolio-card ul {
  list-style-type: none;
  padding: 0;
  text-align: left;
  margin-top: 1.5rem;
}

.portfolio-card li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 20px;
  color: var(--text-light);
  transition: var(--transition);
}

.portfolio-card li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.portfolio-card:hover li {
  transform: translateX(5px);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.metric-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.metric {
  position: relative;
  padding: 2.5rem;
  transition: var(--transition);
}

.metric::before {
  content: '';
  position: absolute;
  width: 1px;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  top: 25%;
  left: 0;
  opacity: 0;
  transition: var(--transition);
}

.metric::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  top: 25%;
  right: 0;
  opacity: 0;
  transition: var(--transition);
}

.metric:hover::before,
.metric:hover::after {
  opacity: 1;
}

.metric h3 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.metric p {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 500;
}

/* --------------------------------------------------------Contact--------------------------------------------------------------- */

.contact-section {
  padding: 6rem 5%;
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(66, 133, 244, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(66, 133, 244, 0.03) 0%, transparent 30%);
  pointer-events: none;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: height 0.5s ease;
}

.info-card:hover::before {
  height: 100%;
}

.social-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.contact-form {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 4px;
  background: var(--primary);
  transition: width 0.5s ease;
}

.contact-form:hover::before {
  width: 100%;
  left: 0;
}

.info-card h4,
.social-card h4 {
  color: var(--text);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.info-card h4::after,
.social-card h4::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.info-card:hover h4::after,
.social-card:hover h4::after {
  width: 100%;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item:hover {
  transform: translateX(5px);
}

.info-item i {
  background-color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text);
  box-shadow: 0 4px 10px rgba(66, 133, 244, 0.3);
  transition: var(--transition);
}

.info-item:hover i {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(66, 133, 244, 0.4);
}

.label {
  display: block;
  color: #9B9B9B;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.value {
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}

.social-card {
  margin-top: 0;
}

.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.social-link {
  background-color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(66, 133, 244, 0.3);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  top: 0;
  left: 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.social-link:hover {
  background-color: #3367D6;
  transform: scale(1.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: #9B9B9B;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem;
  background-color: #333333;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-section {
    padding: 4rem 5%;
  }
}

/* --------------------------------------------------------Footer--------------------------------------------------------------- */

.divider {
  width: 95%;
  height: 1px;
  background-color: #ffffff; 
  opacity: 0.2;
  margin-top: 0.5rem;
}

.footer {
  background-color: #161616; 
  padding: 0.5rem;
  text-align: center;
  color: #ffffff;
  font-size: 14px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

/* =================== Responsive Enhancements for Header & Hero =================== */

/* Tablets and below (≤ 992px) */
@media (max-width: 992px) {
  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 1rem;
    right: 2rem;
    z-index: 1100;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem;
    gap: 1rem;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    display: flex;
  }

  header nav {
    flex-direction: row;
    justify-content: space-between;
    position: relative;
  }

  .hero {
    flex-direction: column;
    padding: 4rem 5%;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .highlights {
    width: 100%;
    margin-top: 2rem;
  }
}

/* Small screens and phones (≤ 768px) */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.5rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content h2 {
    font-size: 1.2rem;
  }

  .hero-content p {
    font-size: 1rem;
    max-width: 100%;
  }

  .highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

/* Extra small devices (≤ 480px) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .highlight p {
    font-size: 1rem;
  }
}
