/* style.css - Dynamic Theme System */

/* CSS Variables are set in header.php based on company configuration */
:root {
  --primary-color: #003566;
  --secondary-color: #0077b6;
  --accent-color: #00acc1;
  --text-color: #222222;
  --light-color: #f9f9f9;
  --hover-color: #005f8d;
}

/* Reset & base */
* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

body { 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
  background: var(--light-color); 
  color: var(--text-color); 
}

a { 
  text-decoration: none; 
}

img { 
  max-width: 100%; 
  display: block; 
}

/* Header & Footer */
header, footer { 
  background: var(--primary-color); 
  color: #fff; 
  text-align: center; 
}

header nav a, .footer-nav a { 
  margin: 0 15px; 
  color: #fff; 
  font-weight: bold; 
  display: inline-block; 
  padding: 15px 0; 
}

header nav a:hover, .footer-nav a:hover { 
  text-decoration: underline; 
  color: var(--accent-color);
}

/* Hero Section */
.hero { 
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); 
  color: #fff; 
  text-align: center; 
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero::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 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,96C1248,75,1344,53,1392,42.7L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 { 
  font-size: 3em;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 15px;
  animation: fadeInUp 0.8s ease-out;
}

.hero p { 
  font-size: 1.2em; 
  margin-top: 15px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Slider */
.slider { 
  overflow: hidden; 
  position: relative; 
  width: 100%;
  max-height: 60vh;
  margin: 20px 0;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.slides { 
  display: flex; 
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.slides img { 
  flex-shrink: 0;
  width: 100%; 
  height: 60vh;
  object-fit: cover;
  display: block;
}

.slider-nav { 
  position: absolute; 
  top: 50%; 
  width: 100%; 
  display: flex; 
  justify-content: space-between; 
  transform: translateY(-50%);
  padding: 0 20px;
  pointer-events: none;
  z-index: 10;
}

.slider-nav button { 
  background: rgba(0, 61, 91, 0.8);
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff; 
  font-size: 1.8em; 
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer; 
  opacity: 0.7;
  transition: all 0.3s ease;
  pointer-events: auto;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-nav button:hover {
  opacity: 1;
  background: rgba(0, 172, 193, 0.9);
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.slider-nav button:active {
  transform: scale(0.95);
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.slider-dot.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: scale(1.3);
}

/* Section */
.section { 
  padding: 60px 20px; 
  max-width: 1100px; 
  margin: auto; 
}

.section h2 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 2.2em;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 2px;
}

.section-description {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Alternate section backgrounds */
.services-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.insights-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f8ff 100%);
}

.projects-section {
  background: linear-gradient(180deg, #f0f8ff 0%, #ffffff 100%);
}

.jobs-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fff8 100%);
}

.testimonials-section {
  background: linear-gradient(180deg, #f8fff8 0%, #ffffff 100%);
}

.contact-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  padding: 80px 20px;
}

.contact-section h2,
.contact-section .section-description {
  color: #fff;
}

.contact-section h2::after {
  background: #fff;
}

/* Features Grid */
.features { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); 
  gap: 30px; 
  margin-top: 30px; 
}

.feature { 
  background: #fff; 
  padding: 30px; 
  border-radius: 12px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.06); 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border-left: 4px solid var(--accent-color);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 172, 193, 0.1), transparent);
  transition: left 0.5s;
}

.feature:hover::before {
  left: 100%;
}

.feature:hover { 
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  border-left-width: 6px;
}

.feature h3 { 
  margin-top: 0; 
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature i {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.feature:hover i {
  transform: scale(1.1) rotate(5deg);
}

.feature p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Service Detail Toggle */
.service-detail {
  display: none;
  margin-top: 15px;
  padding-top: 10px;
  border-top: 2px solid var(--accent-color);
  color: #444;
}

.feature.active .service-detail {
  display: block;
}

/* Insights Grid */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.insight-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  display: block;
}

.insight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.insight-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.insight-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 61, 91, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.insight-card:hover .insight-image::after {
  opacity: 1;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.insight-card:hover .insight-image img {
  transform: scale(1.1);
}

.insight-content {
  padding: 25px;
}

.insight-content h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
  font-size: 1.3rem;
  line-height: 1.4;
  font-weight: 600;
}

.insight-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: #777;
}

