/* Custom CSS Variables */
:root {
  --primary-color: #1a365d;
  --primary-light: #2d5a87;
  --secondary-color: #ff6b35;
  --accent-color: #ffd23f;
  --text-dark: #2d3748;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Contact Bar */
.contact-bar {
  padding: 6px 0; /* reduce vertical padding */
  font-size: 12px; /* smaller text */
}

.contact-info {
  gap: 20px; /* reduce space between items */
}

.contact-item {
  font-size: 12px; /* smaller text */
  gap: 4px; /* reduce space between icon and text */
  padding: 4px 0; /* optional: add small padding for better spacing */
}

.contact-icon {
  font-size: 14px; /* smaller icons */
  width: 30px;
  height: 30px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  transition: var(--transition);
  animation: slideDown 0.8s ease-out 0.2s both;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}

.logo {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.logo-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
  margin-top: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.dropdown-arrow {
  font-size: 12px;
  transition: var(--transition);
}

.dropdown-parent:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 1001;
}

.dropdown-parent:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-link:hover {
  background: var(--bg-light);
  color: var(--primary-color);
  transform: translateX(8px);
}

.nav-cta {
  margin-left: 16px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.secondary-btn {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.pulse {
  animation: pulse 2s infinite;
}

/* Hero Slideshow */
.hero-slideshow {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.7) 0%, rgba(255, 107, 53, 0.3) 100%);
  z-index: 1;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 40px 20px;
}

.slide-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.8s ease-out 0.3s both;
}

.slide-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 300;
  margin-bottom: 32px;
  opacity: 0.9;
  animation: slideUp 0.8s ease-out 0.5s both;
}

.slide-btn {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #e55a00 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  animation: slideUp 0.8s ease-out 0.7s both;
}

.slide-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.slideshow-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 3;
}

.slide-nav {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.slide-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.slide-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

/* Hero Content */
.hero-content {
  padding: 80px 0;
  background: var(--bg-light);
}

.hero-content .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}


.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.highlight {
  color: var(--primary-color);
}

.gradient-text {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}


.hero-image-container {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}


.hero-image:hover {
  transform: scale(1.02);
}
.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem; /* spacing between text & image */
}

.hero-text {
  flex: 1;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
}

.floating-elements {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 16px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(1) {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  bottom: 30%;
  left: -20px;
  animation-delay: 1s;
}

.floating-card:nth-child(3) {
  top: 60%;
  right: 10px;
  animation-delay: 2s;
}

.card-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.card-text {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 60px;
}

.text-center {
  text-align: center;
}

.section-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 20px;
}

.section-image {
  width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.section-image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* About Section */
.about-section {
  background: white;
}

.about-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.stat-description {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Services Section */
.services-section {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 64px;
  margin-bottom: 24px;
  animation: bounce 2s ease-in-out infinite;
}

.service-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.service-description {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-features {
  text-align: left;
  margin-bottom: 30px;
}

.feature {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 8px;
  padding-left: 8px;
}

.service-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Blog Section */
.blog-section {
  background: white;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.blog-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-image-container {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
}

.blog-category {
  background: var(--secondary-color);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.blog-content {
  padding: 30px;
}

.blog-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.4;
}

.blog-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-light);
}

.blog-excerpt {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.blog-link:hover {
  color: var(--secondary-color);
  transform: translateX(4px);
}

/* Contact Section */
.contact-section {
  background: var(--bg-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-info .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  padding: 24px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-info .contact-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.contact-info .contact-icon {
  font-size: 24px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-details p {
  color: var(--text-light);
  line-height: 1.5;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 24px;
}

.form-input {
  width: 100%;
  padding: 16px;
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.form-submit {
  width: 100%;
  margin-top: 16px;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0f1729 100%);
  color: white;
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  animation: slideUp 0.6s ease-out;
}

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.footer-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  font-size: 16px;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

.footer-contact p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(26, 54, 93, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(26, 54, 93, 0);
  }
}

/* Scroll Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header .container {
    padding: 12px 20px;
  }
  
  .nav {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 40px 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero-content .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .about-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  
  .floating-elements {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-slideshow {
    height: 50vh;
  }
  
  .slide-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  
  .slide-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }
  
  .contact-info {
    flex-direction: column;
    gap: 12px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
/* Team Section */
.team-section {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 40px;
}

.team-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.team-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-info {
  padding: 20px;
}

.team-name {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.team-role {
  font-size: 1rem;
  color: #555;
}
.about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}