:root {
  /* Color Palette - 5 primary colors with light/dark shades */
  --primary-blue: #418fd1;
  --primary-blue-light: #80b2d9;
  --primary-blue-dark: #3f54a8;
  
  --primary-green: #7cdf17;
  --primary-green-light: #bbd974;
  --primary-green-dark: #49a419;
  
  --primary-purple: #8625eb;
  --primary-purple-light: #d57cff;
  --primary-purple-dark: #610996;
  
  --primary-orange: #ff8547;
  --primary-orange-light: #f3b09d;
  --primary-orange-dark: #c63a27;
  
  --primary-pink: #ff398e;
  --primary-pink-light: #ff85b1;
  --primary-pink-dark: #d63f71;
  
  /* Neutral colors */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --gray: #697588;
  --dark-gray: #4e5157;
  --black: #000000;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  --gradient-secondary: linear-gradient(135deg, var(--primary-green), var(--primary-orange));
  --gradient-accent: linear-gradient(135deg, var(--primary-pink), var(--primary-orange));
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.64rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.77rem; }
h4 { font-size: 1.65rem; }
h5 { font-size: 1.30rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Header */
.navbar-brand {
  font-size: 1.51rem !important;
  font-weight: 700;
  color: var(--primary-blue) !important;
}

.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(11px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
  color: var(--dark-gray) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.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('../TIF_images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 6px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .subtitle {
  color: var(--white);
  font-size: 1.31rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-section .description {
  color: var(--white);
  font-size: 1.19rem;
  opacity: 0.8;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 21px 40px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark-gray);
  font-size: 2.59rem;
}

.section-subtitle {
  text-align: center;
  color: var(--primary-blue);
  font-size: 1.28rem;
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  color: var(--gray);
  font-size: 1.18rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  background-color: var(--light-gray);
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 19px;
  box-shadow: 0 19px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.15);
}

.feature-card i {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.feature-card h4 {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray);
}

/* Services Section */
.services-section {
  background: var(--gradient-secondary);
  color: var(--white);
}

.services-section .section-title,
.services-section .section-subtitle,
.services-section .section-desc {
  color: var(--white);
}

.service-card {
  background: var(--white);
  color: var(--dark-gray);
  padding: 2rem;
  border-radius: 21px;
  box-shadow: 0 17px 35px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-11px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 17px;
  margin-bottom: 1.65rem;
}

.service-card h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin: 1rem 0;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.service-features li:last-child {
  border-bottom: none;
}

/* Features Section */
.features-section {
  background-color: var(--white);
}

/* Price Plan Section */
.priceplan-section {
  background: var(--gradient-accent);
  color: var(--white);
}

.priceplan-section .section-title,
.priceplan-section .section-subtitle,
.priceplan-section .section-desc {
  color: var(--white);
}

.price-card {
  background: var(--white);
  color: var(--dark-gray);
  padding: 2.5rem 2rem;
  border-radius: 23px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}

.price-card h4 {
  color: var(--primary-purple);
  text-align: center;
  margin-bottom: 1rem;
}

.price-card .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-green);
  text-align: center;
  margin: 1.5rem 0;
}

/* Team Section */
.team-section {
  background-color: var(--light-gray);
}

.team-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.57rem;
  border: 5px solid var(--primary-blue-light);
}

.team-card h5 {
  color: var(--dark-gray);
  margin-bottom: 0.61rem;
}

.team-card .role {
  color: var(--primary-blue);
  font-style: italic;
}

/* Reviews Section */
.reviews-section {
  background: var(--gradient-primary);
  color: var(--white);
}

.reviews-section .section-title,
.reviews-section .section-subtitle,
.reviews-section .section-desc {
  color: var(--white);
}

.review-card {
  background: var(--white);
  color: var(--dark-gray);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -13px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-blue-light);
  font-family: serif;
}

.review-author {
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: 1rem;
}

/* Case Study Section */
.casestudy-section {
  background-color: var(--white);
}

.case-card {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  border-left: 5px solid var(--primary-green);
  transition: transform 0.3s ease;
}

.case-card:hover {
  transform: translateX(5px);
}

.case-card h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Process Section */
.process-section {
  background: var(--gradient-secondary);
  color: var(--white);
}

