/* contact-style.css */
/* Styles specific to the Contact Us page, complementing style.css */

/* Ensure variables from your main style.css are available or redeclared if needed */
:root {
    --background-color: white;
    --font-color: black;
    --font-color-white: white;
    --black-hover-color: rgba(0, 0, 0, 0.469);
    --white-hover-color: #ffffff;
    --bottums-color: #025959; /* Main theme color */
    --sections-bakcground-color: #f9f9f9;
    --primary-accent-color: #02A9A9; /* Lighter teal for hovers */
    --border-color-light: #e0e0e0;
    --text-color-secondary: #555;
    --text-color-primary: #333;
    --success-color: #28a745;
    --error-color: #dc3545;
}

body {
    font-family: 'Arial', sans-serif; /* Matching your style.css */
    color: var(--text-color-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
}


.slideshow-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    left: 0;
    top: 0;
}

.slide.active {
    opacity: 1;
}
.hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 50px;
}
.hero-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 0;
    top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: -1;
}

.hero-content {
    color: rgb(255, 255, 255);
    width: auto;
    padding: 0 20px;
    position:relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 35px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* General container for consistent padding */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0; /* Vertical padding for sections */
}




/* Main content area for the contact page */
.contact-main-content {
    padding: 30px 0;
}

.contact-main-content .container > section:not(:last-child),
.contact-main-content .contact-details-grid {
    margin-bottom: 40px;
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-intro p {
    margin-bottom: 15px;
}

/* Grid for contact info and form */
.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column by default for mobile */
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-details-grid {
        grid-template-columns: 1fr 1fr; /* Two columns for tablet and desktop */
    }
}

.contact-info-column h2,
.contact-form-column h2 {
    font-size: 1.8rem;
    color: var(--bottums-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color-light);
}

.contact-info-column .icon-style,
.contact-form-column .icon-style,
.privacy-statement .icon-style,
.final-cta .icon-style {
    margin-right: 8px;
    /* Add color or specific styling for icons if needed */
}

.contact-method {
    margin-bottom: 25px;
}

.contact-method h3 {
    font-size: 1.2rem;
    color: var(--text-color-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.contact-method p {
    color: var(--text-color-secondary);
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-method a {
    color: var(--primary-accent-color);
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

.timing-info {
    font-size: 0.9rem;
    font-style: italic;
}

.office-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color-light);
}


/* Contact Form Styles */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color-primary);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color-light);
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box; /* Important for width calculation */
    transition: border-color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    border-color: var(--bottums-color);
    outline: none;
    box-shadow: 0 0 5px rgba(2, 89, 89, 0.2);
}

.contact-form textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 100px;
}

.contact-form .submit-btn {
    background-color: var(--bottums-color);
    color: var(--font-color-white);
    padding: 8px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex; /* For icon alignment */
    align-items: center;
    justify-content: center;
}

.contact-form .submit-btn:hover {
  
    transform: translateY(-2px);
}



/* Form Submission Message Box */
.form-submission-message {
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    display: none; /* Hidden by default */
}
.form-submission-message.success {
    background-color: #d4edda; /* Light green for success */
    color: #155724; /* Dark green text */
    border: 1px solid #c3e6cb;
    display: block; /* Show when class is added */
}
.form-submission-message.error {
    background-color: #f8d7da; /* Light red for error */
    color: #721c24; /* Dark red text */
    border: 1px solid #f5c6cb;
    display: block; /* Show when class is added */
}


/* Privacy Statement */
.privacy-statement {
    background-color: var(--sections-bakcground-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color-light);
}

