/* Modern World-Class Styling for Alhamra Builders Website */

/* Base Variables */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #e67e22;
  --accent-color: #3498db;
  --text-color: #333;
  --light-text: #f8f9fa;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --gray-bg: #f1f1f1;
  --border-color: #ddd;
  --success-color: #2ecc71;
  --error-color: #e74c3c;
  --warning-color: #f39c12;
  --info-color: #3498db;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);
  --shadow-carousel: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 8px 25px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.05);
  
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  --transition-carousel: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 20px;
  --border-radius-round: 50%;
  
  /* Carousel specific variables */
  --carousel-height: 200px;
  --carousel-padding: 3rem;
  --carousel-nav-size: 60px;
  --carousel-dot-size: 12px;
  --carousel-progress-height: 4px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

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

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 2.8rem;
}

h4 {
  font-size: 2.4rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

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

/* Responsive Container Adjustments */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}

/* Utility Classes */
.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

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

.rounded-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  box-shadow: var(--shadow-sm);
  font-size: 1.4rem;
  line-height: 1;
}

.btn:hover {
  background-color: #d35400;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Responsive Buttons */
@media (max-width: 768px) {
  .btn {
    padding: 1.4rem 2rem;
    font-size: 1.4rem;
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 1.2rem 1.8rem;
    font-size: 1.3rem;
    letter-spacing: 0.3px;
  }
}

.btn-primary {
  background-color: var(--secondary-color);
}

.btn-secondary {
  background-color: var(--primary-color);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Header & Navigation */
header {
  background-color: rgba(255, 255, 255, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive Header */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 1.8rem 1rem;
  }
}

.logo a {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* Responsive Logo */
@media (max-width: 768px) {
  .logo a {
    font-size: 2rem;
  }
  
  .logo-image {
    height: 40px;
    max-width: 160px;
  }
}

@media (max-width: 480px) {
  .logo a {
    font-size: 1.8rem;
  }
  
  .logo-image {
    height: 35px;
    max-width: 140px;
  }
}

.main-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin-left: 2.5rem;
}

.main-nav a {
  color: var(--text-color);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width var(--transition-fast);
}

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

.main-nav a.active {
  color: var(--secondary-color);
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
  background: linear-gradient(135deg, var(--secondary-color), #d35400);
  border-radius: var(--border-radius-md);
  padding: 8px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  border: none;
  z-index: 1001;
}

.mobile-nav-toggle:hover {
  background: linear-gradient(135deg, #d35400, var(--secondary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mobile-nav-toggle:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: white;
  margin: 2.5px 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 2px;
  position: relative;
  transform-origin: center;
}

.mobile-nav-toggle span:nth-child(1) {
  transform-origin: top left;
}

.mobile-nav-toggle span:nth-child(3) {
  transform-origin: bottom left;
}

/* Animated hamburger when active */
.mobile-nav-toggle.open {
  background: linear-gradient(135deg, var(--primary-color), #34495e);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  width: 20px;
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: rotate(180deg);
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 20px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 0.98));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 999;
  padding: 3rem 2rem;
  transform: translateY(-100%);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  border-bottom: 3px solid var(--secondary-color);
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0;
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.active li {
  opacity: 1;
  transform: translateX(0);
  animation: slideInLeft 0.3s ease forwards;
}

.mobile-nav.active li:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav.active li:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav.active li:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav.active li:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav.active li:nth-child(5) { animation-delay: 0.3s; }
.mobile-nav.active li:nth-child(6) { animation-delay: 0.35s; }
.mobile-nav.active li:nth-child(7) { animation-delay: 0.4s; }
.mobile-nav.active li:nth-child(8) { animation-delay: 0.45s; }

.mobile-nav li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.mobile-nav a {
  color: var(--text-color);
  font-size: 1.8rem;
  font-weight: 500;
  text-decoration: none;
  display: block;
  padding: 1.5rem 1rem;
  transition: all var(--transition-fast);
  border-radius: var(--border-radius-md);
  position: relative;
  overflow: hidden;
}

.mobile-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(231, 126, 34, 0.1), transparent);
  transition: left 0.5s ease;
}

.mobile-nav a:hover::before {
  left: 100%;
}

.mobile-nav a:hover {
  color: var(--secondary-color);
  background-color: rgba(231, 126, 34, 0.05);
  transform: translateX(10px);
}

.mobile-nav a:active {
  transform: translateX(5px) scale(0.98);
}

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

/* Responsive Mobile Navigation */
@media (max-width: 480px) {
  .mobile-nav {
    padding: 2rem 1.5rem;
    top: 80px;
    max-height: calc(100vh - 80px);
  }
  
  .mobile-nav a {
    font-size: 1.6rem;
    padding: 1.2rem 0.8rem;
  }
  
  .mobile-nav-toggle {
    width: 36px;
    height: 36px;
  }
  
  .mobile-nav-toggle span {
    width: 20px;
    height: 2px;
    margin: 2px 0;
  }
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .mobile-nav.active {
    display: block;
  }
}

/* Hero Section */
.hero-section {
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 70px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Responsive Hero Section */
@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
    min-height: 400px;
    margin-top: 60px;
  }
  
  .hero-content {
    padding: 0 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-content p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 65vh;
    min-height: 350px;
    margin-top: 80px;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }
}

/* Hero Background Images */
.hero-section {
  background-image: url('/images/home-hero.jpg');
}

.about-hero {
  background-image: url('/images/about-hero.jpg');
}

.services-hero {
  background-image: url('/images/services-hero.jpg');
}

.projects-hero {
  background-image: url('/images/Modern Kitchen Extension.jpg');
}

.testimonials-hero {
  background-image: url('/images/testimonials-hero.jpg');
}

.eco4-hero {
  background-image: url('/images/eco4-hero.jpg');
}

.quote-hero {
  background-image: url('/images/quote-hero.jpg');
}

.contact-hero {
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1200&h=800&fit=crop&crop=center&auto=format&q=85');
}

.blog-hero {
  background-image: url('https://images.unsplash.com/photo-1553877522-43269d4ea984?w=1200&h=800&fit=crop');
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* Services Overview */
.services-overview {
  padding: 8rem 0;
  background-color: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast);
}

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

.service-card i {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.service-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.service-card p {
  margin-bottom: 2rem;
}

.read-more {
  font-weight: 500;
  color: var(--secondary-color);
  position: relative;
}

.read-more::after {
  content: '→';
  margin-left: 0.5rem;
  transition: margin-left var(--transition-fast);
}

.read-more:hover::after {
  margin-left: 1rem;
}

/* Responsive Services */
@media (max-width: 768px) {
  .services-overview {
    padding: 6rem 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  .service-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-card h3 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .services-overview {
    padding: 4rem 0;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .service-card i {
    font-size: 3rem;
  }
  
  .service-card h3 {
    font-size: 1.8rem;
  }
}

/* Why Choose Us */
.why-choose-us {
  padding: 8rem 0;
  background-color: var(--gray-bg);
}

.why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
}

.why-item i {
  font-size: 2.4rem;
  color: var(--secondary-color);
  margin-right: 1.5rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.why-item p {
  margin-bottom: 0;
}

.why-item strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

/* Responsive Why Choose Us */
@media (max-width: 768px) {
  .why-choose-us {
    padding: 6rem 0;
  }
  
  .why-list {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .why-item {
    flex-direction: column;
    text-align: center;
  }
  
  .why-item i {
    margin-right: 0;
    margin-bottom: 1rem;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .why-choose-us {
    padding: 4rem 0;
  }
  
  .why-list {
    gap: 2rem;
  }
  
  .why-item i {
    font-size: 2rem;
  }
  
  .why-item strong {
    font-size: 1.6rem;
  }
}

/* Recent Projects */
.recent-projects {
  padding: 8rem 0;
}

/* ===== WORLD-CLASS CAROUSEL STYLING ===== */
.project-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--border-radius-xl);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 8px 25px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.05);
  background: white;
}

.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.project-slide {
  position: relative;
  min-width: 100%;
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.8s var(--transition-carousel);
}

.project-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.project-slide.prev {
  transform: translateX(-20px);
}

.project-slide.next {
  transform: translateX(20px);
}

.slide-content {
  display: flex;
  width: 100%;
  min-height: var(--carousel-height);
  align-items: stretch;
}

.slide-image {
  flex: 1.2;
  position: relative;
  overflow: hidden;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--transition-carousel);
  will-change: transform;
}

.project-slide:hover .slide-image img {
  transform: scale(1.08);
}

.slide-info {
  flex: 1;
  padding: var(--carousel-padding);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

.slide-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
}

.project-caption {
  font-size: 2.4rem;
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  font-weight: 600;
}

.project-location {
  font-size: 1.6rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  font-weight: 500;
}

.project-description {
  font-size: 1.5rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.project-link:hover {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
  transform: translateX(5px);
}

.project-link::after {
  content: '→';
  font-size: 1.8rem;
  transition: transform var(--transition-fast);
}

.project-link:hover::after {
  transform: translateX(5px);
}

/* ===== CAROUSEL NAVIGATION ===== */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--carousel-nav-size);
  height: var(--carousel-nav-size);
  border: none;
  border-radius: var(--border-radius-round);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--primary-color);
  font-size: 2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
}

