/* =========================================================
   OASIS TRUST — theme.css
   A heritage-school identity for Goalpara, Assam.
   Palette drawn from tea-garden greens, Assam terracotta
   brickwork and marigold — not a generic SaaS kit.
   ========================================================= */

:root{
  /* --- Color --- */
  --pine:        #1F4D3D;   /* primary: deep tea-garden green */
  --pine-dark:   #163A2D;
  --pine-tint:   #E4E9DE;   /* soft sage panel */
  --marigold:    #E2932F;   /* accent: warmth, festival gold */
  --marigold-dark:#B9711C;
  --terracotta:  #B5562F;   /* used sparingly: alerts / CTAs */
  --parchment:   #FAF6EC;   /* page background */
  --parchment-2: #F1EADA;   /* slightly deeper panel */
  --ink:         #201D18;   /* primary text */
  --ink-soft:    #58524A;   /* secondary text */
  --line:        #DED3BE;   /* hairline borders */
  --white:       #FFFFFF;

  /* --- Type --- */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body:    "Karla", -apple-system, "Segoe UI", sans-serif;

  --radius: 3px;
  --shadow-soft: 0 12px 30px -18px rgba(31, 77, 61, 0.35);
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--parchment);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6{
  font-family: var(--font-display);
  color: var(--pine-dark);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

p{ max-width: 68ch; }
.container p{ color: var(--ink-soft); }

a{ color: var(--pine); text-decoration: none; }
a:hover{ color: var(--marigold-dark); }

::selection{ background: var(--marigold); color: var(--white); }

:focus-visible{
  outline: 3px solid var(--marigold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   HEADER
   ========================================================= */
#header{
  background: var(--parchment);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

#header .logo{
  gap: 14px;
  padding: 10px 0;
}
#header .logo img{
  max-height: 54px;
  width: auto;
}
#header .logo span{
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--pine-dark);
  line-height: 1.1;
}
#header .logo div div{
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  margin-top: 2px !important;
}

.nav-bar-strip{
  background: var(--pine) !important;
}

#navbar{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  position: relative;
}
#navbar ul{
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#navbar ul li a.nav-link{
  display: block;
  padding: 15px 16px;
  color: var(--parchment) !important;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 3px solid transparent;
  transition: border-color .15s ease, opacity .15s ease;
}
#navbar ul li a.nav-link:hover{
  border-bottom-color: var(--marigold);
  opacity: .92;
}
#navbar ul li a.getstarted{
  margin-left: 6px;
  padding: 8px 16px !important;
  background: var(--marigold) !important;
  color: var(--pine-dark) !important;
  font-weight: 700;
  border-radius: var(--radius);
  font-size: 13.5px;
}
#navbar ul li a.getstarted:hover{
  background: var(--white) !important;
}

.mobile-nav-toggle{ display: none; color: var(--parchment); cursor: pointer; padding: 10px 4px; }
.mobile-nav-toggle svg{ display:block; }

@media (max-width: 991px){
  .mobile-nav-toggle{ display: inline-flex; }
}

@media (max-width: 991px){
  #navbar ul{
    position: absolute;
    inset: 62px 12px auto 12px;
    flex-direction: column;
    align-items: stretch;
    background: var(--pine-dark);
    padding: 8px;
    border-radius: var(--radius);
    display: none;
  }
  #navbar.nav-open ul{ display: flex; }
  #navbar ul li a.nav-link{ border-bottom: none; border-left: 3px solid transparent; }
  #navbar ul li a.nav-link:hover{ border-left-color: var(--marigold); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  height: 78vh;
  min-height: 460px;
  max-height: 720px;
  overflow: hidden;
  background: var(--pine-dark);
}
.hero .heroslide{
  position: absolute;
  inset: 0;
  height: 100%;
  margin: 0 !important;
  border-radius: 0 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease;
  background-size: cover;
  background-position: center;
}
.hero .heroslide.is-active{
  opacity: 1;
  visibility: visible;
}
.hero .heroslide::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(22,58,45,.55) 0%, rgba(22,58,45,.78) 100%);
}
.hero .white-overlay{
  position: relative;
  z-index: 2;
  background: transparent !important;
  max-width: 780px;
  text-align: left !important;
  align-items: flex-start !important;
  padding: 0 6vw !important;
}
.hero h1{
  color: var(--white) !important;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 600;
  margin-bottom: 14px;
}
.hero h2{
  color: var(--parchment) !important;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 46ch;
  opacity: .92;
}
.hero-tag{
  display:inline-block;
  color: var(--marigold);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 14px;
}

