/* ============================================
   SWASO GLOBAL CONSULTANTS - MAIN STYLES
   ============================================ */

:root {
  --primary: #004080;
  --primary-dark: #002d66;
  --secondary: #d4af37;
  --secondary-dark: #b8941f;
  --light-bg: #f8f9fa;
  --dark-text: #333;
  --light-text: #fff;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  background: #fff;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 10;
}

header {
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--secondary);
  transition: var(--transition);
}

nav a:hover:after,
nav a.active:after {
  width: 100%;
}

nav a.active {
  color: var(--primary-dark);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--primary);
  cursor: pointer;
  z-index: 1001;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  text-align: center;
  padding: 200px 20px;
  color: var(--light-text);
  background: url('../images/swasobanner.jpg') center/cover no-repeat;
  overflow: hidden;
  margin-top: 0;
  padding-top: 140px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.hero * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease forwards;
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 1s ease forwards;
}

/* Glowing text effect for hero */
h1.fadeInDown {
  font-size: 3rem;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 0 6px rgba(0, 128, 255, 0.9), 0 0 14px rgba(0, 128, 255, 0.7), 0 0 28px rgba(0, 128, 255, 0.5);
  animation: fadeInDown 1.2s ease-in-out, glowPulse 3s infinite ease-in-out;
  margin: 0;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 6px rgba(0, 128, 255, 0.9), 0 0 14px rgba(0, 128, 255, 0.7), 0 0 28px rgba(0, 128, 255, 0.5); }
  50% { text-shadow: 0 0 10px rgba(0, 170, 255, 1), 0 0 24px rgba(0, 170, 255, 0.9), 0 0 48px rgba(0, 170, 255, 0.7); }
}

.cta-button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background-color: var(--secondary);
  color: var(--light-text);
  text-decoration: none;
  font-weight: bold;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.cta-button:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* ============================================
   SECTION TITLES
   ============================================ */

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.page-title {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 40px;
}

.section-highlight {
  text-align: center;
  color: green;
  font-weight: bold;
  font-size: 1.8em;
  margin-bottom: 50px;
}

.section-title-blue {
  color: blue;
  font-size: 2.0em;
  margin-bottom: 20px;
  text-align: center;
}

.section-title-dark {
  text-align: center;
  font-weight: bold;
  color: #000;
  font-size: 1.2em;
  margin-bottom: 50px;
}

/* ============================================
   ABOUT & MGK CONTAINER
   ============================================ */

.mgk-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 20px;
}

.mgk-box {
  flex: 1;
  min-width: 300px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.director-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 350px;
  margin-bottom: 15px;
}

.download-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 15px;
}

/* ============================================
   CARDS & GRIDS
   ============================================ */

.cards-wrapper {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  flex: 1 1 30%;
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  font-size: 1.0em;
  line-height: 1.5em;
  color: #333;
}

.experience-card {
  border: 3px solid #007BFF;
  text-align: center;
}

.years-counter {
  font-size: 8em;
  font-weight: bold;
  color: blue;
  margin-bottom: 5px;
}

.years-label {
  font-size: 1.3em;
  font-weight: bold;
  color: green;
}

/* Value Proposition */
.value-prop-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

.value-image {
  flex: 1 1 40%;
  border-radius: 15px;
  overflow: hidden;
}

.value-image img {
  width: 100%;
  border-radius: 15px;
  display: block;
}

.value-text {
  flex: 1 1 45%;
  background: #ffffff;
  border: 3px solid #007BFF;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.value-icon {
  font-size: 3em;
  color: green;
  margin-bottom: 15px;
}

.value-text h2 {
  font-weight: bold;
  color: #007BFF;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.value-text p {
  font-size: 1.1em;
  line-height: 1.6em;
  text-align: left;
  color: #333;
}

/* Core Values */
.values-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  flex: 1 1 250px;
  background: #f0f8ff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: center;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #1E90FF;
  margin-bottom: 15px;
}

/* Leadership */
.leadership-subtitle {
  font-size: 1.0em;
  line-height: 1.8em;
  color: #333;
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
}

