:root {
  --primary-color: #1e3442;
  --secondary-color: #fb3a29;
  --accent-color: #ffb21a;
  --success-color: #2ca06d;
  --info-color: #29a1ca;
  --light-shade: #ecf0f1;
  --dark-shade: #33434f;
  --gradient-primary: linear-gradient(135deg, #334158 0%, #3a495e 100%);
  --gradient-secondary: linear-gradient(135deg, #fb6a3f 0%, #d93e40 100%);
  --gradient-accent: linear-gradient(135deg, #ff9e00 0%, #d38d34 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--primary-color);
  background-color: var(--light-shade);
}

/* Header Styles */
.navbar-brand {
  font-size: 1.13rem !important;
  font-weight: 600;
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
  color: var(--primary-color) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
  min-height: 100vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../PAN_images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

.hero-content h1 {
  padding-top: 100px !important;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.54rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.32rem;
  color: var(--light-shade);
  margin-bottom: 1.58rem;
}

.hero-desc {
  font-size: 1rem;
  color: var(--light-shade);
  margin-bottom: 2rem;
}

/* Section Titles */
.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.17rem;
  color: var(--dark-shade);
  margin-bottom: 1rem;
  text-align: center;
}

.section-desc {
  font-size: 1rem;
  color: var(--dark-shade);
  margin-bottom: 3rem;
  text-align: center;
}

/* Cards */
.card {
  border: none;
  border-radius: 17px;
  box-shadow: 0 11px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 25px rgba(0,0,0,0.15);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

/* Services */
.service-card {
  background: white;
  height: 100%;
}

.service-price {
  font-size: 1.62rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-top: 1rem;
}

.service-features {
  color: var(--success-color);
  font-size: 1.01rem;
  margin-top: 0.74rem;
}

/* Team */
.team-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.team-name {
  font-size: 1.24rem;
  font-weight: 600;
  color: var(--primary-color);
}

.team-role {
  color: var(--dark-shade);
  font-size: 0.98rem;
}

/* Reviews */
.review-card {
  background: var(--light-shade);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.59rem;
}

.review-text {
  font-style: italic;
  color: var(--dark-shade);
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
}

.faq-answer {
  padding: 1rem;
  background: white;
  color: var(--dark-shade);
  display: none;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-control {
  border-radius: 10px;
  border: 2px solid var(--light-shade);
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(221, 86, 39, 0.25);
}

.form-control.is-invalid {
  border-color: #eb2150;
  box-shadow: 0 0 0 0.2rem rgba(196, 51, 63, 0.25);
}

.form-control.is-valid {
  border-color: var(--success-color);
  box-shadow: 0 0 0 0.2rem rgba(27, 197, 98, 0.25);
}

.btn-primary {
  background: var(--gradient-secondary);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gradient-secondary);
}

/* Footer */
.footer {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-shade);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-color);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Blog */
.blog-card {
  height: 100%;
}

.blog-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  color: var(--primary-color);
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--light-shade);
}

.breadcrumb-img {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.53rem;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}



/* Price Plans */
.price-card {
  position: relative;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  height: 100%;
}

.price-card.featured {
  border: 3px solid var(--secondary-color);
  transform: scale(1.05);
}

.price-amount {
  font-size: 2.60rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 1rem 0;
}



/* Career */
.career-item {
  background: white;
  border-left: 4px solid var(--secondary-color);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 0 15px 15px 0;
}

/* Timeline/Process */
.process-step {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.96rem;
}

.process-step::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 40px;
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--accent-color);
}

.process-step:last-child::after {
  display: none;
}

/* Add numbers to process steps */
.process-step:nth-child(1)::before { content: '1'; }
.process-step:nth-child(2)::before { content: '2'; }
.process-step:nth-child(3)::before { content: '3'; }
.process-step:nth-child(4)::before { content: '4'; }
.process-step:nth-child(5)::before { content: '5'; }

/* Case Studies */
.case-study-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.case-study-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Core Info */
.core-info-item {
  background: var(--gradient-accent);
  color: white;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.core-info-item:hover {
  transform: translateY(-3px);
}

.core-info-item h5 {
  color: white;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Blog */
.blog-card {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.blog-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  animation: fadeIn 0.3s ease-out forwards;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.3s ease-out;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.lightbox-close:hover {
  background-color: rgba(255,255,255,0.2);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.8); }
  to { transform: scale(1); }
} 


/* 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;
    }
}
