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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.gear {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 4px solid white;
  border-radius: 50%;
  border-top: 4px solid transparent;
  animation: spin 1s linear infinite;
}

.gear-2 {
  top: 20px;
  left: 20px;
  width: 30px;
  height: 30px;
  animation: spin 1.5s linear infinite reverse;
}

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

.loading-screen p {
  color: white;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Header Styles */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo,
.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4a90e2;
  transition: transform 0.3s ease;
}

.brand-logo:hover,
.footer-logo:hover {
  transform: scale(1.1);
}

.nav-brand h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #4a90e2;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

.nav-link:hover,
.nav-link.active {
  color: #4a90e2;
  background: rgba(74, 144, 226, 0.1);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #4a90e2;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.nav-toggle,
.nav-close {
  display:none;
  font-size: 1.5rem;
  color: #4a90e2;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.nav-toggle:hover,
.nav-close:hover {
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%234a90e2" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  animation: float 30s ease-in-out infinite;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(74, 144, 226, 0.2);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
  animation-delay: -2s;
  animation-duration: 8s;
}

.floating-element:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 10s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-logo-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #4a90e2;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(74, 144, 226, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0);
  }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #4a90e2;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.service-item {
  margin-bottom: 2rem;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid #4a90e2;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(74, 144, 226, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-item:hover::before {
  opacity: 1;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #4a90e2, #357abd);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.5rem;
}

.service-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  padding-left: 1rem;
}

.service-list li {
  position: relative;
  padding: 0.5rem 0;
  color: #4a5568;
  transition: color 0.3s ease;
}

.service-list li::before {
  content: "→";
  position: absolute;
  left: -1rem;
  color: #4a90e2;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.service-list li:hover {
  color: #2d3748;
}

.service-list li:hover::before {
  transform: translateX(5px);
}

