/* ===== RESET & BASE STYLES ===== */
:root {
  --primary-color: #006494;
  --secondary-color: #f9a826;
  --text-color: #333333;
  --light-text: #777777;
  --light-bg: #f8f9fa;
  --dark-bg: #212529;
  --border-color: #e0e0e0;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
}

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

a:hover {
  color: #004d73;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  transition: all var(--transition-speed) ease;
}

.btn:hover {
  background-color: #004d73;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: #f0f0f0;
  color: var(--primary-color);
}

.btn-tertiary {
  background-color: #f0f0f0;
  color: var(--light-text);
  border: 1px solid #ddd;
}

.btn-tertiary:hover {
  background-color: #e0e0e0;
  color: var(--text-color);
}

section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  color: var(--primary-color);
}

.section-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 10px auto 0;
}

/* ===== HEADER ===== */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
}

#navbar ul {
  display: flex;
}

#navbar ul li {
  margin-left: 20px;
}

#navbar ul li a {
  color: var(--text-color);
  padding: 10px;
  font-weight: 500;
  position: relative;
}

#navbar ul li a:hover,
#navbar ul li a.active {
  color: var(--primary-color);
}

#navbar ul li a.active:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

/* ===== REAL TIME CLOCK ===== */
.real-time {
  background-color: var(--primary-color);
  color: white;
  padding: 20px 0;
}

.time-box {
  text-align: center;
}

.time-box h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

#clock {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 5px;
}

#date {
  font-size: 1.2rem;
}

/* ===== FEATURED POSTS ===== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

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

.post-card:hover {
  transform: translateY(-10px);
}

.post-image {
  height: 200px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 20px;
}

.post-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.4rem;
}

.post-content p {
  color: var(--light-text);
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: bold;
}

.read-more i {
  margin-left: 5px;
  transition: transform var(--transition-speed) ease;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* ===== WHY US SECTION ===== */
.why-us {
  background-color: var(--light-bg);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.feature {
  text-align: center;
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature ul {
  text-align: left;
  padding-left: 20px;
  margin-top: 15px;
}

.feature ul li {
  margin-bottom: 8px;
  position: relative;
  list-style-type: disc;
}

/* ===== NEWSLETTER ===== */
.newsletter {
  background-color: var(--primary-color);
  color: white;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.newsletter p {
  margin-bottom: 25px;
}

#newsletter-form {
  display: flex;
  gap: 10px;
}

#newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}

#newsletter-form button {
  background-color: var(--secondary-color);
  color: white;
}

#newsletter-form button:hover {
  background-color: #e59400;
}

/* ===== BLOG POSTS PAGE ===== */
.page-banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/2.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 0;
  text-align: center;
}