.project-carousel:hover .carousel-btn {
  opacity: 1;
  visibility: visible;
}

.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-xl);
  color: var(--secondary-color);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-btn {
  left: 2rem;
}

.next-btn {
  right: 2rem;
}

/* ===== CAROUSEL DOTS ===== */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 0;
  background: white;
}

.dot {
  width: var(--carousel-dot-size);
  height: var(--carousel-dot-size);
  border-radius: var(--border-radius-round);
  background: #ddd;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: var(--border-radius-round);
  background: var(--secondary-color);
  transition: all 0.6s var(--transition-carousel);
}

.dot:hover {
  background: #bbb;
  transform: scale(1.2);
}

.dot.active {
  background: var(--secondary-color);
  transform: scale(1.3);
}

.dot.active::before {
  width: 20px;
  height: 20px;
}

/* ===== CAROUSEL PROGRESS BAR ===== */
.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: var(--carousel-progress-height);
  background: rgba(255, 255, 255, 0.3);
  width: 100%;
  z-index: 5;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  width: 0;
  transition: width 5s linear;
  border-radius: calc(var(--carousel-progress-height) / 2);
}

/* ===== LOADING ANIMATION ===== */
.carousel-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.carousel-loading.active {
  opacity: 1;
  visibility: visible;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--secondary-color);
  border-radius: var(--border-radius-round);
  animation: spin 1s linear infinite;
}

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

