/* ============================
   CONSOLIDATED MIDIAN TECHNOLOGIES STYLES
   ============================ */

/* CSS Variables */
:root {
  --primary: #000066;
  --accent: #ffcc00;
  --light: #ffffff;
  --dark: #1a1a1a;
  --gray: #f4f4f8;
  --whatsapp-green: #25D366;
  --brand-blue: #000066;
  --accent-yellow: #ffcc00;
  --blue: #000066;
  --gold: #ffcc00;
  --white: #ffffff;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--gray);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 102, 0.05);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 102, 0.4);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ============================
   HEADER STYLES
   ============================ */

/* Default Header (index.html, about.html) */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--primary);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Site Header (catalog.html, contact.html) */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary);
  color: var(--light);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Brand Styles */
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-ellipse {
  background: white;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.logo-ellipse img,
.brand img,
.logo {
  width: 40px;
  height: auto;
  object-fit: contain;
}

.brand-title,
header h1 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--light);
  letter-spacing: 1px;
}

/* ============================
   NAVIGATION
   ============================ */

nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a,
.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}

nav a::after,
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

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

/* ============================
   HAMBURGER MENU
   ============================ */

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 900;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 80px;
  right: 20px;
  background: rgba(0, 0, 102, 0.85);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  width: 240px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  z-index: 1000;
}

.mobile-nav.show,
.nav-links.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.mobile-nav a,
.nav-links a {
  color: #fff;
  padding: 0.6rem 0;
  text-align: left;
  text-decoration: none;
  font-weight: 500;
}

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

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

/* Mobile Responsive */
@media (max-width: 900px) {
  nav ul {
    display: none;
  }
  
  .burger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 80px;
    right: 20px;
    background: rgba(0, 0, 102, 0.85);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    width: 240px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    z-index: 100;
  }
  
  .burger {
    display: flex;
  }
}

/* ============================
   HERO SECTIONS
   ============================ */

/* Index Hero - Full screen with background image */
.hero {
  height: 60vh;
  min-height: 400px;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('./assets/images/bg.jpg') center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 1rem;
  margin-top: 70px;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 1.8rem;
}

.hero a {
  background: var(--accent);
  color: var(--primary);
  padding: 0.8rem 1.8rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: 0.3s;
}

.hero a:hover {
  background: white;
}

/* Standard Hero Sections (About, Catalog, Contact, Testimonials) */
section.hero {
  background: linear-gradient(135deg, var(--primary), #000033);
  color: var(--light);
  text-align: center;
  padding: 3rem 1rem 2rem;
  margin-top: 70px;
}

section.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

section.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: auto;
  opacity: 0.9;
}

/* Catalog specific hero button */
section.hero .btn {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  margin-top: 1.5rem;
  text-decoration: none;
  transition: 0.3s;
}

section.hero .btn:hover {
  background: white;
  transform: translateY(-3px);
}

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

/* ============================
   CONTENT SECTIONS
   ============================ */

/* Content Sections */
.services {
  padding: 4rem 2rem;
  text-align: center;
  background: white;
  position: relative;
  z-index: 10;
  margin-top: -70px;
  padding-top: 100px;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

/* Ensure all content sections have proper z-index */
.about-preview,
.history,
.team,
.cta-row,
footer {
  position: relative;
  z-index: 10;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(0, 0, 102, 0.03), transparent 70%);
  z-index: -1;
  border-radius: 16px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,102,0.12);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 0, 102, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: var(--primary);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(0, 0, 102, 0.2);
}

.service-card:hover .service-icon svg {
  stroke: var(--accent);
}

.service-icon svg {
  transition: stroke 0.4s ease;
}

/* About Preview */
.about-preview {
  background: linear-gradient(135deg, rgba(0, 0, 102, 0.05) 0%, rgba(255, 204, 0, 0.05) 100%);
  padding: 5rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 102, 0.05);
  border-bottom: 1px solid rgba(0, 0, 102, 0.05);
}

.about-preview p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.about-preview a {
  background: var(--accent);
  color: var(--primary);
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  border-radius: 25px;
  font-weight: bold;
  transition: 0.3s;
}

.about-preview a:hover {
  background: white;
  border: 2px solid var(--accent);
}