.insight-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.insight-meta i {
  color: var(--accent-color);
  font-size: 0.9rem;
}

.insight-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.insight-content .learn-more {
  color: var(--secondary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.insight-card:hover .learn-more {
  gap: 12px;
}

/* Jobs Grid */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.job-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  display: block;
  border-left: 4px solid var(--accent-color);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-left-width: 6px;
}

.job-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.job-header i {
  font-size: 2rem;
  color: var(--secondary-color);
  background: linear-gradient(135deg, rgba(0, 172, 193, 0.1), rgba(0, 172, 193, 0.2));
  padding: 15px;
  border-radius: 10px;
}

.job-header h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin: 0;
  font-weight: 600;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #666;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-meta i {
  color: var(--accent-color);
}

.job-card p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.job-card .learn-more {
  color: var(--secondary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.job-card:hover .learn-more {
  gap: 12px;
}

/* Contact Info Grid */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.contact-info-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.contact-info-item i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 15px;
  display: block;
}

.contact-info-item h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.contact-info-item p {
  color: #ddd;
  margin: 0;
  font-size: 1rem;
}

/* Testimonials Section Enhancement */
.testimonials-section .projects-grid {
  gap: 30px;
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

.mission-box {
  background: linear-gradient(135deg, rgba(0, 172, 193, 0.05), rgba(0, 172, 193, 0.1));
  border-left: 4px solid var(--accent-color);
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  text-align: left;
}

.mission-box i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.mission-box strong {
  display: block;
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.mission-box p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* Projects Section Enhancement */
.projects-grid { 
  display: grid; 
  gap: 20px; 
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); 
  margin-top: 30px; 
}

.project { 
  background: #fff; 
  border-radius: 10px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.06); 
  overflow: hidden; 
  transition: transform 0.3s;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.project img { 
  width: 100%; 
  height: 200px; 
  object-fit: cover; 
}

.project div { 
  padding: 20px; 
}

.project-detail {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  color: #444;
}

.toggle-btn {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.toggle-btn:hover {
  background-color: var(--hover-color);
}

/* Testimonials */
.testimonials { 
  background: var(--light-color); 
  padding: 60px 20px; 
}

.testimonial-item { 
  max-width: 700px; 
  margin: auto; 
  padding: 20px; 
  text-align: center; 
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.testimonial-item p { 
  font-style: italic; 
  margin-bottom: 15px; 
}

.testimonial-item h4 { 
  margin-bottom: 5px; 
  color: var(--primary-color); 
}

/* Contact Section */
.contact-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.contact-wrapper {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-info, .contact-form {
  flex: 1 1 400px;
  background: #fff;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-top: 4px solid var(--primary-color);
}

.contact-info h3,
.contact-form h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.6rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 6px;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 12px;
}

.contact-info a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  color: var(--hover-color);
  text-decoration: underline;
}

.contact-info ul {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.contact-info ul li {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #444;
  padding-left: 20px;
  position: relative;
}

.contact-info ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.contact-info ul li strong {
  color: var(--primary-color);
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  font-size: 1rem;
  padding: 12px 15px;
  margin-bottom: 18px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 6px rgba(0, 172, 193, 0.3);
}

.contact-form button {
  background-color: var(--secondary-color);
  color: white;
  padding: 14px 0;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.contact-form button:hover {
  background-color: var(--hover-color);
}

/* Map Container */
.map-container iframe { 
  width: 100%; 
  height: 400px; 
  border: 0; 
  border-radius: 10px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #333;
  padding: 0;
  margin-top: 60px;
  border-top: 3px solid var(--accent-color);
}

.footer-content {
  padding: 50px 20px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-column h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

.footer-column p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-links i {
  font-size: 0.7rem;
  color: var(--accent-color);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: #555;
  line-height: 1.6;
}

.footer-contact i {
  color: var(--secondary-color);
  margin-top: 3px;
  font-size: 1.1rem;
}

.footer-contact a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 61, 91, 0.3);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.05);
  padding: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.footer-tagline {
  color: var(--secondary-color);
  font-style: italic;
  font-size: 0.85rem !important;
}

/* Legacy footer classes for backward compatibility */
footer { 
  padding: 30px 20px; 
}

.footer-nav, .socials { 
  margin-bottom: 15px; 
}

.socials a { 
  margin: 0 10px; 
  font-size: 1.4em;
  color: #fff;
  transition: color 0.3s;
}

.socials a:hover {
  color: var(--accent-color);
}

/* Buttons (site-wide CTA) */
.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 26px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 172, 193, 0.3);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 172, 193, 0.4);
  color: white;
}

/* Secondary button variant (e.g. "back to list" links) */
.btn-secondary {
  background: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 53, 102, 0.3);
}

