/* ========================================
   Web Palm Beaches - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
  --primary: #2b2d42;
  --primary-light: #3d3f5a;
  --accent: #ef233c;
  --accent-dark: #d90429;
  --accent-light: #ff6b81;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #e9ecef;
  --mid-gray: #6c757d;
  --dark-gray: #343a40;
  --text: #2b2d42;
  --text-light: #4a4c64;
  --gold: #f77f00;
  --success: #fcbf49;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --gradient-primary: linear-gradient(135deg, #2b2d42 0%, #3d3f5a 50%, #ef233c 100%);
  --gradient-accent: linear-gradient(135deg, #ef233c 0%, #d90429 100%);
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-lg {
  max-width: 1400px;
}

/* Section */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.125rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 180, 216, 0.4);
}

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

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

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

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

.btn-phone {
  background: var(--accent);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.875rem;
}

.btn-phone:hover {
  background: var(--accent-dark);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.header.scrolled .nav-link {
  color: var(--text);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--accent);
}

.header.scrolled .logo-text {
  color: var(--primary);
}

.header.scrolled .logo-accent {
  color: var(--accent);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.logo-accent {
  color: var(--accent);
  transition: var(--transition);
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 4px 0;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.header.scrolled .hamburger span {
  background: var(--primary);
}

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

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

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

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.mobile-nav a:hover {
  color: var(--accent);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-primary);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 28px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-light);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}

.hero h1 .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.mockup-browser {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.mockup-dot:nth-child(1) {
  background: #ff5f57;
}

.mockup-dot:nth-child(2) {
  background: #ffbd2e;
}

.mockup-dot:nth-child(3) {
  background: #28c840;
}

.mockup-url {
  flex: 1;
  margin-left: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.mockup-content {
  padding: 30px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mockup-line {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
}

.mockup-line:nth-child(1) {
  width: 70%;
}

.mockup-line:nth-child(2) {
  width: 90%;
}

.mockup-line:nth-child(3) {
  width: 50%;
}

.mockup-line:nth-child(4) {
  width: 80%;
  height: 60px;
}

.mockup-line:nth-child(5) {
  width: 40%;
}

.mockup-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}

.mockup-float.float-1 {
  top: 20%;
  right: -30px;
  animation-delay: 0s;
}

.mockup-float.float-2 {
  bottom: 20%;
  left: -30px;
  animation-delay: 2s;
}

.mockup-float-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-float-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.mockup-float-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
}

.mockup-float-sub {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Tagline Bar */
.tagline-bar {
  background: var(--primary);
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tagline-bar p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.tagline-bar .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin: 0 16px;
  vertical-align: middle;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1) 0%, rgba(0, 180, 216, 0.05) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  transition: var(--transition);
}

.service-link:hover svg {
  transform: translateX(4px);
}

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

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

.about-visual {
  position: relative;
}

.about-image-main {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-pattern {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-pattern-text {
  font-size: 5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
}

.about-pattern-sub {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
}

.about-exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--white);
  padding: 24px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.about-exp-badge h3 {
  color: var(--white);
  font-size: 2rem;
}

.about-exp-badge p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.about-content .label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content>p {
  font-size: 1.0625rem;
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

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

.about-feature-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(0, 180, 216, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

.about-feature span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}

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

.testimonial-info p {
  font-size: 0.8125rem;
  color: var(--mid-gray);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.125rem;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  min-width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   PAGE HERO (Internal Pages)
   ======================================== */
.page-hero {
  background: var(--gradient-primary);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.page-hero .breadcrumb a:hover {
  color: var(--accent);
}

.page-hero .breadcrumb .separator {
  font-size: 0.75rem;
}

.page-hero .breadcrumb .current {
  color: var(--accent);
}

/* ========================================
   SERVICES PAGE - DETAILED
   ======================================== */
.services-detailed {
  background: var(--off-white);
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
  margin-bottom: 30px;
  border: 1px solid var(--light-gray);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  transition: var(--transition);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-md);
}

.service-detail-card:nth-child(even) {
  direction: rtl;
}

.service-detail-card:nth-child(even)>* {
  direction: ltr;
}

.service-detail-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1) 0%, rgba(0, 180, 216, 0.05) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-detail-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.service-detail-content h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-detail-content>p {
  font-size: 1rem;
  margin-bottom: 24px;
}

.service-detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-detail-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-light);
}

.service-detail-list li svg {
  width: 16px;
  height: 16px;
  stroke: var(--success);
  fill: none;
  stroke-width: 2;
  min-width: 16px;
}

.service-detail-visual {
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  padding: 40px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-visual-icon {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-visual-icon svg {
  width: 60px;
  height: 60px;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 1;
}

/* ========================================
   PROJECTS PAGE
   ======================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

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

.project-image {
  height: 240px;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-mockup {
  width: 85%;
  height: 80%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px 8px 0 0;
  position: relative;
  overflow: hidden;
}

.project-mockup-bar {
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
}

.project-mockup-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.project-mockup-dot:nth-child(1) {
  background: #ff5f57;
}

.project-mockup-dot:nth-child(2) {
  background: #ffbd2e;
}

.project-mockup-dot:nth-child(3) {
  background: #28c840;
}

.project-mockup-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-mockup-line {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
}

.project-mockup-line:nth-child(1) {
  width: 60%;
}

.project-mockup-line:nth-child(2) {
  width: 80%;
}

.project-mockup-line:nth-child(3) {
  width: 45%;
}

.project-mockup-line:nth-child(4) {
  width: 70%;
  height: 30px;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 37, 64, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.project-overlay-btn {
  padding: 10px 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 600;
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.project-info p {
  font-size: 0.875rem;
  color: var(--mid-gray);
}

.project-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(0, 180, 216, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-xl);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-info-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(0, 180, 216, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: 0.9375rem;
}

.contact-info-text a {
  color: var(--accent);
  font-weight: 500;
}

.contact-info-text a:hover {
  text-decoration: underline;
}

.contact-social {
  display: flex;
  gap: 12px;
}

.contact-social a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.contact-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.contact-social a:hover svg {
  fill: var(--white);
}

.contact-social svg {
  width: 18px;
  height: 18px;
  fill: var(--mid-gray);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form-wrapper>p {
  color: var(--mid-gray);
  margin-bottom: 32px;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
  background: var(--white);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

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

  .service-detail-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .service-detail-card:nth-child(even) {
    direction: ltr;
  }

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

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

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .nav-links,
  .nav-actions .btn-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 32px;
    flex-wrap: wrap;
  }

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

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

  .about-features {
    grid-template-columns: 1fr;
  }

  .service-detail-list {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

  .service-detail-card {
    padding: 28px;
  }
}

/* Scroll animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}