/* Responsive Recent Projects */
@media (max-width: 1024px) {
  .project-carousel {
    margin: 0 2rem;
  }
  
  .slide-content {
    flex-direction: column;
    min-height: auto;
  }
  
  .slide-image {
    flex: none;
    height: 220px;
  }
  
  .slide-info {
    padding: 3rem 2.5rem;
  }
  
  .project-caption {
    font-size: 2rem;
  }
  
  .carousel-btn {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
  
  .prev-btn {
    left: 1rem;
  }
  
  .next-btn {
    right: 1rem;
  }
}

@media (max-width: 768px) {
  .recent-projects {
    padding: 6rem 0;
  }
  
  .project-carousel {
    margin: 0 1rem;
    border-radius: var(--border-radius-lg);
  }
  
  .slide-image {
    height: 200px;
  }
  
  .slide-info {
    padding: 2.5rem 2rem;
  }
  
  .project-caption {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .project-location {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
  
  .project-description {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }
  
  .project-link {
    font-size: 1.4rem;
  }
  
  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
    opacity: 1;
    visibility: visible;
  }
  
  .prev-btn {
    left: 0.5rem;
  }
  
  .next-btn {
    right: 0.5rem;
  }
  
  .carousel-dots {
    padding: 2rem 0;
    gap: 0.8rem;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .recent-projects {
    padding: 4rem 0;
  }
  
  .project-carousel {
    margin: 0 0.5rem;
  }
  
  .slide-image {
    height: 180px;
  }
  
  .slide-info {
    padding: 2rem 1.5rem;
  }
  
  .project-caption {
    font-size: 1.6rem;
  }
  
  .project-location {
    font-size: 1.3rem;
  }
  
  .project-description {
    font-size: 1.3rem;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
  
  .carousel-dots {
    padding: 1.5rem 0;
  }
}

/* Home Testimonial */
.home-testimonial {
  padding: 8rem 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.home-testimonial blockquote {
  font-size: 2.4rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 2rem;
  position: relative;
}

.home-testimonial blockquote::before,
.home-testimonial blockquote::after {
  content: '"';
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.2);
  position: absolute;
}

.home-testimonial blockquote::before {
  top: -2rem;
  left: -2rem;
}

.home-testimonial blockquote::after {
  bottom: -5rem;
  right: -2rem;
}

.home-testimonial cite {
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
}

/* Responsive Home Testimonial */
@media (max-width: 768px) {
  .home-testimonial {
    padding: 6rem 0;
  }
  
  .home-testimonial blockquote {
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    padding: 0 2rem;
  }
  
  .home-testimonial blockquote::before,
  .home-testimonial blockquote::after {
    font-size: 4rem;
  }
  
  .home-testimonial blockquote::before {
    top: -1rem;
    left: -1rem;
  }
  
  .home-testimonial blockquote::after {
    bottom: -3rem;
    right: -1rem;
  }
  
  .home-testimonial cite {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .home-testimonial {
    padding: 4rem 0;
  }
  
  .home-testimonial blockquote {
    font-size: 1.6rem;
    padding: 0 1rem;
  }
  
  .home-testimonial blockquote::before,
  .home-testimonial blockquote::after {
    font-size: 3rem;
  }
  
  .home-testimonial cite {
    font-size: 1.4rem;
  }
}

/* CTA Banner */
.cta-banner {
  padding: 6rem 0;
  background-color: var(--secondary-color);
  color: white;
  text-align: center;
}

.cta-banner h2 {
  font-size: 3.6rem;
  color: white;
  margin-bottom: 3rem;
}

.cta-banner .btn {
  background-color: white;
  color: var(--secondary-color);
  font-size: 1.8rem;
  padding: 1.5rem 3rem;
}

.cta-banner .btn:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Responsive CTA Banner */
@media (max-width: 768px) {
  .cta-banner {
    padding: 5rem 0;
  }
  
  .cta-banner h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
  }
  
  .cta-banner .btn {
    font-size: 1.6rem;
    padding: 1.4rem 2.5rem;
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .cta-banner {
    padding: 4rem 0;
  }
  
  .cta-banner h2 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  
  .cta-banner .btn {
    font-size: 1.5rem;
    padding: 1.3rem 2rem;
  }
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 6rem 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-branding h3 {
  color: white;
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

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

.footer-contact p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 1rem;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-round);
  margin-right: 1rem;
  text-align: center;
  line-height: 40px;
  color: white;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Footer */
@media (max-width: 768px) {
  footer {
    padding: 4rem 0 0;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1.5rem;
  }
  
  .footer-branding,
  .footer-links,
  .footer-contact,
  .footer-social {
    text-align: center;
  }
  
  /* Two-column layout for footer links on mobile */
  .footer-links ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .footer-links li {
    margin-bottom: 0.8rem;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .footer-bottom {
    margin-top: 3rem;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 3rem 0 0;
  }
  
  .footer-container {
    padding: 0 1rem;
    gap: 2.5rem;
  }
  
  .footer-branding h3 {
    font-size: 2rem;
  }
   .footer-links h4,
  .footer-contact h4,
  .footer-social h4 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  
  /* Adjust footer links for smaller screens */
  .footer-links ul {
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1rem;
    max-width: 280px;
  }
  
  .footer-links li {
    margin-bottom: 0.6rem;
  }
  
  .footer-links a {
    font-size: 1.4rem;
  }
  
  .footer-contact p {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact i {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

/* ===== ENHANCED PROJECT MODAL STYLING ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2000;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

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

.modal-content {
  background-color: white;
  max-width: 800px;
  margin: 3% auto;
  border-radius: var(--border-radius-xl);
  position: relative;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  font-weight: 300;
  color: white;
  cursor: pointer;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--border-radius-round);
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.modal-header {
  position: relative;
  overflow: hidden;
}

.modal-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.modal-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 3rem 3rem 2rem;
  color: white;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: white;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.modal-location {
  font-size: 1.6rem;
  color: var(--secondary-color);
  margin: 0;
  font-weight: 500;
}

.modal-body {
  padding: 3rem;
}

.modal-description {
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 3rem;
}

.modal-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.detail-section h4 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-list li:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: var(--text-color);
}

.detail-value {
  color: var(--secondary-color);
  font-weight: 500;
}

.modal-features {
  margin-bottom: 3rem;
}

.modal-features h4 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
}

.feature-item:hover {
  background: rgba(230, 126, 34, 0.1);
  transform: translateY(-2px);
}

.feature-item i {
  color: var(--secondary-color);
  font-size: 1.8rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 1.4rem;
  color: var(--text-color);
  font-weight: 500;
}

.modal-footer {
  padding: 2.5rem 3rem;
  background: var(--light-bg);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--secondary-color);
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.modal-cta:hover {
  background: #d35400;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.modal-cta i {
  font-size: 1.6rem;
}

/* Responsive Modal Styling */
@media (max-width: 768px) {
  .modal-content {
    margin: 5% 1rem;
    max-width: none;
  }
  
  .modal-image {
    height: 200px;
  }
  
  .modal-overlay {
    padding: 2rem 2rem 1.5rem;
  }
  
  .modal-title {
    font-size: 2.2rem;
  }
  
  .modal-location {
    font-size: 1.4rem;
  }
  
  .modal-body {
    padding: 2.5rem 2rem;
  }
  
  .modal-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-footer {
    padding: 2rem;
  }
  
  .modal-close {
    top: 1.5rem;
    right: 1.5rem;
    width: 35px;
    height: 35px;
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .modal-content {
    margin: 10% 0.5rem;
  }
  
  .modal-image {
    height: 180px;
  }
  
  .modal-overlay {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .modal-title {
    font-size: 2rem;
  }
  
  .modal-body {
    padding: 2rem 1.5rem;
  }
  
  .modal-footer {
    padding: 1.5rem;
  }
  
  .modal-cta {
    width: 100%;
    justify-content: center;
    padding: 1.4rem 2rem;
  }
}

/* About Page */
.about-content {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-top: 0;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.team-section {
  margin-top: 6rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}

.team-member {
  text-align: center;
}

.team-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%; /* Perfect circle */
  background-color: #ddd;
  margin: 0 auto 2rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.15);
  transition: all var(--transition-fast);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(44, 62, 80, 0.25);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--transition-fast);
  display: block;
  border-radius: 50%; /* Ensure image is also circular */
}

.team-photo:hover img {
  transform: scale(1.05);
}

/* Team photo dummy/placeholder styling */
.team-photo.dummy {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-size: 3.2rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.team-member h3 {
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--secondary-color);
  margin-bottom: 0;
}

.credentials-section {
  margin-top: 6rem;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.credential-item {
  text-align: center;
  padding: 3rem;
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.credential-item i {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.credential-item h3 {
  margin-bottom: 1rem;
}

.credential-item p {
  margin-bottom: 0;
}

/* Services Page */
.services-content {
  padding: 6rem 0;
}

.intro-text {
  max-width: 800px;
  margin: 0 auto 6rem;
  text-align: center;
  font-size: 1.8rem;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 8rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.95));
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
}

.service-item:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 1));
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-item:last-child {
  margin-bottom: 0;
}

.service-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: all var(--transition-medium);
}

.service-item:hover .service-image img {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.service-details h2 {
  margin-top: 0;
}

.service-details h3 {
  font-size: 2rem;
  margin-top: 2rem;
}

.service-details ul {
  margin-bottom: 3rem;
}

.process-section {
  padding: 6rem 0;
  background-color: var(--gray-bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}

.process-step {
  text-align: center;
  padding: 3rem;
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: var(--border-radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 auto 2rem;
}

.process-step h3 {
  margin-bottom: 1rem;
}

.process-step p {
  margin-bottom: 0;
}

/* Projects Page */
.projects-content {
  padding: 6rem 0;
}

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

.project-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(231, 126, 34, 0.05));
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: 1;
  pointer-events: none;
}

.project-card:hover::before {
  opacity: 1;
}

.project-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  transition: transform var(--transition-medium);
}

.project-card:hover .project-image img {
  transform: scale(1.03);
}

.project-info {
  padding: 2.5rem;
}

.project-info h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.project-location {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.project-description {
  margin-bottom: 2rem;
}

.project-details {
  background-color: var(--gray-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 2rem;
}

.detail-item {
  display: flex;
  margin-bottom: 0.8rem;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-label {
  font-weight: 600;
  width: 120px;
}

.view-project {
  width: 100%;
}

/* Testimonials Page */
.testimonials-content {
  padding: 6rem 0;
}

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

/* ===== TESTIMONIALS CAROUSEL ENHANCEMENT ===== */
.testimonials-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--border-radius-xl);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 8px 25px rgba(0, 0, 0, 0.08);
}

.testimonial-slide {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.testimonial-content {
  padding: 4rem;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 10rem;
  color: rgba(230, 126, 34, 0.08);
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-family: var(--font-heading);
  line-height: 1;
  font-weight: 700;
}

.testimonial-content blockquote {
  margin: 0;
  position: relative;
  z-index: 2;
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--text-color);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  padding: 3rem 4rem;
  background: linear-gradient(135deg, #f1f3f4 0%, #e8eaf6 100%);
}

.author-image {
  width: 70px;
  height: 70px;
  border-radius: 50%; /* Perfect circle */
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  margin-right: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 
    0 10px 30px rgba(230, 126, 34, 0.25),
    0 4px 15px rgba(0, 0, 0, 0.1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border: 3px solid rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.author-image::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, var(--secondary-color), var(--accent-color), var(--secondary-color));
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.author-image:hover::before {
  opacity: 1;
}

.author-image:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 
    0 15px 40px rgba(230, 126, 34, 0.4),
    0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 1);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
  border-radius: 50%; /* Ensure image is also circular */
}

.author-image:hover img {
  transform: scale(1.02);
}

/* Author image dummy/placeholder styling for testimonials page */
.author-image.dummy {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  font-size: 2rem;
  letter-spacing: 1px;
}

.author-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.author-info p {
  margin: 0;
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 1.5rem;
}

.rating {
  color: #f39c12;
  font-size: 1.8rem;
  margin-top: 0.5rem;
  letter-spacing: 2px;
}

/* ===== ADVANCED CAROUSEL EFFECTS ===== */
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.project-slide.slide-in-right {
  animation: slideInFromRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-slide.slide-in-left {
  animation: slideInFromLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== PREMIUM HOVER EFFECTS ===== */
.project-slide:hover .slide-info {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.project-slide:hover .slide-info::before {
  background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
.carousel-btn:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

.dot:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Profile images now use object-fit: contain for proper fitting */

/* Enhanced Testimonials Author Images */
.testimonials-content .author-image {
  width: 75px;
  height: 75px;
  margin-right: 2.5rem;
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 12px 35px rgba(230, 126, 34, 0.3),
    0 6px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 3px rgba(255, 255, 255, 0.3);
}

.testimonials-content .author-image:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 
    0 18px 45px rgba(230, 126, 34, 0.45),
    0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 3px rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 1);
}

.testimonials-content .author-image.dummy {
  font-size: 2rem;
  letter-spacing: 1px;
}

/* Enhanced testimonials card styling */
.testimonials-content .testimonial-card {
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonials-content .testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.12),
    0 12px 35px rgba(0, 0, 0, 0.08);
}

.testimonials-content .testimonial-author {
  padding: 3.5rem 4rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Responsive enhancements for testimonials */
@media (max-width: 768px) {
  .testimonials-content .author-image {
    width: 65px;
    height: 65px;
    margin-right: 2rem;
    border-width: 3px;
  }
  
  .testimonials-content .author-image.dummy {
    font-size: 1.6rem;
  }
  
  .testimonials-content .testimonial-author {
    padding: 2.5rem 3rem;
  }
}

@media (max-width: 480px) {
  .testimonials-content .author-image {
    width: 55px;
    height: 55px;
    margin-right: 1.5rem;
    border-width: 2px;
  }
  
  .testimonials-content .author-image.dummy {
    font-size: 1.4rem;
  }
  
  .testimonials-content .testimonial-author {
    padding: 2rem 2.5rem;
  }
}

/* ===== CONTACT PAGE WORLD-CLASS STYLING ===== */

/* Contact Content */
.contact-content {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-bottom: 6rem;
}

/* Contact Form Styling */
.contact-form-container {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: var(--border-radius-xl);
  padding: 4rem;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.contact-form-container h2 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 3.2rem;
  margin-bottom: 3rem;
  position: relative;
}

.contact-form-container h2::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  padding: 1.5rem 1.8rem;
  border: 2px solid #e1e8ed;
  border-radius: var(--border-radius-md);
  font-size: 1.6rem;
  font-family: var(--font-body);
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  resize: vertical;
  min-height: 50px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 
    0 0 0 3px rgba(230, 126, 34, 0.1),
    0 4px 12px rgba(230, 126, 34, 0.15);
  transform: translateY(-2px);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn {
  align-self: flex-start;
  font-size: 1.6rem;
  padding: 1.5rem 3rem;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--secondary-color), #d35400);
  border: none;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 
    0 8px 25px rgba(230, 126, 34, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.contact-form .btn:hover::before {
  left: 100%;
}

.contact-form .btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 12px 35px rgba(230, 126, 34, 0.4),
    0 6px 20px rgba(0, 0, 0, 0.15);
}

.success-message {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border: 1px solid #c3e6cb;
  border-radius: var(--border-radius-md);
  color: #155724;
  font-weight: 500;
  text-align: center;
}

.error-message {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  border: 1px solid #f5c6cb;
  border-radius: var(--border-radius-md);
  color: #721c24;
  font-weight: 500;
  text-align: center;
}

/* Contact Information Styling */
.contact-info-container {
  background: linear-gradient(135deg, var(--primary-color), #34495e);
  border-radius: var(--border-radius-xl);
  padding: 4rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-info-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info-container h2 {
  color: white;
  font-family: var(--font-heading);
  font-size: 3.2rem;
  margin-bottom: 3rem;
  position: relative;
}

.contact-info-container h2::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.info-item i {
  font-size: 2.4rem;
  color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius-round);
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.2);
  flex-shrink: 0;
}

.info-item div {
  flex: 1;
}

.info-item h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-heading);
}

.info-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 0;
}

.info-item a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-item a:hover {
  color: #f39c12;
}

/* Social Links Styling */
.social-links {
  position: relative;
}

.social-links h3 {
  color: white;
  font-size: 2.4rem;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-round);
  color: white;
  font-size: 2rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social-icons a:hover::before {
  opacity: 1;
}

.social-icons a:hover {
  color: white;
  border-color: var(--secondary-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(230, 126, 34, 0.3);
}

/* Map Section Styling */
.map-section {
  margin-top: 6rem;
  text-align: center;
}

.map-section h2 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 3.6rem;
  margin-bottom: 3rem;
  position: relative;
}

.map-section h2::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary-color);
}

.map-container {
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: white;
  padding: 1rem;
}

.map-container iframe {
  border-radius: var(--border-radius-lg);
  width: 100%;
  height: 450px;
  border: none;
  transition: all 0.3s ease;
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.12),
    0 12px 35px rgba(0, 0, 0, 0.1);
}

/* Responsive Contact Page Styling */
@media (max-width: 1024px) {
  .contact-grid {
    gap: 4rem;
  }
  
  .contact-form-container,
  .contact-info-container {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .contact-content {
    padding: 4rem 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
  }
  
  .contact-form-container,
  .contact-info-container {
    padding: 2.5rem;
  }
  
  .contact-form-container h2,
  .contact-info-container h2 {
    font-size: 2.8rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 1.3rem 1.5rem;
    font-size: 1.5rem;
  }
  
  .contact-form .btn {
    width: 100%;
    text-align: center;
    padding: 1.6rem 2rem;
  }
  
  .info-item {
    padding: 1.5rem;
  }
  
  .info-item i {
    font-size: 2rem;
    padding: 1.2rem;
  }
  
  .social-icons a {
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
  }
  
  .map-section h2 {
    font-size: 3rem;
  }
  
  .map-container iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .contact-content {
    padding: 3rem 0;
  }
  
  .contact-form-container,
  .contact-info-container {
    padding: 2rem;
  }
  
  .contact-form-container h2,
  .contact-info-container h2 {
    font-size: 2.4rem;
  }
  
  .form-group {
    gap: 2rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 1.2rem;
    font-size: 1.4rem;
  }
  
  .contact-form .btn {
    font-size: 1.5rem;
    padding: 1.4rem 2rem;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  
  .info-item i {
    align-self: center;
    margin-bottom: 1rem;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .social-icons a {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }
  
  .map-section h2 {
    font-size: 2.6rem;
  }
  
  .map-container {
    padding: 0.5rem;
  }
  
  .map-container iframe {
    height: 300px;
  }
}

/* ===== BLOG PAGES WORLD-CLASS STYLING ===== */

/* Blog Content */
.blog-content {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Blog Grid Styling */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 4rem;
  margin-bottom: 6rem;
}

.blog-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.12),
    0 12px 35px rgba(0, 0, 0, 0.08);
}

.blog-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-details {
  padding: 3rem;
}

.blog-date {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color), #d35400);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.blog-details h2 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-details h2 {
  color: var(--secondary-color);
}

.blog-details p {
  color: #666;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.blog-details .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.blog-details .read-more::after {
  content: '→';
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.blog-details .read-more:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.blog-details .read-more:hover::after {
  transform: translateX(5px);
}

/* Pagination Styling */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: white;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  border: 2px solid #e1e8ed;
  transition: all 0.3s ease;
  font-size: 1.4rem;
}

.pagination a:hover {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

.pagination a.active {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

.pagination .prev,
.pagination .next {
  width: auto;
  padding: 0 1.5rem;
  font-size: 1.4rem;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary-color), #34495e);
  padding: 6rem 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-section h2 {
  color: white;
  font-family: var(--font-heading);
  font-size: 3.6rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.newsletter-section p {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.newsletter-form input {
  flex: 1;
  padding: 1.5rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.6rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
}

.newsletter-form .btn {
  background: linear-gradient(135deg, var(--secondary-color), #d35400);
  border: none;
  padding: 1.5rem 2.5rem;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Blog Detail Content Styling */
.blog-detail-content {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.blog-detail-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6rem;
}

.blog-article {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 4rem;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
}

.blog-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.blog-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #666;
  font-size: 1.4rem;
  font-weight: 500;
}

.blog-meta i {
  color: var(--secondary-color);
  font-size: 1.3rem;
}

.blog-featured-image {
  margin-bottom: 3rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.blog-featured-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.blog-article .blog-content {
  font-size: 1.7rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 4rem;
}

.blog-article .blog-content h2,
.blog-article .blog-content h3,
.blog-article .blog-content h4 {
  color: var(--primary-color);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.blog-article .blog-content p {
  margin-bottom: 2rem;
}

.blog-article .blog-content ul,
.blog-article .blog-content ol {
  margin-bottom: 2rem;
  padding-left: 3rem;
}

.blog-article .blog-content li {
  margin-bottom: 0.8rem;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border-color);
}

.blog-tags h4,
.blog-share h4 {
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.blog-tags {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color), #d35400);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius-md);
  font-size: 1.3rem;
  font-weight: 500;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.blog-share {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: var(--border-radius-round);
  color: white;
  text-decoration: none;
  margin-right: 1rem;
  transition: all 0.3s ease;
  font-size: 1.6rem;
}

.share-btn.facebook {
  background: #3b5998;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.linkedin {
  background: #0077b5;
}

.share-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Blog Sidebar Styling */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.sidebar-widget {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 3rem;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
}

.sidebar-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.sidebar-widget h3 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 2.4rem;
  margin-bottom: 2rem;
  position: relative;
}

.sidebar-widget h3::after {
  content: '';
  position: absolute;
  bottom: -0.8rem;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
}

.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.recent-post {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.recent-post:hover {
  background: var(--light-bg);
  border-color: var(--secondary-color);
  transform: translateX(5px);
}

.recent-post img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  flex-shrink: 0;
}

.recent-post-content h4 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.recent-post-content .post-date {
  color: #666;
  font-size: 1.3rem;
}

.categories-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--light-bg);
  border-radius: var(--border-radius-md);
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.category-item:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateX(5px);
  border-color: var(--secondary-color);
}

.category-count {
  background: rgba(0, 0, 0, 0.1);
  color: #666;
  padding: 0.3rem 0.8rem;
  border-radius: var(--border-radius-round);
  font-size: 1.2rem;
  font-weight: 600;
}

.category-item:hover .category-count {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Responsive Blog Styling */
@media (max-width: 1024px) {
  .blog-detail-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .blog-article {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .blog-content {
    padding: 4rem 0;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
  }
  
  .blog-details {
    padding: 2.5rem;
  }
  
  .blog-details h2 {
    font-size: 2.2rem;
  }
  
  .newsletter-section {
    padding: 4rem 0;
  }
  
  .newsletter-section h2 {
    font-size: 3rem;
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .blog-article {
    padding: 2.5rem;
  }
  
  .blog-meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .blog-featured-image img {
    height: 300px;
  }
  
  .blog-footer {
    flex-direction: column;
    gap: 2rem;
  }
  
  .sidebar-widget {
    padding: 2.5rem;
  }
  
  .pagination {
    gap: 0.5rem;
  }
  
  .pagination a {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .blog-content {
    padding: 3rem 0;
  }
  
  .blog-grid {
    gap: 2rem;
  }
  
  .blog-details {
    padding: 2rem;
  }
  
  .blog-details h2 {
    font-size: 2rem;
  }
  
  .newsletter-section {
    padding: 3rem 0;
  }
  
  .newsletter-section h2 {
    font-size: 2.6rem;
  }
  
  .newsletter-form input,
  .newsletter-form .btn {
    padding: 1.3rem 1.5rem;
    font-size: 1.5rem;
  }
  
  .blog-article {
    padding: 2rem;
  }
  
  .blog-article .blog-content {
    font-size: 1.6rem;
  }
  
  .blog-featured-image img {
    height: 250px;
  }
  
  .sidebar-widget {
    padding: 2rem;
  }
  
  .recent-post {
    flex-direction: column;
    text-align: center;
  }
  
  .recent-post img {
    align-self: center;
  }
  
  .pagination a {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
  
  .pagination .prev,
  .pagination .next {
    padding: 0 1rem;
    font-size: 1.2rem;
  }
}

/* ===== ECO4 PAGE STYLING ===== */
.eco4-content {
  padding: 6rem 0;
}

.eco4-section {
  margin-bottom: 6rem;
  padding: 3rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.eco4-section:last-child {
  margin-bottom: 0;
}

.eco4-section h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.eco4-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
}

.eco4-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.eco4-list li {
  display: flex;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.6rem;
  line-height: 1.6;
}

.eco4-list li:last-child {
  border-bottom: none;
}

.eco4-list li::before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 1rem;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.measures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.measure-card {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-medium);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.measure-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.measure-card i {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  display: block;
}

.measure-card h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.measure-card p {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.process-step {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-medium);
}

.process-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 auto 2rem;
}

.process-step h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.process-step p {
  color: #666;
  margin-bottom: 0;
}

/* ===== NOTIFICATION SYSTEM STYLES ===== */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  pointer-events: none;
}

.notification {
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.15),
    0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform: translateX(420px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: auto;
  border-left: 5px solid;
  max-width: 100%;
  word-wrap: break-word;
}

.notification-show {
  transform: translateX(0);
}

.notification-hide {
  transform: translateX(420px);
  opacity: 0;
}

.notification-success {
  border-left-color: #28a745;
}

.notification-error {
  border-left-color: #dc3545;
}

.notification-warning {
  border-left-color: #ffc107;
}

.notification-info {
  border-left-color: #17a2b8;
}

.notification-content {
  display: flex;
  align-items: flex-start;
  padding: 15px 20px;
  gap: 12px;
}

.notification-icon {
  flex-shrink: 0;
  font-size: 20px;
  margin-top: 2px;
}

.notification-success .notification-icon {
  color: #28a745;
}

.notification-error .notification-icon {
  color: #dc3545;
}

.notification-warning .notification-icon {
  color: #ffc107;
}

.notification-info .notification-icon {
  color: #17a2b8;
}

.notification-message {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  font-weight: 500;
}

.notification-close {
  background: none;
  border: none;
  font-size: 16px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.notification-close:hover {
  background: #f5f5f5;
  color: #666;
}

/* Mobile responsiveness for notifications */
@media (max-width: 768px) {
  .notification-container {
    left: 20px;
    right: 20px;
    max-width: none;
  }

  .notification {
    transform: translateY(-100px);
  }

  .notification-show {
    transform: translateY(0);
  }

  .notification-hide {
    transform: translateY(-100px);
  }
}
