/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #2c3e2f;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #1f3b2c;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #d4e2d0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.logo a {
  font-size: 26px;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  color: #2b6e3c;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span {
  color: #e6b422;
  font-weight: 700;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: #2c3e2f;
  font-weight: 600;
  font-size: 15px;
  transition: 0.2s;
}
.nav-links a:hover {
  color: #e6b422;
}
.nav-links .dropdown {
  position: relative;
}
.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 12px 0;
  list-style: none;
  z-index: 100;
}
.nav-links .dropdown:hover .dropdown-menu {
  display: block;
}
.nav-links .dropdown-menu a {
  display: block;
  padding: 8px 24px;
  color: #2c3e2f;
  font-weight: 500;
  font-size: 14px;
}
.nav-links .dropdown-menu a:hover {
  background: #f5faf3;
  color: #2b6e3c;
}
.mobile-menu-btn {
  display: none;
  font-size: 28px;
  color: #2b6e3c;
  cursor: pointer;
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-outline {
  border-radius: 60px !important;
  display: inline-block;
  padding: 12px 32px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
}
.btn-primary {
  background-color: #2b6e3c;
  color: white;
  border: none;
}
.btn-primary:hover {
  background-color: #1f532d;
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid #2b6e3c;
  background: transparent;
  color: #2b6e3c;
}
.btn-outline:hover {
  background-color: #2b6e3c;
  color: white;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: transform 8s ease-out, opacity 1.8s ease-in-out;
  z-index: 0;
}
.hero-slider .slide.active {
  opacity: 1;
  transform: scale(1.08);
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 55%;
  padding-left: 8%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.hero-title {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
  margin-bottom: 24px;
  color: white;
}
.hero-sub {
  font-size: 18px;
  margin-bottom: 32px;
  color: #f0f0f0;
  max-width: 90%;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
  padding: 90px 0;
}
.section-light {
  background-color: #ffffff;
  color: #3a5e3f;
}
.section-light h2, .section-light h3 {
  color: #1f3b2c;
}
.section-title-small {
  font-size: 14px;
  letter-spacing: 4px;
  color: #e6b422;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
  font-weight: 600;
}
.section-title-large {
  font-size: 44px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

/* ===== QUOTES ===== */
.huge-quote {
  font-size: 48px;
  line-height: 1.2;
  text-align: center;
  font-family: 'Playfair Display', serif;
  margin: 40px 0;
}
.logo-slider {
  margin-top: 70px;
  overflow: hidden;
  width: 100%;
}
.quote-track {
  display: flex;
  gap: 40px;
  animation: scrollQuotes 30s linear infinite;
  width: max-content;
}
.quote-card {
  background: #f5faf3;
  border-left: 6px solid #e6b422;
  padding: 28px 32px;
  width: 380px;
  border-radius: 24px;
  box-shadow: 0 12px 20px rgba(0,0,0,0.03);
}
.quote-card p {
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  color: #1e3a2a;
  margin-bottom: 12px;
}
.quote-card .author {
  font-weight: 700;
  color: #e6b422;
  font-size: 16px;
}
@keyframes scrollQuotes {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== RESULTS ===== */
.results-wrapper {
  display: flex;
  gap: 48px;
  margin-top: 40px;
}
.timeline-years {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 180px;
}
.year-capsule {
  background: #eef3ec;
  border-radius: 60px;
  padding: 12px 0;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: #3a5e3f;
  cursor: pointer;
  transition: 0.2s;
  border: none;
}
.year-capsule.active {
  background: #2b6e3c;
  color: white;
  box-shadow: 0 6px 12px rgba(43,110,60,0.2);
}
.results-slider-area {
  flex: 3;
  overflow: hidden;
}
.student-card {
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 20px 30px -12px rgba(0,0,0,0.08);
  margin: 0 12px;
  transition: 0.3s;
  text-align: center;
  padding-bottom: 20px;
}
.student-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 28px 28px 20px 20px;
}
.student-name {
  font-size: 22px;
  font-weight: 700;
  margin-top: 16px;
  color: #1f3b2c;
}
.student-score {
  font-size: 28px;
  font-weight: 800;
  color: #e6b422;
  margin: 8px 0 16px;
}

/* ===== COLLAGE ===== */
.collage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  grid-auto-rows: minmax(180px, auto);
}
.collage-item {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
  background: #f9f9f9;
}
.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}
.collage-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.collage-item:hover img {
  transform: scale(1.03);
}
.item-tall {
  grid-row: span 2;
}
.item-wide {
  grid-column: span 2;
}

/* ===== STATS ===== */
.stats-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 40px;
}
.stat-card {
  flex: 1;
  background: #f8fbf6;
  padding: 40px 20px;
  border-radius: 48px;
  min-width: 160px;
}
.stat-number {
  font-size: 58px;
  font-weight: 800;
  color: #2b6e3c;
  font-family: 'Playfair Display', serif;
}
.stat-label {
  font-size: 18px;
  font-weight: 500;
  color: #5a7c5e;
  margin-top: 12px;
}

