body {
    margin:0;
    font-family: Poppins, Roboto;
    color: #4A3E2C;
}

/* NAVBAR CONTAINER */
.topbar {
  background: #fdfaf6;              /* soft off‑white background */
  border-bottom: 1px solid #e0d5c6; /* subtle warm border */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}


.logo {
  display: flex;            /* align image + text side by side */
  align-items: center;      /* vertical centering */
  font-size: 20px;
  font-weight: 600;
  color: #8b5a2b;
}

.logo img {
  height: 80px;             /* adjust logo size */
  margin-right: 10px;       /* spacing between image and text */
}

.logo a {
  color: #8B5C2E;           /* warm brown */
  text-decoration: none;    /* remove underline */
  font-weight: 600;
  display: flex;            /* keep image + text together */
  align-items: center;
}

.logo a:hover {
  color: #8B5C2E;           /* same as normal */
  text-decoration: none;    /* prevent underline on hover */
}



/* NAV MENU */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
  max-height: none;
  opacity: 1;
  overflow: visible;
}

.nav-menu.show {
  max-height: 500px;                /* adjust as needed */
  opacity: 1;
}

/* NAV LINKS */
.nav-menu a {
  text-decoration: none;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
} /* FIXED closing brace */




/* ===== NAV LINKS & DROPDOWN PARENT ===== */
.nav-link,
.dropbtn {
  background: none;          /* no background */
  color: #8B5C2E;            /* warm brown text */
  padding: 0;                /* no extra padding */
  border: none;              /* no border */
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  display: inline-block;
  text-decoration: none;     /* no underline by default */
  cursor: pointer;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

/* Hover: underline only */
.nav-link:hover,
.dropbtn:hover {
  color: #a06b38;            /* subtle color change */
  text-decoration: underline;
  background: none;          /* ensure no background */
  box-shadow: none;
  transform: none;
}

/* ===== DROPDOWN ===== */
.dropdown {
  position: relative;
}

.arrow {
  font-size: 12px;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropbtn .arrow {
  text-decoration: none;   /* prevent underline on arrow */
  display: inline-block;   /* ensures underline doesn’t propagate */
}

/* Dropdown content (unchanged) */
.dropdown-content {
  position: absolute;
  top: 100%; /* directly below parent */
  left: 0;
  background: #fff;
  border-radius: 8px;
  min-width: 170px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 12px 16px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
  background: #f5eee6;
  color: #8B5C2E;
}

/* ===== CONTACT BUTTON (special style) ===== */
.contact-btn {
  background: #8B5C2E;
  color: #fff !important;
  margin-left: 25px;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background: #704214;
}

/* Toggle button for mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #8B5C2E;
}



/* Hero */
.hero {
    background: #F6E9D7;
    padding: 15px 0;
    text-align: center;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    justify-items: center;
}
.hero-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Contact Hero */
.contact-hero {
    padding: 0;
    margin-bottom: 40px;
}
.contact-hero-grid {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 3158px;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    overflow: hidden;
}
.contact-hero-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.contact-hero-grid > div:first-child {
    position: relative;
    z-index: 2;
    color: white;
    padding: 40px;
    text-align: center;
}
.contact-hero-grid > div:first-child h2 {
    margin: 0 0 15px 0;
    font-size: 48px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
.contact-hero-grid > div:first-child p {
    margin: 0;
    font-size: 18px;
    max-width: 600px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}
.contact-hero-grid > div:last-child {
    display: none;
}

/* Buttons */
.btn {
    background: #8B5C2E;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    background: #7a4f27;
}
.btn.light {
    background: white;
    color: #8B5C2E;
    border: 1px solid #8B5C2E;
}
.btn.light:hover {
    background: #f5f0eb;
    color: #6f4520;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}





/* Areas */
.areas {
    text-align:center;
    padding:40px 0;
}
.cards {
    display: flex;
    flex-wrap: wrap;          /* allow wrapping to new lines */
    gap: 20px;                /* spacing between cards */
    justify-content: center;  /* center cards in the row */
    margin-top: 30px;
}
.card {
    flex: 1 1 250px;          /* minimum width 250px, grows as space allows */
    max-width: 300px;         /* prevent cards from stretching too wide */
    background: rgb(255, 206, 141); /* warm card background */
    text-align: center;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth hover */
}
/* Hover effect */
.card:hover {
    transform: translateY(-8px); /* lift the card slightly */
    box-shadow: 0 6px 16px rgba(0,0,0,0.15); /* deeper shadow */
}
/* Mission */
.mission {
    text-align:center;
    padding:70px 0;
    background:#F5F5F5;
}
/* Footer */
.footer {
    background:#8B5C2E; /* 3 columns on desktop */
    color:white;
    gap: 20px;
    padding: 40px 0;
}
.footer-grid {
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
}
.footer a {
    color:white;
    text-decoration:none;
}
.copy {
  background-color: #f4f4f4;   /* change to any color you like */
  color: #333;              /* text color for contrast */
  text-align: center;       /* center the text */
  padding: 10px 0;          /* spacing above/below */
  margin: 0;                /* remove default margins */
}

/* Container helper */
.container {
    width:90%;
    max-width:1200px;
    margin:auto;
}
.page-header {
    text-align: center;
    padding: 60px 0 20px;
}
.page-header p {
    margin-top: 8px;
    color: #6c5438;
}
.about-flex {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 50px;
}
.about-photo img {
    width: 380px;
    border-radius: 12px;
}
.about-content {
    width: 60%;
    line-height: 1.7;
}
.sub-title {
    color: #b07a3c;
    margin-bottom: 15px;
    font-weight: 600;
}

/* EXPERTISE SECTION */
.expertise-section {
    background: rgb(255, 206, 141); /* warm background */
    padding: 60px 0;
    text-align: center;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* responsive */
    gap: 20px;
    margin-top: 30px;
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-grid span {
    background: #fff; /* clean card look */
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e0d5c6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for expertise items */
.expertise-grid span:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}


/* ABOUT PAGE  */
.about-wrap {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
.page-title {
    font-size: 30px;
    text-align: center;
    margin-bottom: 5px;
    color: #8B5C2E;
}

.page-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}


.about-section {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.left-img img {
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
}

/* Founder Section */
.founder-section {
  background: #f6efe7;              /* soft beige background */
  padding: 60px 20px;
  transition: background-color 0.4s ease; /* smooth hover transition */
}

.founder-section:hover {
  background: #fdfaf6;              /* lighter shade on hover */
}

/* Layout */
.about-section {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.center-img img {
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.center-img img:hover {
  transform: scale(1.03);           /* subtle zoom on hover */
  box-shadow: 0 16px 45px rgba(0,0,0,0.12);
}

.right-content h2 {
  font-size: 26px;
  color: #8b5a2b;
  margin-bottom: 8px;
}

.right-content h4 {
  font-size: 18px;
  color: #4a3e2c;
  margin-bottom: 20px;
}

.right-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #5d4a38;
  margin-bottom: 16px;
}

/* EXPERTISE */

.expert-section {
    margin: auto;
    width: 90%;
    max-width: 1200px;
    text-align: center;
}

.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Company BOX */


.company-section {
    width: 90%;
    max-width: 900px;
    margin: 80px auto;
    line-height: 1.7;
    background-color: #f6efe7;   /* soft beige background for the whole section */
    padding: 40px;               /* add padding so text doesn’t touch edges */
    border-radius: 12px;         /* optional: rounded corners for section */
}

.values-box {
    margin-top: 40px;
    background-color: #fffaf3;   /* lighter contrasting background for values box */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05); /* subtle shadow to lift it */
}

.values-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.values-box ul {
    margin: 0;
    padding-left: 20px;
}




/* IMPACT PAGES  */

/* ===========================
  IMPACT – PROJECTS PAGE
=========================== */

.impact-hero {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px;
    background: #fdfaf6;
}

.impact-hero h1 {
    text-align: center;
    font-size: 30px;
    color: #8b5a2b;
    margin-bottom: 10px;
}

.impact-hero p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 16px;
    line-height: 1.75;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: auto;
}

.project-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    border: 1px solid #efe3d5;
    box-shadow: 0 12px 35px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f2e6d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 15px;
}

.project-card h3 {
    font-size: 16px;
    color: #4a2e1a;
    margin-bottom: 8px;
}

.tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.tag {
    background: #c89b6d;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
}

.year {
    border: 1px solid #d8c4ae;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    color: #8b5a2b;
}

.project-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* PUBLICATION */

.publication-section {
  padding: 40px 20px;
  background: #fdfaf6;
}

.publication-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.publication-block {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #efe3d5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    position: relative;
    cursor: pointer;

    /* smooth animation */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publication-block a {
    position: absolute;
    inset: 0;
    z-index: 1;
}
/* hover effect (no color change) */
.publication-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* prevent text color change */
.publication-block:hover p,
.publication-block:hover strong {
    color: inherit;
}

.book-cover img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.author-info h2 {
  margin-top: 0;
  color: #8B5C2E;
}

.badges {
  margin: 10px 0;
}

.badge {
  display: inline-block;
  background: #8B5C2E;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 13px;
  margin-right: 8px;
}

.italic {
  font-style: italic;
  color: #4A3E2C;
  margin-top: 10px;
}

.author-img {
  text-align: center;       /* center the image */
  margin-bottom: 15px;
}

.author-img img {
  width: 150px;             /* fixed width */
  height: auto; /* auto height keeps 2:3 ratio */
  aspect-ratio: 2 / 3; /* enforce portrait ratio */  
  object-fit: cover;        /* crop/fit image neatly */
  border-radius: 6px;       /* makes it circular */
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-img img:hover {
  transform: scale(1.05);   /* subtle zoom on hover */
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


/* RESEARCH SECTION */

.research-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: auto;
}

.research-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid #efe3d5;
    box-shadow: 0 12px 35px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.research-card h3 {
    margin-top: 0;
    color: #8b5a2b;
}

.research-card h4 {
    margin-bottom: 8px;
    font-size: 15px;
    color: #6a4a2a;
}

.research-card p {
    font-size: 14px;
    line-height: 1.6;
}

.research-card ul {
    padding-left: 18px;
    columns: 2;
    font-size: 14px;
}

.research-card ul li {
    margin-bottom: 6px;
}

/* END IMPACT PAGES */

/* OUTLOOK PAGES */

/* ---------- MEDIA GRID ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: auto;
}


.media-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #efe3d5;
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.media-card .icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f2e6d9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 15px;
}

.media-card h3 {
  font-size: 16px;
  color: #4a2e1a;
  margin-bottom: 8px;
}

.media-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.media-card .tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.media-card .tag {
  background: #c89b6d;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
}


/* ---------- PHILOSOPHY ---------- */
.philosophy {
  background: linear-gradient(to bottom, #f6efe7, #fdfaf6);
  padding: 80px 20px;
  text-align: center;
  border-top: 1px solid #e9dccc;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.03);
}

.philosophy h2 {
  font-size: 24px;
  color: #8b5a2b;
  margin-bottom: 28px;
  font-weight: 600;
}

.philosophy p {
  max-width: 900px;
  margin: 14px auto;
  font-size: 15px;
  line-height: 1.8;
  color: #5e4a38;
}


/* ---------- VISION ---------- */

.vision-box {
    max-width: 900px;
    margin: 0 auto 30px;
    background: #f3e7d8;
    padding: 45px 50px;
    border-radius: 14px;
    text-align: center;
}

.vision-box h2 {
    color: #8b5a2b;
    margin-bottom: 20px;
}

.vision-box p {
    font-size: 14px;
    line-height: 1.8;
    color: #5b4633;
}

/* ---------- PILLARS ---------- */

.pillars {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px 80px;
    text-align: center;
}

.pillars h3 {
    color: #8b5a2b;
    margin-bottom: 40px;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}

.pillar-card {
    background: #fff;
    border: 1px solid #efe3d5;
    border-radius: 14px;
    padding: 30px;
    text-align: left;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.pillar-card h4 {
    color: #8b5a2b;
    margin: 10px 0;
}

.pillar-card p {
    font-size: 13.5px;
    line-height: 1.7;
    color: #5d4a38;
}

/* ---------- FUTURE ---------- */

.future {
    background: #fbf7f2;
    padding: 70px 20px 90px;
}

.future h3 {
    text-align: center;
    color: #8b5a2b;
    margin-bottom: 40px;
}

.future-content {
    max-width: 900px;
    margin: auto;
}

.future-content h4 {
    margin-top: 26px;
    color: #7a4f26;
}

.future-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #5e4a38;
}
/* END OUTLOOK PAGES */


/* CONTACT PAGE */

/* Contact section wrapper */
.contact-section {
  width: 90%;
  max-width: 1200px;
  margin: 60px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

/* Contact form styling */
.contact-form {
  flex: 1 1 500px;
  background: #faf7ee;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-form h2 {
  margin-top: 0;
  color: #8B5C2E;
  margin-bottom: 10px;
}

.contact-form p {
  margin-bottom: 20px;
  color: #4A3E2C;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #4A3E2C;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 15px;
  font-family: inherit;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
}

/* Popup overlay */
.popup {
  display: none; /* hidden by default */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease; /* smooth fade */
}

.popup.show {
  display: flex;
  opacity: 1;
}

/* Popup box */
.popup-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  position: relative;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 22px;
  cursor: pointer;
  color: #666;
}
.close-btn:hover {
  color: #000;
}



/* Contact info styling */


.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e0d5c6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  flex: 1 1 300px;
}

.contact-block {
  background: #faf7ee;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.contact-block h2 {
  color: #8B5C2E;
  margin-bottom: 12px;
  font-size: 18px;
}

.contact-block p,
.contact-block ul {
  color: #4A3E2C;
  font-size: 15px;
  line-height: 1.6;
}

.contact-block ul {
  padding-left: 20px;
}

.contact-block ul li {
  margin-bottom: 6px;
}



/* FAQ section */
.faq-section {
    background: #F5F5F5;
    padding: 60px 0;
}

.faq-section h2 {
    text-align: center;
    color: #8B5C2E;
    margin-bottom: 30px;
}

.faq-section ul {
    max-width: 900px;
    margin: 0 auto;
    padding-left: 20px;
    line-height: 1.7;
    color: #4A3E2C;
}

.faq-section li {
    margin-bottom: 12px;
    position: relative;
}

.faq-section li::before {
    content: "•";
    color: #8B5C2E;
    font-weight: bold;
    position: absolute;
    left: -15px;
}
/* FAQ Accordion */
.faq-item {
  margin-bottom: 20px;
  border: 1px solid #e0d5c6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: #fff;
  color: #4A3E2C;
  font-weight: 600;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5eee6;
}

.faq-answer {
  display: none;
  padding: 16px;
  background: #faf7ee;
  color: #4A3E2C;
  line-height: 1.6;
}

/* Active state */
.faq-item.active .faq-answer {
  display: block;
}
/* END CONTACT PAGE */

/* PRIVACY POLICY PAGE */

.policy-section {
    padding: 60px 20px;
    background: #fffaf4;
}

.policy-box {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.policy-box h3 {
    margin-top: 30px;
    color: #8b5a2b;
}

.policy-box ul {
    padding-left: 20px;
}

.policy-box li {
    margin-bottom: 8px;
}

/* END PRIVACY POLICY PAGE */

/* Gallery Page */

.page-hero {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ================= GALLERY FILTERS ================= */

.gallery-filters {
    text-align: center;
    margin: 0 0 5px;
}

.filter-btn {
    background: #f2e0be;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #704214;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #704214;
    color: #ffffff;
}

/* ================= GALLERY ================= */

.gallery-section {
    padding: 40px 20px 70px;
    background: #fffaf4;
}

.gallery-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.gallery-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    cursor: pointer;
    max-width: 220px; 
    margin: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.12);
}

.gallery-card img {
    width: 220px; 
    height: 220px; 
    aspect-ratio: 1 / 1; /* ensures square shape */ 
    object-fit: cover; /* crops to fill square */ 
    display: block; 
    margin: auto; /* centers image if needed */ 
    border-radius: 12px; /* optional: keep rounded corners */
}

.gallery-card h4 {
    padding: 16px;
    font-size: 15px;
    color: #704214;
    text-align: center;
}

/* ================= LIGHTBOX ================= */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

.lightbox img {
    max-width: 220px;
    max-height: 220px;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    border-radius: 12px;
}

.lightbox-caption {
    color: #fff;
    margin-top: 15px;
    font-size: 16px;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 34px;
    color: #fff;
    cursor: pointer;
}

/* END GALLERY PAGE */

/*Mobile Responsiveness*/

/* ===========================
  GLOBAL MOBILE OVERRIDES
   =========================== */
@media (max-width: 768px) {

  /* Stack logo + toggle + menu */
  .nav-container {
    flex-direction: column;
    align-items: stretch;
  }

  /* Hamburger toggle button */
  .nav-toggle {
    display: block;
    margin-left: auto;
    margin-right: 10px;
    font-size: 28px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
    color: #8B5C2E;
  }

  /* Collapsible nav menu */
  .nav-menu {
    flex-direction: column;
    width: 100%;
    max-height: 0;
    opacity: 0;
    align-items: left;
    overflow: hidden;
    overflow-y: auto;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }

  .nav-menu.show {
    max-height: 600px;
    padding: 20px 0;
    opacity: 1;
    overflow-y: auto;
  }

  /* Nav links and dropdown triggers */
/* Contact button (special case) */ 
  .nav-menu a.contact-btn { 
    text-align: center; /* ✅ center text */ 
    margin-top: 10px; 
    padding: 14px; /* ✅ larger padding for button look */ 
    background-color: #8B5C2E !important; 
    color: #fff !important; 
    font-weight: 600; 
    border-radius: 6px; 
    text-decoration: none; 
    border-bottom: none; /* ✅ remove divider line */ 
  }

  /* Nav links (general) */ 
.nav-menu a {
  display: block !important;
  width: 100%;
  text-align: left;
  margin-bottom: 1px;
  background: transparent;
  color: #8B5C2E;
  padding: 0;
  font-size: 16px; 
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
}


  .dropbtn { 
    display: flex; 
    justify-content: space-between; 
    align-items: left;
    text-align: left;
    width: 100%; 
    padding: 0; 
    margin: 0; 
    font-size: 16px; 
    font-weight: 500; 
    border-bottom: 1px solid #e0d5c6; 
    background: none; 
    color: #8B5C2E; 
    border: none; 
    cursor: pointer;
  }

  /* Dropdown wrapper */
  .dropdown {
    text-align: left;
    width: 100%;
    position: relative;
  }


  /* Dropdown content styling */
  .dropdown-content {
    position: static;
    background: #f5eee6;
    padding-left: 30px;
    gap: 20px;
    font-size: 16px; 
    font-weight: 500; 
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }


  /* Dropdown opens when .open class is added */
  .dropdown.open .dropdown-content {
    opacity: 1;
    visibility: visible;
    gap: 20px;
    max-height: 600px;
  }

  /* Arrow styling and rotation */
  .arrow {
    margin-left: 10px;
    font-size: 12px;
    transition: transform 0.3s ease;
  }

  .dropdown.open .arrow {
    transform: rotate(180deg);
  }

  .dropbtn .arrow {
    text-decoration: none;   /* prevent underline on arrow */
    display: inline-block;   /* ensures underline doesn’t propagate */
  }

  /* Contact button full width */
  .contact-btn {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    display: block;
    background-color: #8B5C2E;
    color: #fff !important;
    padding: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
  }


  /* Collapse grids into single column */
  .projects-grid,
  .publication-grid,
  .research-section,
  .media-grid,
  .pillar-grid {
    grid-template-columns: 1fr;
  }

  /* Hero section */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* About & Founder sections */
  .about-section {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .about-content {
    width: 100%;
  }

  .center-img img {
    max-width: 90%;
  }

  /* Footer collapses to single column */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  /* Contact section */
  .contact-section {
    flex-direction: column;
  }

  /* General spacing adjustments */
  .mission,
  .expert-section,
  .company-section,
  .future,
  .policy-section,
  .gallery-section,
  .faq-section {
    padding: 3px 1.5px;
  }
}




/* FOOTER ENHANCEMENTS */

/* Social icons */
.social-icons {
  margin-top: 10px;
  display: flex;
  gap: 15px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  filter: grayscale(100%);
}

.social-icons img:hover {
  transform: scale(1.2);
  filter: none;
}