/**
* Template Name: MeFamily
* Template URL: https://bootstrapmade.com/family-multipurpose-html-bootstrap-template-free/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #24325d; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #006fbe; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #444444;  /* The default color of the main navmenu links */
  --nav-hover-color: #006fbe; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #006fbe; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #1d284b;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #2b3c70;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 55px; /* Slightly larger than the original 32px for better visibility */
  max-width: 110%;  /* Ensure the logo scales proportionally */
  margin-right: 20px; /* Keep spacing between the logo and text/navigation */
  transition: all 0.5s ease; /* Add a smooth resize transition (optional) */
}
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 0;
}

.hero .carousel {
  width: 100%;
  min-height: 75vh;
  padding: 0;
  margin: 0;
  background-color: var(--background-color);
  position: relative;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 10%;
  transition: 0.3s;
  opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

@media (min-width: 1024px) {

  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    width: 5%;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 32px;
  line-height: 1;
}

.hero .carousel-indicators {
  list-style: none;
}

.hero .carousel-indicators li {
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.about .content .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .feature-item {
  text-align: center;
  padding: 20px;
  transition: all ease-in-out 0.3s;
  height: 100%;
}

.features .feature-item .icon {
  background-color: var(--surface-color);
  color: var(--accent-color);
  margin: 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 32px;
  transition: ease-in-out 0.3s;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.features .feature-item h3 {
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 15px;
  font-size: 22px;
  transition: 0.3s;
  position: relative;
}

.features .feature-item h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: calc(50% - 25px);
}

.features .feature-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.features .feature-item:hover .icon {
  box-shadow: 0px 0 40px rgba(0, 0, 0, 0.1);
}

.features .feature-item:hover h3 {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Recent Photos Section
--------------------------------------------------------------*/
.recent-photos {
  overflow: hidden;
}

.recent-photos .swiper-wrapper {
  height: auto;
}

.recent-photos .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.recent-photos .swiper-pagination .swiper-pagination-bullet {
  background-color: var(--background-color);
  border: 1px solid var(--accent-color);
  width: 12px;
  height: 12px;
  opacity: 1;
}

.recent-photos .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.recent-photos .swiper-slide-active {
  text-align: center;
}

@media (min-width: 992px) {
  .recent-photos .swiper-wrapper {
    padding: 40px 0;
  }

  .recent-photos .swiper-slide-active {
    background: var(--background-color);
    border: 6px solid var(--accent-color);
    padding: 4px;
    z-index: 1;
    transform: scale(1.2);
    transition: none;
  }
}

/*--------------------------------------------------------------
# Featured Members Section
--------------------------------------------------------------*/
.featured-members .features-item {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.featured-members .features-item+.features-item {
  margin-top: 100px;
}

@media (max-width: 640px) {
  .featured-members .features-item+.features-item {
    margin-top: 40px;
  }
}

.featured-members .features-item h3 {
  font-weight: 700;
  font-size: 26px;
}

.featured-members .features-item ul {
  list-style: none;
  padding: 0;
}

.featured-members .features-item ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: center;
}

.featured-members .features-item ul li:last-child {
  padding-bottom: 0;
}

.featured-members .features-item ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.featured-members .features-item p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Members Section
--------------------------------------------------------------*/
.members .member {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  text-align: center;
  margin-bottom: 20px;
}

.members .member img {
  margin: -1px -1px 30px -1px;
}

.members .member .member-content {
  padding: 0 20px 30px 20px;
}

.members .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}

.members .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.members .member p {
  padding-top: 10px;
  font-size: 14px;
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.members .member .social {
  margin-top: 15px;
}

.members .member .social a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  transition: 0.3s;
}

.members .member .social a:hover {
  color: var(--accent-color);
}

.members .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events .card {
  border: 0;
  padding: 0 30px;
  margin-bottom: 60px;
  position: relative;
}

.events .card-img {
  width: calc(100% + 60px);
  margin-left: -30px;
  overflow: hidden;
  z-index: 9;
  border-radius: 0;
}

.events .card-img img {
  max-width: 100%;
  transition: all 0.3s ease-in-out;
}

.events .card-body {
  z-index: 10;
  background: var(--background-color);
  border-top: 4px solid var(--background-color);
  padding: 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  margin-top: -60px;
  transition: 0.3s;
}

.events .card-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.events .card-title a {
  color: var(--default-color);
  transition: 0.3s;
}

.events .card-text {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.events .card:hover img {
  transform: scale(1.1);
}

.events .card:hover .card-body {
  border-color: var(--accent-color);
}

.events .card:hover .card-body .card-title a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery .gallery-item img {
  transition: 0.3s;
}

.gallery .gallery-links {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3;
}

.gallery .gallery-links .preview-link,
.gallery .gallery-links .details-link {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
  transition: 0.3s;
  line-height: 1.2;
  margin: 30px 8px 0 8px;
}

.gallery .gallery-links .preview-link:hover,
.gallery .gallery-links .details-link:hover {
  color: #ffffff;
}

.gallery .gallery-links .details-link {
  font-size: 30px;
  line-height: 0;
}

.gallery .gallery-item:hover .gallery-links {
  opacity: 1;
}

.gallery .gallery-item:hover .preview-link,
.gallery .gallery-item:hover .details-link {
  margin-top: 0;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

.glightbox-clean .gslide-description {
  background: #272727;
}

.glightbox-clean .gslide-title {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.blog-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.blog-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.blog-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.blog-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.blog-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  background-color: var(--surface-color);
  padding: 30px;
  margin: 60px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.blog-author-widget img {
  max-width: 160px;
}

.blog-author-widget h4 {
  font-weight: 600;
  font-size: 24px;
  margin: 15px 0 0 0;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author-widget .social-links {
  margin: 5px 0;
}

.blog-author-widget .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin: 0 3px;
  font-size: 18px;
}

.blog-author-widget .social-links a:hover {
  color: var(--accent-color);
}

.blog-author-widget p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 10px 0 0 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  padding: 3px 10px;
  position: relative;
  border-radius: 50px;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px 10px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: none;
  color: var(--default-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 16px;
  transition: 0.3s;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  color: var(--accent-color);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}
.social-icon {
  width: 20px;  /* Small size for icons */
  height: 20px;
  margin: 0 8px;  /* Adjust spacing between icons */
  transition: transform 0.3s ease;  /* Optional: Smooth transition for hover effect */
}

.social-icon:hover {
  transform: scale(1.1);  /* Slightly enlarge icon on hover */
}

/* contact.css - Seismology4U Contact Page Styles */
/* Professional stylesheet for Patrick R.N. Chindandali Research */

:root {
  /* Professional Color Palette - Matching index.html */
  --primary-navy: #1a237e;
  --primary-blue: #283593;
  --secondary-blue: #3949ab;
  --accent-blue: #3f51b5;
  --light-blue: #e8eaf6;
  
  --accent-orange: #ff6d00;
  --accent-gold: #ffa000;
  --accent-green: #2e7d32;
  
  /* Sophisticated Grays */
  --text-primary: #1a1a1a;
  --text-secondary: #424242;
  --text-tertiary: #757575;
  --text-light: #9e9e9e;
  
  /* Clean Backgrounds */
  --bg-white: #ffffff;
  --bg-light: #fafafa;
  --bg-lighter: #f5f5f5;
  --bg-section: #f8f9fa;
  
  /* Professional Shadows */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-dramatic: 0 16px 48px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.06);
  
  /* Refined Transitions */
  --transition-swift: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-elegant: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Advanced Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-gold) 100%);
  --gradient-subtle: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

/* ==================================================
   GLOBAL STYLES
   ================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
  font-size: 16px;
  scroll-behavior: smooth;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==================================================
   PROFESSIONAL HEADER
   ================================================== */

.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-subtle);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-smooth);
  border-bottom: 1px solid rgba(26, 35, 126, 0.08);
  padding: 0.75rem 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-medium);
  padding: 0.5rem 0;
}