.process-section .section-title,
.process-section .section-subtitle,
.process-section .section-desc {
  color: var(--white);
}

.process-step {
  background: var(--white);
  color: var(--dark-gray);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.process-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--primary-orange);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.process-container {
  counter-reset: step-counter;
}

.process-step h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  margin-top: 0.74rem;
}

/* Timeline Section */
.timeline-section {
  background-color: var(--light-gray);
}

.timeline-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  margin-left: 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 30px;
  width: 15px;
  height: 15px;
  background: var(--primary-blue);
  border-radius: 50%;
  border: 3px solid var(--white);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -18px;
  top: 45px;
  width: 2px;
  height: calc(100% + 2rem);
  background: var(--primary-blue-light);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-item h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Career Section */
.career-section {
  background: var(--gradient-accent);
  color: var(--white);
}

.career-section .section-title,
.career-section .section-subtitle,
.career-section .section-desc {
  color: var(--white);
}

.career-card {
  background: var(--white);
  color: var(--dark-gray);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.career-card h4 {
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

.career-role {
  background: var(--primary-blue-light);
  color: var(--primary-blue-dark);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  display: inline-block;
  margin-top: 1rem;
  font-size: 1.00rem;
  font-weight: 600;
}

/* Core Info Section */
.coreinfo-section {
  background-color: var(--white);
}

.coreinfo-card {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.coreinfo-card:hover {
  transform: translateY(-5px);
}

.coreinfo-card i {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.coreinfo-card h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  background: var(--gradient-primary);
  color: var(--white);
}

.contact-section .section-title,
.contact-section .section-subtitle,
.contact-section .section-desc {
  color: var(--white);
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

.contact-form .form-control {
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(80, 156, 245, 0.25);
}

.contact-form button {
  background: var(--gradient-primary);
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  color: var(--white);
  font-weight: 600;
  transition: transform 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.contact-info p {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.21rem;
}

.contact-info i {
  color: var(--primary-orange);
  margin-right: 1rem;
  width: 20px;
}

/* Blog Section */
.blog-section {
  background-color: var(--light-gray);
}

.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 2rem;
}

.blog-card h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.blog-card .excerpt {
  color: var(--gray);
  margin-bottom: 1rem;
}

.blog-card .read-more {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
}

.blog-card .read-more:hover {
  text-decoration: underline;
}

/* FAQ Section */
.faq-section {
  background-color: var(--white);
}

.faq-card {
  background: var(--light-gray);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--primary-blue);
  color: var(--white);
  padding: 1.5rem;
  margin: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-blue-dark);
}

.faq-answer {
  padding: 1.5rem;
  background: var(--white);
  color: var(--dark-gray);
  border-top: 1px solid var(--light-gray);
}

/* Gallery Section */
.gallery-section {
  background-color: var(--light-gray);
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer h5 {
  color: var(--primary-blue-light);
  margin-bottom: 1rem;
}

.footer p {
  color: var(--light-gray);
  margin-bottom: 0.56rem;
}

.footer a {
  color: var(--primary-blue-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--white);
}

.footer .copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray);
  margin-top: 2rem;
  color: var(--gray);
}

/* Breadcrumb */
.breadcrumb-section {
  background: var(--light-gray);
  padding: 2rem 0;
}

.breadcrumb-img {
  width: 100%;
  max-width: 200px;
  height: auto;
}

/* Space Page */
#space {
  min-height: 60vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  text-align: center;
}

/* Utilities */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-gradient {
  background: var(--gradient-primary);
  border: none;
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

/* Form Validation */
.form-control.is-invalid {
  border-color: #de496f;
  box-shadow: 0 0 0 0.2rem rgba(205, 29, 54, 0.25);
}

.form-check-input.is-invalid {
  border-color: #e63e4b;
}

.form-control.is-valid {
  border-color: #3baf68;
  box-shadow: 0 0 0 0.2rem rgba(38, 177, 71, 0.25);
}

/* Animation Classes */
.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar Scrolled State */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Loading States */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-blue);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hover States */
.career-card:hover,
.coreinfo-card:hover,
.timeline-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Active FAQ State */
.faq-question.active {
  background: var(--primary-blue-dark) !important;
}

/* Animation delays for staggered effects */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; } 


/* 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;
    }
}