/* jumbotron background images reused as hero slide art */
.jumbotron1{ background-image: linear-gradient(0deg, rgba(22,58,45,.15), rgba(22,58,45,.15)), url('../img/t.jpg'); }
.jumbotron2{ background-image: linear-gradient(0deg, rgba(22,58,45,.15), rgba(22,58,45,.15)), url('../img/picnic.jpg'); }
.jumbotron3{ background-image: linear-gradient(0deg, rgba(22,58,45,.15), rgba(22,58,45,.15)), url('../img/yoga.jpeg'); }
.jumbotron4{ background-image: linear-gradient(0deg, rgba(22,58,45,.15), rgba(22,58,45,.15)), url('../img/final.jpeg'); }
.jumbotron5{ background-image: linear-gradient(0deg, rgba(22,58,45,.15), rgba(22,58,45,.15)), url('../img/c.jpg'); }
.jumbotron6{ background-image: linear-gradient(0deg, rgba(22,58,45,.15), rgba(22,58,45,.15)), url('../img/g.jpg'); }

/* =========================================================
   SECTIONS / GENERIC
   ========================================================= */
main#main{ overflow: hidden; }

section{ padding: 78px 0; }

.section-header{ max-width: 640px; margin: 0 0 42px; }
.section-header h2{ font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.section-header p{ color: var(--ink-soft); font-size: 1.05rem; }

.about .content h3{
  font-family: var(--font-body);
  color: var(--marigold-dark);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.about .content h2{ font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 18px; }
.about img{ border-radius: var(--radius); box-shadow: var(--shadow-soft); }

.btn-read-more{
  background: var(--pine) !important;
  color: var(--white) !important;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14.5px;
  transition: background .15s ease;
}
.btn-read-more:hover{ background: var(--pine-dark) !important; color: var(--white) !important; }

.values{ background: var(--pine-tint); }
.values .box{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 32px;
  height: 100%;
}
.values .box img{
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.values .box h3{ font-size: 1.25rem; margin-bottom: 10px; }
.values .box p{ color: var(--ink-soft); font-size: .96rem; }

/* buttons (bootstrap overrides) */
.btn-danger{
  background: var(--terracotta) !important;
  border-color: var(--terracotta) !important;
  border-radius: var(--radius) !important;
  font-weight: 700;
}
.btn-danger:hover{ background: var(--marigold-dark) !important; border-color: var(--marigold-dark) !important; }
.btn-outline-light{ border-radius: var(--radius) !important; border-width: 2px !important; }
.btn-outline-success{ border-radius: var(--radius) !important; }

.alert-warning{
  background: var(--pine-tint) !important;
  border: 1px solid var(--pine) !important;
  color: var(--pine-dark) !important;
  border-radius: var(--radius) !important;
}

/* Breadcrumbs / page headers */
.breadcrumbs{
  background: var(--pine-dark);
  padding: 46px 0 30px;
}
.breadcrumbs h2{ color: var(--white); margin: 0; font-size: clamp(1.5rem,3vw,2rem); }
.breadcrumbs ol{
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0; margin: 0 0 8px;
  font-size: 13.5px;
  color: var(--parchment);
  opacity: .8;
}
.breadcrumbs ol li:not(:last-child)::after{ content:"/"; margin-left: 8px; }
.breadcrumbs ol a{ color: var(--parchment); }

.inner-page .entry-content h1{ font-size: clamp(1.6rem,3vw,2.1rem); margin-top: 34px; }
.inner-page .entry-content h2{ font-size: 1.3rem; margin-top: 30px; color: var(--marigold-dark); }
.inner-page .entry-content p{ color: var(--ink-soft); }
.inner-page .entry-content ul{ color: var(--ink-soft); }

/* Cards used across about/services */
.card{
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: var(--white);
}
.card-header{
  background: var(--pine-tint) !important;
  border-bottom: 1px solid var(--line) !important;
}
.card-header h5{ margin: 0 0 2px; font-size: 1.05rem; }
.table th{ color: var(--pine-dark); font-weight: 700; background: var(--pine-tint); }

/* Trustee grid — plain CSS grid, independent of the Bootstrap CDN */
.trustee-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.trustee{ text-align: center; }
.trustee-photo{
  height: 200px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center top;
  box-shadow: var(--shadow-soft);
}
.trustee h6{ font-size: .95rem; color: var(--pine-dark); }
@media (max-width: 767px){
  .trustee-grid{ grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

.jumbotron1.overlay,
section .overlay{
  background: var(--pine);
  color: var(--white);
  border-radius: var(--radius);
}
section .overlay h1, section .overlay h5, section .overlay p{ color: var(--white) !important; }

.bg-light.border{ background: var(--pine-tint) !important; border-color: var(--line) !important; border-radius: var(--radius) !important; }
.bg-dark{ background: var(--pine-dark) !important; border-radius: var(--radius) !important; }

img.img-thumbnail{ border-radius: var(--radius); border-color: var(--line); }

/* Safety net for Bootstrap's own base image rules, same reasoning as the grid net below */
img{ max-width: 100%; height: auto; }
.img-fluid, .img-thumbnail{ max-width: 100%; height: auto; display: block; }
.img-thumbnail{ padding: .25rem; background: var(--white); border: 1px solid var(--line); }

/* Minimal base fallback for the two Bootstrap components used as real CTAs */
.btn{ display:inline-block; padding: .5rem 1rem; border-radius: .375rem; border: 1px solid transparent; cursor:pointer; font-size: .95rem; text-decoration:none; }
.btn-sm{ padding: .25rem .6rem; font-size: .85rem; }
.alert{ position:relative; padding: 1rem 2.5rem 1rem 1rem; border: 1px solid transparent; border-radius: .375rem; margin-bottom: 1rem; }
.btn-close{ position:absolute; top:1rem; right:1rem; width:1em; height:1em; background:transparent; border:0; opacity:.6; }
.btn-close::before{ content:"\2715"; }

/* =========================================================
   GRID SAFETY NET
   Bootstrap's CDN grid is expected to load and takes over
   sizing at its own breakpoints; these rules are only a
   fallback so the layout still holds up if that CDN request
   is ever blocked (ad blockers, restrictive networks, etc).
   ========================================================= */
.row{ display:flex; flex-wrap:wrap; }
.row.gy-4 > *{ margin-top: 1.5rem; }
.row.g-4 > *{ padding: .75rem; }
[class*="col-"]{ width:100%; }
@media (min-width:768px){
  .col-md-2{ flex:0 0 16.6667%; max-width:16.6667%; }
  .col-md-4{ flex:0 0 33.3333%; max-width:33.3333%; }
  .col-md-6{ flex:0 0 50%; max-width:50%; }
  .col-md-8{ flex:0 0 66.6667%; max-width:66.6667%; }
  .col-md-10{ flex:0 0 83.3333%; max-width:83.3333%; }
  .col-md-12{ flex:0 0 100%; max-width:100%; }
}
@media (min-width:992px){
  .col-lg-2{ flex:0 0 16.6667%; max-width:16.6667%; }
  .col-lg-3{ flex:0 0 25%; max-width:25%; }
  .col-lg-4{ flex:0 0 33.3333%; max-width:33.3333%; }
  .col-lg-5{ flex:0 0 41.6667%; max-width:41.6667%; }
  .col-lg-6{ flex:0 0 50%; max-width:50%; }
  .col-lg-9{ flex:0 0 75%; max-width:75%; }
  .col-lg-12{ flex:0 0 100%; max-width:100%; }
}
@media (min-width:1200px){
  .col-xl-3{ flex:0 0 25%; max-width:25%; }
}
.col-6{ flex:0 0 50%; max-width:50%; }

/* Gallery / portfolio */
.portfolio-wrap{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.portfolio-wrap img{ width: 100%; height: 260px; object-fit: cover; display:block; transition: transform .4s ease; }
.portfolio-wrap:hover img{ transform: scale(1.05); }
.portfolio-info{
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(22,58,45,.92), rgba(22,58,45,0));
  color: var(--white);
  padding: 34px 18px 14px;
}
.portfolio-info h4{ color: var(--white); font-size: 1.05rem; margin-bottom: 2px; }
.portfolio-info p{ color: var(--parchment); font-size: .88rem; opacity:.9; margin-bottom: 6px; }
.portfolio-links a{
  color: var(--white);
  background: rgba(255,255,255,.16);
  width: 30px; height: 30px;
  display: inline-flex; align-items:center; justify-content:center;
  border-radius: 50%;
  margin-right: 6px;
  position: relative;
}
.portfolio-links a::before,
.portfolio-links a::after{
  content:"";
  position:absolute;
  background: currentColor;
}
.portfolio-links a::before{ width: 12px; height: 2px; }
.portfolio-links a::after{ width: 2px; height: 12px; }
.portfolio-links a:hover{ background: var(--marigold); }

/* Notices */
.notice-container{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.notice-wrapper{ padding: 6px 0; }
.notice-wrapper img{ border-radius: var(--radius); }
.notice-wrapper h3.notice{ font-size: 1.15rem; color: var(--pine-dark); }

/* Contact icons */
.lc-block svg{ color: var(--marigold-dark); }
.lc-block .lead{ font-size: 1rem; color: var(--ink); font-weight: 600; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer{ background: var(--pine-dark); color: var(--parchment); }
.footer-top{ padding: 64px 0 30px; }
.footer .logo img{ max-height: 46px; margin-bottom: 12px; }
.footer p{ color: rgba(250,246,236,.78); }
.footer h4{
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(250,246,236,.18);
}
.footer-links ul{ list-style:none; padding:0; margin:0; }
.footer-links li{ margin-bottom: 9px; font-size: 14px; }
.footer-links li::before{ content:"›"; color: var(--marigold); margin-right: 6px; font-weight: 700; }
.footer-links a{ color: rgba(250,246,236,.8); }
.footer-links a:hover{ color: var(--marigold); }
.footer-contact p{ color: rgba(250,246,236,.8); font-size: 14px; }
.social-links a{
  width: 34px; height: 34px;
  display:inline-flex; align-items:center; justify-content:center;
  background: rgba(250,246,236,.1);
  border-radius: 50%;
  margin-right: 8px;
  color: var(--white);
}
.social-links a:hover{ background: var(--marigold); color: var(--pine-dark); }
.footer .copyright, .footer .credits{
  text-align: center;
  padding: 16px 0;
  font-size: 13.5px;
  color: rgba(250,246,236,.65);
  border-top: 1px solid rgba(250,246,236,.12);
}
