

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;600;700&family=Crimson+Pro:wght@400;600&display=swap');

:root {
  --primary-blue: #ffd2a4;
  --dark-blue: #161722;
  --light-blue: #E8F0FE;
  --gradient-start: #f5f7fa;
  --gradient-end: #c3cfe2;
  --white: #ffffff;
  --black: #000000;
  --dark-bg: #1a1a1a;
  --text-dark: #333333;
  --text-light: #666666;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Crimson Pro', serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rubik', sans-serif;
  margin: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--dark-bg);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 100%;
  min-width: 100%;
}

.hero-bg-image.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  color: var(--white);
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Us Section */
.about-section {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  padding: 5rem 2rem;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.about-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-light);
}

.about-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* What We Do Section */
.services-section {
  position: relative;
  padding: 5rem 2rem;
  background-image: url('images/section-bg1.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(248, 250, 255, 0.75), rgba(232, 240, 254, 0.75));
  z-index: 0;
}

.services-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.services-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 2px solid var(--primary-blue);
  border-radius: 10px;
  padding: 1.2rem;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(30, 95, 187, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(30, 95, 187, 0.2);
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #161722;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--primary-blue);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
}

/* Team Section */
.team-section {
  background-color: var(--primary-blue);
  padding: 5rem 2rem;
}

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

.team-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.team-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 120%; /* 5:6 aspect ratio */
  overflow: hidden;
}

.team-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-image-wrapper img {
  transform: scale(1.1);
}

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, var(--primary-blue), transparent);
  color: var(--white);
}

.team-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.team-card p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Call-to-Action Section */
.cta-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/bg3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: translateZ(0);
  will-change: transform;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.cta-button {
  display: inline-block;
  padding: 1rem 3rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: gentle-bounce 2s infinite;
  border: none;
  cursor: pointer;
  font-family: 'Rubik', sans-serif;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(106, 148, 245, 0.4);
}

@keyframes gentle-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

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

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: 20px;
  max-width: 550px;
  width: 90%;
  padding: 2.5rem;
  position: relative;
  animation: slideIn 0.3s ease-out;
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--text-dark);
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
}

.modal-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--text-light);
  font-family: 'Crimson Pro', serif;
}

.modal h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

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

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

.submit-button {
  width: 100%;
  padding: 1rem;
  background: #000;
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Rubik', sans-serif;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(106, 148, 245, 0.3);
}

/* Visit Section */
.section_home-visit {
  position: relative;
  background-image: url('images/bg2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 0rem 0;
}

.section_home-visit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 0;
}

.section_home-visit .padding-global,
.section_home-visit .container-small,
.section_home-visit .padding-section-medium {
  position: relative;
  z-index: 1;
}

.home_visit_component {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.home_visit_component h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.home_visit_component .max-width-small {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.home_visit_icon svg {
  fill: var(--primary-blue);
  opacity: 0.3;
}

/* Open Contact Modal Button */
.open-contact-modal {
  position: relative;
  border: 3px solid var(--primary-blue) !important;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(255, 210, 164, 0.6), 0 0 15px rgba(255, 210, 164, 0.4);
  animation: pulse-border 5s ease-in-out infinite;
  transition: all 0.3s ease;
  overflow: visible;
}

.open-contact-modal:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 210, 164, 0.8), 0 0 60px rgba(255, 210, 164, 0.6);
  border-color: var(--white) !important;
}

@keyframes pulse-border {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 210, 164, 0.6), 0 0 40px rgba(255, 210, 164, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 210, 164, 0.9), 0 0 60px rgba(255, 210, 164, 0.6), 0 0 80px rgba(255, 210, 164, 0.3);
  }
}

/* Footer */
.footer {
  background-color: var(--black);
  border-top: 3px solid var(--primary-blue);
  padding: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}

.footer-copyright {
  font-size: 0.9rem;
}

.footer-signature {
  font-size: 0.85rem;
}

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

.footer-signature a:hover {
  color: var(--white);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    min-height: 60vh;
  }

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

  .about-container {
    grid-template-columns: 1fr;
  }

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

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

  .team-card {
    max-width: 280px;
    margin: 0 auto;
    transform: scale(0.7);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-copyright {
    font-size: 0.8rem;
  }

  .footer-signature {
    font-size: 0.75rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .about-content h2,
  .services-title,
  .team-title {
    font-size: 1.75rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}
