/* style.css */

/*--------------------------------------------------------------
# Root Variables
--------------------------------------------------------------*/
:root {
  /* Split-Complementary Color Scheme */
  --primary-color: #0A3D62; /* Deep Navy Blue */
  --accent-color: #EEA100; /* Golden Yellow / Orange */
  --accent-color-secondary: #D9534F; /* Muted Terracotta/Red-Orange */
  --highlight-color: #FAD02E; /* Lighter, brighter yellow */

  /* Text Colors */
  --text-color-dark: #222222;
  --text-color-medium: #55575A;
  --text-color-light: #FFFFFF;
  --text-color-accent: var(--primary-color);

  /* Background Colors */
  --bg-light: #F8F9FA;
  --bg-very-light: #FFFFFF;
  --bg-dark: var(--primary-color);
  --bg-footer: #1E2A38;
  --bg-light-subtle: #F1F3F5;

  /* Fonts */
  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Roboto', sans-serif;

  /* Borders and Shadows */
  --border-radius-soft: 8px;
  --border-radius-medium: 15px;
  --box-shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.07);
  --box-shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);
  --box-shadow-lifted: 0 10px 30px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-speed-fast: 0.2s ease-in-out;
  --transition-speed-normal: 0.3s ease-in-out;

  /* Spacing */
  --section-padding-y: 4rem; /* Adjusted from 5rem for less empty space */
  --header-height: 70px;

  /* For box-shadow with accent color */
  --accent-color-r: 238;
  --accent-color-g: 161;
  --accent-color-b: 0;
}

/*--------------------------------------------------------------
# General Styles
--------------------------------------------------------------*/
body {
  font-family: var(--font-body);
  color: var(--text-color-dark);
  background-color: var(--bg-very-light);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
}

.static-page-content {
  padding-top: calc(var(--header-height) + 40px); /* Ensure content below fixed header */
  padding-bottom: var(--section-padding-y);
  min-height: calc(100vh - var(--header-height) - 150px); /* Approx footer height */
}
.static-page-content.centered-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.static-page-content h1, .static-page-content h2 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    text-align: center;
}
.static-page-content p, .static-page-content ul, .static-page-content li {
    color: var(--text-color-medium);
    max-width: 800px; /* Improve readability of long texts */
    margin-left: auto;
    margin-right: auto;
}
.static-page-content ul {
    text-align: left;
    padding-left: 20px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-speed-fast);
}
a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-color-dark);
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 700; /* Archivo Black is already bold */
}
.section-title {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}
.section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 5px;
  background: var(--accent-color);
  border-radius: var(--border-radius-soft);
  margin: 0.75rem auto 0;
}

p {
  color: var(--text-color-medium);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}
.lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-color-medium);
}

section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  overflow: hidden;
}
.bg-light-subtle {
    background-color: var(--bg-light-subtle) !important;
}

/*--------------------------------------------------------------
# Header / Navbar
--------------------------------------------------------------*/
.navbar {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--box-shadow-soft);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  height: var(--header-height);
  transition: var(--transition-speed-normal);
}
.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-color) !important;
}
.navbar .nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-color) !important;
  padding: 0.5rem 1rem !important;
  margin-left: 0.5rem;
  position: relative;
  transition: var(--transition-speed-normal);
}
.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--accent-color);
  transition: var(--transition-speed-normal);
  border-radius: 3px;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 60%;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--accent-color) !important;
}
.navbar-toggler {
  border: 1px solid rgba(10, 61, 98, 0.2); /* Primary color border */
  padding: .35rem .65rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(10, 61, 98, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .navbar {
    background-color: var(--bg-very-light);
  }
  .navbar .navbar-collapse {
    border-top: 1px solid #eee;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
  }
  .navbar .nav-link {
    margin-left: 0;
    padding: 0.8rem 1rem !important;
    text-align: left;
  }
   .navbar .nav-link::after {
    left: 1rem; /* Align with text */
    transform: none;
    bottom: 5px;
  }
   .navbar .nav-link:hover::after,
  .navbar .nav-link.active::after {
    width: 30px;
  }
}

/*--------------------------------------------------------------
# Global Button Styles
--------------------------------------------------------------*/
.btn, button, input[type='submit'], input[type='button'] {
  font-family: var(--font-body);
  font-weight: 700;
  padding: 0.75rem 1.8rem;
  border-radius: var(--border-radius-soft);
  transition: var(--transition-speed-normal), transform 0.1s ease-out;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover, button:hover, input[type='submit']:hover, input[type='button']:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.btn:active, button:active, input[type='submit']:active, input[type='button']:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-primary, input[type='submit'].btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--bg-dark);
}
.btn-primary:hover, input[type='submit'].btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-color-light);
}