/* ==================================================
   SOPHISTICATED LOGO
   ================================================== */

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all var(--transition-swift);
  padding: 0;
}

.navbar-brand:hover {
  transform: translateY(-1px);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 45px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: all var(--transition-swift);
  filter: brightness(1);
}

.logo-img:hover {
  filter: brightness(1.05);
}

/* Premium Logo Fallback */
.logo-fallback {
  display: none;
  align-items: center;
  gap: 1rem;
}

.logo-symbol {
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.logo-symbol::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-swift);
}

.logo-symbol:hover::before {
  opacity: 0.2;
}

.logo-text-premium {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  margin: 0;
}

.brand-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ==================================================
   REFINED NAVIGATION
   ================================================== */

.navbar-nav {
  gap: 0.5rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-secondary) !important;
  padding: 0.75rem 1.25rem !important;
  transition: all var(--transition-swift);
  position: relative;
  font-size: 0.95rem;
  border-radius: 6px;
  letter-spacing: 0.01em;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transform: translateX(-50%);
  transition: width var(--transition-swift);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-navy) !important;
  background: var(--light-blue);
  transform: translateY(-1px);
}

.navbar-nav .nav-link:hover::before {
  width: 80%;
}

.navbar-nav .nav-link.active {
  color: var(--primary-navy) !important;
  background: var(--light-blue);
  font-weight: 600;
}

.navbar-nav .nav-link.active::before {
  width: 80%;
}

/* ==================================================
   PAGE HEADER
   ================================================== */

.page-header {
  background-image: url('./assets/img/hero-contact.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 120px 0 80px;
  margin-top: 76px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  display: none;
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-header .lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==================================================
   CONTACT SECTION
   ================================================== */

.contact-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-title .lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==================================================
   CONTACT INFO CARDS
   ================================================== */

.contact-info-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(26, 35, 126, 0.08);
  text-align: center;
  transition: all var(--transition-smooth);
  height: 100%;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.contact-info-card:hover::before {
  transform: scaleX(1);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(26, 35, 126, 0.12);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: var(--light-blue);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--primary-navy);
  font-size: 2rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.contact-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.contact-info-card:hover .contact-icon::before {
  opacity: 1;
}

.contact-info-card:hover .contact-icon {
  color: white;
  transform: scale(1.1);
}

.contact-info-card h4 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-navy);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  line-height: 1.3;
}