/* ===== SPLIT LAYOUT ===== */
.split-layout {
  display: flex;
  gap: 60px;
  align-items: stretch;
}
.split-left {
  flex: 1;
  background: #eef5ea;
  border-radius: 32px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-right {
  flex: 1;
  background: #1f2e20;
  padding: 48px;
  border-radius: 32px;
  color: #e4e9e2;
}
.split-right h3 {
  color: #e6b422;
}

/* ===== ABOUT PAGE ===== */
.hero-about {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-about .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-about .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  z-index: 1;
}
.hero-about .hero-content {
  position: relative;
  z-index: 2;
  width: 55%;
  padding-left: 8%;
  color: white;
}
.hero-about .hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
  color: white;
}
.hero-about .hero-sub {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 80%;
}
.vision-text {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  font-size: 18px;
}

/* Message Wrapper */
.message-wrapper {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin-top: 20px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.08);
  background: #f8fbf6;
}
.message-wrapper.reverse {
  flex-direction: row-reverse;
}
.message-image {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  background: #1f3b2c;
}
.message-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.message-image .image-frame {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  pointer-events: none;
}
.message-image .image-frame .corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: #e6b422;
  border-style: solid;
  border-width: 0;
}
.message-image .image-frame .corner.tl { top: 10px; left: 10px; border-top-width: 3px; border-left-width: 3px; }
.message-image .image-frame .corner.tr { top: 10px; right: 10px; border-top-width: 3px; border-right-width: 3px; }
.message-image .image-frame .corner.bl { bottom: 10px; left: 10px; border-bottom-width: 3px; border-left-width: 3px; }
.message-image .image-frame .corner.br { bottom: 10px; right: 10px; border-bottom-width: 3px; border-right-width: 3px; }
.message-image .designation-overlay {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  padding: 20px 24px;
  border-radius: 16px;
  border-left: 4px solid #e6b422;
}
.message-image .designation-overlay .name {
  font-size: 24px;
  font-weight: 700;
  color: white;
  font-family: 'Playfair Display', serif;
}
.message-image .designation-overlay .title {
  font-size: 15px;
  color: #e6b422;
  font-weight: 500;
}
.message-text {
  flex: 0 0 50%;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.message-text h2 {
  font-size: 38px;
  margin-bottom: 20px;
}
.message-text p {
  font-size: 17px;
  margin-bottom: 16px;
  color: #3a5e3f;
  line-height: 1.8;
}

/* Boarding Grid */
.boarding-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.boarding-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: 0.3s;
}
.boarding-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}
.boarding-card img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
}
.boarding-card .caption {
  padding: 16px;
  text-align: center;
  font-weight: 600;
  color: #1f3b2c;
  background: #f8fbf6;
}

/* ===== CONTACT PAGE ===== */
.hero-contact {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-contact .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-contact .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  z-index: 1;
}
.hero-contact .hero-content {
  position: relative;
  z-index: 2;
  width: 55%;
  padding-left: 8%;
  color: white;
}
.hero-contact .hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
  color: white;
}
.hero-contact .hero-sub {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 80%;
}

