/* ============================================
           RESET & BASE STYLES
        ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ff6b35;
  --primary-dark: #e55a2b;
  --secondary: #0a2463;
  --secondary-light: #1e3a8a;
  --dark: #121212;
  --light: #f8f9fa;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 8px;
  --border-radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.highlight {
  color: var(--primary);
}

section {
  padding: 100px 0;
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
}

/* ============================================
           BACKGROUND SHAPES
        ============================================ */
.bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(40px);
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  right: -100px;
  animation: float 20s infinite alternate;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  bottom: -100px;
  left: -100px;
  animation: float 25s infinite alternate-reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--primary);
  top: 50%;
  left: 10%;
  animation: float 15s infinite alternate;
}

.shape-4 {
  width: 150px;
  height: 150px;
  background: var(--secondary);
  bottom: 20%;
  right: 15%;
  animation: float 18s infinite alternate-reverse;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(30px, 30px) rotate(180deg);
  }
}

/* ============================================
           NAVIGATION - FIXED ISSUES
        ============================================ */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.nav-bar.scrolled {
  padding: 15px 0;
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--secondary);
  letter-spacing: 1px;
}

.logo-sub {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray);
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.nav-toggle {
  display: none;
  cursor: pointer;
  z-index: 1002;
}

.hamburger {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--secondary);
  border-radius: 3px;
  transition: var(--transition);
}