.contact-info-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.contact-info-card a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: color var(--transition-swift);
  font-weight: 500;
}

.contact-info-card a:hover {
  color: var(--accent-gold);
}

/* ==================================================
   CONTACT FORM
   ================================================== */

.contact-form-container {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(26, 35, 126, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
}

.contact-form h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-navy);
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.3;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.95rem;
}

.form-control {
  background: var(--bg-light);
  border: 2px solid rgba(26, 35, 126, 0.08);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all var(--transition-smooth);
  width: 100%;
  color: var(--text-primary);
}

.form-control:focus {
  background: var(--bg-white);
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-light);
}

.btn-submit {
  background: var(--gradient-accent);
  border: none;
  color: white;
  padding: 15px 40px;
  font-weight: 600;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: all var(--transition-smooth);
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

/* ==================================================
   MAP SECTION
   ================================================== */

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  margin-bottom: 3rem;
  border: 1px solid rgba(26, 35, 126, 0.08);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ==================================================
   PREMIUM FOOTER
   ================================================== */

.footer {
  background: var(--primary-navy);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.footer-main {
  padding: 5rem 0 3rem;
}

.footer-brand-section {
  margin-bottom: 3rem;
}

.footer-logo-container {
  margin-bottom: 2rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  max-width: 250px;
  filter: brightness(0) invert(1);
  transition: all var(--transition-swift);
}

.footer-logo:hover {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 109, 0, 0.3));
}

.footer-brand-fallback {
  display: none;
  align-items: center;
  gap: 1rem;
}

.footer-brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.footer-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 2rem;
}

.footer-section h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition-swift);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-orange);
  transform: translateX(4px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-smooth);
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.social-link:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: translateY(-2px);
  color: white;
  box-shadow: var(--shadow-medium);
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-icon-footer {
  color: var(--accent-orange);
  width: 20px;
  text-align: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.newsletter-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.newsletter-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.1rem;
}

.newsletter-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all var(--transition-swift);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.1);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
  background: var(--gradient-accent);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all var(--transition-smooth);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  font-size: 0.95rem;
  box-shadow: var(--shadow-medium);
  margin-top: 0.5rem;
}

.newsletter-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-strong);
  background: linear-gradient(135deg, #ff8f00 0%, #ffb300 100%);
}

.newsletter-btn:focus {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

.newsletter-btn i {
  font-size: 0.9rem;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-swift);
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  color: var(--accent-orange);
}

/* ==================================================
   SCROLL TO TOP
   ================================================== */

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gradient-accent);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
  z-index: 1000;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-dramatic);
}

/* ==================================================
   ANIMATIONS
   ================================================== */

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================
   RESPONSIVE DESIGN
   ================================================== */

@media (max-width: 992px) {
  .contact-section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0.5rem 0;
  }

  .logo-img {
    height: 35px;
    max-width: 180px;
  }

  .page-header {
    padding: 100px 0 60px;
  }

  .section-title {
    margin-bottom: 60px;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-form-container {
    padding: 2rem;
  }

  .footer-main {
    padding: 4rem 0 2rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .contact-info-card {
    padding: 2rem 1.5rem;
  }

  .contact-form-container {
    padding: 1.5rem;
  }
}

/* ==================================================
   ACCESSIBILITY
   ================================================== */

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

@media (prefers-contrast: high) {
  :root {
    --primary-navy: #000000;
    --accent-orange: #ff4500;
    --text-primary: #000000;
    --bg-white: #ffffff;
  }
}

/* ==================================================
   FOCUS STATES
   ================================================== */

*:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-navy);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1002;
  transition: top var(--transition-swift);
  font-weight: 600;
}

.skip-link:focus {
  top: 6px;
}

/* ========================================
   GALLERY STYLES FOR SEISMOLOGY4U
   Professional Gallery CSS extracted from my-gallery.html
   ======================================== */

/* CSS CUSTOM PROPERTIES */
:root {
  /* Professional Color Palette */
  --primary-navy: #1a237e;
  --primary-blue: #283593;
  --secondary-blue: #3949ab;
  --accent-blue: #3f51b5;
  --light-blue: #e8eaf6;
  
  --accent-orange: #ff6d00;
  --accent-gold: #ffa000;
  --accent-green: #2e7d32;
  
  /* Sophisticated Grays */
  --text-primary: #1a1a1a;
  --text-secondary: #424242;
  --text-tertiary: #757575;
  --text-light: #9e9e9e;
  
  /* Clean Backgrounds */
  --bg-white: #ffffff;
  --bg-light: #fafafa;
  --bg-lighter: #f5f5f5;
  --bg-section: #f8f9fa;
  
  /* Professional Shadows */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-dramatic: 0 16px 48px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.06);
  
  /* Refined Transitions */
  --transition-swift: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-elegant: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Advanced Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-gold) 100%);
  --gradient-subtle: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

/* GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
  font-size: 16px;
  scroll-behavior: smooth;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* PROFESSIONAL HEADER */
.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-subtle);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-smooth);
  border-bottom: 1px solid rgba(26, 35, 126, 0.08);
  padding: 0.75rem 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-medium);
  padding: 0.5rem 0;
}

/* SOPHISTICATED LOGO */
.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all var(--transition-swift);
  padding: 0;
}

