/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&family=Lato:wght@400;700&display=swap');

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

:root {
  --primary-blue: #283d6d;
  --light-blue: #b7d3f5;
  --very-light-blue: #ebeef2;
  --accent-yellow: #f6b934;
  --gray-blue: #8c9eb4;
  --red: #be4a39;
  --teal: #25bdc7;
  --white: #ffffff;
  --black: #000000;
  --heading-font: 'Titillium Web', sans-serif;
  --body-font: 'Lato', sans-serif;
}

body {
  font-family: var(--body-font);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-blue);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-yellow);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
.header {
  background-color: var(--white);
  padding: 1rem 0;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-links a {
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-yellow);
}

.contact-btn {
  background: linear-gradient(135deg, var(--primary-blue), var(--teal));
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(40, 61, 109, 0.3);
  color: var(--white);
}

/* Hero Section */
.hero {
  background: linear-gradient(120deg, var(--very-light-blue) 0%, var(--light-blue) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -5%;
  left: 0;
  right: 0;
  height: 10%;
  background: var(--white);
  border-radius: 50% 50% 0 0;
  transform: scale(2);
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  color: var(--primary-blue);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

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

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  z-index: 1;
}

.btn {
  display: inline-block;
  background-color: var(--accent-yellow);
  color: var(--black);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #e6a926;
  color: var(--black);
}

/* Services Section */
.services {
  padding: 4rem 0;
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.service-card h3 {
  margin-bottom: 1rem;
}

/* Stats Section */
.stats {
  background-color: var(--very-light-blue);
  padding: 3rem 0;
}

.stats-wrapper {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--gray-blue);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Request Section */
.request {
  padding: 4rem 0;
  background-color: var(--white);
}

.request-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.request-content h2 {
  margin-bottom: 1.5rem;
}

.request-content p {
  margin-bottom: 1rem;
}

.request-image {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}

.request-image img {
  width: 100%;
  height: auto;
  max-width: 300px;
  object-fit: contain;
}

/* Testimonial Section */
.testimonial {
  background-color: var(--very-light-blue);
  padding: 4rem 0;
}

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

.testimonial-text {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  font-weight: 700;
}

.testimonial-company {
  color: var(--gray-blue);
}

/* Services Recommended Section */
.recommendations {
  padding: 4rem 0;
  background-color: var(--white);
}

.recommendations-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.recommendation-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.recommendation-image {
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: var(--very-light-blue);
}

.recommendation-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 120px;
  max-height: 120px;
  transition: transform 0.3s ease;
}

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

.recommendation-content {
  padding: 1.5rem;
}

.recommendation-content h3 {
  margin-bottom: 1rem;
}

/* Call to Action Section */
.cta {
  background-color: var(--very-light-blue);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -5%;
  left: 0;
  right: 0;
  height: 10%;
  background: var(--white);
  border-radius: 0 0 50% 50%;
  transform: scale(2);
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -5%;
  left: 0;
  right: 0;
  height: 10%;
  background: var(--white);
  border-radius: 50% 50% 0 0;
  transform: scale(2);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta h2 {
  margin-bottom: 2rem;
}

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

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

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

.footer-logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.footer-heading {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--very-light-blue);
}

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

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--gray-blue);
}

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

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

.social-icons a:hover {
  background-color: var(--accent-yellow);
}

.social-icons img {
  width: 16px;
  height: 16px;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-image {
    width: 35%;
  }

  .request-wrapper {
    grid-template-columns: 1fr;
  }

  .request-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    text-align: left;
  }

  .nav {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .nav-links.nav-links-active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
    margin-left: 0.5rem;
  }

  .logo img {
    height: 70px;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-image {
    display: none;
  }

  .hero-content {
    max-width: 100%;
  }

  .testimonial-text {
    font-size: 1.2rem;
  }

  .stats-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo img {
    height: 100px;
  }
}

@media (max-width: 576px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    margin-bottom: 1rem;
  }

  .logo img {
    height: 60px;
  }

  .services-wrapper {
    grid-template-columns: 1fr;
  }

  .recommendations-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-logo img {
    height: 90px;
  }
}

