 .contact-header {
     background: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-alt) 100%);
     color: white;
     padding: 8rem 0 4rem;
     text-align: center;
     margin-top: var(--header-height);
     position: relative;
     overflow: hidden;
 }

 .contact-header::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 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23000000"/></svg>');
     background-size: cover;
     opacity: 0.1;
 }

 .contact-header h1 {
     font-size: 3.5rem;
     margin-bottom: 1rem;
     color: white;
     position: relative;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
 }

 .contact-header p {
     font-size: 1.5rem;
     color: rgba(255, 255, 255, 0.9);
     position: relative;
     max-width: 600px;
     margin: 0 auto;
     font-weight: 300;
 }

 /* Intro Section */
 .contact-intro {
     padding: 5rem 0;
     background-color: var(--body-color);
     position: relative;
 }

 .contact-intro .container {
     max-width: 900px;
     text-align: center;
 }

 .contact-intro h2 {
     color: var(--first-color);
     margin-bottom: 2rem;
     font-size: 2.5rem;
     position: relative;
     display: inline-block;
 }

 .contact-intro h2::after {
     content: '';
     position: absolute;
     bottom: -10px;
     left: 50%;
     transform: translateX(-50%);
     width: 80px;
     height: 3px;
     background: var(--first-color);
     border-radius: 2px;
 }

 .contact-intro p {
     color: var(--text-color);
     font-size: 1.1rem;
     line-height: 1.8;
     margin-bottom: 1.5rem;
     max-width: 800px;
     margin-left: auto;
     margin-right: auto;
 }

 .contact-intro .highlight {
     color: var(--first-color);
     font-weight: 600;
 }

 /* Contact Cards Section */
 .contact-cards-section {
     padding: 5rem 0;
     background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
     position: relative;
 }

 .contact-cards-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 100px;
     background: linear-gradient(to bottom, var(--body-color) 0%, transparent 100%);
 }

 .contact-cards-section h2 {
     text-align: center;
     color: var(--title-color);
     margin-bottom: 4rem;
     font-size: 2.8rem;
     position: relative;
 }

 .contact-cards-section h2::after {
     content: '';
     position: absolute;
     bottom: -15px;
     left: 50%;
     transform: translateX(-50%);
     width: 100px;
     height: 4px;
     background: var(--first-color);
     border-radius: 2px;
 }

 .contact-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
     gap: 2.5rem;
     max-width: 1200px;
     margin: 0 auto;
     position: relative;
     z-index: 1;
 }

 .contact-card {
     background: white;
     border-radius: 20px;
     padding: 3rem 2rem;
     text-align: center;
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
     transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
     border: 1px solid rgba(0, 0, 0, 0.05);
     position: relative;
     overflow: hidden;
 }

 .contact-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 5px;
     background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
     transform: scaleX(0);
     transition: transform 0.3s ease;
 }

 .contact-card:hover {
     transform: translateY(-15px) scale(1.02);
     box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
 }

 .contact-card:hover::before {
     transform: scaleX(1);
 }

 .contact-card i {
     font-size: 3.5rem;
     color: var(--first-color);
     margin-bottom: 1.5rem;
     background: linear-gradient(135deg, var(--first-color-lighten), white);
     width: 80px;
     height: 80px;
     line-height: 80px;
     border-radius: 50%;
     display: inline-block;
     box-shadow: 0 10px 20px rgba(var(--first-color), 0.15);
     transition: all 0.3s ease;
 }

 .contact-card:hover i {
     transform: scale(1.1) rotate(5deg);
     background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
     color: white;
 }

 .contact-card h3 {
     color: var(--title-color);
     margin-bottom: 1rem;
     font-size: 1.8rem;
     font-weight: 600;
 }

 .contact-card .card-desc {
     color: var(--text-color);
     line-height: 1.7;
     margin-bottom: 1.5rem;
     font-size: 1rem;
     opacity: 0.8;
 }

 .contact-card .contact-info {
     margin-top: 1.5rem;
     padding-top: 1.5rem;
     border-top: 1px solid rgba(0, 0, 0, 0.1);
 }

 .contact-card a {
     color: var(--first-color);
     text-decoration: none;
     transition: all 0.3s ease;
     display: block;
     margin: 0.8rem 0;
     font-size: 1.1rem;
     font-weight: 500;
 }

 .contact-card a:hover {
     color: var(--first-color-alt);
     transform: translateX(5px);
 }

 .contact-card address {
     color: var(--text-color);
     line-height: 1.7;
     font-style: normal;
     font-size: 1.1rem;
 }

 /* Form Section */
 .contact-form-section {
     padding: 6rem 0;
     background: linear-gradient(135deg, var(--body-color) 0%, #f0f7ff 100%);
     position: relative;
 }

 .contact-form-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 100px;
     background: linear-gradient(to bottom, #e9ecef 0%, transparent 100%);
 }

 .contact-form-section h2 {
     text-align: center;
     color: var(--title-color);
     margin-bottom: 3rem;
     font-size: 2.8rem;
     position: relative;
 }

 .contact-form-section h2::after {
     content: '';
     position: absolute;
     bottom: -15px;
     left: 50%;
     transform: translateX(-50%);
     width: 100px;
     height: 4px;
     background: var(--first-color);
     border-radius: 2px;
 }

 .contact-form-section .subtitle {
     text-align: center;
     color: var(--text-color);
     font-size: 1.2rem;
     margin-bottom: 4rem;
     max-width: 700px;
     margin-left: auto;
     margin-right: auto;
     line-height: 1.6;
 }

 .contact-form-wrapper {
     max-width: 800px;
     margin: 0 auto;
     background: white;
     padding: 4rem;
     border-radius: 25px;
     box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
     position: relative;
     overflow: hidden;
 }

 .contact-form-wrapper::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 5px;
     background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
 }

 .form-row {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 2rem;
     margin-bottom: 2rem;
 }

 .form-group {
     position: relative;
 }

 .form-group.full-width {
     grid-column: 1 / -1;
 }

 .form-group label {
     display: block;
     color: var(--title-color);
     margin-bottom: 0.8rem;
     font-weight: 500;
     font-size: 1.1rem;
     position: relative;
     padding-left: 10px;
 }

 .form-group label::before {
     content: '';
     position: absolute;
     left: 0;
     top: 50%;
     transform: translateY(-50%);
     width: 4px;
     height: 16px;
     background: var(--first-color);
     border-radius: 2px;
 }

 .form-control {
     width: 100%;
     padding: 1.2rem 1.5rem;
     border: 2px solid #e0e6eb;
     border-radius: 12px;
     font-size: 1.1rem;
     color: var(--text-color);
     background: var(--body-color);
     transition: all 0.3s ease;
     font-family: inherit;
 }

 .form-control:focus {
     outline: none;
     border-color: var(--first-color);
     box-shadow: 0 0 0 4px rgba(var(--first-color), 0.15);
     background: white;
 }

 .form-control::placeholder {
     color: #a0aec0;
 }

 textarea.form-control {
     min-height: 180px;
     resize: vertical;
     line-height: 1.6;
 }

 .submit-btn {
     display: block;
     width: 100%;
     padding: 1.3rem;
     background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
     color: white;
     border: none;
     border-radius: 12px;
     font-size: 1.3rem;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.3s ease;
     margin-top: 2rem;
     position: relative;
     overflow: hidden;
 }

 .submit-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: 0.5s;
 }

 .submit-btn:hover {
     transform: translateY(-3px);
     box-shadow: 0 15px 30px rgba(var(--first-color), 0.3);
 }

 .submit-btn:hover::before {
     left: 100%;
 }

 /* Map Section */
 .map-section {
     padding: 6rem 0;
     background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
     position: relative;
 }

 .map-section h2 {
     text-align: center;
     color: var(--title-color);
     margin-bottom: 3rem;
     font-size: 2.8rem;
     position: relative;
 }

 .map-section h2::after {
     content: '';
     position: absolute;
     bottom: -15px;
     left: 50%;
     transform: translateX(-50%);
     width: 100px;
     height: 4px;
     background: var(--first-color);
     border-radius: 2px;
 }

 .map-container {
     max-width: 1000px;
     margin: 0 auto;
     border-radius: 20px;
     overflow: hidden;
     box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
     border: 10px solid white;
     position: relative;
 }

 .map-container::before {
     content: '';
     position: absolute;
     top: -10px;
     left: -10px;
     right: -10px;
     bottom: -10px;
     background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
     z-index: -1;
     border-radius: 25px;
     opacity: 0.1;
 }

 .map-container iframe {
     width: 100%;
     height: 450px;
     border: none;
     display: block;
 }

 /* Why Contact Section */
 .why-contact-section {
     padding: 6rem 0;
     background: linear-gradient(135deg, var(--body-color) 0%, #f0f7ff 100%);
     position: relative;
 }

 .why-contact-section .container {
     max-width: 1000px;
 }

 .why-contact-section h2 {
     text-align: center;
     color: var(--title-color);
     margin-bottom: 3rem;
     font-size: 2.8rem;
     position: relative;
 }

 .why-contact-section h2::after {
     content: '';
     position: absolute;
     bottom: -15px;
     left: 50%;
     transform: translateX(-50%);
     width: 100px;
     height: 4px;
     background: var(--first-color);
     border-radius: 2px;
 }

 .why-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 2.5rem;
     margin-top: 3rem;
 }

 .why-card {
     background: white;
     border-radius: 20px;
     padding: 2.5rem;
     text-align: center;
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
 }

 .why-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 5px;
     background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
     transform: translateY(-100%);
     transition: transform 0.3s ease;
 }

 .why-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
 }

 .why-card:hover::before {
     transform: translateY(0);
 }

 .why-card .why-icon {
     width: 70px;
     height: 70px;
     background: linear-gradient(135deg, var(--first-color-lighten), white);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 1.5rem;
     font-size: 2rem;
     color: var(--first-color);
     box-shadow: 0 10px 20px rgba(var(--first-color), 0.1);
 }

 .why-card h4 {
     color: var(--title-color);
     margin-bottom: 1rem;
     font-size: 1.4rem;
     font-weight: 600;
 }

 .why-card p {
     color: var(--text-color);
     line-height: 1.7;
     font-size: 1rem;
     opacity: 0.8;
 }

 /* Dark Theme Support */
 .dark-theme .contact-header {
     background: linear-gradient(135deg, var(--first-color-dark) 0%, hsl(var(--hue), 8%, 25%) 100%);
 }

 .dark-theme .contact-intro {
     background-color: var(--body-color);
 }

 .dark-theme .contact-cards-section {
     background: linear-gradient(135deg, hsl(var(--hue), 8%, 15%) 0%, hsl(var(--hue), 8%, 20%) 100%);
 }

 .dark-theme .contact-card {
     background: var(--container-color);
     border-color: hsl(var(--hue), 8%, 25%);
 }

 .dark-theme .why-contact-section {
     background: linear-gradient(135deg, var(--body-color) 0%, hsl(var(--hue), 8%, 18%) 100%);
 }

 .dark-theme .why-card {
     background: var(--container-color);
     border-color: hsl(var(--hue), 8%, 25%);
 }

 .dark-theme .contact-form-section {
     background: linear-gradient(135deg, var(--body-color) 0%, hsl(var(--hue), 8%, 18%) 100%);
 }

 .dark-theme .contact-form-wrapper {
     background: var(--container-color);
 }

 .dark-theme .form-control {
     background: hsl(var(--hue), 8%, 20%);
     border-color: hsl(var(--hue), 8%, 30%);
     color: var(--text-color);
 }

 .dark-theme .form-control:focus {
     background: hsl(var(--hue), 8%, 22%);
     border-color: var(--first-color);
 }

 .dark-theme .map-section {
     background: linear-gradient(135deg, hsl(var(--hue), 8%, 15%) 0%, hsl(var(--hue), 8%, 20%) 100%);
 }

 .dark-theme .map-container {
     border-color: hsl(var(--hue), 8%, 20%);
 }

 /* Responsive Design */
 @media screen and (max-width: 992px) {
     .contact-header h1 {
         font-size: 2.8rem;
     }

     .contact-header p {
         font-size: 1.3rem;
     }

     .contact-grid,
     .why-grid {
         grid-template-columns: repeat(2, 1fr);
     }

     .form-row {
         grid-template-columns: 1fr;
         gap: 1.5rem;
     }
 }

 @media screen and (max-width: 768px) {
     .contact-header {
         padding: 6rem 0 3rem;
     }

     .contact-header h1 {
         font-size: 2.3rem;
     }

     .contact-header p {
         font-size: 1.1rem;
     }

     .contact-intro h2,
     .contact-cards-section h2,
     .contact-form-section h2,
     .map-section h2,
     .why-contact-section h2 {
         font-size: 2.2rem;
     }

     .contact-grid,
     .why-grid {
         grid-template-columns: 1fr;
     }

     .contact-form-wrapper {
         padding: 2.5rem;
     }

     .contact-card,
     .why-card {
         padding: 2rem;
     }
 }

 @media screen and (max-width: 480px) {
     .contact-header h1 {
         font-size: 2rem;
     }

     .contact-form-wrapper {
         padding: 2rem;
     }

     .contact-card,
     .why-card {
         padding: 1.5rem;
     }

     .contact-card i {
         width: 10px;
         height: 70px;
         line-height: 70px;
         font-size: 2.5rem;
     }
 }

 .contact-cards-section {
     padding: 4rem 0;
     background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
     position: relative;
 }

 .contact-cards-section h2 {
     text-align: center;
     color: var(--title-color);
     margin-bottom: 3rem;
     font-size: 2.5rem;
     position: relative;
 }

 .contact-cards-section h2::after {
     content: '';
     position: absolute;
     bottom: -10px;
     left: 50%;
     transform: translateX(-50%);
     width: 80px;
     height: 3px;
     background: var(--first-color);
     border-radius: 2px;
 }

 .contact-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 1.5rem;
     max-width: 1200px;
     margin: 0 auto;
     position: relative;
     z-index: 1;
 }

 .contact-card {
     background: white;
     border-radius: 15px;
     padding: 2rem 1.5rem;
     text-align: center;
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
     transition: all 0.3s ease;
     border: 1px solid rgba(0, 0, 0, 0.05);
     position: relative;
     overflow: hidden;
 }

 .contact-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 3px;
     background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
     transform: scaleX(0);
     transition: transform 0.3s ease;
 }

 .contact-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
 }

 .contact-card:hover::before {
     transform: scaleX(1);
 }

 .contact-card i {
     font-size: 2.5rem;
     color: var(--first-color);
     margin-bottom: 1rem;
     background: var(--first-color-lighten);
     width: 60px;
     height: 60px;
     line-height: 60px;
     border-radius: 50%;
     display: inline-block;
     transition: all 0.3s ease;
 }

 .contact-card:hover i {
     transform: scale(1.1);
     background: var(--first-color);
     color: white;
 }

 .contact-card h3 {
     color: var(--title-color);
     margin-bottom: 0.8rem;
     font-size: 1.4rem;
     font-weight: 600;
 }

 .contact-card .contact-info {
     margin-top: 1rem;
 }

 .contact-card a {
     color: var(--text-color);
     text-decoration: none;
     transition: all 0.3s ease;
     display: block;
     margin: 0.6rem 0;
     font-size: 1rem;
     font-weight: 500;
     line-height: 1.4;
 }

 .contact-card a:hover {
     color: var(--first-color);
     transform: translateX(3px);
 }

 .contact-card address {
     color: var(--text-color);
     line-height: 1.5;
     font-style: normal;
     font-size: 1rem;
     margin-top: 0.5rem;
 }

 /* Compact layout for better spacing */
 .contact-card .contact-details {
     display: flex;
     flex-direction: column;
     gap: 0.5rem;
 }

 /* Responsive adjustments for smaller cards */
 @media screen and (max-width: 768px) {
     .contact-grid {
         grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
         gap: 1rem;
     }

     .contact-card {
         padding: 1.5rem 1rem;
     }

     .contact-card i {
         width: 50px;
         height: 50px;
         line-height: 50px;
         font-size: 2rem;
     }
 }

 @media screen and (max-width: 480px) {
     .contact-grid {
         grid-template-columns: 1fr;
     }

     .contact-card h3 {
         font-size: 1.3rem;
     }
 }

 .contact-form-section {
     padding: 5rem 0;
     background: linear-gradient(135deg, var(--body-color) 0%, #f0f7ff 100%);
 }

 .contact-form-section h2 {
     text-align: center;
     color: var(--title-color);
     margin-bottom: 3rem;
     font-size: 2.5rem;
     position: relative;
 }

 .contact-form-section h2::after {
     content: '';
     position: absolute;
     bottom: -15px;
     left: 50%;
     transform: translateX(-50%);
     width: 100px;
     height: 4px;
     background: var(--first-color);
     border-radius: 2px;
 }

 .contact-form-wrapper {
     max-width: 700px;
     margin: 0 auto;
     background: white;
     padding: 3rem;
     border-radius: 20px;
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
 }

 .form-group {
     margin-bottom: 1.5rem;
 }

 .form-group label {
     display: block;
     color: var(--title-color);
     margin-bottom: 0.5rem;
     font-weight: 500;
 }

 .form-control {
     width: 100%;
     padding: 1rem;
     border: 2px solid #e0e6eb;
     border-radius: 10px;
     font-size: 1rem;
     color: var(--text-color);
     background: var(--body-color);
     transition: all 0.3s ease;
 }

 .form-control:focus {
     outline: none;
     border-color: var(--first-color);
     box-shadow: 0 0 0 3px rgba(var(--first-color), 0.15);
     background: white;
 }

 textarea.form-control {
     min-height: 150px;
     resize: vertical;
 }

 .submit-btn {
     display: block;
     width: 100%;
     padding: 1rem;
     background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
     color: white;
     border: none;
     border-radius: 10px;
     font-size: 1.2rem;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.3s ease;
     margin-top: 2rem;
 }

 .submit-btn:hover {
     transform: translateY(-3px);
     box-shadow: 0 10px 20px rgba(var(--first-color), 0.2);
 }

 .submit-btn:disabled {
     opacity: 0.6;
     cursor: not-allowed;
     transform: none;
 }

 /* Success/Error Messages */
 .alert {
     padding: 1rem;
     border-radius: 10px;
     margin-bottom: 2rem;
     text-align: center;
     font-weight: 500;
 }

 .alert-success {
     background: #d4edda;
     color: #155724;
     border: 1px solid #c3e6cb;
 }

 .alert-error {
     background: #f8d7da;
     color: #721c24;
     border: 1px solid #f5c6cb;
 }

 .form-message {
     font-size: 0.9rem;
     margin-top: 0.5rem;
     display: none;
 }

 .form-message.error {
     color: #dc3545;
     display: block;
 }

 .form-message.success {
     color: #28a745;
     display: block;
 }

 /* Loading Spinner */
 .spinner {
     display: inline-block;
     width: 20px;
     height: 20px;
     border: 3px solid rgba(255, 255, 255, 0.3);
     border-radius: 50%;
     border-top-color: white;
     animation: spin 1s ease-in-out infinite;
     margin-right: 10px;
     vertical-align: middle;
 }

 @keyframes spin {
     to {
         transform: rotate(360deg);
     }
 }

 /* Responsive Design */
 @media screen and (max-width: 768px) {
     .contact-form-wrapper {
         padding: 2rem;
     }

     .contact-form-section h2 {
         font-size: 2rem;
     }
 }

 @media screen and (max-width: 480px) {
     .contact-form-wrapper {
         padding: 1.5rem;
     }

     .submit-btn {
         padding: 0.8rem;
         font-size: 1rem;
     }
 }


    /* Additional styles for form validation */
    .form-message.error {
      color: #dc3545;
      font-size: 0.875rem;
      margin-top: 0.25rem;
      display: none;
    }

    .alert {
      padding: 1rem;
      border-radius: 8px;
      margin-bottom: 1.5rem;
      display: none;
    }

    .alert-success {
      background-color: #d1e7dd;
      color: #0f5132;
      border: 1px solid #badbcc;
    }

    .alert-error {
      background-color: #f8d7da;
      color: #842029;
      border: 1px solid #f5c2c7;
    }

    .form-control.error {
      border-color: #dc3545 !important;
      box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
    }

    .spinner {
      display: inline-block;
      width: 20px;
      height: 20px;
      border: 3px solid rgba(255, 255, 255, .3);
      border-radius: 50%;
      border-top-color: #fff;
      animation: spin 1s ease-in-out infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    .submit-btn:disabled {
      opacity: 0.7;
      cursor: not-allowed;
    }
  