/* Contact Page Base */
    .contact-page {
      background: linear-gradient(135deg, #f8f9fa 0%, #f5f4f8 100%);
      min-height: 100vh;
    }

    /* Hero Section - Vibrant Purple-Blue Gradient */
    .contact-hero {
      background: linear-gradient(135deg, #143a6b 0%, #1a4f90 30%, #1e568f 60%, #143a6b 100%);
      padding-top: 110px;
      padding-bottom: 60px;
      position: relative;
    }

    .contact-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top left, rgba(26, 79, 144, 0.2), transparent 60%),
                  radial-gradient(circle at bottom right, rgba(125, 161, 76, 0.18), transparent 55%);
      z-index: 0;
      pointer-events: none;
    }

    .contact-hero .container {
      position: relative;
      z-index: 2;
    }

    .contact-hero-intro {
      position: relative;
      border-radius: 28px;
      padding: 2.75rem 2.5rem;
      background: linear-gradient(135deg, 
        #1A4F90 0%, 
        #2a669f 30%,
        #5f8c3b 60%,
        #7DA14C 100%);
      border: 1px solid rgba(255, 255, 255, 0.25);
      box-shadow: 0 24px 60px rgba(15, 12, 32, 0.6), 
                  0 0 0 1px rgba(255, 255, 255, 0.15) inset,
                  0 8px 32px rgba(26, 79, 144, 0.4),
                  0 4px 16px rgba(125, 161, 76, 0.3);
      height: 100%;
      overflow: hidden;
    }

    .contact-hero-intro::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
      pointer-events: none;
      z-index: 1;
    }

    .contact-hero-content {
      position: relative;
      z-index: 3;
      width: 100%;
    }

    .contact-page .caption-label {
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-size: 0.75rem;
      font-weight: 600;
      display: inline-block;
      margin-bottom: 0.75rem;
      color: rgba(255, 255, 255, 0.95);
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .contact-page .caption-title {
      font-weight: 700;
      font-size: 2.25rem;
      line-height: 1.2;
      margin-bottom: 1rem;
      color: #ffffff;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .contact-page .caption-text {
      color: rgba(255, 255, 255, 0.98);
      max-width: 100%;
      line-height: 1.7;
      font-size: 1.1rem;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

    .contact-page .caption-text a {
      color: rgba(255, 255, 255, 0.98);
      text-decoration: underline;
    }

    .contact-page .caption-text a:hover {
      color: #ffffff;
    }

    .text-white-75 {
      color: rgba(255, 255, 255, 0.75);
    }


    /* Background Shapes */
    .contact-shapes {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      pointer-events: none;
      z-index: 1;
    }

    .shape {
      position: absolute;
      border-radius: 50%;
      opacity: 0.08;
      animation: float 25s ease-in-out infinite;
    }

    .shape-1 {
      width: 400px;
      height: 400px;
      background: linear-gradient(135deg, #1A4F90, #7DA14C);
      top: 10%;
      left: -10%;
      animation-delay: 0s;
    }

    .shape-2 {
      width: 300px;
      height: 300px;
      background: linear-gradient(135deg, #7DA14C, #1A4F90);
      bottom: 15%;
      right: -5%;
      animation-delay: 8s;
    }

    .shape-3 {
      width: 200px;
      height: 200px;
      background: linear-gradient(135deg, #1A4F90, #7DA14C);
      top: 50%;
      right: 15%;
      animation-delay: 16s;
    }

    @keyframes float {

      0%,
      100% {
        transform: translateY(0) translateX(0) rotate(0deg);
      }

      25% {
        transform: translateY(-40px) translateX(30px) rotate(5deg);
      }

      50% {
        transform: translateY(30px) translateX(-20px) rotate(-5deg);
      }

      75% {
        transform: translateY(-20px) translateX(15px) rotate(3deg);
      }
    }

    /* Hero Image */
    .contact-hero-image {
      position: relative;
      z-index: 2;
    }

    .contact-hero-image img {
      max-height: 250px;
      filter: drop-shadow(0 20px 40px rgba(26, 79, 144, 0.3));
      animation: floatImage 6s ease-in-out infinite;
    }

    @keyframes floatImage {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-20px);
      }
    }


    /* Gradient Text */
    .gradient-text {
      background: linear-gradient(135deg, #1A4F90 0%, #7DA14C 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .text-white-75 {
      color: rgba(255, 255, 255, 0.8);
    }

    /* Contact Info Cards */
    .contact-info-card {
      background: white;
      border: 1px solid rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
    }

    .contact-info-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    }

    .contact-icon {
      width: 60px;
      height: 60px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, rgba(26, 79, 144, 0.1), rgba(125, 161, 76, 0.1));
      border-radius: 50%;
      transition: all 0.3s ease;
    }

    .contact-info-card:hover .contact-icon {
      transform: scale(1.1);
      background: linear-gradient(135deg, #1A4F90, #7DA14C);
    }

    .contact-icon i {
      font-size: 1.5rem;
      background: linear-gradient(135deg, #1A4F90 0%, #7DA14C 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      transition: all 0.3s ease;
    }

    .contact-info-card:hover .contact-icon i {
      color: white;
    }

    .contact-info-card a {
      color: #333;
      transition: all 0.3s ease;
    }

    .contact-info-card a:hover {
      color: #1A4F90;
    }

    .break-word {
      word-break: break-word;
    }

    /* Map Card */
    .map-card {
      background: white;
      border: 1px solid rgba(0, 0, 0, 0.05);
      position: relative;
      width: 100%;
      display: block;
    }

    .map-container {
      position: relative;
      width: 100%;
      height: 0;
      padding-bottom: 75%;
      /* 4:3 aspect ratio */
      overflow: hidden;
      border-radius: 1rem;
    }

    .map-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
      border-radius: 1rem;
      display: block;
    }

    /* Form Card */
    .form-card {
      background: white;
      border: 1px solid rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
    }

    .form-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    }

    /* Form Controls */
    .form-control-lg {
      padding: 1rem 1.25rem;
      font-size: 1rem;
      border-radius: 12px;
      border: 2px solid #e9ecef;
      transition: all 0.3s ease;
    }

    .form-control-lg:focus {
      border-color: #1A4F90;
      box-shadow: 0 0 0 0.2rem rgba(26, 79, 144, 0.15);
    }

    /* Button Enhancements */
    .btn-primary {
      background: linear-gradient(135deg, #1A4F90 0%, #7DA14C 100%);
      border: none;
      border-radius: 50px;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(26, 79, 144, 0.3);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(26, 79, 144, 0.4);
    }

    .hover-lift {
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .hover-lift:hover {
      transform: translateY(-3px);
    }

    /* Animations */
    @keyframes animate-fade-in {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

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

    @keyframes animate-fade-in-up {
      from {
        opacity: 0;
        transform: translateY(30px);
      }

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

    @keyframes animate-slide-up {
      from {
        opacity: 0;
        transform: translateY(50px);
      }

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

    .animate-fade-in {
      animation: animate-fade-in 0.8s ease forwards;
    }

    .animate-fade-in-up {
      animation: animate-fade-in-up 1s ease forwards;
    }

    .animate-slide-up {
      animation: animate-slide-up 1s ease forwards;
    }

    /* Responsive Design */
    @media (max-width: 991px) {
      .contact-hero {
        padding-top: 100px;
        padding-bottom: 60px;
      }

      .contact-hero-image img {
        max-height: 200px;
      }

      .display-4 {
        font-size: 2rem !important;
      }

      .shape {
        display: none;
      }

      .map-card {
        margin-bottom: 2rem;
      }

      .map-container {
        padding-bottom: 70%;
        /* Slightly taller on tablets */
      }
    }

    @media (max-width: 575px) {

      .contact-info-card,
      .form-card,
      .map-card {
        border-radius: 16px !important;
      }

      .form-card {
        padding: 2rem 1.5rem !important;
      }

      .contact-info-card {
        padding: 1.5rem !important;
      }

      .map-card {
        margin-bottom: 1.5rem;
      }

      .map-container {
        padding-bottom: 65%;
        /* Taller on small screens for better visibility */
        border-radius: 1rem !important;
      }
    }
  

    .form-text {
      font-size: 0.875rem;
      color: #6c757d;
      margin-top: 0.25rem;
    }

    .alert {
      border-radius: 12px;
      border: none;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .alert-success {
      background: linear-gradient(135deg, #28a745, #20c997);
      color: white;
    }

    .alert-danger {
      background: linear-gradient(135deg, #dc3545, #c82333);
      color: white;
    }

    .alert .btn-close {
      filter: brightness(0) invert(1);
    }

    .spinner-border-sm {
      width: 1rem;
      height: 1rem;
      border-width: 0.15em;
    }