/* Design System */
:root {
  --primary-dark: #121045; /* Dark Blue */
  --accent-blue: #e2aa27; /* Orange/blue */
  --accent-blue: #00aace; /* Orange/blue */
  --bg-light-grey: #f7f7f9;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-muted: #888888;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --section-padding: 80px 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography styles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-divider {
  width: 40px;
  height: 3px;
  background-color: var(--accent-blue);
  margin: 0 auto 40px auto;
}

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

/* Header & Navbar */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    background: transparent;
}

.logo {
  width: 225px;
  height: 100px;
  background-color: transparent;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links li a:hover {
  color: var(--accent-blue);
  transition: color 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  background-color: #111;
}

.hero .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .swiper-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-title {
  font-size: 5rem;
  font-weight: 800;
}

.hero-title .highlight {
  color: var(--accent-blue);
  display: block;
}

.hero-title .normal {
  color: #ffffff;
}

/* Section Backgrounds */
.bg-grey {
  background-color: var(--bg-light-grey);
}

.bg-white {
  background-color: var(--bg-white);
}

.has-bg-pattern {
  position: relative;
}

.has-bg-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  pointer-events: none;
  background-image: url('https://placehold.co/1920x1080/eeeeee/cccccc?text=Network+Pattern');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* About Us */
.about {
  padding: var(--section-padding);
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Our Events */
.events {
  padding: var(--section-padding);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.event-card {
  background: var(--bg-white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.event-desc {
  padding: 20px 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Other Businesses */
.businesses {
  padding: var(--section-padding);
}

.businesses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.business-card {
  background: var(--bg-white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.business-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.business-desc {
  padding: 20px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Our Team */
.team {
  padding: var(--section-padding);
  padding-bottom: 0;
}

.team-photos {
  display: flex;
  width: 100%;
  margin-top: 40px;
}

.team-photos img {
  width: 50%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

/* Clients */
.clients {
  padding: var(--section-padding);
}

.clients-swiper img {
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.clients-swiper img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Testimonials */
.testimonials {
  padding: var(--section-padding);
}

.testimonial-card {
  background: var(--bg-white);
  padding: 40px 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  border-radius: 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--accent-blue);
  text-transform: uppercase;
  margin-top: 5px;
}

/* News */
.news {
  padding: var(--section-padding);
}

.news-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.news-card img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.5s ease;
}

.news-card:hover img {
  transform: scale(1.05);
}

.news-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 80%;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  z-index: 1;
}

.news-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.news-date {
  font-size: 0.8rem;
  color: #ccc;
  margin-bottom: 5px;
}

.news-category {
  font-size: 0.8rem;
  color: var(--accent-blue);
  margin-bottom: 5px;
  text-transform: uppercase;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #f1f1f1;
}

/* Contact Us */
.contact {
  display: flex;
}

.contact-image {
  width: 50%;
  position: relative;
  min-height: 400px;
}

.contact-image img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
}

.contact-info {
  width: 50%;
  background-color: var(--primary-dark);
  padding: 80px 60px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info .section-title {
  text-align: left;
  color: #fff;
  margin-bottom: 20px;
}

.contact-info .section-divider {
  margin: 0 0 30px 0;
}

.contact-desc {
  font-size: 1rem;
  color: #ccc;
  max-width: 400px;
}

/* Footer */
footer {
  background: #000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 0.8rem;
}

.back-to-top {
  width: 30px;
  height: 30px;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.back-to-top:hover {
  background: var(--accent-blue);
  color: #fff;
}


/* --- SWIPER PAGINATION CUSTOMIZATIONS --- */
.swiper-pagination {
  position: relative !important;
  bottom: 0 !important;
  margin-top: 20px;
}

.hero-pagination {
  position: absolute !important;
  bottom: 30px !important;
}

.hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: transparent;
  opacity: 1;
  border: 1px solid #ffffff;
  margin: 0 5px !important;
}
.hero-pagination .swiper-pagination-bullet-active {
  background: #ffffff;
}

.clients-pagination .swiper-pagination-bullet {
  width: 30px;
  height: 3px;
  border-radius: 0;
  background: #ddd;
  opacity: 1;
  margin: 0 4px !important;
}
.clients-pagination .swiper-pagination-bullet-active {
  background: var(--accent-blue);
}

.testimonials-pagination .swiper-pagination-bullet {
  width: 30px;
  height: 3px;
  border-radius: 0;
  background: #ccc;
  opacity: 1;
  margin: 0 4px !important;
}
.testimonials-pagination .swiper-pagination-bullet-active {
  background: var(--accent-blue);
}

.news-pagination .swiper-pagination-bullet {
  width: 30px;
  height: 3px;
  border-radius: 0;
  background: #ccc;
  opacity: 1;
  margin: 0 4px !important;
}
.news-pagination .swiper-pagination-bullet-active {
  background: var(--accent-blue);
}


/* Responsive constraints */
@media (max-width: 992px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-title { font-size: 3rem; }
  .businesses-grid, .events-grid {
    grid-template-columns: 1fr;
  }
  .contact {
    flex-direction: column;
  }
  .contact-image, .contact-info {
    width: 100%;
  }
  .nav-links { display: none; }
}

/* Page Header for inner pages */
.page-header {
  position: relative;
  height: 350px;
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding-top: 90px;
}

.page-header-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(18, 16, 69, 0.85); /* primary dark with opacity */
  z-index: 1;
}

.page-title {
  color: var(--bg-white);
  font-size: 3rem;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.page-title .highlight {
  color: var(--accent-blue);
}

.relative { position: relative; }
.z-10 { z-index: 10; }

/* News Page Grid */
.news-page-content {
  padding: var(--section-padding);
}

.news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .news-page-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .news-page-grid { grid-template-columns: 1fr; }
  .page-title { font-size: 2.5rem; }
}

/* Pagination Links */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg-white);
  color: var(--primary-dark);
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-link:hover, .page-link.active {
  background-color: var(--accent-blue);
  color: var(--bg-white);
}

/* Single Post Layout */
.single-post-section {
  padding: 80px 20px;
}

.single-post-wrapper {
  display: flex;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.post-body {
  flex: 2;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.post-body .lead-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 30px;
}

.post-body p {
  margin-bottom: 20px;
}

.post-body h2, .post-body h3 {
  margin: 40px 0 20px 0;
  color: var(--primary-dark);
}

.post-inline-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
}

.post-body blockquote {
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 600;
  color: var(--primary-dark);
  border-left: 4px solid var(--accent-blue);
  padding-left: 20px;
  margin: 40px 0;
  background-color: var(--bg-light-grey);
  padding: 30px;
  border-radius: 0 8px 8px 0;
}

/* Sidebar */
.post-sidebar {
  flex: 1;
}

.sidebar-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.sidebar-divider {
  width: 30px;
  height: 3px;
  background-color: var(--accent-blue);
  margin-bottom: 30px;
}

.sidebar-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.sidebar-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.sidebar-item-content h4 {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.sidebar-item-content h4 a {
  transition: color 0.3s ease;
}

.sidebar-item-content h4 a:hover {
  color: var(--accent-blue);
}

.sidebar-item-content span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .single-post-wrapper {
    flex-direction: column;
  }
}

