/* Advanced Global Styles */
:root {
  --primary-color: #ff6b00; /* Deep Orange */
  --primary-dark: #e55e00;
  --primary-light: #ff8c42;
  --secondary-color: #003366; /* Navy Blue */
  --secondary-dark: #002244;
  --secondary-light: #336699;
  --accent-color: #ff8c00; /* Lighter Orange */
  --light-color: #ffffff; /* White */
  --dark-color: #333333; /* Dark Gray */
  --gray-color: #f5f5f5; /* Light Gray */
  --gray-dark: #dddddd;
  --text-color: #555555;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  letter-spacing: -0.5px;
}

h1 {
  font-size: 3rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 15px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-color);
  font-size: 1.1rem;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.text-light {
  color: var(--light-color);
}

.text-muted {
  color: #777;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.5px;
  box-shadow: var(--box-shadow);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--light-color);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-lg);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  color: var(--light-color);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-lg);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--light-color);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-lg);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.2rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Header */
.main-header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.main-header.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo h1 a {
  color: var(--secondary-color);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo h1 a span {
  color: var(--primary-color);
}

.main-nav ul {
  display: flex;
  align-items: center;
}

.main-nav ul li {
  margin-left: 35px;
  position: relative;
}

.main-nav ul li a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
  padding: 5px 0;
  font-size: 1.1rem;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--primary-color);
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  border-radius: 2px;
  transition: var(--transition);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 4px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(0, 34, 68, 0.9)), url('../images/about-hero.jpg') no-repeat center center/cover;
  height: 450px;
  display: flex;
  align-items: center;
  color: var(--light-color);
  text-align: center;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.8), rgba(0, 34, 68, 0.9));
}

.page-header .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-header h1 {
  color: var(--light-color);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease;
}

.page-header p {
  font-size: 1.4rem;
  color: var(--light-color);
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 1s ease 0.3s both;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(0, 34, 68, 0.9)), url('../images/hero-bg.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--light-color);
  text-align: center;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.8), rgba(0, 34, 68, 0.9));
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeIn 1s ease;
}

.hero h1 {
  color: var(--light-color);
  font-size: 4rem;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--light-color);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  animation: fadeInUp 1s ease 0.6s both;
}

/* Home Page Specific Styles */
.about-home {
  padding: 100px 0;
  background-color: var(--gray-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  animation: fadeInLeft 1s ease;
}

.about-text h2::after {
  left: 0;
  transform: none;
}

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
  animation: fadeInRight 1s ease;
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 107, 0, 0.2), rgba(0, 51, 102, 0.2));
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

.services-home {
  padding: 100px 0;
}

.services-home .section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-card {
  background-color: var(--light-color);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

.service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon img {
  width: 45px;
  height: 45px;
  filter: brightness(0) invert(1);
}

.service-card h3 {
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.service-card p {
  margin-bottom: 0;
  color: var(--text-color);
}

.certifications {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  padding: 100px 0;
  color: var(--light-color);
}

.certifications .section-title h2 {
  color: var(--light-color);
}

.certifications .section-title h2::after {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  left: 50%;
  transform: translateX(-50%);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.cert-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s forwards;
}

.cert-item:nth-child(1) { animation-delay: 0.1s; }
.cert-item:nth-child(2) { animation-delay: 0.2s; }
.cert-item:nth-child(3) { animation-delay: 0.3s; }
.cert-item:nth-child(4) { animation-delay: 0.4s; }

.cert-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-10px);
}

.cert-item h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.cert-item p {
  margin-bottom: 0;
  color: var(--light-color);
  font-size: 1.1rem;
}

/* Sections */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* About Page Specific Styles */
.company-history {
  padding: 100px 0;
  background-color: var(--gray-color);
}

.history-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.history-text {
  animation: fadeInLeft 1s ease;
}

.history-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
  animation: fadeInRight 1s ease;
  position: relative;
}

.history-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 107, 0, 0.2), rgba(0, 51, 102, 0.2));
}

.history-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.history-image:hover img {
  transform: scale(1.05);
}

.mvv {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  padding: 100px 0;
  color: var(--light-color);
}

.mvv h2 {
  color: var(--light-color);
}

.mvv h2::after {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

.mvv-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.mvv-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: var(--box-shadow-lg);
}

.mvv-icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mvv-item h3 {
  color: var(--light-color);
  margin-bottom: 20px;
}

.mvv-item p {
  color: #e0e0e0;
  margin-bottom: 25px;
}

.mvv-item ul {
  text-align: left;
  margin-top: 20px;
}

.mvv-item ul li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
  color: #e0e0e0;
}

.mvv-item ul li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  font-size: 1.2rem;
}

.leadership {
  padding: 100px 0;
}

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.leader-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.leader-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--box-shadow-lg);
}

.leader-image {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.leader-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 107, 0, 0.1), rgba(0, 51, 102, 0.1));
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.leader-card:hover .leader-image img {
  transform: scale(1.1);
}

.leader-info {
  padding: 30px;
}