/* Mobile Navigation - FIXED */
@media (max-width: 992px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 40px 40px;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    z-index: 1001;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 15px 0;
    width: 100%;
  }

  .nav-cta {
    margin-top: 30px;
    width: 100%;
  }

  .cta-btn {
    justify-content: center;
    width: 100%;
  }

  /* Hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

/* ============================================
           HERO SECTION
        ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 30px;
  color: black;
}

.title-line {
  display: block;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  position: relative;
}

.floating-structure {
  position: absolute;
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: rotate 20s linear infinite;
}

.structure-part {
  position: absolute;
  background: rgba(255, 107, 53, 0.1);
  border: 2px solid rgba(255, 107, 53, 0.3);
}

.part-1 {
  top: 0;
  left: 0;
  width: 200px;
  height: 50px;
}
.part-2 {
  top: 0;
  right: 0;
  width: 50px;
  height: 200px;
}
.part-3 {
  bottom: 0;
  left: 0;
  width: 50px;
  height: 200px;
}
.part-4 {
  bottom: 0;
  right: 0;
  width: 200px;
  height: 50px;
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-image-container {
  position: relative;
  z-index: 2;
}

.image-frame {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-10deg);
  transition: var(--transition);
}

.hero-image-container:hover .image-frame {
  transform: perspective(1000px) rotateY(0deg);
}

.image-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(10, 36, 99, 0.3), transparent);
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: var(--transition);
}

.image-frame:hover .hero-image {
  transform: scale(1.05);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gray);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: var(--gray);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(20px);
    opacity: 0.5;
  }
}

/* Hero Responsive */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-description {
    margin: 0 auto 40px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-structure {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ============================================
           SECTION COMMON STYLES
        ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

/* ============================================
           ABOUT SECTION
        ============================================ */
.about-section {
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.text-block {
  margin-bottom: 40px;
}

.text-block h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.text-block p {
  color: var(--gray);
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  padding: 25px;
  background: var(--light);
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.feature-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--secondary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

.about-visual {
  position: relative;
}

.visual-container {
  position: relative;
  height: 500px;
}

.experience-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  z-index: 2;
  width: 150px;
  height: 150px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  animation: floatBadge 3s infinite alternate;
  box-shadow: var(--shadow-lg);
}

@keyframes floatBadge {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}

.badge-content {
  text-align: center;
}

.years {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.text {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.image-stack {
  position: relative;
  height: 100%;
}

.stack-image {
  position: absolute;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stack-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.img-1 {
  top: 0;
  left: 0;
  width: 70%;
  z-index: 3;
  transform: rotate(-5deg);
}

.img-2 {
  top: 30%;
  right: 0;
  width: 60%;
  z-index: 2;
  transform: rotate(3deg);
}

.img-3 {
  bottom: 0;
  left: 10%;
  width: 80%;
  z-index: 1;
  transform: rotate(-2deg);
}

.stack-image:hover {
  transform: rotate(0deg) scale(1.05);
  z-index: 4;
  box-shadow: var(--shadow-lg);
}

/* About Responsive */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .visual-container {
    height: 400px;
  }

  .experience-badge {
    top: -10px;
    right: -10px;
    width: 120px;
    height: 120px;
  }

  .years {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .about-features {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 20px;
  }

  .visual-container {
    height: 350px;
  }
}

/* ============================================
           SERVICES SECTION
        ============================================ */
.services-section {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  height: 560px;
  perspective: 1000px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: var(--border-radius-lg);
}

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
}

.service-card-front {
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
}

.service-card-back {
  background: var(--secondary);
  color: white;
  transform: rotateY(180deg);
  box-shadow: var(--shadow-lg);
}

.service-image {
  width: 100%;
  height: 230px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 25px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary);
}

.service-desc {
  color: var(--gray);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tag {
  padding: 5px 15px;
  background: var(--light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.service-card-back h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: white;
}

.service-features {
  margin-bottom: 30px;
  flex-grow: 1;
}

.service-features li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 600;
  padding: 12px 25px;
  background: var(--primary);
  border-radius: 50px;
  transition: var(--transition);
  align-self: flex-start;
}

.service-cta:hover {
  background: var(--primary-dark);
  transform: translateX(5px);
}

/* Services Responsive */
@media (max-width: 768px) {
  .service-card {
    height: auto;
    min-height: 500px;
  }

  .service-card-inner {
    transform: none !important;
    height: auto;
  }

  .service-card-front,
  .service-card-back {
    position: relative;
    transform: none;
    height: auto;
  }

  .service-card-back {
    display: none;
  }

  .service-card:hover .service-card-front .service-desc {
    display: none;
  }

  .service-card:hover .service-card-front .service-tags {
    display: none;
  }

  .service-card:hover .service-card-front::after {
    content: "Flip disabled on mobile - See details on desktop";
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-top: 20px;
    text-align: center;
    padding: 10px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--border-radius);
  }
}

/* ============================================
           PROJECTS SECTION
        ============================================ */
.projects-section {
  background: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 300px;
}

.project-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 36, 99, 0.9);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.overlay-content h4 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.overlay-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.project-tag {
  display: inline-block;
  padding: 5px 15px;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Projects Responsive */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    height: 250px;
  }
}

/* ============================================
           PROCESS SECTION
        ============================================ */
.process-section {
  background: var(--light);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gray-light);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-number {
  width: 100px;
  height: 100px;
  background: white;
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 30px;
  position: relative;
  transition: var(--transition);
}

.process-step:hover .step-number {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
  box-shadow: var(--shadow);
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary);
}

.step-content p {
  color: var(--gray);
}

.step-line {
  position: absolute;
  top: 50px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: var(--gray-light);
}

/* Process Responsive */
@media (max-width: 992px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 20px;
  }

  .process-timeline::before {
    display: none;
  }

  .step-line {
    display: none;
  }
}

@media (max-width: 576px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .step-number {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }
}

/* ============================================
           CTA SECTION
        ============================================ */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--secondary) 0%,
    var(--secondary-light) 100%
  );
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="white" opacity="0.05"/></svg>');
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 35px 25px;
  border-radius: 18px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 1.6rem;
  color: var(--primary);
  display: block;
  margin-bottom: 15px;
}

.contact-label {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 8px;
  display: block;
}

.contact-card a,
.contact-card p {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
}

