/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #f3f6fd 0%, #e9e4f0 100%);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgb(236, 236, 236);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}


.logo {
  display: flex;
  align-items: center;
  height: 90px;
  margin-bottom: 0;
}

.logo-img {
  height: 80px;
  width: auto;
  display: block;
  transition: filter 0.3s;
}

.logo:hover .logo-img {
  filter: brightness(0.8) drop-shadow(0 2px 12px #667eea55);
}

.logo a {
  color: #2d3748;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo a:hover {
  color: #667eea;
}

.nav {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
  align-items: center;
  width: auto;
  
}

.nav-link {
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #525349;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  top: 80%;
  left: 20%;
  animation-delay: 4s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 30%;
  animation-delay: 1s;
}

.shape-5 {
  width: 40px;
  height: 40px;
  top: 70%;
  right: 60%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Animated SVG Wave at the bottom of hero */
.hero-section .svg-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  z-index: 5;
  pointer-events: none;
}

.page-hero {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: white;
}

.page-hero .hero-background {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.page-hero .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #5e5a5b 0%, #0b0a0c 100%);
  opacity: 0.85;
  z-index: 2;
}

.page-hero .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

/* Particles Container */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(50px);
  animation: slideInUp 0.8s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.highlight {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s ease forwards 0.8s;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s ease forwards 1s;
}

.btn-primary, .btn-secondary {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #2d3748;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-glow {
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  }
  to {
    box-shadow: 0 4px 25px rgba(255, 215, 0, 0.6);
  }
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s ease forwards 1.2s;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.5s;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: white;
  position: relative;
  margin-bottom: 0.5rem;
  animation: bounce 2s infinite;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Animations */
@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100vw;
    width: 80vw;
    height: 100vh;
    background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem 2rem;
    gap: 2rem;
    box-shadow: -8px 0 32px rgba(44,62,80,0.18);
    z-index: 2000;
    transition: right 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .header.nav-open .nav {
    display: flex;
    right: 0;
  }
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2100;
    margin-left: 1rem;
  }
  .mobile-menu-btn span {
    display: block;
    width: 32px;
    height: 4px;
    background: #2b48ca;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .header.nav-open .mobile-menu-btn span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .header.nav-open .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
  }
  .header.nav-open .mobile-menu-btn span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Section Styles */
.about-section, .services-section, .projects-section, .contact-section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2d3748;
}

.section-desc {
  text-align: center;
  font-size: 1.1rem;
  color: #718096;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Cards */
.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: #2d3748;
  margin-bottom: 1rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(102,126,234,0.08);
  padding: 2rem 1.5rem;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  border-top: 4px solid #dbeb51;
  animation: fadeInUp 0.8s ease;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(102,126,234,0.15);
  border-top: 4px solid #ffd700;
}

.service-icon {
  font-size: 2.5rem;
  color: #e1e446;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #2d3748;
}

.service-card p {
  color: #718096;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.service-features {
  margin: 1rem 0 1.5rem 0;
  padding-left: 1.2rem;
}

.service-link {
  display: inline-block;
  background: linear-gradient(135deg, #5e5a5b 0%, #0b0a0c 100%);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.3s, transform 0.3s;
  margin-top: 0.5rem;
}

.service-link:hover {
  background: linear-gradient(90deg, #ffd700, #ffed4e);
  color: #2d3748;
  transform: translateY(-2px) scale(1.05);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: #2b48ca
  
}

.project-card:hover {
  transform: scale(1.05);
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-card h4 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2b48ca;
  color: white;
  padding: 1rem;
  margin: 0;
}
.btn-primary{
  
   background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);
   color: white;
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form button {
  background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  
}

.contact-form button:hover {
  background: #adb661;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #010816 0%, #2d3748 100%);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.footer::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="footer-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23667eea" opacity="0.2"/><circle cx="80" cy="80" r="1" fill="%23764ba2" opacity="0.2"/><circle cx="40" cy="60" r="0.5" fill="%23667eea" opacity="0.2"/><circle cx="60" cy="40" r="0.5" fill="%23764ba2" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grain)"/></svg>');
  opacity: 0.1;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
}

.footer-section h3::after,
.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
   background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);
  border-radius: 2px;
}