.btn-secondary-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-color-light);
}
.btn-secondary-custom:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--bg-dark);
}

.btn-outline-primary {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background-color: transparent;
}
.btn-outline-primary:hover {
  background-color: var(--accent-color);
  color: var(--bg-dark);
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
  min-height: 90vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color-light);
  padding-top: var(--header-height);
  /* Linear gradient for overlay is in HTML style attribute */
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  margin-bottom: 1rem;
  color: var(--text-color-light) !important; /* STROGO */
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  margin-bottom: 2.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-light) !important; /* STROGO */
  font-weight: 400;
  line-height: 1.65;
}
.hero-cta.btn {
  padding: 0.9rem 2.5rem;
  font-size: 1.1rem;
}

/*--------------------------------------------------------------
# About Us & Behind the Scenes Sections (Similar Layout)
--------------------------------------------------------------*/
#about .biomorphic-image,
#behind-the-scenes .biomorphic-image {
  border-radius: var(--border-radius-medium) var(--border-radius-soft);
  box-shadow: var(--box-shadow-lifted);
  width: 100%;
  height: auto;
  object-fit: cover;
}
#behind-the-scenes .biomorphic-image {
  border-radius: 40px 10px 40px 10px;
}
#about p, #behind-the-scenes p {
    font-size: 1.05rem;
}
#behind-the-scenes h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/*--------------------------------------------------------------
# Vision Section
--------------------------------------------------------------*/
#vision .biomorphic-flow {
  border-radius: var(--border-radius-medium);
  box-shadow: var(--box-shadow-medium);
  margin-top: 2rem;
  max-width: 100%;
  height: auto;
}
#vision p {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/*--------------------------------------------------------------
# Card Base Styles (Awards, Team, Resources)
--------------------------------------------------------------*/
.card {
  background-color: var(--bg-very-light);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--box-shadow-soft);
  transition: var(--transition-speed-normal);
  overflow: hidden;
  border: none;
  height: 100%; /* For consistent height in rows */
  display: flex; /* STROGO base for cards */
  flex-direction: column; /* STROGO base for cards */
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lifted);
}
.card .card-image { /* STROGO Container for image in cards */
  width: 100%;
  overflow: hidden;
  position: relative; /* For potential overlays or aspect ratio control */
  /* Specific height will be set per card type */
}
.card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* STROGO */
  display: block; /* Remove extra space below img */
  transition: transform 0.4s ease;
}
.card:hover .card-image img {
  transform: scale(1.05);
}
.card .card-body {
  padding: 1.5rem;
  flex-grow: 1; /* Allows body to fill space if card is flex-column */
  display: flex;
  flex-direction: column;
}
.card .card-title {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.card .card-text {
  font-size: 0.95rem;
  color: var(--text-color-medium);
  margin-bottom: 1rem;
  flex-grow: 1; /* Text takes available space before buttons/links */
}

/* Awards Card Specifics */
.award-card { text-align: left; } /* Override default card text-align if any */
.award-card .card-image { height: 100%; } /* Full height for column */
.award-card .card-image img { border-radius: var(--border-radius-medium) 0 0 var(--border-radius-medium); }
.award-card .card-body { padding: 2rem; }

/* Team Card Specifics */
.team-card { align-items: center; text-align: center; } /* STROGO */
.team-card .card-image {
  height: 280px; /* STROGO Fixed height */
  border-top-left-radius: var(--border-radius-medium);
  border-top-right-radius: var(--border-radius-medium);
}
.team-card .text-muted { color: var(--accent-color) !important; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.8rem; }
.team-card .card-text-bio { min-height: 70px; }
.team-card .btn-outline-primary { font-size: 0.8rem; padding: 0.5rem 1rem; margin-top: auto; }

/* Resource Card Specifics (External Links - no image) */
.resource-card { text-align: left; }
.resource-card .card-body { justify-content: space-between; } /* Pushes title/text up, link down */
.resource-card .card-title a { text-decoration: none; display: block; }
.resource-card .card-title a:hover { color: var(--accent-color); }

/* Resource Item Card Specifics (Internal Resources - with image) */
.resource-item-card { text-align: left; } /* STROGO - text content is left, card overall structure from .card base */
.resource-item-card .card-image {
  height: 180px; /* STROGO Fixed height */
  border-top-left-radius: var(--border-radius-medium);
  border-top-right-radius: var(--border-radius-medium);
}
.resource-item-card .btn-secondary-custom { margin-top: auto; align-self: flex-start; }


/* Carousel Controls (Awards, Gallery) */
.carousel-indicators button {
  background-color: var(--primary-color);
  opacity: 0.5;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  border: none;
}
.carousel-indicators button.active {
  opacity: 1;
  background-color: var(--accent-color);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(10, 61, 98, 0.5); /* Primary color, semi-transparent */
  border-radius: 50%;
  padding: 1.5rem; /* Increase padding for bigger click area */
  background-size: 60% 60%;
  width: 2.5rem; /* Fixed width */
  height: 2.5rem; /* Fixed height */
}
.carousel-control-prev-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e"); }
.carousel-control-next-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); }


