/* ===== ROOT VARIABLES & COLOR PALETTE ===== */
:root {
  /* Primary Colors */
  --primary-dark: #141322;
  --primary-blue: #1b203e;
  --primary-gold: #fd3242;
  --primary-teal: #113478;
  --primary-white: #ffffff;
  
  /* Light/Dark Shades */
  --light-gray: #f8f9fa;
  --medium-gray: #6a7887;
  --dark-gray: #393f41;
  --accent-orange: #ff7b9a;
  --accent-purple: #6367ed;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-orange) 100%);
  --gradient-dark: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  
  /* Typography */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-xxl: 1.5rem;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --border-radius: 0.75rem;
  --box-shadow: 0 13px 40px rgba(0, 0, 0, 0.1);
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--primary-white);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: var(--font-size-xxl);
}

h2 {
  font-size: var(--font-size-xl);
}

h3 {
  font-size: var(--font-size-lg);
}

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-secondary {
  background: var(--gradient-secondary);
}

.bg-gradient-dark {
  background: var(--gradient-dark);
}

.section-padding {
  padding: var(--section-padding);
}

.rounded-custom {
  border-radius: var(--border-radius);
}

.shadow-custom {
  box-shadow: var(--box-shadow);
}

/* ===== HEADER & NAVIGATION ===== */
.navbar {
  background: rgba(14, 15, 30, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--primary-white);
}

.navbar-nav .nav-link {
  color: var(--primary-white);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-gold);
}

.navbar-toggler {
  border: none;
  color: var(--primary-white);
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../POI_images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--primary-white);
    padding-top: 200px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.73rem;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
  opacity: 0.8;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* ===== SECTION STYLES ===== */
.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 2.64rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  text-align: center;
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: var(--font-size-base);
  text-align: center;
  color: var(--medium-gray);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== ABOUT SECTION ===== */
.about-feature {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--border-radius);
  background: var(--light-gray);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.about-feature h4 {
  font-size: var(--font-size-lg);
  margin-bottom: 1rem;
}

/* ===== SERVICES SECTION ===== */
.services-item {
  background: var(--primary-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.services-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}

.services-item img {
  margin-bottom: 1.63rem;
}

.services-item-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
}

.services-item-desc {
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

.services-item-features {
  color: var(--medium-gray);
  font-size: var(--font-size-small);
  margin-bottom: 1.59rem;
}

.services-item-price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-gold);
}

/* ===== FEATURES SECTION ===== */
.features-item {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
}

.features-item i {
  font-size: 4rem;
  color: var(--primary-teal);
  margin-bottom: 1.61rem;
}

.features-item-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
}

.features-item-desc {
  color: var(--medium-gray);
}

/* ===== PRICE PLAN SECTION ===== */
.priceplan-item {
  background: var(--primary-white);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.priceplan-item:hover {
  transform: translateY(-10px);
}

.priceplan-item.featured {
  background: var(--gradient-primary);
  color: var(--primary-white);
  transform: scale(1.05);
}

.priceplan-item-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
}

.priceplan-item-price {
  font-size: 2.59rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-gold);
}

.priceplan-item.featured .priceplan-item-price {
  color: var(--primary-white);
}

.priceplan-item-desc {
  margin-bottom: 2rem;
  color: var(--medium-gray);
}

.priceplan-item.featured .priceplan-item-desc {
  color: rgba(255, 255, 255, 0.8);
}

.priceplan-item-features {
  list-style: none;
  padding: 0;
}

.priceplan-item-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.priceplan-item.featured .priceplan-item-features li {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* ===== TEAM SECTION ===== */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  margin-bottom: 1rem;
  box-shadow: var(--box-shadow);
}

.team-member-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 0.68rem;
}

.team-member-role {
  color: var(--medium-gray);
  font-style: italic;
}

/* ===== REVIEWS SECTION ===== */
.reviews-item {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-gold);
}

.reviews-item-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.reviews-item-author {
  font-weight: 600;
  color: var(--primary-teal);
}

/* ===== CASE STUDY SECTION ===== */
.casestudy-item {
  background: var(--primary-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
}

.casestudy-item-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-teal);
}

.casestudy-item-desc {
  color: var(--medium-gray);
}

/* ===== PROCESS SECTION ===== */
.process-item {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.process-item::before {
  content: counter(process-counter);
  counter-increment: process-counter;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--gradient-secondary);
  color: var(--primary-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-lg);
}

.process-container {
  counter-reset: process-counter;
}

.process-item-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.process-item-desc {
  color: var(--medium-gray);
}

/* ===== TIMELINE SECTION ===== */
.timeline-item {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-teal);
}

.timeline-item-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-teal);
}

.timeline-item-desc {
  color: var(--medium-gray);
}

/* ===== CAREER SECTION ===== */
.career-item {
  background: var(--primary-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.career-item:hover {
  border-color: var(--primary-gold);
}

.career-item-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
}

.career-item-role {
  color: var(--primary-gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.career-item-desc {
  color: var(--medium-gray);
}

/* ===== CORE INFO SECTION ===== */
.coreinfo-item {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
}

.coreinfo-item i {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.coreinfo-item-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
}

.coreinfo-item-desc {
  color: var(--medium-gray);
}

/* ===== CONTACT SECTION ===== */
.contact-form {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--box-shadow);
}

.form-control {
  border: 2px solid #e3e4e5;
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 0.2rem rgba(253, 55, 100, 0.25);
}

.btn-primary {
  background: var(--gradient-secondary);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gradient-secondary);
}

/* ===== BLOG SECTION ===== */
.blog-item {
  background: var(--primary-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
}

/* Blog item image styling moved to IMAGE OPTIMIZATIONS section */

.blog-item-content {
  padding: 1.5rem;
}

.blog-item-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-item-excerpt {
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

.blog-item-link {
  color: var(--primary-gold);
  font-weight: 600;
  text-decoration: none;
}

.blog-item-link:hover {
  text-decoration: underline;
}

/* ===== FAQ SECTION ===== */
.accordion-button {
  background: var(--light-gray);
  border: none;
  font-weight: 600;
  color: var(--dark-gray);
}

.accordion-button:not(.collapsed) {
  background: var(--primary-gold);
  color: var(--primary-white);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 74, 96, 0.25);
}

.accordion-body {
  background: var(--primary-white);
  color: var(--medium-gray);
}

/* ===== GALLERY SECTION ===== */
.gallery-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* Gallery item image styling moved to IMAGE OPTIMIZATIONS section */

/* ===== FOOTER ===== */
.footer {
  background: var(--gradient-dark);
  color: var(--primary-white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    animation: fadeIn 1s ease-in;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .priceplan-item.featured {
    transform: none;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.77rem;
  }
  
  .section-title {
    font-size: 1.77rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* ===== BREADCRUMBS ===== */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--light-gray);
}

.breadcrumb-image {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* ===== IMAGE OPTIMIZATIONS ===== */
/* Ensure images have proper dimensions to prevent layout shifts */
.services-item img,
.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

/* Ensure all images load smoothly */
img.lozad {
  transition: opacity 0.3s ease;
}

img.lozad[data-loaded="true"] {
  opacity: 1;
}

/* Loading state for images */
img.lozad:not([data-loaded="true"]) {
  opacity: 0.3;
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