.footer-section p {
  color: #a0aec0;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 45px;
  height: 45px;
 background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);
  transition: left 0.5s ease;
}

.social-links a:hover::before {
  left: 100%;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(199, 224, 85, 0.4);
}

.social-links i {
  font-size: 1.2rem;
  z-index: 1;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: #a0aec0;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-section ul li a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #e4ee5a;
}

.footer-section ul li a:hover {
  color: #dae953;
  padding-left: 20px;
}

.footer-section ul li a:hover::before {
  opacity: 1;
  left: 0;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  position: relative;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 2px solid #4a5568;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
  color: #a0aec0;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #e0eb51;
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
  padding: 0.8rem 1.2rem;
   background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);
  border: none;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.newsletter-form button::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;
}

.newsletter-form button:hover::before {
  left: 100%;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #4a5568;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: #a0aec0;
  margin: 0;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #667eea;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #dee033;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Responsive Design for Contact and Footer */
@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* Animation for Contact and Footer Elements */
.contact-item,
.contact-form-container,
.footer-section {
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animations */
.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

/* --- Enhanced Section Styles --- */

/* About Section Modernization */
.about-section {
  background: linear-gradient(120deg, #f3f6fd 60%, #e0e7ff 100%);
  padding: 6rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, #667eea22 60%, transparent 100%);
  z-index: 1;
}
.about-section .container {
  position: relative;
  z-index: 2;
}
.about-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
}
.about-text {
  background: rgba(255,255,255,0.85);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(102,126,234,0.08);
  padding: 2.5rem 2rem;
  flex: 1 1 350px;
  min-width: 320px;
  margin-right: 1.5rem;
  position: relative;
}
.about-features {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}
.feature {
  background: rgba(102,126,234,0.07);
  border-radius: 16px;
  padding: 1.2rem 1rem;
  box-shadow: 0 2px 8px rgba(102,126,234,0.06);
  text-align: center;
  flex: 1;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 24px rgba(102,126,234,0.13);
  background: rgba(102,126,234,0.13);
}
.feature i {
  font-size: 2rem;
  color: #2b48ca;
  margin-bottom: 0.5rem;
}
.about-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(102,126,234,0.13);
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 400px;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.image-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, #2b48ca 60%, transparent 100%);
  color: white;
  padding: 1.2rem 1rem 1rem 1.5rem;
  border-radius: 0 0 24px 24px;
  text-align: left;
}
.overlay-content h4 {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
  color: #ffd700;
}
.overlay-content p {
  font-size: 1rem;
  margin: 0;
  color: #e0e7ff;
}

/* Services Section Modernization */
.services-section {
  background: linear-gradient(135deg, #e0e7ff 0%, #f8fafc 100%);
  padding: 6rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}
.services-section::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, #764ba222 60%, transparent 100%);
  z-index: 1;
}
.services-section .container {
  position: relative;
  z-index: 2;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
.service-card {
  background: white;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(102,126,234,0.08);
  padding: 2rem 1.5rem;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  border-top: 4px solid #2b48ca ;
  animation: fadeInUp 0.8s ease;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(102,126,234,0.15);
  border-top: 4px solid #ffd700;
}
.service-icon {
  font-size: 2.5rem;
  color: #2b48ca;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #2d3748;
}
.service-card p {
  color: #718096;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}
.service-features {
  margin: 1rem 0 1.5rem 0;
  padding-left: 1.2rem;
}
.service-link {
  display: inline-block;
  background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.3s, transform 0.3s;
  margin-top: 0.5rem;
}
.service-link:hover {
  background: linear-gradient(90deg, #ffd700, #ffed4e);
  color: #2d3748;
  transform: translateY(-2px) scale(1.05);
}

/* Featured Projects Section Modernization */
.projects-section {
  background: linear-gradient(120deg, #f3f6fd 60%, #e0e7ff 100%);
  padding: 6rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}
.projects-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, #764ba222 60%, transparent 100%);
  z-index: 1;
}
.projects-section .container {
  position: relative;
  z-index: 2;
}
.projects-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3rem;
  align-items: stretch;
}
.project-featured {
  flex: 2 1 350px;
  min-width: 320px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(102,126,234,0.13);
  position: relative;
  background: rgba(255,255,255,0.92);
}
.project-image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(102,126,234,0.10);
}
.project-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 22px 22px 0 0;
  transition: transform 0.3s;
}
.project-image:hover img {
  transform: scale(1.06);
}
.project-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, #2b48ca 80%, transparent 100%);
  color: white;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 22px 22px 0 0;
}
.project-featured:hover .project-overlay {
  opacity: 1;
}
.project-info {
  padding: 2rem 1.5rem;
}
.project-content {
  padding: 1rem 1.2rem;
}
.project-category {
  display: inline-block;
  background: #e0e7ff;
  color: #2b48ca;
  border-radius: 12px;
  padding: 0.2rem 0.8rem;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
.projects-cta {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 1024px) {
  .about-content, .projects-showcase {
    flex-direction: column;
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .about-content, .projects-showcase {
    flex-direction: column;
    gap: 2rem;
  }
  .about-text, .about-image, .project-featured {
    min-width: 0;
    max-width: 100%;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Restore Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, #2b48ca 0%, #0b0a0c 100%);
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
#testimonials .section-title,
#testimonials .section-desc {
  color: #ffffff;
}

.testimonials-slider {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  margin-top: 3rem;
  position: relative;
}
.testimonial-slide {
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 2.5rem 2rem 2rem 2rem;
  min-width: 320px;
  max-width: 400px;
  opacity: 0.7;
  transform: scale(0.95);
  transition: all 0.5s cubic-bezier(.4,2,.3,1);
  position: relative;
  z-index: 1;
}
.testimonial-slide.active {
  opacity: 1;
  transform: scale(1.05);
  background: rgba(255,255,255,0.18);
  z-index: 2;
  box-shadow: 0 8px 32px rgba(102,126,234,0.18);
}
.testimonial-content {
  text-align: left;
}
.quote-icon {
  font-size: 2rem;
  color: #ffd700;
  margin-bottom: 1rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffd700;
}
.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: #ffd700;
}
.author-info span {
  font-size: 0.95rem;
  color: #e0e7ff;
}
.testimonial-dots {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 2rem;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.dot.active {
  background: #ffd700;
  transform: scale(1.2);
}

/* Restore Contact Section */
.contact-section {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.contact-section::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23667eea" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23764ba2" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23667eea" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23764ba2" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23667eea" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
  z-index: 2;
}
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  transition: left 0.5s ease;
}
.contact-item:hover::before {
  left: 100%;
}
.contact-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.3);
}
.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #374aa1 0%, #2b48ca 100%);

  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.contact-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.contact-item:hover .contact-icon::before {
  transform: translateX(100%);
}
.contact-icon i {
  font-size: 1.5rem;
  color: white;
  z-index: 1;
}
.contact-details h4 {
  color: #2d3748;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.contact-details p {
  color: #718096;
  line-height: 1.6;
}
.contact-form-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}
.contact-form-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  animation: rotate 20s linear infinite;
  z-index: -1;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.contact-form .form-group:nth-child(4),
.contact-form .form-group:nth-child(5) {
  grid-column: 1 / -1;
}
.form-group {
  position: relative;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form .btn-primary, .contact-form button[type="submit"] {
  background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%) !important;
  color: #fff;
  border: none;
  border-radius: 15px;
  font-weight: 600;
  transition: background 0.3s, box-shadow 0.3s;
}
.contact-form .btn-primary:hover, .contact-form button[type="submit"]:hover {
  background: linear-gradient(135deg, #4b5fd6 0%, #23243a 100%) !important;
  box-shadow: 0 8px 24px rgba(55, 74, 161, 0.18);
}
@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-info {
    grid-template-columns: 1fr;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Animated Geometric Grid Canvas for Hero Section */
.arch-grid-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
  filter: blur(0.5px) brightness(1.2);
}

.project-image.animated-fadein {
  animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 6px 24px rgba(44, 62, 80, 0.10);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s;
}
.project-card:hover img {
  transform: scale(1.08) rotate(-1deg);
  box-shadow: 0 12px 32px rgba(44, 62, 80, 0.18);
}
@media (max-width: 600px) {
  .project-card img {
    height: 140px;
  }
} 