/*--------------------------------------------------------------
# Team Modals
--------------------------------------------------------------*/
.modal-content { border-radius: var(--border-radius-medium); border: none; box-shadow: var(--box-shadow-lifted); }
.modal-header { background-color: var(--primary-color); color: var(--text-color-light); border-bottom: none; padding: 1rem 1.5rem; border-top-left-radius: var(--border-radius-medium); border-top-right-radius: var(--border-radius-medium); }
.modal-header .modal-title { color: var(--text-color-light); font-size: 1.4rem; }
.modal-header .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }
.modal-body { padding: 2rem; }
.modal-body img { box-shadow: var(--box-shadow-soft); border-radius: var(--border-radius-soft); margin-bottom: 1.5rem; }
.modal-body p {font-size: 1rem;}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
#gallery .carousel-inner { border-radius: var(--border-radius-medium); box-shadow: var(--box-shadow-medium); }
#gallery .carousel-item {
    background-color: #e0e0e0; /* Placeholder background for images */
}
#gallery .carousel-item img {
  height: 550px;
  object-fit: cover;
  width: 100%;
  background-size: cover; /* For safety, though object-fit handles it */
  background-repeat: no-repeat; /* For safety */
}
#gallery .carousel-caption {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
  padding: 1.5rem;
  padding-top: 3rem; /* More space for text from top of gradient */
  border-bottom-left-radius: var(--border-radius-medium);
  border-bottom-right-radius: var(--border-radius-medium);
  color: var(--text-color-light);
  text-align: left;
  bottom: 0; /* Ensure caption is at the bottom */
  left:0; right:0;
}
#gallery .carousel-caption h5 { color: var(--text-color-light); font-size: 1.4rem; margin-bottom: 0.5rem; }
#gallery .carousel-caption p { color: rgba(255,255,255,0.9); font-size: 0.95rem; margin-bottom: 0; }

/*--------------------------------------------------------------
# Contact Preview Section
--------------------------------------------------------------*/
#contact-preview { background-color: var(--bg-light-subtle); }
#contact-preview .lead { max-width: 650px; margin-left: auto; margin-right: auto; }
#contact-preview img { border-radius: var(--border-radius-medium); box-shadow: var(--box-shadow-soft); }

