:root {
  --primary: #7ca4a4;
  --primary-dark: #6a8e8e;
  --primary-light: #c4e3e3;
  --secondary: #7fa4a4;
  --text-color: #2d3436;
  --white: #ffffff;
  --light-gray: #f7f7f7;
  --dark-gray: #444444;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 10px 25px rgba(0,0,0,0.15);
  --border-radius: 8px;
}

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
  color: var(--text-color);
  overflow-x: hidden;
  background-color: var(--light-gray);
}

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

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3 {
  line-height: 1.2;
}

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

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 10px rgba(124, 164, 164, 0.3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(124, 164, 164, 0.4);
}

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

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

/* Header */
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 0.8rem 0;
}

.header-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

.logo {
  width: 160px;
  transition: var(--transition);
  position: relative;
  padding: 6px 10px;
  border-radius: 6px;
}

.header-scrolled .logo {
  width: 130px;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-scrolled .nav-links a {
  color: var(--primary-dark);
}

.header-scrolled .nav-links a:after {
  background: var(--primary);
}

.logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  position: relative;
  z-index: 2;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1001;
}

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

.nav-links a {
  color: var(--white);
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--white);
  left: 0;
  bottom: 0;
  transition: var(--transition);
}

.nav-links a:hover:after, 
.nav-links a.active:after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  position: relative;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-text {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero .btn {
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

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

/* Intro Section */
.intro {
  padding: 5rem 0 3rem;
  background-color: var(--white);
  position: relative;
}

.intro:before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--white);
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.section-title {
  text-align: center;
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.section-subtitle {
  text-align: center;
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

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

/* About Section */
.about {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(124,164,164,0.08) 0%, rgba(196,227,227,0.15) 100%);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.about-text h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

.about-text p {
  margin-bottom: 1rem;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-image:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: var(--border-radius);
  top: 20px;
  left: 20px;
  z-index: -1;
}

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

.services:before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--white);
  clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(124,164,164,0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-image {
  height: 220px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.service-content {
  padding: 1.5rem;
  position: relative;
}

.service-content:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.service-title {
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.service-card .btn {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
}

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

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(124,164,164,0.15) 0%, rgba(196,227,227,0.25) 100%);
  position: relative;
}

.testimonials:before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, rgba(124,164,164,0.15) 0%, rgba(196,227,227,0.25) 100%);
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.testimonial-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-top: 3rem;
  position: relative;
}

.testimonial:before {
  content: '"';
  position: absolute;
  top: -30px;
  left: 20px;
  font-size: 5rem;
  color: var(--primary);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.2;
}

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

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

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  border: 3px solid var(--primary-light);
}

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

.testimonial-info h4 {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.testimonial-info p {
  color: var(--primary);
  font-size: 0.9rem;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  position: relative;
}

.cta:before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--primary);
  clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 100%);
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-text {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

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

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

.footer-logo {
  width: 150px;
  margin-bottom: 1rem;
  filter: brightness(1.1);
}

.footer-title {
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
}

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

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

.footer-links a {
  color: var(--white);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

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

/* Contact Form */
.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 164, 164, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  margin-top: 1rem;
}

/* Page Header */
.page-header {
  padding: 8rem 0 3rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Content Section */
.content-section {
  padding: 4rem 0;
  background-color: var(--white);
}

/* Responsive */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-image:before {
    display: none;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-text {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .about-text h3 {
    font-size: 1.6rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
}