.leader-info h3 {
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.leader-info .position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.leader-info p {
  color: var(--text-color);
  margin-bottom: 0;
}

.quality-commitment {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.95), rgba(0, 34, 68, 0.95)), url('../images/quality-bg.jpg') no-repeat center center/cover;
  padding: 100px 0;
  color: var(--light-color);
  text-align: center;
}

.quality-commitment h2 {
  color: var(--light-color);
}

.quality-commitment h2::after {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  left: 50%;
  transform: translateX(-50%);
}

.quality-commitment p {
  color: #cccccc;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.2rem;
}

.quality-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.quality-point {
  background: rgba(255, 255, 255, 0.05);
  padding: 35px 25px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.quality-point:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.quality-point h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.quality-point p {
  margin-bottom: 0;
  color: #e0e0e0;
}

.cta-section {
  margin-top: 50px;
}

.cta-section p {
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: var(--light-color);
}

/* Services Page Specific Styles */
.services-overview {
  padding: 100px 0;
}

.intro-text {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 70px;
}

.intro-text h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background-color: var(--light-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

.service-item:nth-child(even) {
  direction: rtl;
}

.service-item:nth-child(even) .service-details {
  direction: ltr;
}

.service-image {
  height: 450px;
  overflow: hidden;
  position: relative;
}

.service-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 107, 0, 0.1), rgba(0, 51, 102, 0.1));
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-item:hover .service-image img {
  transform: scale(1.05);
}

.service-details {
  padding: 40px;
}

.service-details h3 {
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.service-details p {
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.service-details ul {
  margin: 25px 0 30px;
}

.service-details ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
  color: var(--text-color);
}

.service-details ul li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  font-size: 1.2rem;
}

.why-choose {
  background: linear-gradient(135deg, var(--gray-color), #e0e0e0);
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature-card {
  background-color: var(--light-color);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  transition: var(--transition-slow);
  z-index: -1;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

.feature-card:hover h3,
.feature-card:hover p {
  color: var(--light-color);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  color: var(--light-color);
  transform: scale(1.1);
}

.services-cta {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.95), rgba(255, 140, 0, 0.95)), url('../images/cta-bg.jpg') no-repeat center center/cover;
  padding: 100px 0;
  color: var(--light-color);
  text-align: center;
}

.services-cta h2 {
  color: var(--light-color);
}

.services-cta h2::after {
  background: var(--light-color);
  left: 50%;
  transform: translateX(-50%);
}

.services-cta p {
  color: var(--light-color);
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.3rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
}

/* Gallery Page Specific Styles */
.projects-filter {
  padding: 50px 0;
  background: linear-gradient(135deg, var(--gray-color), #e0e0e0);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-btn {
  padding: 12px 25px;
  background-color: var(--light-color);
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  transition: var(--transition);
  z-index: -1;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--light-color);
  border-color: var(--secondary-color);
}

.filter-btn:hover::before,
.filter-btn.active::before {
  width: 100%;
}

.projects-gallery {
  padding: 100px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 35px;
}

.project-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s forwards;
}

.project-card.show {
  opacity: 1;
  transform: translateY(0);
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }
.project-card:nth-child(7) { animation-delay: 0.7s; }
.project-card:nth-child(8) { animation-delay: 0.8s; }

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

.project-image {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.project-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 107, 0, 0.1), rgba(0, 51, 102, 0.1));
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(0, 34, 68, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  text-align: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h3 {
  color: var(--light-color);
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.project-overlay p {
  color: #cccccc;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-stats {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  padding: 100px 0;
  color: var(--light-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-item h3 {
  color: var(--primary-color);
  font-size: 4rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.stat-item p {
  color: var(--light-color);
  font-size: 1.2rem;
  margin-bottom: 0;
}

.testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--gray-color), #e0e0e0);
}

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--light-color);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 5rem;
  color: var(--primary-color);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 35px;
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--dark-color);
}

.client-info h4 {
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.client-info p {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0;
}

.projects-cta {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.95), rgba(0, 34, 68, 0.95)), url('../images/cta-projects.jpg') no-repeat center center/cover;
  padding: 100px 0;
  color: var(--light-color);
  text-align: center;
}

.projects-cta h2 {
  color: var(--light-color);
}

.projects-cta h2::after {
  background: var(--primary-color);
  left: 50%;
  transform: translateX(-50%);
}

.projects-cta p {
  color: var(--light-color);
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.3rem;
}

/* Contact Page Specific Styles */
.contact-content {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2,
.contact-form h2 {
  margin-bottom: 35px;
}

.contact-info h2::after,
.contact-form h2::after {
  left: 0;
  transform: none;
}

.info-item {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--gray-dark);
}

.info-item:last-child {
  border-bottom: none;
}

.info-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.info-item address,
.info-item p {
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

.info-item a {
  color: var(--secondary-color);
  font-weight: 600;
  transition: var(--transition);
}

.info-item a:hover {
  color: var(--primary-color);
}

.social-contact {
  margin-top: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  border-radius: 50%;
  color: var(--light-color);
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  transform: translateY(-5px);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--dark-color);
  font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--gray-dark);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1.1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.map-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--gray-color), #e0e0e0);
}

