/* Base Styles */
:root {
  --primary-color: #1e5f74;
  --secondary-color: #ff7d00;
  --accent-color: #ffba08;
  --light-color: #f0f4f8;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #666;
  --text-dark: #111;
  --border-color: #ddd;
  --success-color: #28a745;
  --error-color: #dc3545;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 5px;
  --max-width: 1200px;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

button, .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  background-color: var(--primary-color);
  color: white;
  font-size: 1rem;
}

button:hover, .btn:hover {
  background-color: var(--secondary-color);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  font-weight: 600;
  color: var(--dark-color);
  position: relative;
  padding: 0.5rem 0;
}

nav ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(30, 95, 116, 0.8), rgba(30, 95, 116, 0.8)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 8rem 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Slider Section */
.slider-section {
  background-color: var(--light-color);
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-top: 2rem;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 500px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

/* Features Section */
.features {
  background-color: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Fact Box */
.fact-box {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0;
}

.fact-box h2 {
  color: white;
  text-align: center;
}

.fact {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.25rem;
  font-style: italic;
}

/* Latest Posts Section */
.latest-posts {
  background-color: var(--light-color);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.post-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-block;
  margin-top: 1rem;
}

.read-more:hover {
  color: var(--secondary-color);
}

.view-all {
  text-align: center;
  margin-top: 3rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(rgba(30, 95, 116, 0.9), rgba(30, 95, 116, 0.9)), url('images/5.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* Footer Styles */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-links h3,
.footer-contact h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links ul li a:hover {
  color: var(--accent-color);
}

.footer-contact p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(44, 62, 80, 0.95);
  color: white;
  padding: 1rem;
  z-index: 9999;
  display: none;
}

.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}

.btn-cookie {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
}

.accept {
  background-color: var(--success-color);
  color: white;
}

.customize {
  background-color: white;
  color: var(--dark-color);
}

.decline {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.cookie-more {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.cookie-more a {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Blog Page Styles */
.page-header {
  background: linear-gradient(rgba(30, 95, 116, 0.8), rgba(30, 95, 116, 0.8)), url('images/4.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.page-header h1 {
  color: white;
}

.blog-posts {
  background-color: white;
}

.full-grid {
  grid-template-columns: 1fr;
}

.post-card.large {
  display: grid;
  grid-template-columns: 1fr 2fr;
  margin-bottom: 2rem;
}

.post-card.large img {
  height: 100%;
}

.post-date {
  display: block;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Blog Post Styles */
.blog-post {
  background-color: white;
}

.post-header {
  text-align: center;
  margin-bottom: 2rem;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-light);
}

.post-meta span {
  display: flex;
  align-items: center;
}

.post-meta i {
  margin-right: 0.5rem;
}

.featured-image {
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.featured-image img {
  width: 100%;
  height: auto;
}

.post-content h2 {
  margin-top: 2rem;
}

.post-content ul, 
.post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-content ul li, 
.post-content ol li {
  margin-bottom: 0.5rem;
}

.post-tags {
  margin: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.post-tags span {
  margin-right: 1rem;
  font-weight: 600;
}

.post-tags a {
  display: inline-block;
  background-color: var(--light-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.post-share {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.post-share span {
  margin-right: 1rem;
  font-weight: 600;
}

.post-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 0.5rem;
  background-color: var(--light-color);
  color: var(--dark-color);
}

.post-share a:hover {
  background-color: var(--primary-color);
  color: white;
}

.related-posts h3 {
  margin-bottom: 1.5rem;
}

.post-card.small {
  display: flex;
  flex-direction: column;
}

.post-card.small img {
  height: 180px;
}

.post-card.small h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Webinar Styles */
.webinars {
  background-color: white;
}

.webinar-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.webinar-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.webinar-image {
  position: relative;
}

.webinar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.webinar-date {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem;
  text-align: center;
  font-weight: 600;
}

.webinar-content {
  padding: 2rem;
}

.webinar-presenter {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.webinar-highlights {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.webinar-highlights li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

.webinar-register {
  background-color: var(--light-color);
}

.register-form {
  max-width: 800px;
  margin: 2rem auto 0;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input, 
select, 
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
}

.checkbox-label input {
  width: auto;
  margin-right: 0.5rem;
  margin-top: 0.3rem;
}

.checkbox-single {
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--light-color);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.testimonial-content {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.testimonial-author h4 {
  margin-bottom: 0.25rem;
}

.testimonial-author p {
  margin-bottom: 0;
  color: var(--text-light);
}

/* FAQ Section */
.webinar-faq,
.faq-section {
  background-color: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.faq-item {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.faq-item h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.faq-item p {
  margin-bottom: 0;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  position: relative;
  text-align: center;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-btn {
  margin-top: 1.5rem;
}

/* About Page Styles */
.about-story {
  background-color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-values {
  background-color: var(--light-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
}

.value-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.team-section {
  background-color: white;
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-member h3 {
  margin: 1.5rem 1.5rem 0.25rem;
}

.team-member p {
  margin: 0 1.5rem 1rem;
}

.team-member p:nth-of-type(1) {
  color: var(--primary-color);
  font-weight: 600;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
}

.member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
}

.member-social a:hover {
  background-color: var(--secondary-color);
}

.about-services {
  background-color: var(--light-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-section {
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  padding-right: 2rem;
}

.info-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.info-item h3 {
  margin-bottom: 0.5rem;
}

.social-links h3 {
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-color);
  color: var(--primary-color);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: white;
}

.contact-form-container {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.map-section {
  background-color: var(--light-color);
}

.map-container {
  margin-top: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .contact-info {
    padding-right: 0;
  }
  
  .webinar-card,
  .post-card.large {
    grid-template-columns: 1fr;
  }
  
  .webinar-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  header {
    position: relative;
    height: auto;
    padding: 1rem 0;
  }
  
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 1rem 0.5rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .slide {
    height: 300px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo img {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-contact p {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: 5rem 0;
  }
  
  .slide {
    height: 200px;
  }
  
  .slide-btn {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}
