/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Tajawal", sans-serif;
  line-height: 1.6;
  color: #333;
  direction: rtl;
  text-align: right;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #2c5aa0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background: #2c5aa0;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
  overflow: hidden;
}

.hero-background {
  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 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-weight: 300;
}

.hero-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #ff6b35;
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
  background: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #2c5aa0;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  /* color: #2c5aa0; */
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  /* color: #666; */
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: #f8f9fa;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.about-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2c5aa0, #ff6b35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.about-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c5aa0;
}

.about-card p {
  color: #666;
  line-height: 1.8;
}

/* Agenda Section */
.agenda-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.agenda-timeline::before {
  content: "";
  position: absolute;
  right: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #2c5aa0;
  transform: translateX(50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

/*.timeline-item:nth-child(odd) .timeline-content {*/
/*  margin-left: 2rem;*/
/*  margin-right: 0;*/
/*}*/

/*.timeline-item:nth-child(even) .timeline-content {*/
/*  margin-right: 2rem;*/
/*  margin-left: 0;*/
/*}*/

.timeline-time {
  background: #2c5aa0;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
  color: #2c5aa0;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #666;
}

/* Venue Section */
.venue {
  background: #f8f9fa;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.venue-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.venue-card:hover {
  transform: translateY(-5px);
}

.venue-icon {
  width: 60px;
  height: 60px;
  background: #ff6b35;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.venue-card h3 {
  color: #2c5aa0;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.venue-card p {
  color: #666;
  font-weight: 500;
}

/* Registration Section */
.register {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
  color: white;
}

.register-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.register-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.register-info p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.register-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.benefit-item i {
  color: #ff6b35;
  font-size: 1.2rem;
}

.register-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #ff6b35;
  background: rgba(255, 255, 255, 0.2);
}

.form-group select option {
  background: #2c5aa0;
  color: white;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-section h3 {
  color: #ff6b35;
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.contact-info i {
  color: #ff6b35;
  width: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff6b35;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .register-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline-item {
    flex-direction: column !important;
    align-items: center;
  }

  .timeline-item .timeline-content {
    margin: 1rem 0 0 0 !important;
    width: 100%;
  }

  .agenda-timeline::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-card,
  .venue-card {
    padding: 1.5rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Add these styles to your existing styles.css - DO NOT replace anything */

/* Form Message Styles - Add to bottom of your CSS file */
.form-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  font-weight: 500;
  animation: slideIn 0.3s ease;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

.form-message i {
  font-size: 1.2rem;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form validation error states */
.form-group input.error,
.form-group select.error {
  border-color: #ff6b35;
  background: rgba(255, 107, 53, 0.1);
}

/* Notification content styling */
.notification-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notification-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-right: auto;
  padding: 0.25rem;
}

/* Add these specific fixes to your styles.css file */

/* Fix for form rows and full-width elements */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1; /* This makes it span full width */
}

/* Fix textarea styling */
.form-group textarea {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  font-family: "Tajawal", sans-serif;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.3s ease;
}

.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group textarea:focus {
  outline: none;
  border-color: #ff6b35;
  background: rgba(255, 255, 255, 0.2);
}

/* Fix checkbox styling */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  line-height: 1.6;
  color: white;
  margin-top: 0.5rem;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #ff6b35;
  border-color: #ff6b35;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  color: white;
  font-weight: bold;
  font-size: 12px;
}

.terms-link {
  color: #ff6b35;
  text-decoration: none;
  font-weight: 500;
}

.terms-link:hover {
  text-decoration: underline;
  color: #e55a2b;
}

/* Make sure labels are visible */
.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: white;
  font-size: 1rem;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .checkbox-label {
    font-size: 0.9rem;
  }
}

/* Footer Fixes - Add these to your styles.css */

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    margin-block-start: 20px;
}

.footer-section h4 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
    direction: ltr;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ccc;
    font-size: 1rem;
}

.contact-item i {
    color: #ff6b35;
    width: 20px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item span {
    direction: ltr;
    text-align: left;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: #ff6b35;
    padding-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo-img {
        height: 60px;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .contact-item span {
        direction: rtl;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
}

.loc {
    text-decoration:none; 
    color:inherit;
}

a.loc:hover {
    text-decoration: underline;
    color: blue;
}

/* Add these CSS fixes to your styles.css file */

/* Services Grid - 2x2 layout for solutions */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2c5aa0, #ff6b35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.service-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c5aa0;
}

.service-card p {
  color: #666;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Audience Grid - 2x2 layout for target audience */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.audience-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.audience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.audience-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff6b35, #2c5aa0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.audience-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c5aa0;
}

.audience-card p {
  color: #666;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Venue Info Grid - 2x2 layout for venue details */
.venue-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.info-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #f0f0f0;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff6b35, #2c5aa0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-details h4 {
  color: #2c5aa0;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.info-details p {
  color: #666;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* About Main Content - Centered */
.about-main {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-main h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c5aa0;
  margin-bottom: 1rem;
}

.about-description {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.8;
}

/* Mobile Responsive - 1x1 layout */
@media (max-width: 768px) {
  .services-grid,
  .audience-grid,
  .venue-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card,
  .audience-card {
    padding: 2rem;
  }
  
  .info-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .about-main h3 {
    font-size: 1.8rem;
  }
  
  .about-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .service-card,
  .audience-card {
    padding: 1.5rem;
  }
  
  .service-icon,
  .audience-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .service-card h4,
  .audience-card h4 {
    font-size: 1.2rem;
  }
  
  .about-main h3 {
    font-size: 1.6rem;
  }
}

