


/* ===== SIMPLE TESTIMONIALS ===== */
.simple-testimonials-section {
  background: var(--light-color);
}

.simple-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
}

.simple-testimonial {
  background: white;
  padding: 4rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(249, 115, 22, 0.1);
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
}

.simple-testimonial::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 3rem;
  font-size: 6rem;
  color: var(--primary-color);
  opacity: 0.2;
  font-family: serif;
}

.simple-testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.simple-testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 2rem;
  border: 3px solid var(--primary-color);
}

.simple-testimonial-quote {
  font-size: 1.7rem;
  line-height: 1.7;
  color: var(--gray-color);
  margin-bottom: 2.5rem;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.simple-testimonial-author {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.simple-testimonial-role {
  font-size: 1.4rem;
  color: var(--primary-color);
  font-weight: 500;
}



/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .hero-container,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .about-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .simple-testimonials-grid {
    grid-template-columns: 1fr;
  }
}




/* ===== GLOBAL STYLES ===== */
:root {
  --primary-color: #f97316;
  --secondary-color: #ff9e00;
  --accent-color: #ffb700;
  --dark-color: #1f2937;
  --light-color: #f7fafc;
  --gray-color: #718096;
  --success-color: #38b2ac;
  --error-color: #e53e3e;
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Montserrat", sans-serif;
  --transition: all 0.3s ease;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 10px;
  --gradient: linear-gradient(135deg, #f97316 0%, #ff9e00 100%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #fff;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 10rem 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h1 {
  font-size: 4.8rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

p, li {
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
  font: normal 1.4rem/1.6 var(--font-primary) !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.6rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.5s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 119, 0, 0.3);
}

.btn-primary:hover {
  background-color: #e66a00;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 119, 0, 0.4);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 158, 0, 0.3);
}

.btn-secondary:hover {
  background-color: #e68e00;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 158, 0, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 119, 0, 0.1);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 119, 0, 0.3);
}

.btn-light {
  background-color: #fff;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  background-color: #f8f9fa;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-sm {
  padding: 0.8rem 1.6rem;
  font-size: 1.4rem;
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: 0.3rem;
  background: var(--gradient);
  border-radius: 5rem;
}

.section-header p {
  color: var(--gray-color);
  font-size: 1.8rem;
  max-width: 60rem;
  margin: 0 auto;
}

.hidden {
  display: none;
}

.img-fluid {
  border-radius: var(--border-radius);
}

/* Make images clickable with pointer and add a hover effect */
.img-fullview img {
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.img-fullview img:hover {
  box-shadow: 0 0 0 4px var(--primary-color, #ff8800);
  transform: scale(1.03);
}

/* ============ faq section =============== */



/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 119, 0, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 119, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 119, 0, 0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-in-left {
  animation: slideInLeft 1s ease forwards;
}

.slide-in-right {
  animation: slideInRight 1s ease forwards;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition);
  padding: 2rem 0;
}



.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: var(--font-secondary);
  font-size: 2.8rem;

}

.logo span {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu li {
  margin-left: 3rem;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.5rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--dark-color);
  transition: var(--transition);
}





/* ===== PRELOADER STYLES ===== */
#preloader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s;
}

.loader {
  width: 60px;
  height: 60px;
  border: 6px solid #ff7700;
  border-top: 6px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 18px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-inner {
  display: none;
}

.preloader-slogan {
  margin-top: 12px;
  font-size: 1.15em;
  color: #ff7700;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.5px;
  font-family: 'Montserrat', 'Poppins', Arial, sans-serif;
  animation: fadeIn 1.2s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== RESPONSIVE STYLES ===== */

/* Large Desktops (1400px and up) */
@media screen and (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  .hero-content h1 {
    font-size: 5.5rem;
  }
}

/* Desktops and Laptops (1200px - 1399px) */
@media screen and (max-width: 1399px) {
  .container {
    max-width: 1140px;
  }

  .packages-container {
    justify-content: center;
    gap: 2rem;
  }

  .package-card.featured {
    transform: scale(1);
  }

  .package-card.featured:hover {
    transform: translateY(-10px);
  }

  /* Process timeline adjustments */
  .process-timeline::before {
    left: 2rem;
  }

  .process-item:nth-child(odd),
  .process-item:nth-child(even) {
    padding-left: 7rem;
    padding-right: 0;
  }

  .process-item:nth-child(odd) .process-number,
  .process-item:nth-child(even) .process-number {
    left: 0;
    right: auto;
  }
}

/* Tablets and Small Laptops (992px - 1199px) */
@media screen and (max-width: 1199px) {
  html {
    font-size: 58%;
  }

  .container {
    max-width: 960px;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 3.2rem;
  }

  /* Blog post layout adjustments */
  .post-layout {
    flex-direction: column;
  }

  .post-sidebar {
    order: -1;
    margin-bottom: 3rem;
  }

  /* Portfolio adjustments */
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  }
}

/* Tablets (768px - 991px) */
@media screen and (max-width: 991px) {
  html {
    font-size: 55%;
  }

  .container {
    max-width: 720px;
  }

  /* Hero section adjustments */
  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 4rem;
    padding-top: 4rem;
  }

  .hero-content {
    padding-right: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .cta-buttons {
    justify-content: center;
  }

  /* Services grid adjustments */
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  }

  /* About section adjustments */
  .about-content {
    flex-direction: column;
    gap: 4rem;
  }

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

  .certification-badge {
    bottom: -2rem;
    right: 50%;
    transform: translateX(50%);
  }

  /* Blog post adjustments */
  .blog-post-header h1 {
    font-size: 3.6rem;
  }

  .post-body {
    padding: 3rem;
  }

  .author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-social {
    justify-content: center;
  }

  /* Testimonial adjustments */
  .testimonial-wrapper {
    height: 45rem;
  }

  /* Add these specific fixes to the navigation bar */
  /* Existing styles remain... */

  /* Navigation bar overflow fix */
  .navbar {
    width: 100%;
    padding: 0 1rem;
    padding: 0 1.5rem;
  }

  .logo a {
    font-size: 2.4rem;
  }

  /* Ensure the menu toggle is properly positioned */
   .menu-toggle {
    display: block;
    z-index: 1000;
  }

  .nav-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    padding: 8rem 0 5rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-menu.active {
    top: 0;
  }

  .nav-menu li {
    margin: 1.5rem 0;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Large Mobile Devices (576px - 767px) */
@media screen and (max-width: 767px) {
  html {
    font-size: 52%;
  }

  .container {
    max-width: 540px;
    padding: 0 2.5rem;
  }

  section {
    padding: 8rem 0;
  }

  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  /* Navigation adjustments */


  /* Grid adjustments */
  .unique-grid,
  .blog-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  /* Featured post adjustments */
  .featured-post-container {
    flex-direction: column;
  }

  .featured-post-image {
    width: 100%;
  }

  .featured-post-content {
    padding: 3rem;
  }

  /* Newsletter adjustments */
  .newsletter-container {
    padding: 3rem;
  }

  /* Interactive container adjustments */
  .interactive-container {
    flex-direction: column;
  }

  .interactive-badge {
    width: 10rem;
    height: 10rem;
  }

  /* Timeline adjustments */
  .timeline-date {
    width: 8rem;
    font-size: 1.4rem;
    padding: 0.8rem;
  }
  
  .timeline-item:nth-child(odd) .timeline-date,
  .timeline-item:nth-child(even) .timeline-date {
    left: -4rem;
  }

  /* Testimonial adjustments */
  .testimonial-controls button {
    width: 3.5rem;
    height: 3.5rem;
  }

  #prev-testimonial {
    margin-left: 1rem;
  }

  #next-testimonial {
    margin-right: 1rem;
  }

  .testimonial-content {
    padding: 3rem;
  }

  .testimonial-wrapper {
    height: 50rem;
  }

  .client-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  /* Blog post adjustments */
  .blog-post-header {
    padding: 12rem 0 4rem;
  }

  .blog-post-header h1 {
    font-size: 3rem;
  }

  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .post-details {
    flex-direction: column;
    gap: 1rem;
  }
  
  .post-section h2 {
    font-size: 2.4rem;
  }
  
  .comment {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .comment.reply {
    margin-left: 2rem;
  }
  
  /* Contact section adjustments */
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info {
    order: 2;
  }
  
  .contact-form {
    order: 1;
    margin-bottom: 3rem;
  }


  .navbar {
    padding: 0 1.5rem;
  }

  .logo a {
    font-size: 2.4rem;
  }

  /* Ensure the menu toggle is properly positioned */
  .menu-toggle {
    margin-right: 0;
  }
}


/* CTA Section */
.cta {
  background: linear-gradient(120deg, #fffbe7 60%, #ffb400 100%);
  padding: 5rem 0 3rem 0;
  text-align: center;
}
.cta-content h2 {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
}
.cta-content p {
  font-size: 1.3rem;
  color: #444;
  margin-bottom: 2rem;
}
.cta-content .btn {
  font-size: 1.2rem;
  padding: 1.1rem 2.2rem;
}


/* Mobile Devices (400px - 575px) */
@media screen and (max-width: 575px) {
  html {
    font-size: 50%;
  }

  .container {
    width: 100%;
    padding: 0 2rem;
  }

  section {
    padding: 7rem 0;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  /* Navigation adjustments */
  .menu-toggle {
    display: block;
    z-index: 1000;
  }

  .nav-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    padding: 8rem 0 5rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-menu.active {
    top: 0;
  }

  .nav-menu li {
    margin: 1.5rem 0;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Grid adjustments */
  .unique-grid,
  .blog-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  /* Featured post adjustments */
  .featured-post-container {
    flex-direction: column;
  }

  .featured-post-image {
    width: 100%;
  }

  .featured-post-content {
    padding: 3rem;
  }

  /* Newsletter adjustments */
  .newsletter-container {
    padding: 3rem;
  }

  /* Stats counter adjustments */
  .stat-number {
    font-size: 3.6rem;
  }

  /* Timeline adjustments */
  .timeline-item {
    padding-left: 5rem !important;
  }

  .timeline-date {
    width: 7rem;
    font-size: 1.2rem;
  }

  .timeline-item:nth-child(odd) .timeline-date,
  .timeline-item:nth-child(even) .timeline-date {
    left: -3.5rem;
  }

  /* Post body adjustments */
  .post-body {
    padding: 2rem;
  }

  .table-of-contents {
    padding: 1.5rem;
  }

  .author-bio {
    padding: 2rem;
  }

  .comments-section {
    padding: 2rem;
  }

  .sidebar-widget {
    padding: 2rem;
  }

  /* Portfolio adjustments */
  .portfolio-img {
    height: 20rem;
  }

  /* Footer adjustments */
  .footer {
    padding: 6rem 0 2rem;
  }

  .footer-content {
    gap: 3rem;
  }

  .back-to-top {
    right: 2rem;
    bottom: 2rem;
    width: 4.5rem;
    height: 4.5rem;
  }
}

/* Small Mobile Devices (399px and below) */
@media screen and (max-width: 399px) {
  html {
    font-size: 48%;
  }

  .container {
    padding: 0 1.5rem;
  }

  section {
    padding: 6rem 0;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  /* CTA buttons adjustments */
  .cta-buttons {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* Tools grid adjustments */
  .tools-grid {
    gap: 1.5rem;
  }

  .tool-item {
    width: 6.5rem;
    height: 6.5rem;
  }

  /* Certificate grid adjustments */
  .certificate-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonial adjustments */
  .testimonial-wrapper {
    height: 55rem;
  }

  .testimonial-content {
    padding: 2rem;
  }

  /* Form adjustments */
  .form-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .form-row .form-group {
    min-width: 100%;
  }

  /* Newsletter form adjustments */
  .newsletter-form .form-group {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }

  .newsletter-form button {
    border-radius: var(--border-radius);
    width: 100%;
  }

  /* Certification section adjustments */
  .certification-container {
    flex-direction: column;
  }

  .certificate-showcase,
  .motivational-quote {
    width: 100%;
  }

  .inspiration-card {
    min-width: 100%;
  }

  /* Icon container adjustments */
  .icon-container {
    width: 70px;
    height: 70px;
  }
}

/* Add specific footer grid adjustment at 750px */
@media screen and (max-width: 750px) {
  /* Footer grid adjustment from 2 to 1 column */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  /* Ensure footer content is properly aligned */
  .footer-logo,
  .footer-links,
  .footer-services,
  .footer-contact {
    text-align: center;
  }

  .footer-links ul li a,
  .footer-services ul li a,
  .footer-contact ul li a {
    display: inline-block;
  }

  .footer-contact ul li {
    justify-content: center;
  }
}

/* Blog Page Responsive Styles */
@media screen and (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-post-container {
        flex-direction: column;
    }

    .featured-post-image,
    .featured-post-content {
        flex: none;
    }

    .featured-post-image {
        height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .blog-hero-content h1 {
        font-size: 3.6rem;
    }

    .blog-hero-content p {
        font-size: 1.8rem;
    }

    .categories-container {
        padding: 0 2rem;
    }

    .category-item {
        padding: 0.8rem 1.5rem;
        font-size: 1.4rem;
    }

    .featured-post-content {
        padding: 3rem;
    }

    .newsletter-container {
        padding: 3rem 2rem;
    }
}

@media screen and (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero-content h1 {
        font-size: 3rem;
    }

    .newsletter-form .form-group {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .featured-post-image {
        height: 250px;
    }
}

/* Mobile specific adjustments for sections */
@media (max-width: 700px) {
  section, .hero-section, .services-hero, .about-story-section, .about, .about-business, .skills, .fun-fact-section, .portfolio, .testimonials, .faq, .cta {
    min-height: 70vh !important;
    height: auto;
  }

  main, .hero, .about-section, .services-section, .portfolio-section, .process-section {
    min-height: 70vh;
  }
}

/* === Team Member Modal Styles === */
.team-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31,41,55,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}
.team-modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 500px;
  width: 95vw;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  position: relative;
  animation: fadeInModal 0.3s;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.team-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 2.2rem;
  color: #f97316;
  cursor: pointer;
  font-weight: bold;
}
.team-modal-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.team-modal-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f97316;
}
.team-modal-body {
  font-size: 1.4rem;
  color: #374151;
}
.team-modal-skills, .team-modal-certificates, .team-modal-contact {
  margin: 0.7rem 0 1.2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.skill-item {
  background: #f3f4f6;
  color: #f97316;
  padding: 0.3rem 1rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 500;
}
.certificate-item {
  background: #f8fafc;
  border: 1px solid #f97316;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  max-width: 350px;
}
.certificate-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.certificate-name {
  font-weight: 600;
  color: #1f2937;
  text-align: center;
}
.certificate-issuer {
  color: #6b7280;
  font-size: 1.1rem;
  text-align: center;
}
@media (max-width: 600px) {
  .team-modal-content { padding: 1.2rem 0.5rem; }
  .team-modal-header { flex-direction: column; gap: 0.7rem; }
  .team-modal-img { width: 70px; height: 70px; }
  .certificate-item { max-width: 98vw; }
  .certificate-image { max-width: 98vw; }
}