.navbar-brand:hover {
  transform: translateY(-1px);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 45px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: all var(--transition-swift);
  filter: brightness(1);
}

.logo-img:hover {
  filter: brightness(1.05);
}

/* Premium Logo Fallback */
.logo-fallback {
  display: none;
  align-items: center;
  gap: 1rem;
}

.logo-symbol {
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.logo-symbol::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-swift);
}

.logo-symbol:hover::before {
  opacity: 0.2;
}

.logo-text-premium {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  margin: 0;
}

.brand-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* REFINED NAVIGATION */
.navbar-nav {
  gap: 0.5rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-secondary) !important;
  padding: 0.75rem 1.25rem !important;
  transition: all var(--transition-swift);
  position: relative;
  font-size: 0.95rem;
  border-radius: 6px;
  letter-spacing: 0.01em;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transform: translateX(-50%);
  transition: width var(--transition-swift);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-navy) !important;
  background: var(--light-blue);
  transform: translateY(-1px);
}

.navbar-nav .nav-link:hover::before {
  width: 80%;
}

.navbar-nav .nav-link.active {
  color: var(--primary-navy) !important;
  background: var(--light-blue);
  font-weight: 600;
}

.navbar-nav .nav-link.active::before {
  width: 80%;
}

/* PAGE HEADER */
.page-header {
  background-image: url('./assets/img/hero-gallery.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 120px 0 80px;
  margin-top: 76px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  display: none;
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-header .lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.breadcrumb-item {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
  color: white;
  font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

/* MAIN CONTENT */
.main-content {
  padding: 100px 0;
  background: var(--bg-light);
}

/* GALLERY STATISTICS */
.gallery-stats {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  margin-bottom: 2rem;
  border: 1px solid rgba(26, 35, 126, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px solid rgba(26, 35, 126, 0.08);
  transition: all var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

/* GALLERY CONTROLS */
.gallery-controls {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  margin-bottom: 2rem;
  border: 1px solid rgba(26, 35, 126, 0.08);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-tab {
  background: var(--bg-light);
  border: 2px solid rgba(26, 35, 126, 0.08);
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-tab:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-2px);
}

.filter-tab.active {
  background: var(--gradient-accent);
  border-color: var(--accent-orange);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.view-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
}

.view-btn {
  background: var(--bg-light);
  border: 2px solid rgba(26, 35, 126, 0.08);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.view-btn:hover,
.view-btn.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: white;
}

.search-section {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  min-width: 300px;
}

.search-input {
  border: 2px solid rgba(26, 35, 126, 0.08);
  border-radius: 12px;
  padding: 0.75rem 1rem 0.75rem 3rem;
  font-size: 1rem;
  transition: all var(--transition-smooth);
  background: var(--bg-light);
  width: 100%;
  color: var(--text-primary);
}

.search-input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.1);
  background: white;
  outline: none;
}

.search-input::placeholder {
  color: var(--text-light);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  z-index: 2;
}

.sort-select {
  border: 2px solid rgba(26, 35, 126, 0.08);
  border-radius: 8px;
  padding: 0.75rem;
  background: var(--bg-light);
  transition: all var(--transition-smooth);
  min-width: 150px;
  color: var(--text-primary);
}

.sort-select:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.1);
  background: white;
  outline: none;
}

/* GALLERY GRID */
.gallery-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery-grid.masonry {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 10px;
}

.gallery-grid.grid-view {
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.gallery-grid.list-view {
  grid-template-columns: 1fr;
}

/* GALLERY ITEMS */
.gallery-item {
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: 1px solid rgba(26, 35, 126, 0.08);
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.gallery-item.masonry {
  break-inside: avoid;
}

.gallery-item.list-view {
  display: flex;
  align-items: center;
  padding: 1.5rem;
}

.gallery-item.list-view .item-image {
  width: 200px;
  height: 150px;
  flex-shrink: 0;
  margin-right: 2rem;
}

.item-image {
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
}

.gallery-grid.grid-view .item-image,
.gallery-grid.masonry .item-image {
  height: 250px;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all var(--transition-smooth);
}

.gallery-item:hover .item-image img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 35, 126, 0.8) 0%,
    rgba(255, 109, 0, 0.6) 100%
  );
  opacity: 0;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.gallery-item:hover .image-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  transform: translateY(20px);
  transition: all var(--transition-smooth);
}

.gallery-item:hover .overlay-content {
  transform: translateY(0);
}

.overlay-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.overlay-text {
  font-weight: 600;
  font-size: 1.1rem;
}

.item-info {
  padding: 1.5rem;
}

.gallery-grid.list-view .item-info {
  padding: 0;
  flex: 1;
}

.item-category {
  background: var(--gradient-accent);
  color: white;
  padding: 0.3rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.item-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.item-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.item-tag {
  background: var(--bg-light);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  border: 1px solid rgba(26, 35, 126, 0.08);
}

/* LIGHTBOX MODAL */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-dramatic);
}

.lightbox-image {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-info {
  padding: 2rem;
  background: white;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all var(--transition-smooth);
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--accent-orange);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all var(--transition-smooth);
}

