:root {
  --primary-orange: #ff6f00;
  --primary-blue: #0077b6;
  --dark-blue: #001f3f;
  --light-bg: #f0f4f8;
  --white: #ffffff;
  --dark: #222222;
  --gradient-1: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
  --gradient-2: linear-gradient(135deg, #0077b6 0%, #00a8e8 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 119, 182, 0.9) 0%, rgba(255, 111, 0, 0.8) 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--light-bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Loading Animation */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--light-bg);
  border-top: 4px solid var(--primary-orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Header Styles */
header.sticky-header {
  position: sticky;
  top: 0;
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: var(--transition);
}

header.scrolled {
  padding: 0.75rem 5%;
  box-shadow: var(--shadow-lg);
}

.logo-top {
  width: 60px;
  height: auto;
  transition: var(--transition);
}

.logo-top:hover {
  transform: scale(1.05);
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: var(--transition);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-orange);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover {
  color: var(--primary-orange);
}

.cta-button {
  background: var(--gradient-1);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('hero-bg.png') center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
  animation: fadeInUp 1s ease;
}

.bold-heading {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-button {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.hero-button.primary {
  background: var(--white);
  color: var(--primary-orange);
}

.hero-button.secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.hero-button:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styles */
section {
  padding: 5rem 5%;
}

section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary-blue);
  position: relative;
  display: inline-block;
  width: 100%;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-1);
  border-radius: 2px;
}

/* Team Section */
.team-section {
  text-align: center;
  padding: 3rem 5%;
  background: var(--white);
}

.team-image-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.team-image-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(255, 111, 0, 0.3);
}

.team-image {
  width: 100%;
  height: auto;
  display: block;
}

.overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  padding: 2rem 1rem 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  animation: floatText 3s ease-in-out infinite;
}

@keyframes floatText {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* About Section */
.about-section {
  background: var(--white);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, #f0f4f8 0%, #e3f2fd 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* Why Choose Us */
.why-choose {
  background: var(--white);
  text-align: center;
}

.why-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

/* Testimonials */
.testimonials {
  background: var(--dark-blue);
  color: var(--white);
}

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial {
  min-width: 100%;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Stats Section */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  background: var(--dark-blue);
  color: var(--white);
  text-align: center;
  padding: 4rem 5%;
}

.stat {
  padding: 2rem;
}

.stat span {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: bold;
  color: var(--primary-orange);
  margin-bottom: 0.5rem;
}

.stat p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Work Buttons Section */
.work-section {
  background: var(--white);
  text-align: center;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.work-button {
  display: inline-block;
  background: var(--white);
  border: 2px solid var(--primary-blue);
  border-radius: 15px;
  padding: 1.5rem 2.5rem;
  color: var(--primary-blue);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  min-width: 220px;
}

.work-button:hover {
  background: var(--gradient-2);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Gallery Section */
.gallery-section {
  background: linear-gradient(135deg, #f0f4f8 0%, #e3f2fd 100%);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-2);
  color: var(--white);
  border-color: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  padding: 1.5rem 1rem 1rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.3s ease;
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: var(--white);
  color: var(--dark);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--primary-orange);
  color: var(--white);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--primary-orange);
  color: var(--white);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Contact Section */
.contact-section {
  background: var(--white);
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--primary-blue);
}

input,
textarea,
select {
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

button[type="submit"] {
  background: var(--gradient-1);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Thank You Section */
.thank-you-section {
  background: var(--dark-blue);
  color: var(--white);
  text-align: center;
  padding: 5rem 5%;
}

.thank-you-content {
  animation: fadeInUp 1s ease;
}

.thank-you-content img {
  max-width: 300px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(255, 111, 0, 0.5);
  margin-bottom: 2rem;
}

.thank-you-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #ffcc00;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  animation: pulse 2s ease-in-out infinite;
  margin-bottom: 1rem;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 3rem 5%;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.social-links a {
  color: var(--white);
  font-size: 2rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary-orange);
  transform: translateY(-5px);
}

.logo-bottom {
  width: 80px;
  height: auto;
  margin: 1.5rem 0;
}

/* Social Floating Buttons */
.whatsapp-button,
.facebook-button {
  position: fixed;
  right: 30px;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
  animation: bounce 2s ease-in-out infinite;
}

.whatsapp-button {
  bottom: 30px;
  background: #25D366;
}

.facebook-button {
  bottom: 100px;
  background: #1877F2;
  animation-delay: 0.3s;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.facebook-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(24, 119, 242, 0.5);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 170px;
  right: 30px;
  background: var(--gradient-2);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
}

.back-to-top.visible {
  display: flex;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  section {
    padding: 4rem 4%;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
  }

  nav.active {
    left: 0;
  }

  nav a {
    font-size: 1.2rem;
    padding: 1rem;
    width: 100%;
    text-align: center;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  section {
    padding: 3rem 5%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .button-container {
    flex-direction: column;
    align-items: center;
  }

  .work-button {
    width: 100%;
    max-width: 300px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  header.sticky-header {
    padding: 1rem 3%;
  }

  .hero {
    min-height: 500px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-button,
  .facebook-button {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    right: 20px;
  }

  .whatsapp-button {
    bottom: 20px;
  }

  .facebook-button {
    bottom: 80px;
  }

  .back-to-top {
    bottom: 140px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.fade-in {
  animation: fadeInUp 0.6s ease;
}