.btn-secondary:hover {
  box-shadow: 0 6px 20px rgba(0, 53, 102, 0.4);
}

/* Shared long-form body copy on detail pages */
.detail-description {
  font-size: 1.1em;
  line-height: 1.8;
}

/* Empty-state message inside a grid (e.g. "no jobs found") */
.grid-empty-message {
  text-align: center;
  width: 100%;
  padding: 20px 0;
  color: #666;
}

/* Back-to-list breadcrumb at the top of detail pages, so getting back
   to the list doesn't require scrolling to the bottom of the page. */
.detail-breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px 0;
}

.detail-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--light-color);
  transition: all 0.2s ease;
}

.detail-breadcrumb a:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateX(-3px);
}

/* Large button variant */
.btn-large {
  padding: 16px 40px !important;
  font-size: 1.1rem !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2) !important;
}

.btn-large:hover {
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3) !important;
}

/* Hero CTA buttons */
.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 12px 26px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--primary-color);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Learn more link styling */
.learn-more {
  color: var(--secondary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.learn-more i {
  transition: transform 0.3s ease;
}

.feature-link:hover .learn-more,
.insight-card:hover .learn-more,
.job-card:hover .learn-more {
  color: var(--primary-color);
}

.feature-link:hover .learn-more i,
.insight-card:hover .learn-more i,
.job-card:hover .learn-more i {
  transform: translateX(5px);
}

/* Feature link styling */
.feature-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Funny Box */
.funny-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(0, 172, 193, 0.05));
  border-left: 5px solid var(--accent-color);
  border-radius: 15px;
  padding: 25px;
  margin-top: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  animation: fadeIn 1s ease-in-out;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.funny-box::before {
  content: '😄';
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2.5em;
  opacity: 0.15;
  transition: all 0.3s ease;
}

.funny-box:hover::before {
  transform: rotate(20deg) scale(1.2);
  opacity: 0.25;
}

.funny-box:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(0, 172, 193, 0.1));
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.funny-box h3 {
  margin-bottom: 10px;
  font-size: 1.4em;
  color: var(--primary-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.funny-box p {
  font-size: 1.05em;
  color: #333;
  line-height: 1.6;
  font-style: italic;
}

/* Site Header */
.site-header {
  background-color: var(--primary-color);
  padding: 10px 20px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
  height: auto;
  border-radius: 5px;
}

.logo h2 {
  font-size: 1.2rem;
  color: white;
  margin: 0;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  flex: 1;
  margin: 0 20px;
}

.main-nav a {
  color: #fff;
  font-weight: bold;
  padding: 10px 12px;
  text-decoration: none;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--accent-color);
}

.sign-in a {
  color: #fff;
  background-color: var(--secondary-color);
  padding: 10px 16px;
  border-radius: 5px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.sign-in a:hover {
  background-color: var(--hover-color);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown > a {
  padding: 10px 15px;
  display: inline-block;
  color: #fff;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--primary-color);
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  color: #fff;
  padding: 10px 15px;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: var(--hover-color);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Login & Signup Forms */
.login-form, .signup-form {
  max-width: 400px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-top: 4px solid var(--primary-color);
}

.login-form label,
.signup-form label {
  display: block;
  margin-top: 15px;
  color: var(--text-color);
  font-weight: 500;
}

.login-form input,
.signup-form input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.login-form button,
.signup-form button {
  margin-top: 20px;
  padding: 12px;
  width: 100%;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.login-form button:hover,
.signup-form button:hover {
  background: var(--hover-color);
}

.login-form a,
.signup-form a {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(10px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--primary-color);
    margin-top: 10px;
  }

  .main-nav a {
    padding: 12px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: left;
  }

  .main-nav.active {
    display: flex;
  }

  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .sign-in {
    align-self: flex-end;
    margin-top: 10px;
  }

  .hero h1 { 
    font-size: 2em; 
  }
  
  .slides img { 
    height: 40vh; 
  }

  .contact-wrapper {
    flex-direction: column;
  }
}

@media(max-width:600px) {
  .hero h1 { 
    font-size: 1.8em; 
  }
  
  .slides img { 
    height: 30vh; 
  }
}

/* --- Styles for Service Card Links (Add to end of style.css) --- */

/* Styles the <a> tag wrapping the service cards */
.feature-link {
    text-decoration: none;
    color: inherit; /* Inherits text color from parent */
    display: block; /* Ensures the link takes up the full card space */
    height: 100%; /* Makes cards in a grid row equal height */
}

/* Make the feature div fill the link */
.feature {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Make the <p> tag grow to push the "learn-more" to the bottom */
.feature p {
    flex-grow: 1;
}

/* Styles the "View Details" text on service cards */
.learn-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--secondary-color);
    font-weight: bold;
    transition: all 0.3s ease;
}

.learn-more i {
    margin-left: 5px;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.feature-link:hover .learn-more {
    color: var(--hover-color);
}

.feature-link:hover .learn-more i {
    transform: translateX(4px); /* Arrow moves on hover */
}

/* ========================================
   BLOG POSTS SECTION
   ======================================== */
.blog-posts-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #c41e3a;
    color: white;
    padding: 8px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    text-transform: uppercase;
}

.blog-category.articles {
    background: #c41e3a;
}

.blog-category.news---updates {
    background: #0066cc;
}

.blog-category.tips---guides {
    background: #28a745;
}

.blog-category.case-studies {
    background: #fd7e14;
}

.blog-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-badge {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content h3 {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 0.85rem;
    color: #888;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: var(--accent-color);
}

.blog-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.blog-btn:hover {
    background: var(--hover-color);
    transform: translateX(5px);
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */
.why-choose-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.why-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Color variations */
.why-card.blue { border-top-color: #0077b6; }
.why-card.green { border-top-color: #28a745; }
.why-card.purple { border-top-color: #6f42c1; }
.why-card.orange { border-top-color: #fd7e14; }
.why-card.cyan { border-top-color: #00acc1; }
.why-card.gold { border-top-color: #ffc107; }

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(360deg);
}

.why-icon i {
    font-size: 2.5rem;
    color: white;
}

.why-card h3 {
    font-size: 1.35rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.why-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   PAYMENT METHODS SECTION
   ======================================== */
.payment-methods-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.payment-card {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.payment-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.payment-logo img {
    max-height: 100%;
    max-width: 120px;
    object-fit: contain;
}

.payment-card h4 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 600;
}

.payment-type {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.payment-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.payment-note {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-note i {
    color: var(--accent-color);
}
