/* General resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #333;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: fixed;
  top: 2px;
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;   /* centers logo & nav vertically */
  padding: 5px 15px;
  z-index: 10;
}

.site-header .brand {
  display: flex;
  align-items: center;   /* ensures logo aligns center */
}

.site-header .brand-logo {
  height: 60px;
  display: block;
  left:10px;
}

.site-header .nav a {
  color: black;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
  padding: 8px 12px;         /* add padding for bg color effect */
  border-radius: 6px;        /* smooth corners */
  transition: background 0.3s, color 0.3s;
}
.site-header .nav a:hover {
  background: #e3f2fd;       /* light blue */
  color: #0d47a1;
}

.site-header .nav a.active {
  background: #0d47a1;       /* dark blue */
  color: white;
}

/* Main wrapper */
main {
  flex: 1;
  margin-top: var(--header-height, 60px); /* auto adjusts */
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 100%;
  display: flex;
  animation: scrollBg 20s linear infinite;
  z-index: 0;
}

.hero-bg img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
}

@keyframes scrollBg {
  0% { transform: translateX(0); }
  100% { transform: translateX(-66.66%); }
}

.hero-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  color: white;
}

.hero-inner h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-inner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.scroll-down {
  display: inline-block;
  font-size: 2rem;
  color: #fff;
  background: rgba(0,0,0,0.5);
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
  text-decoration: none;
}

.scroll-down:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(5px);
}

/* Middle section / features */
.middle-section {
  padding: 80px 20px;
  background: #f5f5f5;
  text-align: center;
}

.middle-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.middle-section p {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.features {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.feature-card {
  background: linear-gradient(to bottom right, #cce0ff, #e6f0ff);
  padding: 20px;
  border-radius: 12px;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.feature-card p {
  font-size: 1rem;
}

/* Center page for Jobs/Blogs */
.center-page {
  min-height: calc(100vh - 200px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.center-page h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.center-page p {
  font-size: 1.1rem;
  opacity: 0.85;
}

/* Contact section */
.contact-section {
  padding: 100px 20px 60px;
  background: linear-gradient(135deg, #0d47a1, #1976d2);
  color: white;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.contact-info h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1.1rem;
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: #ffeb3b;
}

.contact-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  outline: none;
}

.contact-form button {
  padding: 12px;
  border: none;
  background: #ffeb3b;
  color: black;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #fdd835;
}

.contact-map {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background: #fff;
  color: #0d47a1;
  padding: 20px;
  text-align: center;
}
.jobs-section {
 
  background: linear-gradient(135deg, #0d47a1, #1976d2); 
  color: white;
  padding: 100px 20px 60px;
}

.blogs-section {
  background: linear-gradient(135deg, #0d47a1, #1976d2); 
  color: white;
  padding: 100px 20px 60px;
}


.footer-links a {
  color: #0d47a1;
  text-decoration: none;
  margin: 0 10px;
}

.hidden {
  display: none !important;
}