.consultant-card {
  background: white;
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.consultant-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(74, 144, 226, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.consultant-card:hover::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.consultant-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.consultant-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #4a90e2;
  position: relative;
}

.consultant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.consultant-image:hover img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(74, 144, 226, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.experience-badge {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  color: #4a90e2;
  font-weight: bold;
}

.consultant-image:hover .image-overlay {
  opacity: 1;
}

.consultant-card h2 {
  font-size: 1.6rem;
  color: #2d3748;
  font-weight: 600;
  margin-bottom: 1rem;
}

.consultant-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 1.5rem;
}

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

.stat-item span {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #4a90e2;
}

.stat-item small {
  color: #666;
  font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: white;
}

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

.stat-card {
  background: linear-gradient(135deg, #4a90e2, #357abd);
  color: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.stat-card:hover::before {
  animation: shimmer 1.5s ease-in-out;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(74, 144, 226, 0.3);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.stat-card h3 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-card p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>')
    repeat;
  animation: float 30s linear infinite;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.services-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.image-item {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.hover-zoom {
  overflow: hidden;
}

.hover-zoom img {
  transition: transform 0.5s ease;
}

.hover-zoom:hover img {
  transform: scale(1.2);
}

.image-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.image-item.large {
  grid-column: span 2;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-item .image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.image-item:hover .image-overlay {
  transform: translateY(0);
}

.image-overlay h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

.main-list {
  font-size: 1.1rem;
  line-height: 1.8;
  counter-reset: main-counter;
}

.main-list > li {
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2rem;
  counter-increment: main-counter;
}

/* .main-list > li::before {
  content: counter(main-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: white;
  color: #4a90e2;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
} */

.sub-list {
  margin-top: 1rem;
  margin-left: 2rem;
  list-style: none;
}

.sub-list li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.sub-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.8);
}

/* Industries Section */
.industries-section {
  padding: 80px 0;
  background: #f8fafc;
}

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

.industry-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.industry-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.industry-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.industry-card:hover img {
  transform: scale(1.1);
}

.industry-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.4rem;
  color: #2d3748;
}

.industry-card p {
  padding: 0 1.5rem 1.5rem;
  color: #4a5568;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #4a90e2;
  color: white;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-primary:hover {
  background: #357abd;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
}

.btn-secondary:hover {
  background: white;
  color: #2d3748;
  transform: translateY(-3px);
}

.pulse-animation {
  animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(74, 144, 226, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0);
  }
}

/* About Page Styles */
.about-hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(226, 232, 240, 0.9) 100%);
}

.consultant-profile {
  background: white;
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.profile-image {
  text-align: center;
  position: relative;
}

.profile-image img {
  width: 350px;
  height: 350px;
  border-radius: 25px;
  object-fit: cover;
  border: 4px solid #4a90e2;
  transition: transform 0.3s ease;
}

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

.profile-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #4a90e2;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-info h2 {
  font-size: 2.2rem;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.profile-info h3 {
  font-size: 1.4rem;
  color: #4a90e2;
  margin-bottom: 2rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.detail-item:hover {
  background: #e2e8f0;
  transform: translateX(10px);
}

.detail-icon {
  width: 40px;
  height: 40px;
  background: #4a90e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.detail-item h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.3rem;
}

.detail-item p {
  color: #4a5568;
}

.about-content {
  padding: 80px 0;
}

.content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.content-wrapper h1 {
  font-size: 3rem;
  color: #2d3748;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.content-wrapper h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #4a90e2;
  border-radius: 2px;
}

.intro-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: center;
}

.intro-paragraph {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #4a5568;
  
}

.intro-image {
  position: relative;
  border-radius: 20px;
  overflow: 400px;
}

.intro-image img {
  width: 100%;
  height: 100%; /* allow height to scale with width */
  object-fit: contain; /* show full image without cropping */
  display: block;
}


.image-stats {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1rem;
  display: flex;
  justify-content: space-around;
  
}

.stat {
  text-align: center;
}

.stat span {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #4a90e2;
}

.stat small {
  color: #666;
  font-size: 0.8rem;
}

.content-wrapper h2 {
  font-size: 2.2rem;
  color: #4a90e2;
  margin: 4rem 0 2rem;
  text-align: center;
}

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

.gallery-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1rem;
}

.gallery-item h4 {
  color: #2d3748;
  font-size: 1.1rem;
}

.experience-list {
  list-style: none;
  padding-left: 0;
  margin-top: 3rem;
}

.experience-list li {
  position: relative;
  padding: 1rem 0 1rem 3rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a5568;
  border-left: 3px solid #e2e8f0;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.experience-list li:hover {
  border-left-color: #4a90e2;
  background: #f8fafc;
  padding-left: 3.5rem;
}

.experience-list li::before {
  content: "•";
  position: absolute;
  left: -8px;
  top: 1rem;
  color: #4a90e2;
  font-size: 1.5rem;
  background: white;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #4a90e2;
}

.more-info {
  text-align: center;
  margin-top: 2rem;
  
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.8rem;
  color: #4a90e2;
}

.footer-contact {
  margin-bottom: 2rem;
}

.footer-contact a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-contact a:hover {
  color: #4a90e2;
  transform: translateY(-2px);
}

.footer-contact a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4a90e2;
  transition: width 0.3s ease;
}

.footer-contact a:hover::after {
  width: 100%;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #a0aec0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation Classes */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 1s ease forwards;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 1s ease forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(50px);
  animation: slideInUp 1s ease forwards;
}