/* Admin Login Styles */
.admin-login {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--very-light-blue) 0%, var(--light-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.admin-container {
  width: 100%;
  max-width: 450px;
}

.admin-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.admin-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--teal), var(--accent-yellow));
}

.admin-header {
  margin-bottom: 2.5rem;
}

.admin-logo {
  margin-bottom: 1.5rem;
}

.admin-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.admin-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
}

.admin-subtitle {
  color: var(--gray-blue);
  font-size: 1.1rem;
  font-weight: 500;
}

.admin-form {
  text-align: left;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-blue);
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--very-light-blue);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(40, 61, 109, 0.1);
}

.password-input {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-blue);
  padding: 0.5rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.password-toggle:hover {
  color: var(--primary-blue);
  background: var(--very-light-blue);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--gray-blue);
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.admin-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-blue), var(--teal));
  color: var(--white);
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.admin-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(40, 61, 109, 0.3);
}

.admin-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--very-light-blue);
  text-align: center;
}

.admin-footer p {
  color: var(--gray-blue);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Success Message Styles */
.success-message {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.success-icon {
  margin-bottom: 1rem;
  color: var(--teal);
}

.success-message h2 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.success-message p {
  color: var(--gray-blue);
  margin-bottom: 1.5rem;
}

/* Auth Message Styles */
.auth-message {
  background: var(--very-light-blue);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.warning-icon {
  margin-bottom: 1rem;
  color: var(--red);
}

.auth-message h2 {
  color: var(--red);
  margin-bottom: 1rem;
}

.auth-message p {
  color: var(--gray-blue);
  margin-bottom: 0.5rem;
}

/* Error Modal Styles */
.error-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.error-modal-content {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 90%;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.error-modal-header {
  background: var(--red);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.error-icon {
  color: var(--white);
}

.error-modal-header h3 {
  color: var(--white);
  margin: 0;
  font-size: 1.2rem;
}

.error-modal-body {
  padding: 2rem;
  text-align: center;
}

.error-modal-body p {
  color: var(--gray-blue);
  margin: 0;
  line-height: 1.6;
}

.error-modal-footer {
  padding: 1rem 2rem 2rem;
  text-align: center;
}

.error-modal-btn {
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.error-modal-btn:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(40, 61, 109, 0.3);
}

/* Error Page Styles */
.error-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--very-light-blue) 0%, var(--light-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.error-page .container {
  text-align: center;
  max-width: 600px;
}

.error-page h1 {
  font-size: 4rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.error-page p {
  font-size: 1.2rem;
  color: var(--gray-blue);
  margin-bottom: 2rem;
}

.error-page .btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-blue), var(--teal));
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.error-page .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(40, 61, 109, 0.3);
  color: var(--white);
}

/* Contact Form Styles */
.form-selector {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.form-select-btn {
  background: var(--very-light-blue);
  color: var(--gray-blue);
  padding: 1rem 2rem;
  border: 2px solid var(--very-light-blue);
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-select-btn.active {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.form-select-btn:hover {
  background: var(--light-blue);
  border-color: var(--light-blue);
}

.contact-form {
  display: none;
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form.active {
  display: block;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-blue);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--very-light-blue);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
  font-family: var(--body-font);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(40, 61, 109, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-blue), var(--teal));
  color: var(--white);
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(40, 61, 109, 0.3);
}

/* Hero Section Styles */
.hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--teal));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

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

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.9;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Footer Styles */
.footer {
  background: var(--very-light-blue);
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-logo-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.footer-heading {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.footer-contact p {
  color: var(--gray-blue);
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .admin-card {
    padding: 2rem 1.5rem;
  }
  
  .admin-header h1 {
    font-size: 1.75rem;
  }
  
  .error-page h1 {
    font-size: 3rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-selector {
    flex-direction: column;
    align-items: center;
  }
  
  .form-select-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .admin-card {
    padding: 1.5rem 1rem;
  }
  
  .admin-header h1 {
    font-size: 1.5rem;
  }
  
  .error-page h1 {
    font-size: 2.5rem;
  }
}
