/* ==========================================================================
   Skyline Windows - Premium Inbound Landing Page Stylesheet
   Design System: Deep Blue, Forest Green, Sky Blue, Glassmorphism, Responsive
   ========================================================================== */

:root {
  /* Color Palette */
  --primary-dark: #0b2545;
  --primary-blue: #134074;
  --secondary-green: #1b4332;
  --forest-green: #2d6a4f;
  --accent-sky: #00b4d8;
  --accent-sky-light: #e0f2fe;
  --bg-white: #ffffff;
  --bg-light-gray: #f8fafc;
  --bg-soft-blue: #f0f7ff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  /* Gradients */
  --cta-gradient: linear-gradient(135deg, #0284c7 0%, #10b981 100%);
  --cta-gradient-hover: linear-gradient(135deg, #0369a1 0%, #059669 100%);
  --hero-overlay: linear-gradient(135deg, rgba(11, 37, 69, 0.88) 0%, rgba(27, 67, 50, 0.82) 100%);
  --card-gradient: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  
  /* Typography & Effects */
  --font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 20px 40px rgba(11, 37, 69, 0.12);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Typography */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

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

/* Button Component */
.btn-cta {
  background: var(--cta-gradient);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cta-gradient-hover);
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: #ffffff !important;
}

.btn-cta:hover::before {
  opacity: 1;
}

.btn-cta-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.2rem;
}

.btn-cta-outline {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-weight: 600;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
}

.btn-cta-outline:hover {
  background: #ffffff;
  color: var(--primary-dark) !important;
  border-color: #ffffff;
  transform: translateY(-3px);
}

/* Top Announcement Bar */
.top-bar {
  background: var(--primary-dark);
  color: #ffffff;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
  color: #38bdf8;
  font-weight: 600;
}

.top-bar a:hover {
  color: #ffffff;
}

/* Header & Navigation */
.navbar-custom {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: var(--cta-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.nav-link {
  font-weight: 600;
  color: var(--primary-dark) !important;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-sky) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--hero-overlay), url('../images/hero_window.png') center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  padding: 6rem 0;
}

.hero-content h1 {
  color: #ffffff !important;
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-content .lead {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.2rem;
  max-width: 680px;
  font-weight: 400;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: #38bdf8;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}

/* Trust Badges Grid */
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-badge-item i {
  font-size: 1.4rem;
  color: #10b981;
}

.trust-badge-item span {
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
}

/* Section Header styling */
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-sky);
  background: var(--accent-sky-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

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

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Why Upgrade (Benefits) Cards */
.benefit-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-sky-light);
}

.benefit-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--bg-soft-blue);
  color: var(--accent-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon-wrapper {
  background: var(--cta-gradient);
  color: #ffffff;
}

/* Services Cards */
.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--cta-gradient);
  opacity: 0;
  transition: var(--transition);
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-soft-blue);
  color: var(--forest-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.service-card .btn-service-cta {
  margin-top: auto;
  background: #10b981;
  color: #ffffff;
  font-weight: 600;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.service-card .btn-service-cta:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Why Choose Cards */
.feature-card {
  background: var(--bg-soft-blue);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: var(--transition);
  border: 1px solid rgba(2, 132, 199, 0.1);
}

.feature-card:hover {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--cta-gradient);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Process Section */
.process-step {
  text-align: center;
  position: relative;
  padding: 2rem 1.5rem;
}

.step-number-badge {
  width: 70px;
  height: 70px;
  background: var(--cta-gradient);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 20px rgba(2, 132, 199, 0.25);
  position: relative;
}

.step-icon-sub {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  background: var(--forest-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: 2px solid #ffffff;
}

/* Energy Efficiency Section */
.energy-section {
  background: linear-gradient(135deg, #0b2545 0%, #1e5631 100%);
  color: #ffffff;
  padding: 6rem 0;
  position: relative;
}

.energy-section h2, .energy-section h3 {
  color: #ffffff;
}

.energy-feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.energy-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.energy-feature-list i {
  color: #10b981;
  font-size: 1.3rem;
  margin-top: 0.2rem;
}

.eco-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.eco-img-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.eco-img-frame:hover img {
  transform: scale(1.04);
}

/* Statistics Counter Section */
.stats-section {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 4.5rem 0;
}

.stat-box {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Reviews / Testimonials */
.review-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.review-text {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  background: var(--accent-sky-light);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.reviewer-details h5 {
  font-size: 1rem;
  margin: 0;

}

.reviewer-details span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Final Call To Action Section */
.final-cta-section {
  background: var(--cta-gradient);
  color: #ffffff;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-section h2 {
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: 1.25rem;
}

.final-cta-section p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
}

footer h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

footer a {
  color: #94a3b8;
}

footer a:hover {
  color: #38bdf8;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.footer-contact-item i {
  color: #10b981;
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--accent-sky);
  color: #ffffff;
  transform: translateY(-3px);
}

.copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  font-size: 0.875rem;
}

/* Floating Circular Phone Button */
.floating-call-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: var(--cta-gradient);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.5);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-ring 2s infinite;
}

.floating-call-btn:hover {
  transform: scale(1.1);
}

/* Sticky Mobile Bottom Bar */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--cta-gradient);
  color: #ffffff;
  padding: 0.85rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  display: block;
}

.sticky-mobile-bar a {
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

/* Keyframe Animations */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

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

.fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.6rem;
  }
  .hero-section {
    min-height: auto;
    padding: 4rem 0;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.9rem;
  }
  .floating-call-btn {
    bottom: 75px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }
  body {
    padding-bottom: 60px; /* Offset for sticky mobile bar */
  }
}