.lightbox-nav:hover {
  background: var(--accent-orange);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

/* LOAD MORE BUTTON */
.load-more-container {
  text-align: center;
  margin: 3rem 0;
}

.load-more-btn {
  background: var(--gradient-accent);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-medium);
}

.load-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

/* PREMIUM FOOTER */
.footer {
  background: var(--primary-navy);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.footer-main {
  padding: 5rem 0 3rem;
}

.footer-brand-section {
  margin-bottom: 3rem;
}

.footer-logo-container {
  margin-bottom: 2rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  max-width: 250px;
  filter: brightness(0) invert(1);
  transition: all var(--transition-swift);
}

.footer-logo:hover {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 109, 0, 0.3));
}

.footer-brand-fallback {
  display: none;
  align-items: center;
  gap: 1rem;
}

.footer-brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.footer-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 2rem;
}

.footer-section h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition-swift);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-orange);
  transform: translateX(4px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-smooth);
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.social-link:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: translateY(-2px);
  color: white;
  box-shadow: var(--shadow-medium);
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-icon-footer {
  color: var(--accent-orange);
  width: 20px;
  text-align: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.newsletter-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.newsletter-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.1rem;
}

.newsletter-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all var(--transition-swift);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.1);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
  background: var(--gradient-accent);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all var(--transition-smooth);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  font-size: 0.95rem;
  box-shadow: var(--shadow-medium);
  margin-top: 0.5rem;
}

.newsletter-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-strong);
  background: linear-gradient(135deg, #ff8f00 0%, #ffb300 100%);
}

.newsletter-btn:focus {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

.newsletter-btn i {
  font-size: 0.9rem;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-swift);
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  color: var(--accent-orange);
}

/* SCROLL TO TOP */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gradient-accent);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
  z-index: 1000;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-dramatic);
}

/* ANIMATIONS */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .main-content {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0.5rem 0;
  }

  .logo-img {
    height: 35px;
    max-width: 180px;
  }

  .page-header {
    padding: 100px 0 60px;
  }

  .main-content {
    padding: 60px 0;
  }

  .gallery-controls {
    padding: 1.5rem;
  }

  .view-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .search-section {
    flex-direction: column;
  }

  .search-box {
    min-width: auto;
  }

  .filter-tabs {
    flex-direction: column;
  }

  .gallery-grid.masonry,
  .gallery-grid.grid-view {
    grid-template-columns: 1fr;
  }

  .gallery-item.list-view {
    flex-direction: column;
    text-align: center;
  }

  .gallery-item.list-view .item-image {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lightbox-content {
    margin: 1rem;
  }

  .lightbox-nav {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .footer-main {
    padding: 4rem 0 2rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .filter-tab {
    justify-content: center;
  }

  .gallery-controls {
    padding: 1rem;
  }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: high) {
  :root {
    --primary-navy: #000000;
    --accent-orange: #ff4500;
    --text-primary: #000000;
    --bg-white: #ffffff;
  }
}

/* FOCUS STATES */
*:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-navy);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1002;
  transition: top var(--transition-swift);
  font-weight: 600;
}

.skip-link:focus {
  top: 6px;
}

/* UTILITY CLASSES */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-around { justify-content: space-around; }

.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }

/* PRINT STYLES */
@media print {
  .header,
  .footer,
  .gallery-controls,
  .lightbox,
  .scroll-to-top {
    display: none !important;
  }
  
  .page-header {
    background: none !important;
    color: black !important;
    padding: 2rem 0 !important;
    margin-top: 0 !important;
  }
  
  .main-content {
    padding: 0 !important;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  
  .gallery-item {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
  
  .image-overlay {
    display: none !important;
  }
}

/* resources.css - Seismology4U Resources Page Styles */
/* Professional stylesheet for Patrick R.N. Chindandali Research */
    :root {
      /* Professional Color Palette - Matching contact.html */
      --primary-navy: #1a237e;
      --primary-blue: #283593;
      --secondary-blue: #3949ab;
      --accent-blue: #3f51b5;
      --light-blue: #e8eaf6;
      
      --accent-orange: #ff6d00;
      --accent-gold: #ffa000;
      --accent-green: #2e7d32;
      
      /* Sophisticated Grays */
      --text-primary: #1a1a1a;
      --text-secondary: #424242;
      --text-tertiary: #757575;
      --text-light: #9e9e9e;
      
      /* Clean Backgrounds */
      --bg-white: #ffffff;
      --bg-light: #fafafa;
      --bg-lighter: #f5f5f5;
      --bg-section: #f8f9fa;
      
      /* Professional Shadows */
      --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
      --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.03);
      --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
      --shadow-dramatic: 0 16px 48px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.06);
      
      /* Refined Transitions */
      --transition-swift: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --transition-elegant: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      
      /* Advanced Gradients */
      --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
      --gradient-accent: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-gold) 100%);
      --gradient-subtle: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
      
      /* Alert Colors */
      --warning-color: #f56565;
      --success-color: #48bb78;
      --info-color: #4299e1;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      line-height: 1.6;
      color: var(--text-primary);
      background-color: var(--bg-light);
      font-size: 16px;
      scroll-behavior: smooth;
      font-weight: 400;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    /* PROFESSIONAL HEADER - Matching contact.html */
    .header {
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      box-shadow: var(--shadow-subtle);
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      transition: all var(--transition-smooth);
      border-bottom: 1px solid rgba(26, 35, 126, 0.08);
      padding: 0.75rem 0;
    }

    .header.scrolled {
      background: rgba(255, 255, 255, 0.95);
      box-shadow: var(--shadow-medium);
      padding: 0.5rem 0;
    }

    /* SOPHISTICATED LOGO - Matching contact.html */
    .navbar-brand {
      display: flex;
      align-items: center;
      text-decoration: none;
      transition: all var(--transition-swift);
      padding: 0;
    }

    .navbar-brand:hover {
      transform: translateY(-1px);
    }

    .logo-container {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .logo-img {
      height: 45px;
      width: auto;
      max-width: 220px;
      object-fit: contain;
      transition: all var(--transition-swift);
      filter: brightness(1);
    }

    .logo-img:hover {
      filter: brightness(1.05);
    }

    /* Premium Logo Fallback */
    .logo-fallback {
      display: none;
      align-items: center;
      gap: 1rem;
    }

    .logo-symbol {
      width: 45px;
      height: 45px;
      background: var(--gradient-primary);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.2rem;
      font-weight: 700;
      box-shadow: var(--shadow-medium);
      position: relative;
      overflow: hidden;
    }

    .logo-symbol::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--gradient-accent);
      opacity: 0;
      transition: opacity var(--transition-swift);
    }

    .logo-symbol:hover::before {
      opacity: 0.2;
    }

    .logo-text-premium {
      display: flex;
      flex-direction: column;
      line-height: 1;
    }

    .brand-name {
      font-family: 'Playfair Display', serif;
      font-size: 1.75rem;
      font-weight: 700;
      color: var(--primary-navy);
      letter-spacing: -0.02em;
      margin: 0;
    }

    .brand-tagline {
      font-family: 'Inter', sans-serif;
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--text-tertiary);
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-top: 2px;
    }

    /* REFINED NAVIGATION - Matching contact.html */
    .navbar-nav {
      gap: 0.5rem;
    }

    .navbar-nav .nav-link {
      font-weight: 500;
      color: var(--text-secondary) !important;
      padding: 0.75rem 1.25rem !important;
      transition: all var(--transition-swift);
      position: relative;
      font-size: 0.95rem;
      border-radius: 6px;
      letter-spacing: 0.01em;
    }

    .navbar-nav .nav-link::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--accent-orange);
      transform: translateX(-50%);
      transition: width var(--transition-swift);
    }

    .navbar-nav .nav-link:hover {
      color: var(--primary-navy) !important;
      background: var(--light-blue);
      transform: translateY(-1px);
    }

    .navbar-nav .nav-link:hover::before {
      width: 80%;
    }

    .navbar-nav .nav-link.active {
      color: var(--primary-navy) !important;
      background: var(--light-blue);
      font-weight: 600;
    }

    .navbar-nav .nav-link.active::before {
      width: 80%;
    }

    /* Page Header */
    .page-header {
      background: var(--gradient-primary);
      color: white;
      padding: 120px 0 80px;
      margin-top: 76px;
      position: relative;
      overflow: hidden;
    }

    .page-header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23ffffff08" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
      opacity: 0.3;
    }

    .page-header-content {
      position: relative;
      z-index: 2;
      text-align: center;
    }

    .page-header h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.5rem, 5vw, 3.5rem);
      font-weight: 700;
      margin-bottom: 1.5rem;
      line-height: 1.1;
      letter-spacing: -0.02em;
    }

    .page-header .lead {
      font-size: clamp(1rem, 2.5vw, 1.2rem);
      opacity: 0.9;
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.6;
    }

    /* Main Content Area */
    .main-content {
      padding: 80px 0;
    }

    .content-section {
      background: var(--bg-white);
      border-radius: 16px;
      padding: 2.5rem;
      margin-bottom: 2rem;
      box-shadow: var(--shadow-subtle);
      border: 1px solid rgba(26, 35, 126, 0.08);
    }

    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.8rem;
      font-weight: 600;
      color: var(--primary-navy);
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .section-icon {
      width: 50px;
      height: 50px;
      background: var(--gradient-accent);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.5rem;
    }

    /* Resource Cards */
    .resource-card {
      background: var(--bg-light);
      border-radius: 12px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      border-left: 4px solid var(--accent-orange);
      transition: all var(--transition-smooth);
    }

    .resource-card:hover {
      transform: translateX(5px);
      box-shadow: var(--shadow-medium);
    }

    .resource-card h5 {
      color: var(--primary-navy);
      font-weight: 600;
      margin-bottom: 1rem;
    }

    .resource-card p {
      color: var(--text-secondary);
      margin-bottom: 0;
    }

    /* Drill Steps */
    .drill-steps {
      counter-reset: step-counter;
    }

    .drill-step {
      background: var(--bg-white);
      border-radius: 12px;
      padding: 1.5rem;
      margin-bottom: 1rem;
      border: 1px solid rgba(26, 35, 126, 0.08);
      position: relative;
      padding-left: 4rem;
      counter-increment: step-counter;
    }

    .drill-step::before {
      content: counter(step-counter);
      position: absolute;
      left: 1rem;
      top: 1rem;
      width: 35px;
      height: 35px;
      background: var(--gradient-accent);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      font-size: 0.9rem;
    }

    .drill-step h6 {
      color: var(--primary-navy);
      font-weight: 600;
      margin-bottom: 0.5rem;
    }

    /* Alert Boxes */
    .alert-custom {
      border-radius: 12px;
      border: none;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      position: relative;
      overflow: hidden;
    }

    .alert-danger {
      background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
      color: #742a2a;
    }

    .alert-warning {
      background: linear-gradient(135deg, #fef5e7 0%, #fcecc8 100%);
      color: #975a16;
    }

    .alert-info {
      background: linear-gradient(135deg, #e6f3ff 0%, #b3d9ff 100%);
      color: #2c5aa0;
    }

    .alert-success {
      background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
      color: #276749;
    }

    /* Sidebar Styles */
    .sidebar {
      position: sticky;
      top: 100px;
      height: fit-content;
    }

    .sidebar-card {
      background: var(--bg-white);
      border-radius: 16px;
      padding: 1.5rem;
      margin-bottom: 2rem;
      box-shadow: var(--shadow-subtle);
      border: 1px solid rgba(26, 35, 126, 0.08);
    }

    .sidebar-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--primary-navy);
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .sidebar-title i {
      color: var(--accent-orange);
    }

    /* Live Feed Styles */
    .live-feed {
      max-height: 400px;
      overflow-y: auto;
    }

    .feed-item {
      padding: 0.75rem;
      border-bottom: 1px solid rgba(26, 35, 126, 0.08);
      transition: background-color var(--transition-swift);
    }

    .feed-item:hover {
      background: var(--bg-light);
    }

    .feed-item:last-child {
      border-bottom: none;
    }

    .feed-magnitude {
      background: var(--gradient-accent);
      color: white;
      padding: 0.25rem 0.5rem;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
      display: inline-block;
      margin-bottom: 0.5rem;
    }

    .feed-magnitude.high {
      background: linear-gradient(135deg, var(--warning-color) 0%, #e53e3e 100%);
    }

    .feed-magnitude.medium {
      background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    }

    .feed-magnitude.orange {
      background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    }

    .feed-location {
      font-weight: 500;
      color: var(--text-primary);
      font-size: 0.9rem;
    }

    .feed-time {
      color: var(--text-light);
      font-size: 0.8rem;
    }

    /* Quick Links */
    .quick-links a {
      display: block;
      padding: 0.75rem 1rem;
      color: var(--text-secondary);
      text-decoration: none;
      border-radius: 8px;
      transition: all var(--transition-smooth);
      margin-bottom: 0.5rem;
    }

    .quick-links a:hover {
      background: var(--bg-light);
      color: var(--accent-orange);
      transform: translateX(5px);
    }

    .quick-links i {
      margin-right: 0.5rem;
      color: var(--accent-orange);
    }

    /* Emergency Contacts */
    .emergency-contact {
      background: var(--gradient-primary);
      color: white;
      border-radius: 12px;
      padding: 1.5rem;
      text-align: center;
    }

    .emergency-contact h6 {
      margin-bottom: 1rem;
      font-weight: 600;
    }

    .emergency-number {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    /* PREMIUM FOOTER - Matching contact.html */
    .footer {
      background: var(--primary-navy);
      color: white;
      position: relative;
      overflow: hidden;
    }

    .footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: var(--gradient-accent);
    }

    .footer-main {
      padding: 5rem 0 3rem;
    }

    .footer-brand-section {
      margin-bottom: 3rem;
    }

    .footer-logo-container {
      margin-bottom: 2rem;
    }

    .footer-logo {
      height: 50px;
      width: auto;
      max-width: 250px;
      filter: brightness(0) invert(1);
      transition: all var(--transition-swift);
    }

    .footer-logo:hover {
      filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 109, 0, 0.3));
    }

    .footer-brand-fallback {
      display: none;
      align-items: center;
      gap: 1rem;
    }

    .footer-brand-text {
      font-family: 'Playfair Display', serif;
      font-size: 2rem;
      font-weight: 700;
      color: white;
      margin: 0;
    }

    .footer-tagline {
      font-size: 1.1rem;
      color: rgba(255, 255, 255, 0.8);
      margin-bottom: 1.5rem;
      font-weight: 500;
    }

    .footer-description {
      color: rgba(255, 255, 255, 0.7);
      line-height: 1.6;
      max-width: 400px;
      margin-bottom: 2rem;
    }

    .footer-section h5 {
      font-family: 'Playfair Display', serif;
      font-weight: 600;
      color: white;
      margin-bottom: 1.5rem;
      font-size: 1.2rem;
    }

    .footer-links {
      list-style: none;
      padding: 0;
    }

    .footer-links li {
      margin-bottom: 0.75rem;
    }

    .footer-links a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      transition: all var(--transition-swift);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.95rem;
    }

    .footer-links a:hover {
      color: var(--accent-orange);
      transform: translateX(4px);
    }

    .social-links {
      display: flex;
      gap: 1rem;
      margin-top: 2rem;
    }

    .social-link {
      width: 50px;
      height: 50px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all var(--transition-smooth);
      color: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }

    .social-link:hover {
      background: var(--accent-orange);
      border-color: var(--accent-orange);
      transform: translateY(-2px);
      color: white;
      box-shadow: var(--shadow-medium);
    }

    .contact-info {
      margin-bottom: 2rem;
    }

    .contact-item {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      margin-bottom: 1.5rem;
      color: rgba(255, 255, 255, 0.8);
    }

    .contact-icon-footer {
      color: var(--accent-orange);
      width: 20px;
      text-align: center;
      margin-top: 2px;
      flex-shrink: 0;
    }

    .newsletter-section {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 16px;
      padding: 2rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }

    .newsletter-title {
      font-family: 'Playfair Display', serif;
      font-weight: 600;
      margin-bottom: 1rem;
      color: white;
      font-size: 1.1rem;
    }

    .newsletter-description {
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.9rem;
      margin-bottom: 1.5rem;
      line-height: 1.5;
    }

    .newsletter-form {
      display: flex;
      gap: 0.75rem;
      flex-direction: column;
    }

    .newsletter-input {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: white;
      border-radius: 8px;
      padding: 0.75rem 1rem;
      font-size: 0.95rem;
      transition: all var(--transition-swift);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }

    .newsletter-input:focus {
      outline: none;
      border-color: var(--accent-orange);
      background: rgba(255, 255, 255, 0.15);
      box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.1);
    }

    .newsletter-input::placeholder {
      color: rgba(255, 255, 255, 0.6);
    }

    .newsletter-btn {
      background: var(--gradient-accent);
      border: none;
      color: white;
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      font-weight: 500;
      transition: all var(--transition-smooth);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      width: 100%;
      font-size: 0.95rem;
      box-shadow: var(--shadow-medium);
      margin-top: 0.5rem;
    }

    .newsletter-btn:hover {
      transform: translateY(-1px);
      box-shadow: var(--shadow-strong);
      background: linear-gradient(135deg, #ff8f00 0%, #ffb300 100%);
    }

    .newsletter-btn:focus {
      outline: 2px solid var(--accent-orange);
      outline-offset: 2px;
    }

    .newsletter-btn i {
      font-size: 0.9rem;
    }

    .footer-bottom {
      background: rgba(0, 0, 0, 0.3);
      padding: 2rem 0;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-bottom-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .copyright {
      color: rgba(255, 255, 255, 0.6);
      margin: 0;
      font-size: 0.9rem;
    }

    .footer-bottom-links {
      display: flex;
      gap: 2rem;
    }

    .footer-bottom-links a {
      color: rgba(255, 255, 255, 0.6);
      text-decoration: none;
      transition: color var(--transition-swift);
      font-size: 0.9rem;
    }

    .footer-bottom-links a:hover {
      color: var(--accent-orange);
    }

    /* Scroll to Top */
    .scroll-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      background: var(--gradient-accent);
      color: white;
      border: none;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      display: none;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all var(--transition-smooth);
      z-index: 1000;
      box-shadow: var(--shadow-strong);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }

    .scroll-to-top:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-dramatic);
    }

    /* ANIMATIONS */
    .fade-in-up {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .fade-in-up.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Loading Animation */
    .loading {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      color: var(--text-light);
    }

    .spinner {
      border: 3px solid rgba(26, 35, 126, 0.08);
      border-top: 3px solid var(--accent-orange);
      border-radius: 50%;
      width: 30px;
      height: 30px;
      animation: spin 1s linear infinite;
      margin-right: 1rem;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Responsive Design */
    @media (max-width: 992px) {
      .main-content {
        padding: 60px 0;
      }
    }

    @media (max-width: 768px) {
      .header {
        padding: 0.5rem 0;
      }

      .logo-img {
        height: 35px;
        max-width: 180px;
      }

      .page-header {
        padding: 100px 0 60px;
      }
      
      .main-content {
        padding: 60px 0;
      }
      
      .content-section {
        padding: 2rem;
      }
      
      .drill-step {
        padding-left: 3rem;
      }
      
      .sidebar {
        position: static;
        margin-top: 2rem;
      }
      
      .footer-main {
        padding: 4rem 0 2rem;
      }
      
      .footer-bottom-content {
        flex-direction: column;
        text-align: center;
      }
      
      .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
      }
      
      .social-links {
        justify-content: center;
      }
    }

       @media (max-width: 576px) {
      .content-section {
        padding: 1.5rem;
      }
    }

    /* ACCESSIBILITY */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    @media (prefers-contrast: high) {
      :root {
        --primary-navy: #000000;
        --accent-orange: #ff4500;
        --text-primary: #000000;
        --bg-white: #ffffff;
      }
    }

    /* FOCUS STATES */
    *:focus-visible {
      outline: 2px solid var(--accent-orange);
      outline-offset: 2px;
    }

    .skip-link {
      position: absolute;
      top: -40px;
      left: 6px;
      background: var(--primary-navy);
      color: white;
      padding: 8px 16px;
      text-decoration: none;
      border-radius: 4px;
      z-index: 1002;
      transition: top var(--transition-swift);
      font-weight: 600;
    }

    .skip-link:focus {
      top: 6px;
    }
	
	