.privacy-statement h3 {
    font-size: 1.3rem;
    color: var(--text-color-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-statement p {
    color: var(--text-color-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Final Call to Action */
.final-cta {
    text-align: center;
    padding: 20px 0;
}

.final-cta p {
    font-size: 1.5rem;
    color: var(--bottums-color);
    font-weight: 600;
}

/* Ensure footer from style.css is compatible or add overrides if needed */
/* Example: if contact page footer needs specific margin */
/*
.footer {
    margin-top: 50px;
}
*/

/* Responsive adjustments for smaller screens */
@media (max-width: 767px) {
    .contact-header-banner h1 {
        font-size: 2rem;
    }
    .contact-header-banner p {
        font-size: 1rem;
    }

    .contact-info-column h2,
    .contact-form-column h2 {
        font-size: 1.5rem;
    }

    .final-cta p {
        font-size: 1.2rem;
    }
}
/*nav bar -------------------------------------------------------------------------------------------------------
/*nav bar -------------------------------------------------------------------------------------------------------
/*nav bar -------------------------------------------------------------------------------------------------------
/*nav bar -------------------------------------------------------------------------------------------------------*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0);
  position: fixed;
  width: 100%;
  top: 0;
  transition: all 0.2s ease;
  z-index: 1000;
}

.navbar.scrolled {
  background-color: #025959;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .logo-text  {
  color: white;
}

.navbar.scrolled,.dropdown-menu{
  color: #333;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #02A9A9;
}

.dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  background-color: white;
  min-width: 250px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  z-index: 1;
  border-radius: 4px;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
}

.dropdown-menu a:hover {
  background-color: #f8f8f8;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.burger {
  display: none;
  cursor: pointer;
  touch-action: manipulation;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: all 0.3s ease;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: white;
  transition: right 0.3s ease;
  padding: 2rem;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 1001;
}

.sidebar.active {
  right: 0;
}

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

.sidebar ul {
  list-style: none;
  margin-top: 2rem;
}

.sidebar ul li {
  margin-bottom: 1rem;
}

.sidebar ul a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.sidebar ul a:hover {
  color: #02A9A9;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
}

/* Responsive styles */
@media screen and (max-width: 500px) {
    .nav-links {
        display: none;
    }
    
    .burger {
        display: block;
    }
    
    .navbar.scrolled .burger div {
        background-color: white;
    }@media (max-width: 600px) {
        .navbar {
          padding: 0.5rem 1rem;
        }
      
        .logo-icon img {
          width: 30px;
          height: 30px;
        }
      
        .logo-text {
          font-size: 1rem;
        }
      
        .burger div {
          width: 20px;
          height: 2px;
          margin: 4px;
        }
      
        .sidebar {
          width: 240px; /* Smaller sidebar on mobile */
          padding: 1.5rem;
        }
      
        .sidebar ul a {
          font-size: 1rem;
        }
      }
    }
  
  /* Dropdown styling */
  .dropdown {
      position: relative;
  }

  
  .dropdown-content {
  
      display: none;
      position: absolute;
      background-color: white;
      min-width: 200px;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
      z-index: 10;
  }
  
  .dropdown-content a {
      padding: 12px 16px;
      display: block;
      color: #333;
      border-bottom: 1px solid #f1f1f1;
  }
  
  .dropdown-content a:hover {
      background-color: #f1f1f1;
  }
  
  .dropdown:hover .dropdown-content {
      display: block;
  }
  
  /* Dropdown indicator */
  .dropdown > a::after {
      content: "▼";
      font-size: 8px;
      margin-left: 5px;
      vertical-align: middle;
  }
  
 
  
  /* footer----------------------------------------------------------------------------------------------------------------------
  /* footer----------------------------------------------------------------------------------------------------------------------
  /* footer----------------------------------------------------------------------------------------------------------------------*/
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

  .footer {
    background-color: #222;
    color: #fff;
    padding: 2rem 1rem;
    width: 100%;
}

.footer-logo {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-tagline {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: #ccc;
    text-align: center;
}

.help-center {
    margin: 1.5rem 0;
    text-align: center;
}

.help-center h3 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #fff;
}

.help-center ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.help-center ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.5rem;
    display: inline-block;
}

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

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: var(--bottums-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
}

.copyright {
    text-align: center;
    font-size: 0.75rem;
    color: #777;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

.language-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
}

.language-selector select {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 0.4rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}