.map-container {
  height: 500px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
}

.map-placeholder {
  background: linear-gradient(135deg, var(--light-color), #f0f0f0);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px dashed var(--secondary-color);
}

.map-placeholder p {
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.contact-cta {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.95), rgba(255, 140, 0, 0.95)), url('../images/contact-cta.jpg') no-repeat center center/cover;
  padding: 100px 0;
  color: var(--light-color);
  text-align: center;
}

.contact-cta h2 {
  color: var(--light-color);
}

.contact-cta h2::after {
  background: var(--light-color);
  left: 50%;
  transform: translateX(-50%);
}

.contact-cta p {
  color: var(--light-color);
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.3rem;
}

/* Legal Pages Specific Styles */
.privacy-content,
.terms-content {
  padding: 100px 0;
}

.privacy-wrapper,
.terms-wrapper {
  max-width: 950px;
  margin: 0 auto;
  background-color: var(--light-color);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
}

.privacy-wrapper h2,
.terms-wrapper h2 {
  color: var(--primary-color);
  margin-top: 40px;
  font-size: 2rem;
}

.privacy-wrapper h2::after,
.terms-wrapper h2::after {
  left: 0;
  transform: none;
  width: 60px;
}

.privacy-wrapper h3,
.terms-wrapper h3 {
  color: var(--secondary-color);
  margin-top: 30px;
  font-size: 1.5rem;
}

.privacy-wrapper ul,
.terms-wrapper ul {
  margin-left: 35px;
  margin-bottom: 25px;
}

.privacy-wrapper ul li,
.terms-wrapper ul li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.privacy-wrapper ul li::before,
.terms-wrapper ul li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.privacy-wrapper address,
.terms-wrapper address {
  font-style: normal;
  margin-top: 30px;
  padding: 25px;
  background-color: var(--gray-color);
  border-radius: var(--border-radius);
}

.privacy-wrapper address p,
.terms-wrapper address p {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.privacy-wrapper address a,
.terms-wrapper address a {
  color: var(--primary-color);
  font-weight: 600;
}

.privacy-wrapper address a:hover,
.terms-wrapper address a:hover {
  color: var(--secondary-color);
}

/* Footer */
.main-footer {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: var(--light-color);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h3,
.footer-col h4 {
  color: var(--light-color);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-col h3::after,
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.footer-col p,
.footer-col address {
  color: #cccccc;
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.1rem;
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a,
.footer-col address a {
  color: #cccccc;
  transition: var(--transition);
  font-size: 1.1rem;
}

.footer-col ul li a:hover,
.footer-col address a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-col .social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-col .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light-color);
  font-size: 1.3rem;
  transition: var(--transition);
}

.footer-col .social-links a:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  transform: translateY(-5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.legal-links {
  display: flex;
  gap: 25px;
}

.legal-links a {
  color: #cccccc;
  font-size: 1rem;
  transition: var(--transition);
}

.legal-links a:hover {
  color: var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .hero p {
    font-size: 1.3rem;
  }
}

@media (max-width: 992px) {
  .main-header .container {
    padding: 15px 0;
  }
  
  .logo h1 a {
    font-size: 1.8rem;
  }
  
  .main-nav ul li {
    margin-left: 25px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 20px;
  }
  
  .history-content,
  .contact-grid,
  .service-item {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-item:nth-child(even) {
    direction: ltr;
  }
  
  .service-item:nth-child(even) .service-details {
    direction: ltr;
  }
  
  .service-image {
    height: 350px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .legal-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .main-header .container {
    padding: 12px 0;
  }
  
  .logo h1 a {
    font-size: 1.6rem;
  }
  
  .main-nav {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: var(--light-color);
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 30px;
    align-items: flex-start;
  }
  
  .main-nav ul li {
    margin: 15px 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero {
    margin-top: 80px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .page-header h1 {
    font-size: 2.8rem;
  }
  
  .page-header p {
    font-size: 1.2rem;
  }
  
  .history-content,
  .contact-grid {
    gap: 30px;
  }
  
  .service-image {
    height: 300px;
  }
  
  .service-details {
    padding: 30px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .project-image {
    height: 280px;
  }
  
  .map-container {
    height: 400px;
  }
  
  .privacy-wrapper,
  .terms-wrapper {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
  }
  
  section {
    padding: 70px 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.9rem;
  }
  
  h3 {
    font-size: 1.6rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .page-header h1 {
    font-size: 2.2rem;
  }
  
  .page-header p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .btn-lg {
    padding: 14px 28px;
    font-size: 1.1rem;
  }
  
  .btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  .hero-buttons,
  .cta-buttons {
    gap: 15px;
  }
  
  .service-image {
    height: 250px;
  }
  
  .project-image {
    height: 250px;
  }
  
  .map-container {
    height: 300px;
  }
  
  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .filter-buttons {
    gap: 10px;
  }
  
  .filter-btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}