.contact-card a:hover {
  color: var(--primary);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 50px;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* CTA Responsive */
@media (max-width: 992px) {
  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .cta-title {
    font-size: 1.8rem;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
           FOOTER
        ============================================ */
.footer {
  background: var(--dark);
  color: white;
  padding: 80px 0 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 45px;
  margin-bottom: 50px;
}

.footer-logo-container {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-main {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: white;
}

.footer-logo-sub {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
}

.footer-about {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 25px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: white;
  position: relative;
  padding-bottom: 15px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-info i {
  color: var(--primary);
  margin-top: 5px;
  flex-shrink: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-bottom a {
  color: var(--primary);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Footer Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer {
    padding: 60px 0 30px;
  }
}

/* ============================================
           BACK TO TOP BUTTON
        ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

/* ============================================
           ANIMATION CLASSES
        ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
           LOADING OVERLAY (FIXED)
        ============================================ */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid var(--gray-light);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* SERVICES dropdown only */
.nav-dropdown {
  position: relative;
}

/* align text properly */
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 260px;
  padding: 20px 0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s ease;
  z-index: 999;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 16px 28px;
  font-size: 16px;
  color: #0b1f5b;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background: #f5f7ff;
  color: #ff4d2d;
}

/* DESKTOP hover */
@media (min-width: 992px) {
  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* MOBILE click */
@media (max-width: 991px) {
  .dropdown-menu {
    position: static;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.35s ease;
  }

  .nav-dropdown.active .dropdown-menu {
    max-height: 500px;
  }
}
/* ===============================
   VIDEO SECTION STYLES
=============================== */

.sf-video-section {
  padding: 80px 20px;
  background: #0f0f0f;
  color: #fff;
}

.sf-video-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.sf-video-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.sf-video-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #ccc;
}

.sf-video-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.sf-video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.sf-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 0, 0, 0.85);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.sf-video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ff0000;
}

/* ===============================
   MOBILE RESPONSIVE
=============================== */

@media (max-width: 768px) {
  .sf-video-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sf-video-text h2 {
    font-size: 28px;
  }
}

/* ===============================
   MOBILE FULL CARD CLICK FIX
=============================== */

.sf-service-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* DESKTOP: disable card click */
@media (min-width: 769px) {
  .sf-service-link {
    pointer-events: none;
  }

  .sf-service-link .service-cta {
    pointer-events: auto;
  }
}

/* MOBILE: enable full card click */
@media (max-width: 768px) {
  .sf-service-link {
    pointer-events: auto;
  }

  .sf-service-link:active .service-card-front {
    transform: scale(0.98);
  }
}
.sf-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
}

/* Mobile only */
@media (max-width: 768px) {
  .service-card {
    position: relative;
  }

  .sf-card-overlay {
    display: block;
  }
}
/* assets/css/product.css - modern & unique design for Tin Shade Roofing */

:root {
  --space-unit: 1rem;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-muted: #f1f5f9;
  --color-dark: #0b1e33;
  --color-accent: #1e4a6b;
  --color-accent-light: #2c6b8f;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-light: #f8fafc;
  --shadow-sm: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
  --shadow-md: 0 20px 30px -10px rgba(0,30,50,0.15);
  --border-radius: 1.5rem;
  --border-radius-card: 1.25rem;
}

body {
  background-color: var(--color-bg);
  color: var(--text-body);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  margin: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.hello {
  display: flex;
  gap: 4rem;
}
.hello img{
  width: 600px;
  height: 400px;
  object-fit: 100% 100%;
}

/* ===== HERO BAND ===== */
.sf-hero-band {
  background: linear-gradient(145deg, #0b1e33 0%, #1a3a4f 100%);
  color: white;
  padding: 5rem 0 6rem 0;
  /* margin-bottom: 2rem; */
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  position: relative;
  margin-top: 90px;
}
.hero-content {
  max-width: 800px;
}
.sf-hero-band h1 {
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem 0;
  text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.sf-hero-band .lead {
  font-size: 1.35rem;
  font-weight: 400;
  opacity: 0.92;
  max-width: 720px;
  border-left: 4px solid #ffb347;
  padding-left: 1.8rem;
}

/* ===== INTRO FLOW ===== */
.sf-flow {
  padding: 4rem 0;
}
.text-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  font-size: 1.1rem;
  color: var(--text-body);
}
.text-grid p {
  margin: 0;
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.02);
  transition: transform 0.2s ease;
}
.text-grid p:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ===== CHAPTER (manufacturer / fabricator) ===== */
.sf-chapter {
  padding: 5rem 0;
}
.sf-muted {
  background-color: var(--color-muted);
}
.chapter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3rem;
}
.chapter-grid.reverse {
  direction: rtl;
}
.chapter-grid.reverse .chapter-text {
  direction: ltr;
}
.chapter-grid.reverse .spec-block {
  direction: ltr;
}
.chapter-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 0;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.chapter-text p {
  font-size: 1.1rem;
  color: var(--text-body);
}
.spec-block {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}
.sf-label {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-top: 0;
  margin-bottom: 1.5rem;
  border-bottom: 2px dashed var(--color-accent-light);
  padding-bottom: 0.75rem;
}
.sf-spec-lines {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.sf-spec-lines span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
}
.sf-spec-lines span::before {
  content: "▹";
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1.4rem;
  line-height: 1;
}
.chapter-footnote {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 860px;
  margin: 1.5rem 0 0 0;
  padding: 1rem 0 0 1rem;
  border-left: 3px solid var(--color-accent-light);
}

/* ===== BENEFITS SECTION (card grid) ===== */
.sf-strip {
  padding: 5rem 0;
  background: var(--color-surface);
}
.section-intro {
  font-size: 1.25rem;
  max-width: 720px;
  margin-bottom: 3rem;
  color: var(--text-body);
}
.sf-strip-flow {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.benefit-card {
  background: var(--color-bg);
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius-card);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  border: 1px solid rgba(0,0,0,0.02);
}
.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-light);
}
.benefit-card strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.benefit-card p {
  margin: 0;
  color: var(--text-body);
  line-height: 1.5;
}