.directors-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.director-card {
  flex: 1 1 220px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.director-card img {
  width: 100%;
  max-width: 220px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.director-card:hover {
  transform: translateY(-5px);
}

.director-card:hover img {
  transform: scale(1.02);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-container {
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.service-card h2 {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 15px;
  border-radius: 8px;
}

.service-card p {
  font-size: 1.05em;
  line-height: 1.6em;
  color: #444;
  text-align: justify;
  margin-bottom: 15px;
}

.service-card ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.see-more-btn {
  padding: 12px 30px;
  background-color: #0b5394;
  color: #fff;
  font-size: 1rem;
  font-weight: normal;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  display: inline-block;
}

.see-more-btn:hover {
  background-color: #083a6d;
  transform: scale(1.05);
}

.hidden-content {
  display: none;
  margin-top: 20px;
}

.hidden-content.show {
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service-detail {
  background: #fff;
  border: 3px solid #007BFF;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-detail h3 {
  font-weight: bold;
  color: #007BFF;
  margin-bottom: 10px;
}

/* ============================================
   SECTORS PAGE
   ============================================ */

.sectors-container {
  max-width: 1000px;
  margin: 0 auto;
}

.sector-card {
  background-color: #fff;
  border: 2px solid #007BFF;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 3px 10px rgba(0,0,0,0.1);
  border-radius: 5px;
  text-align: left;
}

.sector-card h2 {
  color: #007BFF;
  margin-top: 0;
  margin-bottom: 15px;
}

.sector-card ul {
  margin-top: 10px;
  padding-left: 20px;
}

.sector-card ul li {
  margin-bottom: 5px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 30px;
}

.contact-box {
  flex: 1;
  min-width: 300px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 15px;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.contact-box button[type="submit"] {
  background: #0056b3;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

.contact-box button[type="submit"]:hover {
  background: #003f82;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.contact-item i {
  color: #0056b3;
  font-size: 18px;
}

.form-message {
  margin-top: 10px;
  font-weight: bold;
  text-align: center;
}

/* Map */
.map-box {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.map-box iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--primary-dark);
  color: var(--light-text);
  padding: 40px 20px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.footer-section h3 {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 10px;
  line-height: 1.2;
}

.footer-section p {
  font-size: 0.95rem;
  color: #ccc;
  margin: 0;
  line-height: 1.5;
}

.footer-section.links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section.links ul li {
  margin-bottom: 8px;
}

.footer-section.links ul li a {
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section.links ul li a:hover {
  color: var(--secondary);
}

.footer-section.social .social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-section.social .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section.social .social-links a.facebook { background-color: #1877F2; }
.footer-section.social .social-links a.twitter { background-color: #1DA1F2; }
.footer-section.social .social-links a.linkedin { background-color: #0A66C2; }

.footer-section.social .social-links a:hover {
  filter: brightness(1.2);
  transform: translateY(-3px);
}

.newsletter form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 10px;
  border-radius: 4px;
  border: none;
  outline: none;
}

.newsletter button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  background-color: var(--secondary);
  color: #0B3D91;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter button:hover {
  background-color: #e6c200;
}

.newsletter .message {
  margin-top: 10px;
  color: #00FF00;
  font-weight: bold;
  display: none;
}

.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom .yangcom-link {
  color: #ffd700;
  text-decoration: none;
  font-weight: bold;
}

.footer-bottom .yangcom-link:hover {
  color: #e6c200;
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: var(--box-shadow);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background: #1ebd5a;
  transform: scale(1.1);
}

/* ============================================
   MODALS / LIGHTBOXES
   ============================================ */

.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;
  overflow-y: auto;
  padding: 20px;
  z-index: 9999;
}

.overlay.show {
  display: flex;
}

.lightbox-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-align: left;
}

.close-btn {
  float: right;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  border: none;
  background: transparent;
  cursor: pointer;
}

.close-btn:hover {
  color: #004aad;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-component {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.faq-title {
  text-align: center;
  color: #003366;
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: bold;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.faq-item {
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: #004080;
  color: #fff;
  border: none;
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.2rem;
}

.faq-question.active::after {
  content: '−';
}

.faq-question:hover {
  background: #0059b3;
}

.faq-answer {
  display: none;
  padding: 15px 20px;
  background: #ffffff;
  color: #333;
  border-top: 1px solid #ddd;
  line-height: 1.6;
  text-align: left;
}

.faq-answer.show {
  display: block;
}



.contact-info p {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: #0a7d3b;
  font-size: 18px;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}



.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  padding: 50px 20px;
}

.footer-section h3 {
  margin-bottom: 15px;
  color: #fff;
}

.footer-section p,
.footer-section a,
.footer-section li {
  color: #ccc;
  line-height: 1.8;
  text-decoration: none;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0a7d3b;
  color: #fff;
  transition: 0.3s;
}

.social-links a:hover {
  background: #065a2a;
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #ccc;
}

.yangcom-link {
  color: #0a7d3b;
}


.experience-card {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  box-shadow: none;
  border: none;
}

.experience-box {
  background: #ffffff;
  border: 3px solid #007bff;
  border-radius: 15px;
  padding: 25px 35px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
}

.years-counter {
  font-size: 4rem;
  font-weight: 700;
  color: #007bff;
  line-height: 1;
  margin-bottom: 10px;
}

.years-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
}


/* Hidden content */
.hidden-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s ease;
  margin-top: 0;
}

/* Show content when active */
.hidden-content.show {
  max-height: 1000px;
  opacity: 1;
  margin-top: 15px;
}

/* See More Button */
.see-more-btn {
  background-color: blue;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s ease;
}

.see-more-btn:hover {
  background-color: #0047b3;
}



/* Blue title container */
.section-title-box {
  background: linear-gradient(135deg, #0056d6, #007bff);
  padding: 18px 25px;
  border-left: 6px solid #00c6ff;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.section-title-box h2 {
  color: white;
  margin: 0;
  font-size: 2.5rem;
  text-align:center;
  font-weight: 700;
  letter-spacing: 1px;
}
.section-title-box h3 {
  color: white;
  margin: 0;
  font-size: 1.0rem;
  text-align:center;
  font-weight: normal;
  letter-spacing: 1px;
}


/* TOP BAR */
.top-bar {
  background: green;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 6%;
  font-size: 14px;
}

/* Left Side */
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-left a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Right Side */
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-right a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

   .top-bar {
    flex-direction: row; /* keep both sides on same line */
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 10px 4%;
  }

  .top-bar-left {
    display: flex;
    flex-direction: straight-line; /* phone & email stack */
    align-items: flex-start;
    gap: 5px;
  }

  .top-bar-right {
    display: flex;
    flex-direction: row; /* icons remain in straight line */
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
  }

  .top-bar-right a {
    font-size: 15px;
  }
}