/* About Page Sections */
.intro {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 3rem auto;
  max-width: 1000px;
  padding: 0 1rem;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.history {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.history-text h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.history img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Team Section */
.team {
  padding: 4rem 1rem;
  background: #eef1ff;
}

.team h2 {
  color: var(--primary);
  margin-bottom: 3rem;
  text-align: center;
  font-size: 2rem;
}

.team-member {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto 4rem auto;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.team-member.photo-left {
  flex-direction: row;
}

.team-member.photo-right {
  flex-direction: row-reverse;
}

.member-image {
  flex: 0 0 300px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.05);
}

.member-info {
  flex: 1;
  text-align: left;
}

.team-member h4 {
  margin: 0 0 0.5rem 0;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.team-member .role {
  margin: 0 0 1rem 0;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
}

.team-member .description {
  margin: 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* CTA Section */
.cta-row {
  text-align: center;
  margin: 3rem 0;
}

.btn {
  display: inline-block;
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  margin: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

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

.btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* ============================
   CATALOG PAGE STYLES
   ============================ */

/* Portfolio Section */
.portfolio {
  text-align: center;
  padding: 4rem 1rem 3rem;
  background: white;
}

.portfolio h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.portfolio p {
  color: #333;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-button-container {
  text-align: center;
  margin: 3rem 0;
}

.portfolio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, #000066, #000088);
  color: white;
  padding: 1.5rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 102, 0.3);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.portfolio-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 102, 0.4);
  background: linear-gradient(135deg, #000088, #0000aa);
  border-color: var(--accent);
}

.portfolio-btn:active {
  transform: translateY(-1px);
}

.btn-icon {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-text {
  font-size: 1.2rem;
  font-weight: 700;
}

.btn-arrow {
  font-size: 0.85rem;
  opacity: 0.8;
  font-style: italic;
}

/* Services Menu */
.services {
  padding: 4rem 1rem;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.service-category {
  margin-bottom: 3rem;
}

.service-category h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.price-table th,
.price-table td {
  padding: 0.8rem;
  border: 1px solid #ddd;
  text-align: left;
}

.price-table th {
  background: var(--primary);
  color: white;
}

.price-table tr:nth-child(even) {
  background: #f8f8ff;
}

/* ============================
   TESTIMONIALS PAGE STYLES
   ============================ */

.testimonials {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: auto;
}

.testimonials h2 {
  color: var(--blue);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial h4 {
  color: var(--blue);
  font-weight: 600;
}

/* Ratings */
.ratings {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 2rem 1rem;
}

.ratings span {
  color: var(--gold);
  font-size: 1.2rem;
}

/* Share Experience Form */
.share {
  padding: 3rem 1rem;
  text-align: center;
}

.share h3 {
  color: var(--blue);
  margin-bottom: 1rem;
}

.share form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.share input, .share textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.share button {
  background: var(--gold);
  color: var(--blue);
  font-weight: 600;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.share button:hover {
  background: #e6b800;
}

/* CTA */
.cta {
  text-align: center;
  padding: 2rem 1rem;
}

.cta a {
  background: var(--gold);
  color: var(--blue);
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.cta a:hover {
  background: #e6b800;
}

/* ============================
   CONTACT PAGE STYLES
   ============================ */

.contact-section {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-grid form {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 2rem;
}

form h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

form input,
form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(0, 0, 102, 0.15);
  border-radius: 8px;
  font-size: 1rem;
  resize: none;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 0, 102, 0.1);
  transform: translateY(-2px);
}

form button {
  background: var(--accent);
  border: none;
  color: black;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

.contact-info {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 2rem;
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.8rem;
}

.map {
  margin-top: 1rem;
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================
   FOOTER STYLES
   ============================ */

footer,
.site-footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

footer a,
.site-footer a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 0.5rem;
}

footer a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  color: white;
  margin: 0 8px;
  font-size: 1.3rem;
  text-decoration: none;
}

.back-to-top {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: #ffcc00;
  color: #000;
  padding: 0.6rem;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
}

/* ============================
   WHATSAPP STYLES
   ============================ */

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 15px;
  border-radius: 50%;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  z-index: 1000;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* WhatsApp Arrow Indicator (About Page) */
.whatsapp-arrow {
  position: fixed;
  bottom: 100px;
  right: 40px;
  z-index: 99;
  animation: blinkArrow 2s infinite;
}

.arrow-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.whatsapp-btn-with-text {
  background: #25D366;
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.whatsapp-btn-with-text:hover {
  transform: scale(1.05);
}

.whatsapp-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-text {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.arrow-icon {
  font-size: 2rem;
  color: #25D366;
  animation: bounceArrow 1s infinite;
  transform: rotate(45deg);
}

@keyframes blinkArrow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes bounceArrow {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(-5px); }
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */

@media (max-width: 768px) {
  .history {
    grid-template-columns: 1fr;
  }
  
  .team-member.photo-left,
  .team-member.photo-right {
    flex-direction: column;
    text-align: center;
  }

  .member-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .member-info {
    text-align: center !important;
    margin-top: 1.5rem;
  }

  .team-member {
    padding: 1.5rem;
    gap: 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .price-table th, .price-table td {
    font-size: 0.9rem;
  }
  
  .portfolio-btn {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.2rem 2rem;
    text-align: center;
  }

  .btn-text {
    font-size: 1.1rem;
  }

  .btn-arrow {
    font-size: 0.8rem;
  }
  
  .whatsapp-arrow {
    bottom: 80px;
    right: 30px;
  }
  
  .whatsapp-btn-with-text {
    padding: 0.6rem 1rem;
    gap: 0.6rem;
  }
  
  .whatsapp-icon {
    font-size: 1.2rem;
  }
  
  .whatsapp-text {
    font-size: 0.8rem;
  }
  
  .arrow-icon {
    font-size: 1.5rem;
  }
}

/* ============================
   SMOOTH SCROLL & PAGE TRANSITIONS
   ============================ */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Page Load Animation */
body {
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.page-loaded {
  opacity: 1;
}

/* ============================
   GLASSMORPHISM HEADER ON SCROLL
   ============================ */

header {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: none;
}

header.header-scrolled {
  padding: 0.5rem 2rem;
  background: rgba(0, 0, 102, 0.7);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.header-scrolled .logo-ellipse {
  width: 40px;
  height: 40px;
}

header.header-scrolled .logo-ellipse img {
  width: 30px;
}

.logo-ellipse {
  transition: all 0.4s ease;
}

/* ============================
   SCROLL REVEAL ANIMATIONS
   ============================ */

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Slide in from left */
.team-member.photo-left.scroll-reveal {
  transform: translateX(-60px);
  opacity: 0;
}

.team-member.photo-left.scroll-reveal.revealed {
  transform: translateX(0);
  opacity: 1;
}

/* Slide in from right */
.team-member.photo-right.scroll-reveal {
  transform: translateX(60px);
  opacity: 0;
}

.team-member.photo-right.scroll-reveal.revealed {
  transform: translateX(0);
  opacity: 1;
}

/* Scale up reveal for cards */
.service-card.scroll-reveal,
.card.scroll-reveal,
.testimonial.scroll-reveal {
  transform: translateY(30px) scale(0.95);
}

.service-card.scroll-reveal.revealed,
.card.scroll-reveal.revealed,
.testimonial.scroll-reveal.revealed {
  transform: translateY(0) scale(1);
}

/* ============================
   HERO ENHANCEMENTS
   ============================ */

.hero {
  overflow: hidden;
}

.hero-content {
  animation: heroFadeUp 1s ease-out 0.3s both;
}

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

/* Hero Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  bottom: -10px;
  background: rgba(255, 204, 0, 0.3);
  border-radius: 50%;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Hero Section Hero Text Animations */
section.hero h1 {
  animation: slideDown 0.8s ease-out both;
}

section.hero p {
  animation: slideDown 0.8s ease-out 0.2s both;
}

section.hero .btn {
  animation: slideDown 0.8s ease-out 0.4s both;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   ENHANCED CARD EFFECTS
   ============================ */

.service-card {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 102, 0.12);
  border-color: rgba(0, 0, 102, 0.08);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 15px 15px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card {
  position: relative;
  overflow: hidden;
}

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

.card {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(0, 0, 102, 0.08);
}

.card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover::after {
  transform: scaleX(1);
}

/* Testimonial Card Enhancements */
.testimonial {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  position: relative;
  border-left: 4px solid transparent;
}

.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 102, 0.12);
  border-left-color: var(--accent);
}

.testimonial p::before {
  content: "\201C";
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 15px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial {
  padding-left: 2rem;
}

/* ============================
   ENHANCED BUTTON EFFECTS
   ============================ */

/* Ripple Effect */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 204, 0, 0.3);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Enhanced Button Hover */
.hero a,
.about-preview a {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
}

.about-preview a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 204, 0, 0.3);
}

.btn {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 102, 0.2);
}

.btn.primary:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 102, 0.35);
}

/* Portfolio Button Glow */
.portfolio-btn {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-btn:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 102, 0.4),
              0 0 60px rgba(0, 0, 102, 0.1);
}

/* ============================
   SECTION WAVE DIVIDERS
   ============================ */

.services::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 11;
}

/* ============================
   WHATSAPP BUTTON ENHANCEMENTS
   ============================ */

.whatsapp-float {
  animation: whatsappPulse 2s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3),
                0 0 0 10px rgba(37, 211, 102, 0.1),
                0 0 0 20px rgba(37, 211, 102, 0.05);
  }
}

/* ============================
   ENHANCED FOOTER
   ============================ */

footer,
.site-footer {
  position: relative;
  overflow: hidden;
}

footer::before,
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

footer a,
.site-footer a {
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

footer a:hover,
.site-footer a:hover {
  transform: translateY(-2px);
}

/* ============================
   BACK TO TOP ENHANCEMENTS
   ============================ */

.back-to-top {
  transition: all 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

/* ============================
   FORM INPUT ENHANCEMENTS
   ============================ */

form input,
form textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.15);
  transform: translateY(-1px);
}

form button {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.3);
}

/* ============================
   ENHANCED NAVIGATION
   ============================ */

nav a {
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

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

/* Mobile nav link animation */
.mobile-nav a {
  transition: color 0.3s ease, transform 0.3s ease, padding-left 0.3s ease;
}

.mobile-nav a:hover {
  padding-left: 0.5rem;
}

.mobile-nav.show {
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Overlay animation */
.overlay.show {
  display: block;
  animation: overlayFadeIn 0.3s ease;
}

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

/* ============================
   ENHANCED PRICE TABLE
   ============================ */

.price-table {
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.price-table:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 102, 0.1);
}

.price-table tr {
  transition: background-color 0.3s ease;
}

.price-table tbody tr:hover {
  background: rgba(0, 0, 102, 0.04) !important;
}

.price-table th {
  transition: background-color 0.3s ease;
}

/* ============================
   ENHANCED MAP
   ============================ */

.map {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* ============================
   ENHANCED CONTACT INFO
   ============================ */

.contact-info {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-info:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.contact-grid form {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-grid form:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

/* ============================
   ENHANCED TEAM SECTION
   ============================ */

.team-member {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 102, 0.15);
}

.member-image {
  transition: transform 0.5s ease;
}

.team-member:hover .member-image {
  transform: scale(1.02);
}

/* ============================
   ENHANCED RATINGS SECTION
   ============================ */

.ratings {
  position: relative;
  overflow: hidden;
}

.ratings::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.05) 0%, transparent 60%);
  animation: ratingGlow 5s ease-in-out infinite;
}

@keyframes ratingGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5%, 5%); }
}

/* ============================
   SECTION SPACING REFINEMENTS
   ============================ */

.services,
.about-preview,
.testimonials,
.contact-section,
.share {
  position: relative;
}

/* Smooth section transitions */
section + section,
section + div,
div + section {
  position: relative;
}

/* ============================
   SELECTION STYLING
   ============================ */

::selection {
  background: var(--accent);
  color: var(--primary);
}

::-moz-selection {
  background: var(--accent);
  color: var(--primary);
}

/* ============================
   FOCUS STYLES FOR ACCESSIBILITY
   ============================ */

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================
   SCROLLBAR STYLING
   ============================ */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), #000044);
  border-radius: 5px;
  border: 2px solid var(--gray);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ============================
   LOADING SKELETON (for testimonials)
   ============================ */

@keyframes skeletonPulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.testimonial-grid .testimonial:only-child {
  animation: skeletonPulse 1.5s ease-in-out infinite;
}