.contact-wrapper {
  display: flex;
  gap: 40px;
  align-items: stretch;
}
.contact-info {
  flex: 1;
  background: #f8fbf6;
  border-radius: 32px;
  padding: 48px 40px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.contact-info h3 {
  font-size: 32px;
  margin-bottom: 8px;
}
.contact-info .sub-heading {
  font-size: 16px;
  color: #5a7c5e;
  margin-bottom: 32px;
}
.contact-info .sub-heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #e6b422;
  margin-top: 12px;
  border-radius: 4px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
  padding: 14px 18px;
  border-radius: 16px;
  transition: 0.3s;
  cursor: pointer;
}
.contact-item:hover {
  background: white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateX(4px);
}
.contact-item .icon-box {
  flex: 0 0 48px;
  height: 48px;
  background: #eef3ec;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2b6e3c;
  font-size: 20px;
  transition: 0.3s;
}
.contact-item:hover .icon-box {
  background: #2b6e3c;
  color: white;
}
.contact-item .details {
  flex: 1;
}
.contact-item .details .label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a8bcaa;
  margin-bottom: 2px;
}
.contact-item .details .value {
  font-size: 17px;
  font-weight: 500;
  color: #1f3b2c;
}
.contact-item .details .value a {
  color: #1f3b2c;
  text-decoration: none;
  transition: 0.2s;
}
.contact-item .details .value a:hover {
  color: #2b6e3c;
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid #eef3ec;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 12px;
  color: #5a7c5e;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s;
  border: 1px solid #eef3ec;
}
.social-links a:hover {
  background: #2b6e3c;
  color: white;
  transform: translateY(-3px);
  border-color: #2b6e3c;
  box-shadow: 0 6px 16px rgba(43,110,60,0.15);
}
.contact-form-wrapper {
  flex: 1;
  background: white;
  border-radius: 32px;
  padding: 48px 40px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1);
  border: 1px solid #eef3ec;
}
.contact-form-wrapper h3 {
  font-size: 28px;
  margin-bottom: 8px;
}
.contact-form-wrapper .form-sub {
  font-size: 15px;
  color: #5a7c5e;
  margin-bottom: 28px;
}
.contact-form-wrapper .form-sub::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #e6b422;
  margin-top: 10px;
  border-radius: 4px;
}
.form-group {
  margin-bottom: 22px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #2c3e2f;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.form-group label .required {
  color: #e74c3c;
  margin-left: 2px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #eef3ec;
  border-radius: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #1f3b2c;
  transition: 0.3s;
  background: #fafcfa;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #2b6e3c;
  background: white;
  box-shadow: 0 0 0 4px rgba(43,110,60,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a8bcaa;
}
.form-group textarea {
  min-height: 130px;
  resize: vertical;
}
.submit-btn {
  background: #2b6e3c;
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 60px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
}
.submit-btn:hover {
  background: #1f532d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43,110,60,0.3);
}

/* ===== GALLERY PAGE ===== */
.hero-gallery {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-gallery .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-gallery .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  z-index: 1;
}
.hero-gallery .hero-content {
  position: relative;
  z-index: 2;
  width: 55%;
  padding-left: 8%;
  color: white;
}
.hero-gallery .hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
  color: white;
}
.hero-gallery .hero-sub {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 80%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  grid-auto-rows: minmax(200px, auto);
}
.gallery-item {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
  background: #f9f9f9;
  transition: 0.4s;
  cursor: pointer;
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.4s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 20px 16px 14px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transition: 0.4s;
}
.gallery-item:hover .caption {
  opacity: 1;
}
.gallery-item.tall {
  grid-row: span 2;
}
.gallery-item.wide {
  grid-column: span 2;
}
.gallery-item.tall-wide {
  grid-row: span 2;
  grid-column: span 2;
}