.animate-scale {
  opacity: 0;
  transform: scale(0.8);
  animation: scaleIn 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Contact Page Styles */
.contact-section {
  padding: 120px 0 80px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  min-height: 600px;
}

.contact-info {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="white" opacity="0.1"/></svg>')
    repeat;
  animation: float 20s linear infinite;
}

.contact-bg {
  padding: 3rem;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.contact-bg h1 {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-details {
  background: rgba(255, 255, 255, 0.15);
  padding: 2.5rem;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-item i {
  margin-right: 1.5rem;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form-wrapper {
  background: white;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-wrapper h2 {
  font-size: 2.2rem;
  color: #2d3748;
  margin-bottom: 2rem;
  position: relative;
}

.contact-form-wrapper h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #4a90e2;
  border-radius: 2px;
}

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

.contact-form input,
.contact-form textarea {
  padding: 1.2rem;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4a90e2;
  background: white;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
  transform: translateY(-2px);
}

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

.contact-form button {
  margin-top: 1rem;
}

.map-section {
  padding: 0 0 80px;
}

.map-wrapper {
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.map-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Terms Page Styles */
.terms-section {
  padding: 120px 0 80px;
}

.terms-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.terms-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 90,90 10,90" fill="%234a90e2" opacity="0.05"/></svg>')
    repeat;
  animation: float 25s linear infinite;
}

.terms-content {
  background: white;
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.terms-image {
  position: relative;
}

.terms-image img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 210px;
  transition: transform 0.3s ease;
}

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

.terms-text h1 {
  font-size: 2.8rem;
  color: #2d3748;
  margin-bottom: 2rem;
  position: relative;
}

.terms-text h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: #4a90e2;
  border-radius: 2px;
}

.terms-category {
  margin-bottom: 3rem;
  padding: 2rem;
  background: #f8fafc;
  border-radius: 15px;
  border-left: 4px solid #4a90e2;
}

.terms-category h3 {
  font-size: 1.6rem;
  color: #4a90e2;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terms-category h3::before {
  content: "📋";
  font-size: 1.2rem;
}

.terms-list {
  padding-left: 2rem;
  line-height: 1.8;
  counter-reset: terms-counter;
}

.terms-list li {
  margin-bottom: 1.5rem;
  color: #4a5568;
  position: relative;
  counter-increment: terms-counter;
  padding-left: 1rem;
}

.terms-list li::before {
  content: counter(terms-counter);
  position: absolute;
  left: -2rem;
  top: 0;
  background: #4a90e2;
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
}

.sub-terms-list {
  margin-top: 1rem;
  padding-left: 2rem;
  counter-reset: sub-terms-counter;
}

.sub-terms-list li {
  counter-increment: sub-terms-counter;
}

.sub-terms-list li::before {
  content: counter(sub-terms-counter, upper-roman);
  background: #357abd;
}

.note-section {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 2rem;
  border-radius: 15px;
  margin-top: 2rem;
  border: 1px solid #e2e8f0;
}

.note-section h4 {
  color: #4a90e2;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.note-section h4::before {
  content: "⚠️";
}

.note-section p {
  color: #4a5568;
  line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 1001;
  }

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

  .nav-menu .nav-link {
    color: white;
    font-size: 1.3rem;
    margin: 1.5rem 0;
    padding: 1rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
  }

  .nav-menu .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
  }

  .nav-brand h1 {
    font-size: 1.5rem;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .hero-content,
  .services-content,
  .consultant-profile,
  .contact-wrapper,
  .terms-content,
  .intro-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .content-wrapper h1 {
    font-size: 2.2rem;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-item.large {
    grid-column: span 1;
  }

  .profile-image img {
    width: 280px;
    height: 280px;
  }

  .terms-image {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .experience-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .container {
    padding: 0 15px;
  }

  .hero,
  .about-hero,
  .contact-section,
  .terms-section {
    padding: 100px 0 60px;
  }

  .services,
  .about-content,
  .stats-section,
  .industries-section {
    padding: 60px 0;
  }

  .service-item,
  .consultant-card,
  .consultant-profile,
  .contact-form-wrapper,
  .terms-content {
    padding: 2rem;
  }

  .contact-bg {
    padding: 2rem;
  }

  .contact-details {
    padding: 2rem;
  }

  .floating-elements {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .service-item,
  .consultant-card,
  .consultant-profile,
  .contact-form-wrapper,
  .terms-content {
    padding: 1.5rem;
  }

  .profile-image img {
    width: 220px;
    height: 220px;
  }

  .contact-bg {
    padding: 1.5rem;
  }

  .contact-details {
    padding: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .experience-gallery {
    grid-template-columns: 1fr;
  }

  .hero-logo-section {
    flex-direction: column;
    text-align: center;
  }

  .nav-brand {
    gap: 0.5rem;
  }

  .nav-brand h1 {
    font-size: 1.3rem;
  }
}

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.scroll-animate.active {
  opacity: 1;
  transform: translateY(0);
}

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

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

::-webkit-scrollbar-thumb {
  background: #4a90e2;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #357abd;
}

/* Print Styles */
@media print {
  .header,
  .nav-toggle,
  .nav-close,
  .floating-elements,
  .loading-screen {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .hero,
  .about-hero,
  .contact-section,
  .terms-section {
    padding: 20px 0;
  }
}
@media (min-width: 769px) {
  .nav-toggle,
  .nav-close {
    display: none !important;
  }
}