/* ===== FEATURE LIST (tags) ===== */
.sf-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2.5rem 0 1.5rem;
}
.sf-inline-list span {
  background: var(--color-surface);
  border: 1px solid #d1d9e6;
  padding: 0.6rem 1.2rem;
  border-radius: 60px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-accent);
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
  transition: 0.15s;
}
.sf-inline-list span:hover {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
  transform: scale(1.02);
}
.feature-footnote {
  margin-top: 2.5rem;
  font-size: 1.1rem;
  max-width: 780px;
  color: var(--text-body);
}

/* ===== DARK SECTION (expertise) ===== */
.sf-dark {
  background: var(--color-dark);
  color: var(--text-light);
}
.sf-dark h2 {
  color: white;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}
.sf-dark .section-intro.light {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
}
.sf-dark .sf-inline-list span {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.95);
}
.sf-dark .sf-inline-list span:hover {
  background: var(--color-accent-light);
  border-color: white;
  color: white;
}
.expertise-footnote.light {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin: 1.8rem 0 0 0;
  padding-left: 1rem;
  border-left: 3px solid #ffb347;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .chapter-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .chapter-grid.reverse {
    direction: ltr;
  }
  .sf-hero-band {
    clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%);
    padding: 4rem 0;
  }
  .sf-chapter, .sf-strip, .sf-flow {
    padding: 3rem 0;
  }
  .sf-hero-band h1 {
    font-size: 3.2rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1.5rem;
  }
  .text-grid {
    grid-template-columns: 1fr;
  }
  .sf-strip-flow {
    grid-template-columns: 1fr;
  }
  .sf-inline-list span {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
  .sf-hero-band h1 {
    font-size: 2.5rem;
  }
  .hello{
    flex-direction: column;

  }
}

/* smooth transitions */
* {
  transition: background-color 0.2s ease, color 0.1s ease, transform 0.15s ease;
}