
/* Professional stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  color: #0b1f3a;
  background: 
    linear-gradient(135deg, 
      rgba(255,255,255,0.85) 0%, 
      rgba(240,248,255,0.8) 50%, 
      rgba(230,240,250,0.75) 100%),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80');
  background-size: cover, cover;
  background-position: center, center;
  background-attachment: fixed, fixed;
  min-height: 100vh;
}

header {
  background-color: #0b1f3a;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav li {
  margin-left: 30px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #00aaff;
}

.hero {
  background: url('https://images.unsplash.com/photo-1517884467362-6027a086ee9d?auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
  padding: 150px 10%;
  color: #ffffff;
  text-align: left;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  max-width: 600px;
}

.section {
  padding: 80px 10%;
}

.section h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  color: #0b1f3a;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  margin-top: 20px;
}

.service-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="ocean" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2300b8d9;stop-opacity:0.1"/><stop offset="50%" style="stop-color:%231976d2;stop-opacity:0.05"/><stop offset="100%" style="stop-color:%230d47a1;stop-opacity:0.1"/></linearGradient></defs><path d="M0 60 Q25 50 50 60 T100 60 L100 100 L0 100 Z" fill="url(%23ocean)"/><path d="M0 70 Q25 60 50 70 T100 70 L100 100 L0 100 Z" fill="url(%23ocean)" opacity="0.6"/><path d="M0 80 Q25 70 50 80 T100 80 L100 100 L0 100 Z" fill="url(%23ocean)" opacity="0.3"/></svg>');
  background-size: cover;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(11,31,58,0.08);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(11,31,58,0.05);
  position: relative;
  height: 280px;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00b8d9, #1976d2, #8e24aa, #43a047, #ff9800);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(11,31,58,0.15);
  border-color: rgba(0,184,217,0.2);
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(240,248,255,0.98) 100%), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="ocean" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2300b8d9;stop-opacity:0.15"/><stop offset="50%" style="stop-color:%231976d2;stop-opacity:0.08"/><stop offset="100%" style="stop-color:%230d47a1;stop-opacity:0.15"/></linearGradient></defs><path d="M0 60 Q25 50 50 60 T100 60 L100 100 L0 100 Z" fill="url(%23ocean)"/><path d="M0 70 Q25 60 50 70 T100 70 L100 100 L0 100 Z" fill="url(%23ocean)" opacity="0.6"/><path d="M0 80 Q25 70 50 80 T100 80 L100 100 L0 100 Z" fill="url(%23ocean)" opacity="0.3"/></svg>');
}

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

.service-card:nth-child(1)::before {
  background: linear-gradient(90deg, #1976d2, #00b8d9);
}

.service-card:nth-child(2)::before {
  background: linear-gradient(90deg, #00b8d9, #8e24aa);
}

.service-card:nth-child(3)::before {
  background: linear-gradient(90deg, #8e24aa, #43a047);
}

.service-card:nth-child(4)::before {
  background: linear-gradient(90deg, #43a047, #ff9800);
}

.service-card:nth-child(5)::before {
  background: linear-gradient(90deg, #ff9800, #1976d2);
}

/* Add staggered animation for service cards */
.service-card {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.service-card:nth-child(1) { animation-delay: 0.3s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.5s; }
.service-card:nth-child(4) { animation-delay: 0.6s; }
.service-card:nth-child(5) { animation-delay: 0.7s; }

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

/* Hero section animations */
.hero h1 {
  animation: fadeInDown 1s ease forwards;
  opacity: 0;
  transform: translateY(-30px);
}

.hero p {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
  animation-delay: 0.3s;
}

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

/* Services section animations */
.services-title {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(20px);
  animation-delay: 0.2s;
}

/* Header animations */
.main-header {
  /* Static header - no animation */
}

/* Responsive header styles */
.main-header {
  background: linear-gradient(90deg, #02294a 60%, #00b8d9 100%);
  color: #fff;
  padding: 32px 10% 24px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.main-header nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.main-header nav a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  transition: color 0.2s;
  white-space: nowrap;
}

.main-header nav a:hover {
  color: #00b8d9;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .main-header {
    padding: 20px 5%;
    flex-direction: column;
    text-align: center;
  }
  
  .main-header nav ul {
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .main-header nav a {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .main-header nav ul {
    gap: 15px;
  }
  
  .main-header nav a {
    font-size: 15px;
  }
}

/* Footer animations */
.main-footer {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(20px);
  animation-delay: 0.8s;
}

/* About link animation */
.about-link {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
  animation-delay: 0.9s;
}

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

/* Contact button animation */
.contact-button {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(20px);
  animation-delay: 1s;
}

/* Enhanced services section styling */
.services-section {
  background: transparent;
  border-radius: 24px;
  box-shadow: none;
  margin-top: 40px;
  padding: 60px 10%;
  backdrop-filter: none;
  border: none;
}

.services-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #0b1f3a;
  letter-spacing: -0.5px;
  position: relative;
}

.services-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00b8d9, #1976d2);
  border-radius: 2px;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card-content {
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: center;
  gap: 20px;
}

.card-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #0b1f3a;
  letter-spacing: -0.3px;
  line-height: 1.3;
  max-width: 100%;
}

.service-sub {
  font-size: 15px;
  font-weight: 400;
  color: #666;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  opacity: 0.8;
  padding: 4px 0;
  display: inline-block;
  font-style: italic;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.service-icon svg {
  width: 48px;
  height: 48px;
  display: block;
  margin: auto;
}

.service-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.service-card:hover .service-icon::before {
  opacity: 1;
}

.card-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #33475b;
  margin-top: 12px;
}

footer {
  background-color: #0b1f3a;
  color: #ffffff;
  text-align: center;
  padding: 40px 10%;
}

footer a {
  color: #00aaff;
  text-decoration: none;
}
