/* ============================================================
   Windows Glayzer — Professional Window Glazing & Glass Solutions
   Complete Stylesheet
   ============================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --primary: #1a73e8;
  --primary-dark: #0d47a1;
  --primary-light: #4a9eff;
  --white: #ffffff;
  --gray-50: #f0f4f8;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5e1;
  --gray-300: #94a3b8;
  --gray-600: #64748b;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --font-family: 'Poppins', sans-serif;
}

/* ===== CSS RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== CONTAINER & SECTION BASICS ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
  scroll-margin-top: 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--gray-900);
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-header p {
  font-size: 18px;
  color: var(--gray-600);
  margin-top: 12px;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow var(--transition);
}

#navbar.nav-scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
}

.nav-logo span {
  color: var(--primary);
}

.nav-logo i {
  color: var(--primary);
  margin-right: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--gray-600);
  transition: color 0.3s;
  position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

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

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Glass Panels */
.hero-glass-panel {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  z-index: 1;
}

.panel-1 {
  width: 300px;
  height: 200px;
  top: 15%;
  left: -5%;
  animation: float 8s ease-in-out infinite;
}

.panel-2 {
  width: 250px;
  height: 300px;
  bottom: 20%;
  right: -3%;
  animation: float 10s ease-in-out infinite 2s;
}

.panel-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  right: 10%;
  animation: float 12s ease-in-out infinite 4s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 115, 232, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-effect 0.6s linear;
  pointer-events: none;
}

/* ===== SERVICES SECTION ===== */
#services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gray-900);
}

.service-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

.service-card .badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  position: absolute;
  top: -10px;
  right: 20px;
}

/* ===== WHY CHOOSE US / STATS SECTION ===== */
#why-choose-us {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: relative;
  overflow: hidden;
}

#why-choose-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

#why-choose-us .section-header h2 {
  color: var(--white);
}

#why-choose-us .section-header h2::after {
  background: var(--white);
}

#why-choose-us .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-icon {
  font-size: 40px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  animation: pulse 2s ease-in-out infinite;
}

.stat-number {
  display: inline-flex;
  align-items: baseline;
}

.counter-value {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-suffix {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

/* ===== PROJECTS GALLERY ===== */
#projects {
  background: var(--gray-50);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--gray-200);
  background: transparent;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  color: var(--gray-600);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.project-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  height: 300px;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.project-item:hover img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-overlay h3 {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-overlay .btn {
  align-self: flex-start;
}

/* Filter animation classes */
.project-item.show {
  opacity: 1;
  transform: scale(1);
  display: block;
}

.project-item.hide {
  opacity: 0;
  transform: scale(0.95);
  display: none;
  pointer-events: none;
}

/* ===== ABOUT SECTION ===== */
#about {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.about-subtitle {
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
}

.about-text h2 {
  margin-bottom: 10px;
}

.about-text > p {
  color: var(--gray-600);
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  gap: 20px;
  margin: 30px 0;
}

.about-feature {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.about-feature i {
  color: var(--primary);
  font-size: 20px;
  margin-top: 3px;
  flex-shrink: 0;
}

.about-feature h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.about-feature p {
  font-size: 14px;
  color: var(--gray-600);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-100);
}

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

.about-stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.about-stat-label {
  font-size: 14px;
  color: var(--gray-600);
  display: block;
  margin-top: 4px;
}

/* ===== TESTIMONIALS SECTION ===== */
#testimonials {
  background: linear-gradient(135deg, var(--primary-dark), #0a2a5e);
  position: relative;
}

#testimonials .section-header h2 {
  color: var(--white);
}

#testimonials .section-header h2::after {
  background: var(--white);
}

#testimonials .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

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

.testimonial-wrapper {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

.testimonial-info h4 {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
}

.testimonial-info .stars {
  color: #fbbf24;
  font-size: 16px;
  margin-top: 5px;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.8;
  font-style: italic;
}

.testimonial-text::before {
  content: '\201C';
  font-size: 40px;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.testimonial-prev,
.testimonial-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-size: 16px;
  z-index: 2;
}

.testimonial-prev {
  left: -60px;
}

.testimonial-next {
  right: -60px;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--primary);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.testimonial-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ===== FAQ SECTION ===== */
#faq {
  background: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: 5px 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: var(--gray-800);
  text-align: left;
  transition: color 0.3s;
  gap: 15px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 14px;
  transition: transform 0.3s ease;
  color: var(--gray-600);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
}

.faq-answer p {
  color: var(--gray-600);
  line-height: 1.8;
}

/* ===== CONTACT SECTION ===== */
#contact {
  background: var(--gray-50);
}

.contact-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-form {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--glass-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--gray-800);
  transition: border-color 0.3s;
  background: var(--white);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

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

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
}

.contact-info {
  display: grid;
  gap: 25px;
}

.info-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--glass-shadow);
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item i {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
}

.info-item p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.footer-column h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
  font-size: 14px;
}

.footer-column ul li a:hover {
  color: var(--primary-light);
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  display: inline-block;
}

.footer-logo span {
  color: var(--primary-light);
}

.footer-logo i {
  color: var(--primary-light);
  margin-right: 6px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
  font-size: 16px;
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.newsletter {
  margin-top: 20px;
}

.newsletter p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.newsletter-form button {
  padding: 12px 18px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.3s;
}

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

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible:hover {
  transform: translateY(-3px);
}

/* ===== SCROLL ANIMATION CLASSES ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes ripple-effect {
  from {
    transform: scale(0);
    opacity: 1;
  }
  to {
    transform: scale(4);
    opacity: 0;
  }
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== RESPONSIVE: MOBILE FIRST (< 768px) ===== */
@media (max-width: 767px) {
  html {
    font-size: 14px;
  }

  section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Hero */
  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-glass-panel {
    display: none;
  }

  /* Navigation */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    z-index: 999;
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-item {
    height: 250px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Testimonials */
  .testimonial-prev,
  .testimonial-next {
    display: none;
  }

  .testimonial-card {
    padding: 25px;
  }

  /* Stats */
  .counter-value {
    font-size: 36px;
  }

  .stat-suffix {
    font-size: 36px;
  }

  .stat-card {
    padding: 25px 15px;
  }

  /* Filters */
  .filter-buttons {
    gap: 10px;
  }

  .filter-btn {
    font-size: 14px;
    padding: 8px 18px;
  }

  /* About stats */
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .about-stat-number {
    font-size: 24px;
  }

  /* Back to top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

/* ===== RESPONSIVE: TABLET (768px - 1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    max-height: 500px;
    object-fit: cover;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

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

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-glass-panel {
    display: block;
    opacity: 0.5;
  }

  .testimonial-prev {
    left: -15px;
  }

  .testimonial-next {
    right: -15px;
  }

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

/* ===== RESPONSIVE: DESKTOP (1024px+) ===== */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .project-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .contact-content {
    grid-template-columns: 1.2fr 1fr;
  }

  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }

  .hero-content h1 {
    font-size: 56px;
  }

  .hero-glass-panel {
    display: block;
  }
}