/*--------------------------------------------------------------
# Contact Form Page (contacts.html)
--------------------------------------------------------------*/
.contact-form-section {
  padding-top: calc(var(--header-height) + 40px); /* Match static-page-content */
  padding-bottom: var(--section-padding-y);
}
.contact-form-container {
  background-color: var(--bg-very-light);
  padding: 2.5rem;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--box-shadow-lifted);
  max-width: 700px;
  margin: 0 auto;
}
.contact-form-container .form-label { font-weight: 700; color: var(--primary-color); margin-bottom: 0.5rem; }
.contact-form-container .form-control {
  border-radius: var(--border-radius-soft);
  padding: 0.8rem 1rem;
  border: 1px solid #ced4da;
  transition: border-color var(--transition-speed-fast), box-shadow var(--transition-speed-fast);
  font-size: 1rem;
}
.contact-form-container .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(var(--accent-color-r), var(--accent-color-g), var(--accent-color-b), 0.35);
}
.contact-form-container textarea.form-control { min-height: 150px; }
.contact-form-container .btn-primary { width: 100%; padding: 0.9rem; font-size: 1.1rem; margin-top: 1rem; }

.contact-info-col {
    margin-top: 2rem; /* Space from form if on same page or if form is above */
}
.contact-info-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--text-color-light);
  padding: 2.5rem;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--box-shadow-medium);
}
.contact-info-box h3 { color: var(--text-color-light); margin-bottom: 1.5rem; font-size: 1.6rem;}
.contact-info-box p { color: rgba(255,255,255,0.9); margin-bottom: 1rem; font-size: 1.05rem;}
.contact-info-box i { margin-right: 12px; color: var(--highlight-color); font-size: 1.2em; vertical-align: middle;}
.contact-info-box a { color: var(--text-color-light); }
.contact-info-box a:hover { color: var(--highlight-color); }


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background-color: var(--bg-footer);
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  padding-top: 3.5rem;
  padding-bottom: 1.5rem;
}
.footer .footer-heading {
  font-family: var(--font-heading);
  color: var(--text-color-light);
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
}
.footer .footer-text { color: rgba(255,255,255,0.75); line-height: 1.8; }
.footer .footer-links li { margin-bottom: 0.7rem; }
.footer .footer-links a {
  color: rgba(255,255,255,0.75);
  transition: var(--transition-speed-fast);
  display: inline-block; /* For hover effect */
}
.footer .footer-links a:hover {
  color: var(--accent-color);
  text-decoration: none;
  transform: translateX(4px); /* Slight move effect */
}
.footer .footer-social-links a {
    font-weight: 500;
    /* No specific icon styles, text only as requested */
}
.footer .footer-copyright p {
  color: rgba(255,255,255,0.65);
  margin: 0;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}
.footer hr {
    border-color: rgba(255,255,255,0.15);
}

/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
    .section-title { font-size: 2.2rem; }
    .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
    .hero-subtitle { font-size: clamp(1rem, 4vw, 1.3rem); }
}

@media (max-width: 768px) {
  .section-title { font-size: 2rem; margin-bottom: 2rem; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-subtitle { font-size: clamp(0.9rem, 4vw, 1.2rem); }

  #gallery .carousel-item img,
  #awardsCarousel .carousel-item /* Assuming structure includes an image container too */ {
    height: auto; /* Adjust height for smaller screens */
    min-height: 300px; /* Ensure some visual presence */
  }
  .award-card .card-image img { border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0; } /* Full top radius on mobile */


  .footer .text-md-start { text-align: center !important; }
  .footer .footer-heading { margin-top: 1.5rem; }
  .footer .footer-heading:first-of-type { margin-top: 0; } /* For first column on mobile */
}
@media (max-width: 576px) {
    .contact-form-container { padding: 1.5rem; }
    .contact-info-box { padding: 1.5rem; }
    .modal-body { padding: 1.5rem; }
    .modal-header { padding: 1rem; }
}

/*--------------------------------------------------------------
# AOS Customizations (Optional)
--------------------------------------------------------------*/
[data-aos="fade-up"] {
  /* AOS default is fine, but can be customized: */
  /* transform: translateY(25px); */
  /* opacity: 0; */
}