/* Professional overrides to enhance typography, spacing, navbar, footer, and cards */

html, body {
  scroll-behavior: smooth;
}

body {
  font-family: "Tajawal", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1f2937;
  line-height: 1.7;
  font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
  color: #0f172a;
  letter-spacing: 0.3px;
  font-weight: 700;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 1.8rem; line-height: 1.3; }
h3 { font-size: 1.4rem; line-height: 1.4; }

.theme-color { color: #f59e0b; }
.bg-dark { background: linear-gradient(135deg, #1f2937 0%, #374151 100%); }
.bg-dark-2 { background: linear-gradient(135deg, #111827 0%, #1f2937 100%); }
.bg-dark-3 { background: linear-gradient(135deg, #0f172a 0%, #111827 100%); }

/* Container improvements */
.container { max-width: 1140px; }

/* Navbar fixes and polish */
.navbar {
  border: 0;
  margin-bottom: 0;
  min-height: 64px;
}
.navbar.navbar-default {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}
.navbar .navbar-brand img.logo { height: 46px; }
.navbar .nav > li > a {
  padding: 20px 16px;
  color: #0f172a;
  text-transform: uppercase;
  font-weight: 600;
}
.navbar .nav > li > a:hover, .navbar .nav > li.active > a { color: #f59e0b; background: transparent; }

/* Topbar */
.topbar p { margin: 0; color: #e5e7eb; }
.topbar .theme-color { color: #fbbf24; }

/* Hero/Slider Enhancements */
.carousel .carousel-caption {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 800px);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.carousel .carousel-caption .sub-caption p { 
  color: #cbd5e1; 
  margin: 0 0 16px; 
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 14px;
}
.carousel .carousel-caption .caption h1 { 
  color: #ffffff; 
  margin: 0 0 24px; 
  text-transform: capitalize;
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Buttons */
.btn, .btn:focus {
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  transition: all 0.3s ease;
  padding: 14px 28px;
  font-size: 13px;
  border: 0;
  outline: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn.btn-flat1 { 
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); 
  color: #fff; 
  box-shadow: 0 6px 20px rgba(245,158,11,0.4);
}
.btn.btn-flat1:hover { 
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%); 
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,158,11,0.5);
}
.btn.btn-flat2 { 
  background: #ffffff; 
  color: #0f172a; 
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn.btn-flat2:hover { 
  background: #f8fafc; 
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Sections */
.page-content { 
  padding-left: 0; 
  padding-right: 0; 
  position: relative;
}

/* Section Background Improvements */
section.page-content:nth-child(odd) {
  background: #ffffff;
}

section.page-content:nth-child(even) {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
}

section.page-content:nth-child(even)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="sectionPattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(245,158,11,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23sectionPattern)"/></svg>');
  opacity: 0.6;
}

.page-content .container {
  position: relative;
  z-index: 2;
}

.page-content .title h1 { font-weight: 700; }
.sub-title span { color: #6b7280; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

/* Title styling improvements */
.title.style1 .title-wrapper h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  color: #0f172a;
  text-shadow: 0 2px 4px rgba(15, 23, 42, 0.05);
}
.title.style1 .sub-title {
  margin-bottom: 0;
}

/* Enhanced section spacing */
section.page-content {
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: all 0.3s ease;
}

section.page-content:last-of-type {
  border-bottom: none;
}

/* Enhanced Service Items (Why Choose Us) */
.service-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-item:hover::before {
  transform: scaleX(1);
}
.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-color: #f59e0b;
}
.service-item img { 
  height: 70px; 
  width: auto; 
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.service-item:hover img {
  transform: scale(1.1);
}
.service-item h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin: 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-item p {
  color: #6b7280;
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
}

/* Other cards/blocks */
.team-member, .promotion-box, .text-block, .panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.08);
  padding: 24px;
}

/* Enhanced Leadership Section */
.team-list {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  margin: 20px 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}

.team-list .team-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 2px solid #f1f5f9;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  margin-bottom: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.team-list .team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #f59e0b, #fbbf24);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.team-list .team-card:hover::before {
  transform: scaleY(1);
}

.team-list .team-card:hover {
  transform: translateX(8px);
  border-color: #f59e0b;
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.15);
}

.team-list .team-card .icon {
  font-size: 2.5rem;
  color: #f59e0b;
  transition: transform 0.3s ease;
}

.team-list .team-card:hover .icon {
  transform: scale(1.1);
}

.team-list .team-card .name { 
  font-weight: 800; 
  color: #0f172a; 
  font-size: 1.1rem;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.team-list .team-card .role { 
  color: #6b7280; 
  font-weight: 600; 
  font-size: 13px; 
  text-transform: uppercase; 
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Perfect Promotion Box Section */
.promotion-box.style1 {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 200px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
}

.promotion-box.style1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
  animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.promotion-box.style1::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #f59e0b, #fbbf24, #f59e0b);
  border-radius: 20px;
  z-index: -1;
  animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.promotion-box .text-content {
  position: relative;
  z-index: 3;
  flex: 1;
  text-align: left;
}

.promotion-box .text-content h3 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.promotion-box .text-content p {
  font-weight: 600;
  opacity: 0.95;
  margin: 0;
  font-size: 1.1rem;
  color: #e2e8f0;
  letter-spacing: 0.3px;
}

.promotion-box .btn.btn-flat2 {
  position: relative;
  z-index: 3;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #1f2937;
  border: 2px solid #fbbf24;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 32px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 20px;
  flex-shrink: 0;
}

.promotion-box .btn.btn-flat2:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1f2937;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
  border-color: #f59e0b;
}

/* Perfect Project Gallery Section */
.portfolio-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 80px 0;
  border-radius: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.portfolio-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
  animation: subtleShift 6s ease-in-out infinite;
}

@keyframes subtleShift {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.portfolio-section .container-fluid {
  position: relative;
  z-index: 2;
}

.portfolio-section .title.style1 .title-wrapper h1 {
  color: #ffffff;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  font-size: 3.2rem;
  margin-bottom: 16px;
}

.portfolio-section .title.style1 .sub-title span {
  color: #cbd5e1;
  font-weight: 700;
  letter-spacing: 2px;
}

.portfolio .portfolio-item {
  margin-bottom: 24px;
  position: relative;
  padding: 8px;
}

.portfolio .portfolio-item figure { 
  position: relative; 
  overflow: hidden; 
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  border: 2px solid rgba(245, 158, 11, 0.2);
}

.portfolio .portfolio-item:hover figure {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(245, 158, 11, 0.3);
  border-color: #f59e0b;
}

.portfolio .portfolio-item img { 
  width: 100%; 
  height: 300px;
  object-fit: cover;
  display: block; 
  transform: scale(1.0); 
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 18px 18px 0 0;
}

.portfolio .portfolio-item:hover img { 
  transform: scale(1.05); 
}

.portfolio .portfolio-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 50%, transparent 100%);
  padding: 32px 20px 20px;
  border-radius: 0 0 16px 16px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .portfolio-item:hover figcaption {
  transform: translateY(0);
}

.portfolio .caption-content { 
  text-align: center;
  color: #ffffff;
}

.portfolio .caption-content h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio .caption-content h3 a {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.portfolio .caption-content h3 a:hover {
  color: #fbbf24;
}

.portfolio .caption-content i {
  font-size: 16px;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.portfolio .caption-content h3 a:hover i {
  transform: scale(1.2);
}

/* Perfect Portfolio Filter */
.portfolio-filter-wrapper {
  margin-bottom: 50px;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(245, 158, 11, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 3;
}

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

.portfolio-filter li {
  display: inline-block;
  margin: 4px;
}

.portfolio-filter li a {
  background: #f8fafc;
  color: #475569;
  border: 2px solid #e2e8f0;
  border-radius: 35px;
  padding: 14px 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-filter li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s ease;
}

.portfolio-filter li.active a,
.portfolio-filter li a:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border-color: #f59e0b;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.portfolio-filter li a:hover::before {
  left: 100%;
}

/* Enhanced Footer */
footer.style2 {
  position: relative;
  overflow: hidden;
}
footer.style2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
  opacity: 0.4;
}
footer .flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
  z-index: 2;
}
footer .footer-widget {
  flex: 1;
  min-width: 250px;
}
footer .widget-title h3 { 
  color: #e5e7eb; 
  font-weight: 800; 
  font-size: 1.3rem;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
footer .footer-widget p {
  color: #cbd5e1;
  line-height: 1.7;
  font-weight: 500;
  opacity: 0.9;
}
footer .list {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer .list li {
  margin-bottom: 8px;
}
footer .list li a { 
  color: #cbd5e1; 
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
footer .list li a:hover { 
  color: #fbbf24; 
  text-decoration: none;
  transform: translateX(4px);
}
footer .list li a::before {
  content: '→';
  opacity: 0;
  transition: opacity 0.3s ease;
}
footer .list li a:hover::before {
  opacity: 1;
}
footer .contact-info p {
  margin-bottom: 12px;
  color: #555555;
  font-weight: 500;
}
footer .contact-info .theme-color {
  color: #fbbf24;
  font-weight: 700;
}
footer .instagram ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
footer .instagram li a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
footer .instagram li a:hover {
  transform: scale(1.05);
}
footer .instagram img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  display: block;
}
.footer-bottom { 
  color: #cbd5e1; 
  font-weight: 600; 
  letter-spacing: 0.8px;
  font-size: 13px;
  position: relative;
  z-index: 2;
}
.footer-bottom a {
  color: #fbbf24;
  text-decoration: none;
  font-weight: 700;
}
.footer-bottom a:hover {
  color: #f59e0b;
}

/* Forms */
input.input, textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
  border-radius: 8px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input.input:focus, textarea:focus { border-color:#f59e0b; outline:none; box-shadow:0 0 0 3px rgba(245,158,11,.15); }
input.submit { background:#f59e0b; border:0; color:#fff; font-weight:700; padding:12px 20px; border-radius:8px; }
input.submit:hover { background:#d97706; }

/* Utilities */
.w-100 { width: 100%; }
.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-45 { margin-bottom: 45px; }
.mb-50 { margin-bottom: 50px; }
.mb-70 { margin-bottom: 70px; }
.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-50 { margin-top: 50px; }
.pt-60 { padding-top: 60px; }
.pt-80 { padding-top: 80px; }
.pt-100 { padding-top: 100px; }
.pb-50 { padding-bottom: 50px; }
.pb-60 { padding-bottom: 60px; }
.pb-70 { padding-bottom: 70px; }
.pb-80 { padding-bottom: 80px; }
.pb-100 { padding-bottom: 100px; }

/* Portfolio Grid Fixes */
.portfolio.portfolio-masonry {
  margin: 0 -8px;
}

.portfolio.portfolio-masonry .portfolio-item {
  padding: 8px;
}

.portfolio.portfolio-masonry.no-gutters {
  margin: 0;
}

.portfolio.portfolio-masonry.no-gutters .portfolio-item {
  padding: 12px;
}

/* Fix container-fluid padding for portfolio */
.container-fluid.p-0 .portfolio-section {
  margin: 0;
  border-radius: 0;
  padding: 60px 20px;
}

/* Enhanced video overlay for better visual hierarchy */
.video.portfolio-item {
  position: relative;
}

.video.portfolio-item::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(245, 158, 11, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Font Awesome';
  font-size: 14px;
  color: white;
  content: '\f04b';
  z-index: 3;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.video.portfolio-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* Enhanced Responsive Design */
@media (max-width: 1199px) {
  .title.style1 .title-wrapper h1 { font-size: 2.4rem; }
  .carousel .carousel-caption .caption h1 { font-size: 2.5rem; }
  .portfolio .portfolio-item img { height: 260px; }
}

@media (max-width: 991px) {
  .navbar .nav > li > a { padding: 12px 10px; }
  .title.style1 .title-wrapper h1 { font-size: 2.2rem; }
  .carousel .carousel-caption .caption h1 { font-size: 2.2rem; }
  .carousel .carousel-caption { width: min(95%, 600px); padding: 32px 24px; }
  .service-item { margin-bottom: 30px; }
  footer .flex-container { gap: 30px; }
  footer .footer-widget { min-width: 200px; }
}

@media (max-width: 767px) {
  .title.style1 .title-wrapper h1 { font-size: 1.9rem; }
  .carousel .carousel-caption .caption h1 { font-size: 1.9rem; }
  .carousel .carousel-caption { width: min(95%, 500px); padding: 24px 20px; }
  .service-item { padding: 24px 20px; margin-bottom: 24px; }
  
  /* Perfect Mobile Promotion Box */
  .promotion-box.style1 { 
    flex-direction: column;
    text-align: center; 
    padding: 40px 24px;
    min-height: auto;
  }
  .promotion-box .text-content h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }
  .promotion-box .btn.btn-flat2 { 
    margin-left: 0;
    margin-top: 24px; 
    padding: 14px 28px;
    width: auto;
  }
  
  /* Perfect Mobile Project Gallery */
  .portfolio-section {
    padding: 60px 0;
  }
  .portfolio-section .title.style1 .title-wrapper h1 {
    font-size: 2.2rem;
  }
  .portfolio-filter-wrapper {
    padding: 20px;
    margin-bottom: 30px;
  }
  .portfolio-filter li {
    margin: 3px;
  }
  .portfolio-filter li a {
    padding: 10px 20px;
    font-size: 11px;
  }
  
  footer .flex-container { 
    flex-direction: column; 
    gap: 24px; 
  }
  footer .footer-widget { 
    min-width: auto; 
    width: 100%;
  }
  .portfolio .portfolio-item img { 
    height: 220px; 
  }
  .btn { 
    padding: 12px 24px; 
    font-size: 12px; 
  }
}

/* ================================
   INVESTORS PAGE DESIGN ENHANCEMENTS
   ================================ */

/* Investors Page Hero Section - Fixed Contrast */
.page-content.parallax7 {
  background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #4b5563 100%);
  position: relative;
  overflow: hidden;
}

.page-content.parallax7::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.12) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.9; }
}

.page-content.parallax7 .page-header h4 {
  font-size: 4rem;
  font-weight: 900;
  /* color: #ffffff; */
  /* text-shadow: 0 6px 20px rgba(0, 0, 0, 0.7); */
  letter-spacing: -0.5px;
  margin-bottom: 25px;
  position: relative;
  z-index: 3;
  text-transform: uppercase;
}

.page-content.parallax7 .breadcrumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 15px 30px;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(245, 158, 11, 0.5);
  display: inline-flex;
  position: relative;
  z-index: 3;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-content.parallax7 .breadcrumb-item a {
  color: #f59e0c;
  font-weight: 700;
  font-size: 1.1rem;
  /* text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); */
  transition: color 0.3s ease;
}

.page-content.parallax7 .breadcrumb-item a:hover {
  color: #fbbf24;
  text-shadow: 0 2px 12px rgba(251, 191, 36, 0.6);
}

/* Enhanced Investor Sections Container - Better Contrast */
.investors-container {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.investors-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="investorPattern" width="80" height="80" patternUnits="userSpaceOnUse"><circle cx="40" cy="40" r="1" fill="rgba(245,158,11,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23investorPattern)"/></svg>');
  opacity: 0.5;
}

/* Enhanced Section Headers */
.text-block h3.theme-color {
  position: relative;
  font-size: 1.8rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 30px;
  padding-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text-block h3.theme-color::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  border-radius: 2px;
}

.text-block h3.theme-color::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 30px;
  height: 4px;
  background: rgba(245, 158, 11, 0.3);
  border-radius: 2px;
}

/* Enhanced Panel Items */
.panel-items.style1 {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.1);
  position: relative;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-items.style1:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
}

/* Enhanced Panel Design */
.panel {
  border: none;
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.panel-heading {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: none;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.panel-heading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  transition: width 0.3s ease;
}

.panel-heading:hover::before {
  width: 8px;
}

.panel-title a {
  display: block;
  padding: 22px 28px;
  color: #1f2937;
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  position: relative;
  background: transparent;
  line-height: 1.4;
}

.panel-title a:hover,
.panel-title a:focus {
  color: #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(251, 191, 36, 0.05) 100%);
  text-decoration: none;
}

.panel-title a::after {
  content: '\f107';
  font-family: 'FontAwesome';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #f59e0b;
  transition: transform 0.3s ease;
}

.panel-title a[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Enhanced Panel Body */
.panel-collapse .panel-body {
  background: #ffffff;
  padding: 24px 28px;
  border-top: 1px solid rgba(245, 158, 11, 0.1);
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
}

.panel-collapse .panel-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25px;
  right: 25px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(245, 158, 11, 0.3) 50%, transparent 100%);
}

.panel-body a {
  color: #1f2937;
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 30px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  margin: 3px 0;
}

.panel-body a:hover {
  color: #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
  border-color: #f59e0b;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

.panel-body a i {
  color: #f59e0b;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.panel-body a:hover i {
  transform: scale(1.1);
}

/* Enhanced Contact Information */
.contact-info {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.1);
  position: relative;
  z-index: 2;
}

.contact-info p {
  margin-bottom: 16px;
  font-weight: 500;
  color: #374151;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-info p::before {
  content: '';
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.contact-info .theme-color {
  color: #f59e0b !important;
  font-weight: 700;
  margin-right: 8px;
}

.contact-info a {
  color: #1f2937;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.contact-info a:hover {
  color: #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
  border-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

/* Row Spacing Enhancement */
.row.pt-30 {
  padding-top: 60px;
  position: relative;
}

.row.pt-30::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #f59e0b 50%, transparent 100%);
  border-radius: 1px;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .page-content.parallax7 .page-header h4 {
    font-size: 2.8rem;
  }
  
  .page-content.parallax7 .breadcrumb-item a {
    font-size: 1rem;
  }
  
  .text-block h3.theme-color {
    font-size: 1.6rem;
  }
  
  .panel-items.style1 {
    padding: 24px;
  }
  
  .contact-info {
    padding: 24px;
  }
  
  .panel-title a {
    padding: 18px 22px;
    font-size: 1rem;
  }
  
  .panel-collapse .panel-body {
    padding: 20px 22px;
    font-size: 0.95rem;
  }
  
  .panel-body a {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .page-content.parallax7 .page-header h4 {
    font-size: 2.2rem;
  }
  
  .panel-title a {
    font-size: 0.95rem;
    padding: 16px 20px;
  }
  
  .panel-body a {
    font-size: 0.85rem;
    padding: 8px 14px;
  }
}

@media (max-width: 575px) {
  .carousel .carousel-caption .caption h1 { font-size: 1.6rem; }
  .title.style1 .title-wrapper h1 { font-size: 1.7rem; }
  .service-item h2 { font-size: 1.2rem; }
  .promotion-box .text-content h3 { font-size: 1.6rem; }
  footer .instagram ul { grid-template-columns: repeat(2, 1fr); }
}

/* Additional Professional Touches */
.page-content {
  overflow-x: hidden;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Loading state for images */
.portfolio .portfolio-item img,
.service-item img {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Focus states for accessibility */
.btn:focus,
.portfolio .caption-content h3 a:focus,
footer .list li a:focus {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

/* Enhanced text selection */
::selection {
  background: #f59e0b;
  color: #ffffff;
}

/* Improved spacing for better visual hierarchy */
section.page-content + section.page-content {
  border-top: 1px solid #f1f5f9;
}

/* Enhanced Modern Design Elements */
/* Animated Background for Hero Section */
.carousel .item {
  position: relative;
  overflow: hidden;
}

.carousel .item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(245, 158, 11, 0.1) 0%,
    rgba(217, 119, 6, 0.1) 25%,
    rgba(245, 158, 11, 0.1) 50%,
    rgba(217, 119, 6, 0.1) 75%,
    rgba(245, 158, 11, 0.1) 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  z-index: 1;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.carousel .carousel-caption {
  z-index: 3;
}

/* Glowing Effect for Service Items */
.service-item:hover {
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12), 0 0 0 rgba(245, 158, 11, 0);
  }
  to {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12), 0 0 20px rgba(245, 158, 11, 0.3);
  }
}

/* Floating Animation for Icons */
.service-item img {
  animation: float 3s ease-in-out infinite;
}

.service-item:nth-child(2) img {
  animation-delay: -1s;
}

.service-item:nth-child(3) img {
  animation-delay: -2s;
}

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

/* Pulse Animation for Team Icons */
.team-list .team-card .icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Modern Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f59e0b, #d97706);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d97706, #b45309);
}

/* Modern Loading Spinner */
.loading {
  border: 3px solid #f1f5f9;
  border-top: 3px solid #f59e0b;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

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

/* Attractive Button Hover Effects */
.btn.btn-flat1 {
  position: relative;
  overflow: hidden;
}

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

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

/* Enhanced Portfolio Overlay */
.portfolio .portfolio-item figcaption {
  backdrop-filter: blur(10px);
}

/* Modern Section Dividers */
section.page-content:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
  border-radius: 2px;
}

/* Smooth Page Transitions */
body {
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out forwards;
}

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

/* Interactive Hover States */
.navbar .nav > li > a {
  position: relative;
}

.navbar .nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #f59e0b;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar .nav > li > a:hover::after {
  width: 100%;
}


