/* Contact Hero Section - Based on Cloud Solutions */
.contact-hero { /* Changed from .cloud-solutions-hero */
  background: linear-gradient(135deg, #1e2a38 0%, #3a4a5d 100%); /* Reusing cloud solutions gradient */
  color: #fff;
  padding: 120px 0 100px 0;
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Adjusted height if needed, keeping same as cloud */
  overflow: hidden;
}

.contact-hero::before { /* Changed from .cloud-solutions-hero */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Slightly different overlay for contact? Or keep consistent? Let's keep consistent for now. */
  background: linear-gradient(120deg, rgba(0,102,204,0.25) 0%, rgba(0,0,0,0.5) 100%); 
  z-index: 1;
}

.contact-hero .hero-inner { /* Changed from .cloud-solutions-hero */
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px; /* Consistent max-width */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-hero .hero-content { /* Changed from .cloud-solutions-hero */
  width: 100%;
  max-width: 700px; /* Consistent max-width */
  margin: 0 auto;
  text-align: center;
}

.contact-hero .hero-title { /* Changed from .cloud-solutions-hero */
  font-size: 3.2rem; /* Consistent font size */
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -1px;
  text-shadow: 0 4px 32px rgba(0,0,0,0.25);
  animation: fadeInUp 1s cubic-bezier(.39,.575,.565,1) both;
}

.contact-hero .accent { /* Changed from .cloud-solutions-hero */
  /* Using the same accent style */
  color: #2196f3; 
  background: linear-gradient(90deg, #2196f3 0%, #00e0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(33,150,243,0.2));
}

.contact-hero .hero-desc { /* Changed from .cloud-solutions-hero */
  font-size: 1.25rem; /* Consistent font size */
  color: #cfd8dc; /* Consistent color */
  margin-bottom: 2.5rem;
  line-height: 1.6;
  animation: fadeInUp 1s cubic-bezier(.39,.575,.565,1) 0.2s both;
}

.contact-hero .hero-actions { /* Changed from .cloud-solutions-hero */
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  animation: fadeInUp 1s cubic-bezier(.39,.575,.565,1) 0.4s both;
}

/* Reusing button styles likely defined in style.css, but ensure they exist */
/* If primary-button/secondary-button are not global, copy them here */
/* Assuming they are global based on cloud-solutions.css */

@media (max-width: 768px) {
  .contact-hero { /* Changed from .cloud-solutions-hero */
    padding: 80px 0 60px 0;
    min-height: 350px;
  }
  .contact-hero .hero-title { /* Changed from .cloud-solutions-hero */
    font-size: 2.1rem;
  }
  .contact-hero .hero-desc { /* Changed from .cloud-solutions-hero */
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-hero { /* Changed from .cloud-solutions-hero */
    padding: 60px 0 40px 0;
  }
  .contact-hero .hero-title { /* Changed from .cloud-solutions-hero */
    font-size: 1.8rem; /* Adjusted slightly for potentially shorter title */
  }
  .contact-hero .hero-desc { /* Changed from .cloud-solutions-hero */
    font-size: 0.95rem;
  }
  .contact-hero .hero-actions { /* Changed from .cloud-solutions-hero */
    flex-direction: column;
    gap: 0.7rem;
  }
}

/* === Styles moved from contact.html <style> block === */

/* Modern card styling (Copied from about.html originally) */
.features-modern-card {
  background: #0066b2;
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.2s ease;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.features-modern-card:hover {
  transform: translateY(-4px);
}

.features-modern-icon {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.features-modern-icon img {
  width: 28px;
  height: 28px;
}

.features-modern-card h3 {
  color: #fff;
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.features-modern-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

/* Section styling */
.features-modern {
  padding: 5rem 0;
  background: #f8fafc;
}

.features-modern-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: #1a365d;
}

.features-modern-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4a5568;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.features-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .features-modern-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .features-modern-title {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .features-modern-desc {
    padding: 0 1rem;
  }
}

/* Modern, clean card styling (Duplicate section from inline styles?) */
/* Assuming .benefit-modern styles are relevant or were intended */
.benefits-grid-modern { /* Combined selector */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding: 0 1rem;
}

.benefit-modern { /* Combined selector */
  background: #0066b2; /* Adjusted background for consistency? Or keep #0066cc? */
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.2s ease;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.benefit-modern:hover { /* Combined selector */
  transform: translateY(-4px);
}

.benefit-icon-modern { /* Combined selector */
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.benefit-icon-modern img { /* Combined selector */
  width: 28px;
  height: 28px;
}

.benefit-modern h3 { /* Combined selector */
  color: #fff;
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.benefit-modern p { /* Combined selector */
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

/* Section styling (Duplicate section from inline styles?) */
.benefits-modern { /* Combined selector */
  padding: 5rem 0;
  background: #f8fafc;
}

.benefits-title { /* Combined selector */
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: #1a365d;
}

.benefits-desc { /* Combined selector */
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4a5568;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

@media (max-width: 768px) {
  .benefits-grid-modern { /* Combined selector */
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefits-title { /* Combined selector */
    font-size: 2rem;
    padding: 0 1rem;
  }

  .benefits-desc { /* Combined selector */
    padding: 0 1rem;
  }
}

/* Add these new styles (From inline styles) */
.sector-icon {
  background: rgba(255, 255, 255, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.sector-icon img {
  width: 24px;
  height: 24px;
}

/* .benefit-modern styles seem duplicated/conflicting, consolidating */
/* Styles below were more specific or potentially overrides */

.benefit-modern {
  background: #0066cc; /* Keeping this specific background */
  /* Other properties inherited from above or default */
}

.benefits-title .benefits-accent {
  color: #38bfec;
}

.benefits-desc {
  max-width: 800px;
  margin: 0 auto 3rem; /* Adjusted margin */
  text-align: center;
}

.benefits-flex {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.benefits-content {
  flex: 1;
}

.benefits-image-modern {
  flex: 0 0 40%;
  position: sticky;
  top: 2rem;
}

.benefits-image-modern img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.sector-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .benefits-flex {
    flex-direction: column;
  }

  .benefits-image-modern {
    position: static;
    width: 100%;
  }
}

/* How we help section styles (From inline styles) */
.help-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.help-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 3rem;
}

.help-title span {
  color: #38bfec;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.help-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.help-icon {
  background: #0c2340;
  border-radius: 12px;
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-icon img {
  width: 28px;
  height: 28px;
}

.help-content h3 {
  color: #1a365d;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.help-content p {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .help-grid {
    grid-template-columns: 1fr;
  }
}

/* More .benefits-modern styles (From inline styles - seem related to layout) */
/* Consolidating under existing .benefits-modern */
.benefits-modern .benefits-grid-modern { /* Specificity */
  grid-template-columns: repeat(2, 1fr); /* Overriding auto-fit */
}

.benefits-modern .benefit-modern { /* Specificity */
  background: white; /* Overriding blue background */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  color: initial; /* Reset color if needed */
}

.benefits-modern .benefit-icon-modern img { /* Specificity */
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefits-modern .benefit-modern h3 { /* Specificity */
  color: #1a365d; /* Dark blue text */
  font-size: 1.25rem;
}

.benefits-modern .benefit-modern p { /* Specificity */
  color: #4a5568; /* Grey text */
}

@media (max-width: 1024px) {
  .benefits-modern .benefits-grid-modern { /* Specificity */
    grid-template-columns: 1fr;
  }
}

/* Remove default dropdown arrows (From inline styles) */
.dropbtn {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.nav-links .dropdown > a::after {
  display: none;
}

/* Contact Section Enhancements (From inline styles) */
.contact {
  padding: 5rem 0;
  background-color: #f8fafc; /* Light background */
}

.contact .section-header h2,
.contact .section-header p {
  text-align: center;
  color: #1a365d;
}

.contact .section-header p {
    color: #4a5568;
    margin-bottom: 3rem;
}

.contact-content {
  max-width: 600px; /* Limit form width */
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  color: #4a5568;
  transition: border-color 0.2s ease;
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
  color: #a0aec0;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0066cc; /* Highlight focus */
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.contact-form textarea {
  min-height: 150px; /* Ensure textarea has decent height */
  resize: vertical;
}

.contact-form button[type="submit"] {
  display: block; /* Make button block level */
  width: 100%; /* Full width */
  padding: 1rem; /* Match input padding */
  font-size: 1rem;
  font-weight: 600;
  /* primary-button styles are likely defined elsewhere (style.css) */
  /* Ensure .primary-button class is applied in HTML */
}

/* === End of styles moved from contact.html <style> block === */


/* === Styles moved from contact.html inline style attribute === */
.contact-details-section {
    text-align: center; 
    margin-top: 4rem; 
    color: #4a5568;
    /* Added styles from existing contact.css rule below */
    background-color: #ffffff; /* White background */
    padding: 2rem;
    border-radius: 8px;
    /* margin-top: 3rem; */ /* Overridden by inline style's 4rem */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
/* === End of styles moved from contact.html inline style attribute === */


/* Existing styles from contact.css */

/* Example: Style the added contact details section */
/* .contact-details-section { ... } */ /* Merged above */

.contact-details-section h3 {
    color: #1a365d; /* Dark blue */
    margin-bottom: 1.5rem;
}

.contact-details-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #4a5568; /* Grey text */
}

.contact-details-section p i {
    color: #0066cc; /* Primary blue for icons */
    margin-right: 0.75rem;
    width: 20px; /* Ensure icons align */
    text-align: center;
}

/* Add any other contact-page specific styles here */

/* Animation definition if not global */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