.page-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.blog-posts {
  padding: 60px 0;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.blog-post {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.blog-post .post-image {
  height: 400px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--light-text);
  font-size: 0.9rem;
}

.post-meta span i {
  margin-right: 5px;
}

.blog-post h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.blog-post h3 {
  color: var(--text-color);
  margin: 25px 0 15px;
  font-size: 1.4rem;
}

.blog-post p {
  margin-bottom: 15px;
}

.blog-post ul, 
.blog-post ol {
  padding-left: 25px;
  margin-bottom: 20px;
}

.blog-post ul li, 
.blog-post ol li {
  margin-bottom: 10px;
}

.blog-post ul {
  list-style-type: disc;
}

.blog-post ol {
  list-style-type: decimal;
}

/* ===== ABOUT PAGE ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  align-items: center;
}

.about-image img {
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.about-text h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 2rem;
}

.about-text p {
  margin-bottom: 20px;
}

.about-text ul {
  padding-left: 20px;
  list-style-type: disc;
  margin-bottom: 20px;
}

.about-text ul li {
  margin-bottom: 10px;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.mission, .vision {
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.mission {
  background-color: #e6f3f8;
}

.vision {
  background-color: #fff8e6;
}

.mission h3, .vision h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.mission h3 i, .vision h3 i {
  margin-right: 10px;
  font-size: 1.5rem;
}

.our-values h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-size: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.value-item {
  text-align: center;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
}

.value-item:hover {
  transform: translateY(-5px);
}

.value-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.value-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.team-section {
  margin-top: 60px;
}

.team-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-size: 2rem;
}

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

.team-member {
  text-align: center;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

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

.team-member h3 {
  margin: 15px 0 5px;
  color: var(--primary-color);
}

.member-title {
  color: var(--light-text);
  font-style: italic;
  margin-bottom: 10px;
}

.team-member p {
  padding: 0 15px 20px;
}

.cta-section {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta-content p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.cta-content .btn {
  background-color: white;
  color: var(--primary-color);
  font-size: 1.1rem;
  padding: 12px 30px;
}

.cta-content .btn:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* ===== CONTACT PAGE ===== */
.contact-info-form {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.contact-info {
  background-color: var(--primary-color);
  color: white;
  padding: 40px;
  border-radius: 10px;
}

.contact-info h3 {
  margin-bottom: 30px;
  font-size: 1.5rem;
  position: relative;
}

.contact-info h3:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

.info-item {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
}

.info-item i {
  font-size: 1.5rem;
  margin-right: 15px;
  margin-top: 5px;
}

.info-item h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.social-contact {
  margin-top: 30px;
}

.social-contact h4 {
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

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

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

.contact-form {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.contact-form h3 {
  margin-bottom: 30px;
  color: var(--primary-color);
  font-size: 1.5rem;
  position: relative;
}

.contact-form h3:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color var(--transition-speed) ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

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

.checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox label {
  margin-bottom: 0;
  font-weight: normal;
  font-size: 0.9rem;
}

.contact-form .btn {
  padding: 12px 30px;
  font-size: 1.1rem;
}

.map-container {
  margin-bottom: 60px;
}

.map-container h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.map {
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.faq-section {
  background-color: var(--light-bg);
  padding: 60px 0;
}

.faq-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-size: 2rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.faq-question i {
  transition: transform var(--transition-speed) ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

/* Thank You Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

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

.success-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 20px;
}

.modal h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.modal p {
  margin-bottom: 25px;
}

/* ===== POLICY PAGES ===== */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.policy-section h3 {
  margin: 25px 0 15px;
  font-size: 1.3rem;
}

.policy-section p {
  margin-bottom: 15px;
}

.policy-section ul, 
.policy-section ol {
  padding-left: 25px;
  margin-bottom: 20px;
}

.policy-section ul li, 
.policy-section ol li {
  margin-bottom: 10px;
}

.policy-section ul {
  list-style-type: disc;
}

.policy-section ol {
  list-style-type: decimal;
}

.refund-steps {
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.refund-steps h3 {
  margin-top: 0;
}

.last-updated {
  font-style: italic;
  color: var(--light-text);
  text-align: right;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 60px 0 20px;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

.footer-logo h3 {
  margin-bottom: 15px;
}

.footer-links h4 {
  margin-bottom: 20px;
  position: relative;
}

.footer-links h4:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #bbb;
  transition: color var(--transition-speed) ease;
}

.footer-links ul li a:hover {
  color: white;
}

.footer-contact h4 {
  margin-bottom: 20px;
  position: relative;
}

.footer-contact h4:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
}

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

.footer-contact p i {
  margin-right: 10px;
  color: var(--secondary-color);
}

.footer-contact .social-icons {
  margin-top: 20px;
}

.footer-contact .social-icons a {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #aaa;
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 20px;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.cookie-consent a {
  font-size: 0.9rem;
  text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .about-content,
  .mission-vision {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .contact-info-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #navbar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 80px 20px 20px;
    transition: right var(--transition-speed) ease;
  }
  
  #navbar.active {
    right: 0;
  }
  
  #navbar ul {
    flex-direction: column;
  }
  
  #navbar ul li {
    margin: 0 0 15px 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  #newsletter-form {
    flex-direction: column;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .logo h1 {
    font-size: 1.2rem;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .features,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .post-card {
    max-width: 100%;
  }
  
  .blog-post .post-image {
    height: 250px;
  }
  
  .modal-content {
    padding: 30px 20px;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
}
