/* Modern Hero Section */
.hero {
   position: relative;
   height: 100vh;
   display: flex;
   justify-content: center;
   text-align: center;
   align-items: center;
   background: url("../media/tridentu-contact.webp") no-repeat center center/cover;
   margin-top: -10vh;
}
.hero::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background-color: rgba(255, 255, 255, 0.75);
   z-index: 1;
}
.hero-content {
   max-width: 100%;
   position: relative;
   z-index: 2;
}
.hero h1 {
   font-size: 3.5rem;
   font-weight: 600;
   color: var(--text-color);
   margin-bottom: 20px;
   line-height: 1.2;
}
.hero p {
   font-size: 1.3rem;
   color: var(--text-color);
   max-width: 700px;
   margin: 0 auto 30px;
   line-height: 1.6;
}
/* Contact Options Section */
.contact-options {
   background-color: var(--back-light);
}
.section-title {
   font-size: 2.5rem;
   text-align: center;
   margin-bottom: 1rem;
   color: var(--text-color);
}
.section-subtitle {
   text-align: center;
   margin-bottom: 3rem;
   font-size: 1.1rem;
   color: #555;
   max-width: 700px;
   margin-left: auto;
   margin-right: auto;
}
.contact-cards {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 30px;
   margin: 0 auto;
}
.contact-card {
   background: var(--back-light);
   border-radius: 16px;
   box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
   padding: 30px;
   text-align: center;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   border: 1px solid #f0f0f0;
}
.contact-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.contact-card i {
   font-size: 2.5rem;
   color: var(--primary);
   margin-bottom: 20px;
   background: #f0f9ff;
   width: 80px;
   height: 80px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-left: auto;
   margin-right: auto;
}
.contact-card h3 {
   font-size: 1.5rem;
   margin-bottom: 15px;
   color: var(--text-color);
}
.contact-card p {
   color: #555;
   margin-bottom: 20px;
   line-height: 1.6;
}
.contact-link {
   color: var(--primary);
   text-decoration: none;
   font-weight: 500;
   display: inline-block;
   transition: color 0.3s;
}
.contact-link:hover {
   color: var(--primary);
   text-decoration: underline;
}
/* Founder Section */
.founder-section {
   background: linear-gradient(135deg, #f8fdff 0%, #f0f9ff 100%);
}
.founder-content {
   display: flex;
   align-items: center;
   gap: 50px;
   margin: 0 auto;
}
.founder-text {
   flex: 1;
}
.founder-text h2 {
   font-size: 2.2rem;
   margin-bottom: 20px;
   color: var(--text-color);
}
.founder-text p {
   max-width: 700px;
   font-size: 1.1rem;
   line-height: 1.7;
   color: var(--text-color);
   margin-bottom: 20px;
}
.founder-image {
   flex: 0 0 300px;
   text-align: center;
}
.founder-image img {
   width: 250px;
   height: 250px;
   border-radius: 50%;
   object-fit: cover;
   border: 5px solid var(--primary);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.founder-name {
   margin-top: 15px;
   font-weight: 600;
   color: var(--text-color);
}
.founder-role {
   color: var(--primary);
   font-size: 0.9rem;
}
/* Contact Form Section */
.contact-form-section {
   background-color: var(--back-light);
}
.form-container {
   max-width: 1200px;
   margin: 0 auto;
   background: var(--back-light);
   border-radius: 16px;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
   padding: 40px;
   border: 1px solid #f0f0f0;
}
.form-title {
   font-size: 2rem;
   text-align: center;
   margin-bottom: 30px;
   color: var(--text-color);
}
.contact-form {
   display: flex;
   flex-direction: column;
   gap: 20px;
}
.form-group {
   display: flex;
   flex-direction: column;
}
.form-group label {
   font-weight: 500;
   margin-bottom: 8px;
   color: var(--text-color);
}
.form-group input,
.form-group textarea {
   padding: 15px;
   border: 1px solid #ddd;
   border-radius: 8px;
   font-size: 1rem;
   transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
   outline: none;
   border-color: var(--primary);
   box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}
.submit-btn {
   background-color: var(--primary);
   color: var(--back-light);
   border: none;
   padding: 15px;
   font-size: 1.1rem;
   border-radius: 8px;
   cursor: pointer;
   font-weight: 600;
   transition: background-color 0.3s;
   margin-top: 10px;
}
.submit-btn:hover {
   background-color: var(--primary);
}
.popup {
   position: fixed;
   bottom: 30px;
   left: 50%;
   transform: translateX(-50%);
   background: var(--back-light);
   color: var(--back-light);
   padding: 1rem 1.5rem;
   border-radius: 8px;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
   display: flex;
   align-items: center;
   gap: 1rem;
   z-index: 999;
   transition: opacity 0.3s;
}
.popup.hidden {
   opacity: 0;
   pointer-events: none;
}
.popup-close {
   background: none;
   border: none;
   color: var(--back-light);
   font-size: 1.25rem;
   cursor: pointer;
}
@media (max-width: 992px) {
   .hero h1 {
      font-size: 2.8rem;
   }
   .hero p {
      font-size: 1.1rem;
   }
   .founder-content {
      flex-direction: column;
      text-align: center;
   }
   .founder-image {
      order: -1;
   }
   .form-container {
      padding: 30px 20px;
   }
}
@media (max-width: 768px) {
   .hero {
      height: 60vh;
   }
   .hero h1 {
      font-size: 2.2rem;
   }
   .hero p {
      font-size: 1rem;
   }
   .section-title {
      font-size: 2rem;
   }
   .contact-cards {
      grid-template-columns: 1fr;
   }
}
@media (max-width: 480px) {
   .hero h1 {
      font-size: 1.8rem;
   }
   .hero p {
      font-size: 0.95rem;
   }
   .contact-options,
   .founder-section,
   .contact-form-section {
      padding: 3rem 1rem;
   }
   .form-container {
      padding: 20px 15px;
   }
}
.alert {
   padding: 15px 20px;
   margin-bottom: 25px;
   border-radius: 10px;
   font-weight: 500;
   border: 1px solid transparent;
   text-align: center;
   font-size: 0.95rem;
}
.alert-success {
   background-color: #f0f9f4;
   color: #0d6832;
   border-color: #b8e6cb;
   box-shadow: 0 2px 10px rgba(13, 104, 50, 0.1);
}
.alert-error {
   background-color: #fdf2f2;
   color: #c53030;
   border-color: #feb2b2;
   box-shadow: 0 2px 10px rgba(197, 48, 48, 0.1);
}
.form-group input:invalid,
.form-group textarea:invalid {
   border-color: #e53e3e;
}
.form-group input:valid,
.form-group textarea:valid {
   border-color: #38a169;
}
.submit-btn.loading {
   position: relative;
   color: transparent;
}
.submit-btn.loading::after {
   content: '';
   position: absolute;
   width: 20px;
   height: 20px;
   top: 50%;
   left: 50%;
   margin-left: -10px;
   margin-top: -10px;
   border: 2px solid #ffffff;
   border-radius: 50%;
   border-right-color: transparent;
   animation: spin 0.8s linear infinite;
}
@keyframes spin {
   from { transform: rotate(0deg); }
   to { transform: rotate(360deg); }
}