/* ==============
   VERITAS DATA SERVICES - MAIN STYLE
   ============== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* ===========================
      HEADER
   =========================== */

.site-header {
  background: #1f4730;
  color: white;
  padding: 0.6rem 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img.logo { height:56px; object-fit:contain;
  text-decoration: none;
}

/* NAV LINKS */
.nav a {
  color: #cfe6da;
  text-decoration: none;
  margin: 0 0.65rem;
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===========================
      HERO SECTION
   =========================== */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0 3rem;
  background: #e8f3ed;
}

.hero-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  width: 100%;
  max-width: 1100px;
}

.hero-media {
  flex: 0 0 420px;
  display: flex;
  justify-content: center;
align-items:center;
}

.hero-media img {
    width: 100%;
    max-width: 420px;
   height: auto;
    border-radius: 6px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}


.hero-text {
  flex: 1;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 2.2rem;
  color: #1f4730;
  margin-bottom: 0.6rem;
}

.hero .lead {
  font-size: 1.05rem;
  color: #2f4b43;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* BUTTONS */
.btn {
  display: inline-block;
  margin: 0.3rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn.primary {
  background: #1f4730;
  color: #fff;
   border-color:#1f4730;
}

.btn.ghost {
  background: transparent;
  color: #1f4730;
  border: 1px solid #1f4730;
}

.btn:hover {
  opacity: 0.9;
}

/* ===========================
      ABOUT SECTION
   =========================== */

.about {
  padding: 2.2rem 1rem;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 8px;
}

/* ===========================
      SERVICES CARDS
   =========================== */

.services {
  padding: 2.5rem 1rem;
  background: #f4f9f6;
  text-align: center;
}

.services h2 {
  color: #1f4730;
  margin-bottom: 1.5rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.card {
  background: #fff;
  padding: 1.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  max-width: 260px;
  flex: 1 1 220px;
}

.card h3 {
  color: #1f4730;
  margin-bottom: 0.5rem;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* PORTFOLIO DROPDOWN (CLICK VERSION) */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  background: none;
  border: none;
  color: #cfe6da;
  font-weight: 600;
  margin: 0 0.65rem;
  cursor: pointer;
  font-size: 1rem;
}

.dropdown-btn:hover {
  color: #fff;
  text-decoration: underline;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #ffffff;
  min-width: 180px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 2000;
}

.dropdown-content a {
  display: block;
  padding: 0.7rem 1rem;
  text-decoration: none;
  color: #1f4730;
  font-weight: 500;
}

.dropdown-content a:hover {
  background: #e8f3ed;
}

/* ===========================
      POPUPS (SHARED DESIGN)
   =========================== */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.popup-content {
  background: #fff;
  padding: 25px 35px;
  border-radius: 12px;
  max-width: 500px;
  width: 92%;
  box-shadow: 0 6px 30px rgba(0,0,0,0.25);
  position: relative;
  animation: scaleUp 0.25s ease;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
  color: #333;
}

/* Titles inside popups */
.popup-content h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #1f4730;
}

/* Shared input styling for BOTH Apply + Consult */
.popup-content input[type="text"],
.popup-content input[type="email"],
.popup-content textarea,
.popup-content select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  border: 1px solid #d2d6d4;
  background: #fff;
  font-size: 1rem;
  margin-top: 0.3rem;
}

.popup-content textarea {
  min-height: 80px;
  resize: vertical;
}

/* FIELDSET (Consult popup only) */
fieldset {
  border: 1px solid #d2d6d4;
  padding: 0.8rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

legend {
  font-weight: 600;
  color: #1f4730;
}

/* The green button for BOTH popups */
.consult-btn {
  width: 100%;
  background: #009e60;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.consult-btn:hover {
  background: #007b4d;
}

/* ===========================
      FOOTER
   =========================== */

.site-footer {
  background: #1f4730;
  color: #fff;
  text-align: left;
  padding: 2rem 1rem;
  margin-top: 1.5rem;
}

.footer-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

/* Social section clean styling */
ul.social {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0;
}

ul.social li {
    list-style: none !important;
    margin-bottom: 0.6rem;
}

ul.social li::marker {
    content: ""; !important;
}

ul.social a {
    color: #e6f2ec;
    text-decoration: none;
    margin: 0.15rem 0;
    display: inline-block;
}

ul.social a:hover {
    color: #ffffff;
}

ul.social i {
    margin-right: 0.4rem;
}



/* ===========================
      ANIMATIONS
   =========================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ===========================
      RESPONSIVE
   =========================== */

@media (max-width: 900px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-media { max-width: 320px; }
  .header-inner { flex-direction: column; gap: 0.6rem; }
  .nav { text-align: center; }
  .popup-content { width: 95%; padding: 1.2rem; }
}

.portfolio-subtitle {
    font-size: 1.2rem;
    color: #1f332a;
    margin-top: 0.4rem;
    opacity: 1;
    font-weight: 400;
}
/* footer links colors */
.site-footer a {
    color: #ffffff;
    text-decoration: none;
}
.site-footer a:hover {
    opacity: 0.8; 
}