@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= BODY STYLING ================= */
body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #1a1a1a;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================= HELP BAR ================= */
.help-bar {
  background: linear-gradient(135deg, #1a1a1a, #2d3748);
  color: white;
  padding: 16px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.help-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.help-bar .location {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.help-bar .help-text {
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  display: inline-block;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.help-bar .help-text:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.help-bar .help-text i {
  margin: 0 8px;
}

/* ================= NAVIGATION ================= */
nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

nav .logo {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: goldenrod;
  gap: 10px;
}

nav .logo i {
  font-size: 24px;
  color: goldenrod;
}

nav .logo .brand {
  color: goldenrod;
}

nav .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  width: 100%;
}

nav .links a {
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  color: #4a5568;
  background: #f7fafc;
  transition: all 0.3s ease;
  white-space: nowrap;
}

nav .links a:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

nav .contact {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

nav .contact button {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

nav .contact button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

nav .contact button p {
  margin: 4px 0 0 0;
}

nav .contact button h5 {
  font-size: 11px;
  font-weight: 500;
  margin: 0;
  opacity: 0.9;
}

nav .contact .signup {
  display: none;
}

/* ================= MAIN CONTENT LAYOUT ================= */
main {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

main .left {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

main .left h1 {
  margin-bottom: 16px;
}

main .left h1 span {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

main .left .subtitle {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ================= FORM CONTAINER ================= */
.form-container {
  width: 100%;
}

.form-container h2 {
  font-size: 24px;
  color: #1a1a1a;
  margin-bottom: 24px;
  font-weight: 600;
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ================= FORM GROUPS ================= */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
  color: #1a1a1a;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5568' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ================= FORM BUTTONS ================= */
#contactForm button[type="submit"] {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

#contactForm button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

#contactForm button[type="submit"]:active {
  transform: translateY(-1px);
}

/* ================= RIGHT SECTION - RESOURCES ================= */
.right-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.right-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 28px;
  text-align: center;
}

/* ================= RESOURCE CARDS ================= */
.resource-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  margin-bottom: 20px;
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.resource-card:hover::before {
  transform: scaleY(1);
}

.resource-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
  border-color: #667eea;
}

.resource-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 12px;
}

.resource-icon i {
  font-size: 24px;
}

.resource-content {
  flex: 1;
}

.resource-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.resource-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 4px;
}

.resource-content p:first-of-type {
  font-weight: 500;
  color: #4a5568;
}

/* ================= SUCCESS MESSAGE ================= */
#success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 20px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

#success-message:not(.hidden) {
  opacity: 1;
  visibility: visible;
  animation: bounceIn 0.6s ease;
}

#success-message.hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes bounceIn {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
  70% {
    transform: translate(-50%, -50%) scale(0.95);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* ================= RESPONSIVE DESIGN ================= */
@media (min-width: 768px) {
  nav {
    flex-wrap: nowrap;
    padding: 20px 40px;
  }
  
  nav .links {
    margin-top: 0;
    width: auto;
  }
  
  nav .contact {
    margin-top: 0;
  }
  
  main {
    padding: 60px 40px;
  }
  
  main .left h1 span {
    font-size: 42px;
  }
}

@media (min-width: 1024px) {
  main {
    flex-direction: row;
    padding: 80px 60px;
    gap: 60px;
  }
  
  main .left {
    flex: 1.5;
    padding: 50px 40px;
  }
  
  main .left h1 span {
    font-size: 48px;
  }
  
  .right-section {
    flex: 1;
    padding: 50px 40px;
  }
  
  .form-group {
    gap: 10px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px 18px;
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  main {
    padding: 100px 80px;
  }
  
  main .left {
    padding: 60px 50px;
  }
  
  .right-section {
    padding: 60px 50px;
  }
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main .left,
.right-section,
.resource-card {
  animation: fadeInUp 0.6s ease-out;
}

.resource-card:nth-child(2) {
  animation-delay: 0.1s;
}

.resource-card:nth-child(3) {
  animation-delay: 0.2s;
}

.resource-card:nth-child(4) {
  animation-delay: 0.3s;
}

/* ================= LOADING STATES ================= */
#contactForm button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

#contactForm button[type="submit"]:disabled:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* ================= FORM VALIDATION STYLES ================= */
.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group select:invalid:not(:focus):not(:placeholder-shown),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #ef4444;
}

.form-group input:valid:not(:focus):not(:placeholder-shown),
.form-group select:valid:not(:focus):not(:placeholder-shown),
.form-group textarea:valid:not(:focus):not(:placeholder-shown) {
  border-color: #10b981;
}

/* ================= CUSTOM SCROLLBAR ================= */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5a67d8, #6b46c1);
}