/* ===== NAV DRAWER ===== */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: white;
  z-index: 2000;
  transition: 0.3s;
  padding: 80px 32px;
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}
.nav-drawer.active { right: 0; }
.nav-drawer ul { list-style: none; }
.nav-drawer li { margin-bottom: 28px; }
.nav-drawer a { color: #1f3b2c; text-decoration: none; font-weight: 600; font-size: 18px; }
.close-drawer { position: absolute; top: 20px; right: 24px; font-size: 28px; cursor: pointer; color: #2b6e3c; }

/* ===== FOOTER ===== */
.footer {
  background: #f5f5f0;
  padding: 36px 0 28px;
  text-align: center;
  border-top: 1px solid #dde4da;
  color: #5f7362;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-title { font-size: 44px; }
  .hero-content { width: 70%; }
  .section-title-large { font-size: 36px; }
  .huge-quote { font-size: 34px; }
  .results-wrapper { flex-direction: column; }
  .timeline-years { flex-direction: row; max-width: 100%; justify-content: center; flex-wrap: wrap; }
  .collage-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { flex-direction: column; }
  .hero-about .hero-title { font-size: 40px; }
  .hero-about .hero-content { width: 70%; }
  .message-wrapper { flex-direction: column; border-radius: 24px; }
  .message-wrapper.reverse { flex-direction: column; }
  .message-image { flex: 0 0 400px; min-height: 400px; }
  .message-text { flex: 1; padding: 40px 32px; }
  .message-text h2 { font-size: 32px; }
  .boarding-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-contact .hero-title { font-size: 40px; }
  .hero-contact .hero-content { width: 70%; }
  .contact-wrapper { flex-direction: column; }
  .contact-info, .contact-form-wrapper { padding: 36px 28px; }
  .hero-gallery .hero-title { font-size: 40px; }
  .hero-gallery .hero-content { width: 70%; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall-wide { grid-row: span 2; grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-content { width: 90%; padding-left: 20px; padding-top: 80px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6)); }
  .hero-buttons { flex-direction: column; align-items: center; gap: 16px; width: 100%; }
  .hero-buttons .btn-primary, .hero-buttons .btn-outline { width: 80%; }
  .split-layout { flex-direction: column; }
  .quote-card { width: 280px; padding: 20px; }
  .collage-grid { gap: 12px; }
  .year-capsule { font-size: 14px; padding: 8px 18px; }
  .hero-about .hero-content { width: 90%; padding-left: 20px; }
  .hero-about .hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6)); }
  .hero-about .hero-title { font-size: 32px; }
  .hero-about .hero-sub { max-width: 100%; font-size: 16px; }
  .section-title-large { font-size: 28px; }
  .message-image { flex: 0 0 320px; min-height: 320px; }
  .message-image .designation-overlay { left: 20px; right: 20px; bottom: 20px; padding: 16px 20px; }
  .message-image .designation-overlay .name { font-size: 20px; }
  .message-text { padding: 30px 24px; }
  .message-text h2 { font-size: 26px; }
  .boarding-grid { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .message-image .image-frame { top: 12px; left: 12px; right: 12px; bottom: 12px; }
  .message-image .image-frame .corner { width: 20px; height: 20px; }
  .hero-contact .hero-content { width: 90%; padding-left: 20px; }
  .hero-contact .hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6)); }
  .hero-contact .hero-title { font-size: 32px; }
  .hero-contact .hero-sub { max-width: 100%; font-size: 16px; }
  .section { padding: 60px 0; }
  .contact-info, .contact-form-wrapper { padding: 28px 20px; }
  .contact-info h3, .contact-form-wrapper h3 { font-size: 26px; }
  .contact-item { padding: 10px 12px; }
  .contact-item .icon-box { flex: 0 0 42px; height: 42px; font-size: 18px; }
  .contact-item .details .value { font-size: 15px; }
  .submit-btn { padding: 14px 28px; font-size: 14px; }
  .social-links a { width: 40px; height: 40px; font-size: 16px; }
  .hero-gallery .hero-content { width: 90%; padding-left: 20px; }
  .hero-gallery .hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6)); }
  .hero-gallery .hero-title { font-size: 32px; }
  .hero-gallery .hero-sub { max-width: 100%; font-size: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; grid-auto-rows: minmax(150px, auto); }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.tall-wide { grid-row: span 1; grid-column: span 1; }
  .gallery-item .caption { opacity: 1; font-size: 12px; padding: 12px 10px 10px; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); }
}