/* fonts.css - Add this to all pages in <head> */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  /* Base font size for rem calculations */
  --base-font-size: 16px;
  
  /* Font stacks */
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 
                 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 
                 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-secondary: Arial, sans-serif;
  
  /* Colors */
  --primary-color: #F5A952;
  --text-color: #333;
  --heading-color: #2c3e50;
  --secondary-heading-color: #34495e;
  --white: #fff;
  --light-bg: #f9f9f9;
}

/* General Styles */
body {
  font-family: var(--font-primary);
  font-size: var(--base-font-size);
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  padding: 0;
}

/* Responsive typography scale */
h1, .interactive-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  color: var(--heading-color);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.3;
  color: var(--heading-color);
}

h3 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.4;
  color: var(--secondary-heading-color);
}

p, li, a, .form-group input, .form-group select, .form-group textarea, .form-group label {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.6;
}

.small-text {
  font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Header Section */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 100px;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: clamp(1.5rem, 4vw, 1.8rem);
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: var(--text-color);
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
}

nav ul li a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--white);
  min-width: 160px;
  z-index: 1;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.dropdown-content a {
  padding: 12px 16px;
  color: var(--text-color);
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Section Styles */
.section {
  padding: clamp(30px, 5vw, 60px) clamp(15px, 4vw, 30px);
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  text-align: center;
  margin-bottom: clamp(20px, 5vw, 40px);
}

h3 {
  margin-bottom: clamp(15px, 3vw, 25px);
  text-align: center;
}

p {
  margin-bottom: clamp(15px, 3vw, 25px);
}

ul {
  list-style-type: disc;
  margin-left: clamp(15px, 3vw, 25px);
  margin-bottom: clamp(15px, 3vw, 25px);
}

li {
  margin-bottom: clamp(8px, 1.5vw, 12px);
}

/* Video Container */
.video-container {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(20px, 5vw, 40px);
}

.video-box {
  width: auto;
  max-width: 800px;
  height: auto;
  aspect-ratio: 16 / 9;
  background-color: #f4f4f4;
  border: clamp(5px, 1vw, 10px) solid var(--primary-color);
  border-radius: clamp(5px, 1.5vw, 10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(245, 169, 82, 0.5);
}

video {
  width: 100%;
  height: 100%;
  display: block;
}

.play-button {
  width: clamp(50px, 10vw, 80px);
  height: clamp(50px, 10vw, 80px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Careers Section */
.careers-section {
  margin-bottom: clamp(20px, 5vw, 40px);
}

/* Section 2 Styling */
#who-we-look-for {
  position: relative;
  background: url('Images/Why\ Us\ 2.jpeg') no-repeat center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 3vw, 20px);
}

.card {
  background: var(--white);
  padding: clamp(20px, 3vw, 30px);
  max-width: 600px;
  width: 90%;
  border-radius: clamp(8px, 1.5vw, 12px);
  text-align: center;
  box-shadow: 0 0 20px rgba(245, 169, 82, 0.5);
  position: relative;
  animation: glowing 3s infinite alternate;
  opacity: 0.9;
}

@keyframes glowing {
  0% { box-shadow: 0 0 15px rgba(245, 169, 82, 0.5); }
  50% { box-shadow: 0 0 30px rgba(245, 169, 82, 0.7); }
  100% { box-shadow: 0 0 15px rgba(245, 169, 82, 0.5); }
}

.card h3 {
  color: var(--primary-color);
}

.card p, .card ul {
  color: var(--text-color);
}

.card ul {
  list-style-type: disc;
  text-align: left;
  padding-left: clamp(15px, 3vw, 25px);
}

/* CV Upload Section */
.cv-upload-section {
  margin-top: clamp(20px, 5vw, 40px);
  padding: clamp(15px, 3vw, 25px);
  background-color: var(--light-bg);
  border-radius: clamp(5px, 1.5vw, 10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cv-upload-section h3 {
  text-align: center;
  margin-bottom: clamp(15px, 3vw, 25px);
}

.form-group {
  margin-bottom: clamp(15px, 3vw, 25px);
}

.form-group label {
  display: block;
  margin-bottom: clamp(5px, 1vw, 8px);
}

.form-group input {
  width: 100%;
  padding: clamp(8px, 1.5vw, 12px);
  border: 1px solid #ddd;
  border-radius: clamp(3px, 0.8vw, 5px);
}

.submit-button {
  display: block;
  width: 100%;
  padding: clamp(8px, 1.5vw, 12px);
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: clamp(3px, 0.8vw, 5px);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: grey;
}

/* Footer Styles */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: clamp(20px, 5vw, 40px) clamp(15px, 3vw, 25px);
  text-align: center;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: clamp(15px, 3vw, 25px);
  margin-bottom: clamp(15px, 3vw, 25px);
}

.footer-section {
  max-width: 300px;
  text-align: left;
}

.footer-section h3 {
  margin-bottom: clamp(10px, 2vw, 15px);
}

.footer-section p {
  margin: clamp(3px, 0.8vw, 5px) 0;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: clamp(10px, 2vw, 15px);
}

.social-icons a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.social-icons img {
  width: clamp(25px, 5vw, 30px);
  height: clamp(25px, 5vw, 30px);
}

.footer-bottom {
  margin-top: clamp(15px, 3vw, 25px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: clamp(10px, 2vw, 15px);
}

/* Interactive Heading */
.interactive-heading {
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
  text-align: center;
  width: 100%;
  margin-bottom: clamp(15px, 3vw, 25px);
}

.interactive-heading::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.interactive-heading:hover {
  color: var(--primary-color);
}

.interactive-heading:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 110px;
    left: 0;
    width: 100%;
    background-color: var(--white);
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    text-align: center;
  }

  nav ul li a {
    padding: clamp(12px, 3vw, 15px);
  }

  .dropdown-content {
    position: static;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }
  
  #who-we-look-for {
    padding: clamp(10px, 2vw, 15px);
  }
  
  .card {
    padding: clamp(15px, 3vw, 20px);
    width: 95%;
  }
}

@media (max-width: 480px) {
  :root {
    --base-font-size: 14px;
  }
  
  .card {
    padding: clamp(10px, 2vw, 15px);
  }
  
  .logo img {
    height: clamp(70px, 15vw, 100px);
  }
}

@media (min-width: 1600px) {
  :root {
    --base-font-size: 18px;
  }
}