@import url('https://fonts.googleapis.com/css2?family=Belleza&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
    --primary-color: #1F5FFF;
    --primary-dark: #0F4CDB;
    --secondary-color: #2563EB;
    --accent-color: #3B82F6;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --text-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    padding-top: 112px; /* Increased to match header + ribbon height */
    font-weight: 400;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Belleza', serif;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    letter-spacing: 0.01em;
}

h1 { font-size: 3.2rem; font-weight: 700; }
h2 { font-size: 2.6rem; font-weight: 600; }
h3 { font-size: 2rem; font-weight: 600; }
h4 { font-size: 1.6rem; font-weight: 600; }
h5 { font-size: 1.3rem; font-weight: 500; }
h6 { font-size: 1.1rem; font-weight: 500; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.7;
    font-family: 'IBM Plex Sans', sans-serif;
}

/* Apply IBM Plex Sans to all body text elements */
body, p, li, span, div, a, input, textarea, select, label {
    font-family: 'IBM Plex Sans', sans-serif;
}

/* Use Belleza for headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Belleza', serif;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.025em;
    font-family: 'IBM Plex Sans', sans-serif;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Contact Ribbon */
.contact-ribbon {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    padding: 8px 0;
    z-index: 9999; /* Ensure ribbon is above all content */
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-ribbon-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 1.5rem;
}

.contact-ribbon a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
}

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

.ribbon-sep {
    color: rgba(255, 255, 255, 0.7);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 32px;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10050; /* ensure always above content for clicks */
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

.nav-brand .logo {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Desktop navigation - ensure it's not affected by mobile rules */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        position: static !important;
        background: transparent !important;
        flex-direction: row !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
    }
    
    .nav-menu.active {
        display: flex !important;
        position: static !important;
        background: transparent !important;
        flex-direction: row !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
    }
}

/* Mobile menu - clean implementation */
@media (max-width: 768px) {
    .nav-menu.active {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        width: 55% !important;
        height: 100vh !important;
        background: #e8f2ff !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 5rem 2.5rem 2rem !important;
        z-index: 10055 !important;
        overflow-y: auto !important;
        transform: translateX(0) !important;
    }
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.8rem;
    font-family: 'Belleza', serif;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

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

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

.nav-link.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Responsive Navigation Styles */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 1.5rem;
        padding: 6px 10px;
    }
}

@media (max-width: 768px) {
    /* Fix mobile spacing for all pages */
    body {
        padding-top: 100px !important; /* Reduced excessive spacing */
    }
    
    /* Fix page hero sections */
    .page-hero {
        padding-top: 1rem !important;
        margin-top: 0 !important;
    }
    
    /* Fix home page hero specifically */
    .hero-section {
        padding-top: 1rem !important;
        margin-top: 0 !important;
    }
    
    /* Fix hero content spacing */
    .hero-content {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    body {
        padding-top: 70px; /* Further reduced for very small screens */
    }
    
    /* Further reduce page hero padding for very small screens */
    .page-hero {
        padding: 3rem 0 2.5rem; /* Further reduced for small mobile */
    }
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-white);
    min-width: 600px;
    box-shadow: var(--shadow-lg);
    z-index: 1;
    border-radius: var(--border-radius-lg);
    padding: 0;
    top: 100%;
    left: -200px;
    overflow: hidden;
}

/* Desktop hover for Services dropdown */
@media (min-width: 769px) {
    .nav-dropdown:hover .dropdown-content,
    .nav-dropdown:hover .simple-dropdown {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    transition: var(--transition);
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Simple Dropdown Styles */
.simple-dropdown {
    display: none;
    position: absolute;
    background: white;
    min-width: 240px !important;
    box-shadow: 0 8px 32px rgba(31,95,255,0.12) !important;
    border-radius: 12px !important;
    padding: 0.75rem 0 !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    border: 1px solid rgba(31,95,255,0.08) !important;
    z-index: 1000;
}

.nav-dropdown:hover .simple-dropdown {
    display: block !important;
}

.simple-dropdown a {
    color: #374151 !important;
    padding: 0.75rem 1.25rem !important;
    text-decoration: none !important;
    display: block !important;
    transition: all 0.2s ease !important;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    border-radius: 0 !important;
    margin: 0 !important;
    background: none !important;
}

.simple-dropdown a:hover {
    background-color: #f8faff !important;
    color: var(--primary-color) !important;
    transform: translateX(4px) !important;
}

/* Enhanced Dropdown Styles */
.dropdown-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.dropdown-header h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Belleza', serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dropdown-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.dropdown-item:nth-child(even) {
    border-right: none;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.dropdown-text {
    flex: 1;
}

.dropdown-title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Belleza', serif;
    letter-spacing: 0.3px;
    margin-bottom: 0.25rem;
    color: inherit;
}

.dropdown-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
}

.dropdown-footer {
    background-color: var(--bg-light);
    padding: 1rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.dropdown-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.dropdown-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* REMOVED OLD NAV-TOGGLE RULES */

/* Mobile Navigation Active States - REMOVED CONFLICTING RULES */

/* REMOVED CONFLICTING MOBILE NAV RULES */

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .dropdown-content {
        min-width: 100%;
        left: 0;
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        border-radius: 0;
        margin-top: 0.5rem;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
    }
    
    .dropdown-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .dropdown-header {
        padding: 1rem;
    }
    
    .dropdown-header h4 {
        font-size: 1.1rem;
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem;
    }
    
    .dropdown-icon {
        font-size: 1.2rem;
        margin-right: 0.75rem;
        width: 30px;
    }
    
    .dropdown-title {
        font-size: 0.9rem;
    }
    
    .dropdown-desc {
        font-size: 0.75rem;
    }
}

/* REMOVED OLD NAV-TOGGLE ANIMATION RULES */

/* Hero Section - Fixed */
.hero-section {
    position: relative;
    min-height: 820px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    overflow: visible !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.hero-carousel {
    height: 100%;
    position: relative;
}

.hero-slide { 
    min-height: 780px; 
    display: none; 
    position: relative; 
    background-size: cover !important; 
    background-position: center !important; 
    background-repeat: no-repeat !important; 
    overflow: visible !important; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1);
}
.hero-slide.active { 
    display: flex !important; 
    opacity: 1 !important;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.22);
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
}

/* HERO CONTENT: More space below, vertically centered */
.hero-content {
    margin-bottom: 5.5rem !important;
    margin-top: 4.5rem !important;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    flex: 1;
}

/* HERO TITLE: Pure white, strong shadow, responsive size */
.hero-title {
    color: #fff !important;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-shadow: 2px 2px 16px rgba(0,0,0,0.95), 0 1px 2px rgba(0,0,0,0.7) !important;
    text-align: center;
}

/* HERO SUBHEADING: Pure white, bold, strong shadow, highly readable */
.hero-tagline {
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 1.45rem !important;
    text-shadow: 0 6px 32px rgba(0,0,0,0.99), 0 2px 8px rgba(0,0,0,0.85) !important;
    opacity: 1 !important;
    margin: 0 auto 3.5rem auto !important;
    letter-spacing: 0.01em !important;
    z-index: 3 !important;
    line-height: 1.6;
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: block;
    text-align: center !important;
    max-width: 650px;
}

/* HERO BUTTONS: White or primary, no overlap, spaced */
.hero-buttons {
    z-index: 100 !important;
    position: relative;
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    margin-bottom: 8rem !important; /* Add more space to prevent overlap with ribbon */
}
.hero-buttons .btn, .hero-buttons a.btn {
    background: #1F5FFF !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 0.85rem 2.25rem !important;
    font-size: 1.1rem !important;
    box-shadow: 0 4px 16px rgba(31,95,255,0.18), 0 1.5px 4px rgba(0,0,0,0.12) !important;
    border: none !important;
    margin: 0 0.5rem 0.5rem 0.5rem !important;
    transition: background 0.2s, box-shadow 0.2s !important;
    z-index: 101 !important;
}
.hero-buttons .btn.btn-outline, .hero-buttons a.btn.btn-outline {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}
.hero-buttons .btn:hover, .hero-buttons a.btn:hover {
    background: #0F4CDB !important;
    box-shadow: 0 6px 24px rgba(31,95,255,0.28), 0 2px 8px rgba(0,0,0,0.18) !important;
}

/* Responsive adjustments for hero */
@media (max-width: 900px) {
  .hero-title { font-size: 2.8rem; }
  .hero-content { padding-top: 2.5rem !important; margin-bottom: 2.5rem !important; }
  .hero-section { min-height: 540px; }
  .hero-tagline {
    font-size: 1.1rem !important;
    margin-bottom: 3.5rem !important;
    padding: 0.4rem 0.7rem;
  }
  .hero-stats-overlay-v2 { max-width: 98vw; }
  .hero-slide { min-height: 500px; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 2rem; }
  .hero-tagline { font-size: 1rem !important; }
  .hero-content { padding-top: 1.2rem !important; margin-bottom: 1.2rem !important; }
  .hero-buttons .btn, .hero-buttons a.btn { font-size: 1rem !important; padding: 0.7rem 1.2rem !important; }
  .hero-stats-overlay-v2 { max-width: 99vw; }
  .hero-slide { min-height: 350px; }
  .stat-card-v2 { min-width: 40px !important; padding: 0.2rem 0.1rem !important; font-size: 0.5rem !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; }
  .stat-number-v2 { font-size: 0.8rem !important; min-height: 1.2rem !important; display: block !important; }
  .stats-section-inner-v2 { grid-template-columns: repeat(4, 1fr) !important; gap: 0.1rem !important; align-items: center !important; }
  .carousel-indicators { margin-top: 1.2rem !important; }

  /* Tighten legacy stats overlay on home so 4 items fit on one frame */
  .hero-stats-overlay {
    padding: 0.5rem 0.65rem !important;
    gap: 0.5rem !important;
    min-width: 96vw !important;
    max-width: 96vw !important;
    bottom: 5% !important; /* lowered by 15% */
  }
  .hero-stats-overlay .stat { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; }
  .hero-stats-overlay .stat .stat-number { min-height: 1.3rem !important; }
  /* Nudge first two numbers down to align with others */
  .hero-stats-overlay .stat:nth-child(1) .stat-number { margin-top: 0.02rem !important; }
  .hero-stats-overlay .stat:nth-child(2) .stat-number { margin-top: -0.02rem !important; }
  .hero-stats-overlay .stat {
    min-width: 70px !important;
    padding: 0.2rem 0.3rem !important;
    font-size: 1rem !important;
    text-align: center !important;
  }
  .hero-stats-overlay .stat .stat-number { 
    font-size: 1.25rem !important; 
    line-height: 1 !important;
    margin-bottom: 0.1rem !important;
  }
  .hero-stats-overlay .stat .stat-label { 
    font-size: 0.65rem !important; 
    line-height: 1.1 !important; 
  }
}

/* Make sure overlays are below content */
.hero-content-bg, .hero-slide::before {
    z-index: 1 !important;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border: none;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.carousel-indicators {
    position: static !important;
    margin-top: 2.2rem !important;
    margin-bottom: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    z-index: 2;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(31, 95, 255, 0.18);
    border: 2px solid #1F5FFF;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: #1F5FFF;
    transform: scale(1.25);
    border: 2px solid #fff;
}

/* NEW GLASSY STATS OVERLAY - ENHANCED FOR BROWSER COMPATIBILITY */
.hero-stats-overlay {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: -30px !important;
  background: rgba(255,255,255,0.25) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 1.5rem !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  box-shadow: 0 8px 32px 0 rgba(31, 41, 55, 0.15), inset 0 1px 0 rgba(255,255,255,0.3) !important;
  padding: 1.5rem 2.5rem !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 2.2rem !important;
  z-index: 10 !important;
  width: auto !important;
  min-width: 70vw !important;
  max-width: 90vw !important;
  box-sizing: border-box !important;
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(20px)) {
  .hero-stats-overlay {
    background: rgba(255,255,255,0.35) !important;
    border: 2px solid rgba(255,255,255,0.4) !important;
  }
}

.stat {
  text-align: center; 
  min-width: 140px;
  color: #1a2233; 
  font-weight: 800; 
  font-size: 1.15rem;
  background: none; 
  border-radius: 1.2rem; 
  padding: 0.8rem 1.2rem;
  box-shadow: none; 
  border: none;
}
.stat-number {
  display: block; 
  font-size: 2rem; 
  font-weight: 800; 
  margin-bottom: 0.5rem;
  color: #1a2233; 
  text-shadow: 0 2px 8px rgba(44,62,80,0.18);
}
.stat-label {
  font-size: 0.95rem; 
  color: #2d3a4d; 
  font-weight: 600;
}

@media (min-width: 900px) {
  .hero-section {
    position: relative;
    padding-bottom: 120px !important;
  }
}

@media (max-width: 899px) {
  .hero-stats-overlay {
    bottom: 5% !important; /* lowered by 15% overall on mobile */
    width: 95vw !important;
    max-width: 95vw !important;
  }
  /* Ensure alignment across narrow mobile widths too */
  .hero-stats-overlay .stat:nth-child(1) .stat-number { margin-top: 0.02rem !important; }
  .hero-stats-overlay .stat:nth-child(2) .stat-number { margin-top: -0.02rem !important; }
}

/* Project Images - Standardized Sizing */
.project-images img {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}

/* Project Number Styling - Enhanced */
.project-number {
    background: linear-gradient(135deg, #1F5FFF 0%, #4F46E5 100%) !important;
    color: white !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(31, 95, 255, 0.3) !important;
    border: 3px solid rgba(255, 255, 255, 0.2) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    margin-right: 1.5rem !important;
    flex-shrink: 0 !important;
}

/* Project Header Layout */
.project-header {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 2rem !important;
    padding: 1.5rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Project Title Styling */
.project-title h2 {
    color: #1a1a1a !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin: 0 0 0.5rem 0 !important;
    line-height: 1.2 !important;
}

.project-subtitle {
    color: #4F46E5 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    opacity: 0.9 !important;
}

/* Section Divider */
.section-divider {
    position: relative;
    height: 70px;
    overflow: hidden;
    background: none !important;
    margin-top: -60px !important;
    margin-bottom: 0 !important;
    /* border: 2px solid red !important;  Removed debug border */
}
.section-divider::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0; height: 40px;
    background: linear-gradient(180deg, rgba(31,95,255,0.15) 0%, rgba(255,255,255,0.0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Removed .divider-svg path selector and fill property to allow SVG gradient */

/* Services Section - Cleaned Up */
.services-modern-section {
    padding-top: 2rem !important;
    padding: 3rem 0;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin-top: 0 !important;
    margin-bottom: 3.5rem;
}

.services-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/services_background.jpg') center/cover;
    opacity: 0.05;
    z-index: -1;
}

.services-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.services-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.services-header p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-modern-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.service-modern-icon {
    width: 60px;
    height: 60px;
    background: none !important;
    border: 2.5px solid var(--primary-color) !important;
    box-shadow: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
}

.service-modern-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary-color) !important;
    fill: none !important;
    background: none !important;
    z-index: 1;
    position: relative;
}

.service-modern-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.service-modern-card p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-modern-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-modern-btn:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

/* Why Choose Us Section - One Row Layout */
.why-choose-section {
    padding: 2rem 0;
    background: var(--bg-white);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.why-choose-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-lg);
    background: var(--bg-white);
    transition: var(--transition);
    border: 1px solid rgba(31, 95, 255, 0.1);
    box-shadow: 0 8px 25px rgba(31, 95, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(31, 95, 255, 0.3), rgba(59, 130, 246, 0.3));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(31, 95, 255, 0.12), 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: rgba(31, 95, 255, 0.2);
}

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

.why-choose-icon {
    display: none;
}

.why-choose-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary-color) !important;
    stroke-width: 2.5 !important;
    fill: none !important;
    z-index: 1;
    position: relative;
}

.why-choose-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.why-choose-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.why-choose-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    margin-top: auto;
}

/* Projects Section - Scrollable Carousel */
.projects-section-v2 {
    padding: 2rem 0;
    background: var(--bg-white);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.projects-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
    margin-right: -3rem;
    padding-right: 3rem;
}

.projects-scroll-container::-webkit-scrollbar {
    display: none;
}

.projects-grid-v2 {
    display: flex;
    gap: 1.5rem;
    min-width: max-content;
    padding: 0 1rem;
}

.project-card-v2 {
    flex: 0 0 350px;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.project-image-wrapper-v2 {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image-bg-v2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card-v2:hover .project-image-bg-v2 {
    transform: scale(1.05);
}

.project-content-v2 {
    padding: 1.5rem;
}

.project-catchy-v2 {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.project-content-v2 h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.project-location-v2 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.project-description-v2 {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.projects-cta-wrapper {
    text-align: center;
    margin-top: 2rem;
}

/* Approach Section - Background Image with Overlay */
.approach-section {
    padding: 4rem 0 3rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), 
                url('../images/approach-background-homepage.jpg') center/cover no-repeat;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.approach-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-text {
    order: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.approach-image {
    order: 2;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.approach-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.approach-timeline {
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98);
}

.timeline-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
}

.timeline-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: rgba(31,95,255,0.08);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Team Section - Subtle Background with Curves */
.team-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(31, 95, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.02) 0%, transparent 50%);
    z-index: 0;
}

.team-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: none;
    z-index: 0;
    pointer-events: none;
}

.team-section .team-curve-svg {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 70px;
    z-index: 1;
    pointer-events: none;
    display: block;
}

.team-section .container {
    position: relative;
    z-index: 1;
}

.team-section .section-header {
    color: var(--text-dark);
}

.team-section .section-header h2 {
    font-family: 'Belleza', serif;
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-shadow: none;
}

.team-section .section-header p {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: none;
}

/* Team Carousel with Navigation */
.team-carousel-container {
    position: relative;
    margin: 2rem 0;
}

.team-carousel {
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: stretch;
    flex-wrap: nowrap !important;
    width: 100%;
    min-height: 350px;
}

/* Force horizontal layout for team cards */
.team-carousel .team-card {
    display: inline-block !important;
    vertical-align: top !important;
}

.team-carousel::-webkit-scrollbar {
    display: none;
}

/* Team Carousel Navigation Arrows */
.team-nav-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
}

.team-nav-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: var(--shadow-md);
}

.team-nav-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.team-nav-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.team-nav-arrow:hover svg {
    stroke: white;
}

.team-nav-arrow.prev {
    margin-left: -25px;
}

.team-nav-arrow.next {
    margin-right: -25px;
}

.team-card {
    flex: 0 0 320px !important;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.5rem 2rem;
    text-align: center;
    width: 320px !important;
    max-width: 320px !important;
    min-width: 320px !important;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: var(--transition);
    overflow-wrap: break-word;
    word-break: break-word;
    position: relative;
    border-left: 4px solid var(--primary-color);
    flex-shrink: 0 !important;
}

/* Removed decorative elements to match About page design */

/* Hide team card images - names only */
.team-card img {
    display: none;
}

/* Add visual elements to team cards */
.team-card::before {
    content: '◆';
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
    opacity: 0.9;
    font-weight: bold;
}

.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0 var(--border-radius-lg) 0 50px;
    opacity: 0.1;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.team-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.team-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.team-position {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-experience {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    font-family: 'IBM Plex Sans', sans-serif;
}

.team-description {
    color: var(--text-light);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 2rem 0;
    background: rgba(255,255,255,0.7);
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/contact-hero-banner.jpg') center/cover;
    opacity: 0.25;
    z-index: 0;
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonials-section .section-header {
    color: var(--text-dark);
}

.testimonials-section .section-header h2,
.testimonials-section .section-header p {
    color: var(--text-dark);
}

.testimonials-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 350px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 1);
}

.testimonial-quote {
    margin-bottom: 1.5rem;
}

.testimonial-quote p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.organization {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Final Banner */
.final-banner {
    position: relative;
    min-height: 220px;
    padding: 3.5rem 0 3.5rem 0;
    background: #e3edfa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.final-banner::after {
    content: '';
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" viewBox="0 0 1440 220" fill="none" xmlns="http://www.w3.org/2000/svg"><ellipse cx="1200" cy="60" rx="180" ry="60" fill="%231F5FFF" fill-opacity="0.06"/><ellipse cx="300" cy="180" rx="220" ry="40" fill="%231F5FFF" fill-opacity="0.05"/></svg>') no-repeat center/cover;
    z-index: 1;
    pointer-events: none;
}
.final-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.final-banner-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}
.final-banner-underline {
    width: 80px;
    height: 6px;
    background: #FFD600;
    border-radius: 3px;
    margin: 0.7rem auto 1.2rem auto;
    box-shadow: 0 2px 8px 0 rgba(255,214,0,0.12);
}
.final-banner-content p {
    font-size: 1.18rem;
    color: #1F5FFF;
    margin-bottom: 1.7rem;
}
.btn-accent {
    background: var(--primary-color);
    color: #fff;
    font-weight: 800;
    border: none;
    font-size: 1.22rem;
    padding: 1.15rem 2.8rem;
    border-radius: 32px;
    box-shadow: 0 4px 16px 0 rgba(31,95,255,0.13);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-accent:hover {
    background: #FFD600;
    color: var(--primary-color);
    box-shadow: 0 6px 24px 0 rgba(31,95,255,0.18);
}
@media (max-width: 700px) {
    .final-banner-content h2 { font-size: 1.5rem; }
    .final-banner-content p { font-size: 1rem; }
    .btn-accent { font-size: 1rem; padding: 0.9rem 1.5rem; }
    .final-banner-underline { width: 50px; height: 4px; }
    .final-banner { padding: 2rem 0; }
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--text-white);
    padding: 1.5rem 0;
    margin-top: 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-white);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

/* Page Hero Styles */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Contact Page Hero Override - No Blue Overlay */
body:has(.contact-modern-section) .page-hero {
    background: none;
    color: var(--text-dark);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/contact-hero-banner.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

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

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.page-hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Page Styles */
.services-page-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.services-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card-page {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 95, 255, 0.8), rgba(37, 99, 235, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.service-card-page:hover .service-overlay {
    opacity: 1;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-content-page {
    padding: 2rem;
}

.service-content-page h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-content-page p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Process Section */
.process-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

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

.process-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    background: var(--bg-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.process-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.process-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.process-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.process-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

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

.benefit-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background-color: var(--text-white);
    color: var(--primary-color);
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cta-section .btn-primary:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Responsive Design */
/* Mobile Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.75rem; /* larger hit area */
    background: none;
    border: none;
    position: relative;
    z-index: 10060; /* above navbar */
    pointer-events: auto;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    pointer-events: none; /* ensure clicks go to button */
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

@media (max-width: 768px) {
    .contact-ribbon {
        display: block !important;
        font-size: 0.8rem;
        padding: 6px 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10060;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
        color: var(--text-white) !important;
    }
    
    .contact-ribbon-inner {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    body {
        padding-top: 0;
    }
    
    .navbar {
        top: 32px;
        padding: 1rem 2rem;
    }
    
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-brand .logo {
        height: 42px;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1002;
    }
    
    .nav-menu {
        display: none !important;
        position: fixed;
        top: 0;
        right: 0;
        left: auto !important;
        width: 55%;
        height: 100vh;
        background: #e8f2ff !important;
        flex-direction: column;
        gap: 0;
        padding: 5rem 2.5rem 2rem;
        z-index: 1000;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        display: flex !important;
        z-index: 10055 !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateX(0) !important;
        right: 0 !important;
        left: auto !important;
    }
    
    /* Ensure all nav items are left-aligned in mobile menu */
    .nav-menu .nav-link,
    .nav-menu .nav-dropdown .nav-link {
        margin-left: 0 !important;
        padding-left: 0 !important;
        text-indent: 0 !important;
        text-align: left !important;
    }
    
    .nav-menu.active .nav-link {
        padding: 1.2rem 0;
        font-size: 1.1rem;
        font-family: 'Belleza', serif;
        font-weight: 500;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        width: 100%;
        text-align: left;
        color: var(--text-dark);
        margin-left: 0;
        display: block;
    }
    
    .nav-menu.active .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-menu.active .nav-link:hover {
        color: var(--primary-color);
    }
    
    /* Force alignment of all nav items including Services - both active and inactive states */
    .nav-menu.active .nav-link,
    .nav-menu.active .nav-dropdown .nav-link,
    .nav-menu .nav-link,
    .nav-menu .nav-dropdown .nav-link {
        margin-left: 0 !important;
        padding-left: 0 !important;
        text-indent: 0 !important;
        text-align: left !important;
    }
    
    /* Services dropdown in mobile menu - proper alignment */
    .nav-menu.active .nav-dropdown .nav-link {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        margin-left: 0;
        padding-left: 0;
        padding: 1.2rem 0;
        font-size: 1.1rem;
        font-family: 'Belleza', serif;
        font-weight: 500;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        width: 100%;
        color: var(--text-dark);
        text-indent: 0;
    }
    
    .nav-menu.active .nav-dropdown .nav-link::after {
        content: "▼";
        font-size: 0.8rem;
        color: var(--primary-color);
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active .nav-dropdown.active .nav-link::after {
        transform: rotate(180deg);
    }
    
    /* Services submenu - initially hidden, proper hierarchy */
    .nav-menu.active .dropdown-content {
        display: none !important;
        padding: 0.5rem 0 0 0;
        margin-top: 0;
        background: transparent;
        border-radius: 0;
        margin-bottom: 0;
    }
    
    .nav-menu.active .nav-dropdown.active .dropdown-content {
        display: block !important;
    }
    
    .nav-menu.active .dropdown-content a {
        display: block;
        padding: 0.6rem 0 0.6rem 1.5rem;
        font-size: 0.9rem;
        color: var(--text-dark);
        text-decoration: none;
        border-bottom: none;
        text-transform: none;
        font-weight: 400;
        line-height: 1.4;
        margin: 0;
    }
    
    .nav-menu.active .dropdown-content a:last-child {
        border-bottom: none;
        padding-bottom: 0.6rem;
    }
    
    .nav-menu.active .dropdown-content a:hover {
        color: var(--primary-color);
        background: transparent;
    }
    
    /* REMOVED OLD NAV-TOGGLE DISPLAY RULE */
    
    .hero-title {
        font-size: 2.25rem; /* Adjusted for mobile */
    }
    
    .hero-tagline {
        font-size: 1rem; /* Adjusted for mobile */
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .carousel-controls {
        padding: 0 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-stats-overlay-v2 {
        bottom: 5%; /* lowered by 15% on mobile */
        width: 95%;
        left: 50%;
        transform: translateX(-50%);
        padding: 0.3rem;
    }
    
    .stats-section-inner-v2 {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on mobile */
        gap: 0.1rem;
        padding: 0.2rem;
    }
    
    .stat-card-v2 {
        min-width: 40px;
        padding: 0.2rem 0.1rem;
        font-size: 0.5rem;
    }
    
    .stat-number-v2 {
        font-size: 0.8rem !important; /* Much smaller on mobile */
        line-height: 0.9 !important;
        margin-bottom: 0.05rem !important;
    }
    
    .stat-label-v2 {
        font-size: 0.4rem !important;
        line-height: 1.0 !important;
    }
    
    .services-modern-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 1rem;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 1rem;
    }
    
    .projects-grid-v2 {
        gap: 1rem;
    }
    
    .approach-flex {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .approach-text {
        padding: 1rem;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .approach-text h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .approach-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .approach-image {
        padding: 1.5rem;
    }
    
    .timeline-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .timeline-item h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .timeline-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .team-carousel {
        gap: 1rem;
    }
    
    .team-card {
        min-height: 350px;
        padding: 2rem 1.5rem 1.5rem 1.5rem;
    }
    
    .team-section .section-header h2 {
        font-size: 2.4rem;
    }
    
    .team-section .section-header p {
        font-size: 1rem;
    }
    
    .testimonials-carousel {
        gap: 1rem;
    }
    
    .final-banner-content h2 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-stats-overlay-v2 {
        bottom: 5%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .stats-section-inner-v2 {
        grid-template-columns: repeat(4, 1fr);
        padding: 0.6rem;
        gap: 0.3rem;
    }
    
    .stat-card-v2 {
        min-width: 50px;
        padding: 0.5rem 0.2rem;
        font-size: 0.7rem;
    }
    
    .stat-number-v2 {
        font-size: 1.2rem;
        line-height: 1.0;
        margin-bottom: 0.1rem;
    }
    
    .stat-label-v2 {
        font-size: 0.6rem;
        line-height: 1.1;
    }
    
    .service-modern-card,
    .why-choose-card,
    .project-card-v2 {
        padding: 1.5rem;
    }
    
    .service-modern-card h3,
    .why-choose-card h3,
    .project-card-v2 h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .service-modern-card p,
    .why-choose-card p,
    .project-card-v2 p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .final-banner-content h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    /* Adjust page hero padding for mobile to prevent header overlap */
    .page-hero {
        padding: 4rem 0 3rem; /* Reduced from 6rem 0 4rem for mobile */
    }
    
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .page-hero-content p {
        font-size: 1rem;
    }
    
    .services-grid-page {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    /* Mobile touch improvements */
    .btn {
        min-height: 44px; /* Minimum touch target size */
        padding: 12px 20px;
    }
    
    
    /* Improve mobile scrolling */
    .projects-scroll-container,
    .team-carousel,
    .testimonials-carousel {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Better mobile spacing */
    .services-modern-section,
    .why-choose-section,
    .projects-section-v2,
    .approach-section,
    .team-section,
    .testimonials-section,
    .final-banner {
        margin-top: 2.5rem;
        margin-bottom: 2.5rem;
    }
}

/* .divider-svg path {
    fill: #e3edfa !important;  -- Commented out to allow SVG gradient
} */

/* Add extra spacing between major homepage sections */
.services-modern-section,
.why-choose-section,
.projects-section-v2,
.approach-section,
.team-section,
.testimonials-section,
.final-banner {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
}

/* Ensure hero, stats, and CTA text is readable and not overlapping */
.hero-title, .hero-tagline, .hero-buttons .btn, .hero-buttons a.btn {
    text-shadow: 2px 2px 16px rgba(0,0,0,0.95), 0 1px 2px rgba(0,0,0,0.7) !important;
}

.final-banner-content h2, .final-banner-content p, .cta-content h2, .cta-content p {
    text-shadow: 1px 1px 8px rgba(0,0,0,0.25);
}

/* Remove any unnecessary backgrounds or overlays from hero text */
.hero-content-bg {
    display: none !important;
    background: none !important;
}

/* Service Detail Page Styles */
.service-detail {
    /* Enhanced typography and spacing */
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Enhanced Service Hero Section */
.service-detail .service-hero {
    min-height: 75vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    overflow: hidden;
}

.service-detail .service-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.3) 50%, 
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

.service-detail .service-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: transparent;
    z-index: 2;
}

.service-detail .service-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    opacity: 1;
    transform: translateY(0);
}

.service-detail .service-hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.service-detail .service-hero-content p {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

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

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animation delays */
.animate-delay-100 { transition-delay: 0.1s; }
.animate-delay-200 { transition-delay: 0.2s; }
.animate-delay-300 { transition-delay: 0.3s; }
.animate-delay-400 { transition-delay: 0.4s; }
.animate-delay-500 { transition-delay: 0.5s; }

/* Responsive improvements for hero section */
@media (max-width: 1200px) {
    .service-detail .service-hero {
        min-height: 70vh;
        padding: 4rem 0;
    }
    
    .service-detail .service-hero-content h1 {
        font-size: 3.5rem;
    }
    
    .service-detail .service-hero-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .service-detail .service-hero {
        min-height: 65vh;
        padding: 3rem 0;
        background-attachment: scroll;
    }
    
    .service-detail .service-hero-content {
        padding: 0 1.5rem;
    }
    
    .service-detail .service-hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .service-detail .service-hero-content p {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .service-detail .service-hero {
        min-height: 60vh;
        padding: 2.5rem 0;
    }
    
    .service-detail .service-hero-content {
        padding: 0 1rem;
    }
    
    .service-detail .service-hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
    
    .service-detail .service-hero-content p {
        font-size: 1rem;
    }
}

/* Section Headers with White Subheadings */
.service-detail .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.service-detail .section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.service-detail .section-header p {
    font-size: 1.25rem;
    font-weight: 400;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(31,95,255,0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Enhanced Why Choose Section */
.service-detail .why-choose-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e3edfa 50%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.service-detail .why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(31,95,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.service-detail .why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}
@media (max-width: 900px) {
    .service-detail .why-choose-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .service-detail .why-choose-card {
        padding: 1rem !important;
        font-size: 0.85rem !important;
    }
    
    .service-detail .why-choose-card h3 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
}

/* FORCE 2x2 layout on mobile - higher specificity */
@media screen and (max-width: 768px) {
    .service-detail .why-choose-section .why-choose-grid,
    .why-choose-section .why-choose-grid,
    .service-detail .why-choose-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 0.8rem !important;
        margin-top: 2rem !important;
        width: 100% !important;
    }
    
    .service-detail .why-choose-card,
    .why-choose-section .why-choose-card {
        padding: 0.8rem !important;
        font-size: 0.75rem !important;
        border-radius: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .service-detail .why-choose-card h3,
    .why-choose-section .why-choose-card h3 {
        font-size: 0.9rem !important;
        margin-bottom: 0.3rem !important;
        line-height: 1.2 !important;
    }
}

/* FORCE 2x2 layout on very small mobile screens */
@media screen and (max-width: 480px) {
    .service-detail .why-choose-section .why-choose-grid,
    .why-choose-section .why-choose-grid,
    .service-detail .why-choose-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 0.6rem !important;
        width: 100% !important;
    }
    
    .service-detail .why-choose-card,
    .why-choose-section .why-choose-card {
        padding: 0.6rem !important;
        font-size: 0.7rem !important;
        width: 100% !important;
    }
    
    .service-detail .why-choose-card h3,
    .why-choose-section .why-choose-card h3 {
        font-size: 0.85rem !important;
    }
}

.service-detail .why-choose-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    padding: 2rem 1.5rem 1.8rem 1.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(31,95,255,0.08);
    text-align: center;
    border: 1px solid rgba(31,95,255,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-detail .why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-detail .why-choose-card:hover {
    box-shadow: 0 24px 64px rgba(31,95,255,0.15);
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(31,95,255,0.25);
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

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

.service-detail .why-choose-icon {
    display: none;
}

.service-detail .why-choose-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-detail .why-choose-card:hover .why-choose-icon {
    background: linear-gradient(135deg, rgba(31,95,255,0.18), rgba(31,95,255,0.1));
    border-color: rgba(31,95,255,0.2);
}

.service-detail .why-choose-card:hover .why-choose-icon::before {
    opacity: 0.3;
}

.service-detail .why-choose-icon img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    object-fit: contain;
}

.service-detail .why-choose-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.service-detail .why-choose-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* About Page Layout */
.about-page-container {
    padding: 2rem 0;
}

.about-hero-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-hero-image {
    flex: 0 0 40%;
    text-align: left;
}

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

.about-hero-text {
    flex: 1;
}

.about-hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-hero-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* About Page Team Section */
.team-section {
    margin: 4rem 0;
}

/* Force team cards into single row */
.team-section .team-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
}

/* About Page Team Cards Row */
.team-cards-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 2rem !important;
    padding: 1rem 0 !important;
    justify-content: flex-start !important;
}

.team-cards-row .team-card {
    flex: 0 0 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    padding: 1rem 0;
    width: 100%;
}

.team-card {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-image {
    margin-bottom: 1.5rem;
}

.team-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
}

.team-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .about-hero-row {
        flex-direction: column;
        gap: 2rem;
        margin-top: 1rem; /* Add top margin for mobile to prevent overlap */
        margin-bottom: 3rem; /* Reduce bottom margin for mobile */
    }
    
    .about-hero-image {
        flex: none;
        text-align: center;
    }
    
    .about-hero-text h1 {
        font-size: 2rem;
    }
    
    .team-grid {
        flex-wrap: nowrap !important;
        justify-content: flex-start;
        overflow-x: auto;
    }
    
    .team-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
}

/* About List Grid */
.about-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem 2.5rem;
  margin: 2rem 0 0 0;
  padding: 0;
  list-style: none;
}
.about-list-grid li {
  background: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 1rem 1.2rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1.08rem;
  box-shadow: var(--shadow-sm);
}

/* Philosophy Cards Row */
.philosophy-section {
  margin: 3rem 0;
  text-align: center;
}
.philosophy-cards-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.philosophy-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 25px rgba(31, 95, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  border: 1px solid rgba(31, 95, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(31, 95, 255, 0.3), rgba(59, 130, 246, 0.3));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.philosophy-card:hover {
  box-shadow: 0 15px 35px rgba(31, 95, 255, 0.12), 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-8px);
  border-color: rgba(31, 95, 255, 0.2);
}
.philosophy-card:hover::before {
  transform: scaleX(1);
}
.philosophy-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.philosophy-card h3 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}
.philosophy-card p {
    color: var(--text-light);
    font-size: 0.97rem;
    line-height: 1.5;
    font-family: 'Open Sans', sans-serif;
}
@media (max-width: 900px) {
  .philosophy-cards-row {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .philosophy-card {
    width: 100%;
    max-width: 350px;
  }
}

/* Foundation Cards Row */
.foundation-cards-row {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.foundation-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 25px rgba(31, 95, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1.2rem;
  flex: 1 1 300px;
  min-width: 220px;
  border: 1px solid rgba(31, 95, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.foundation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(31, 95, 255, 0.3), rgba(59, 130, 246, 0.3));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.foundation-card:hover {
  box-shadow: 0 15px 35px rgba(31, 95, 255, 0.12), 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
  border-color: rgba(31, 95, 255, 0.2);
}
.foundation-card:hover::before {
  transform: scaleX(1);
}
.foundation-card h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.foundation-card p {
    color: var(--text-light);
    font-size: 1.02rem;
    line-height: 1.5;
    font-family: 'Open Sans', sans-serif;
}
@media (max-width: 900px) {
  .foundation-cards-row {
    flex-direction: column;
    gap: 1.2rem;
  }
}

/* Modern Contact Page Styles */
.contact-modern-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.contact-modern-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-modern {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.contact-form-header h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-form-header p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
}

.form-group-modern label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-white);
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(31, 95, 255, 0.1);
}

.form-row-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.modern-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
}

.modern-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(31, 95, 255, 0.4);
}

.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-header h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-info-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.contact-cards-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card-modern {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-icon-modern {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-card-content h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card-content p {
    color: var(--text-gray);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-card-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

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

.contact-time {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.contact-cta-modern {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: left;
}

.contact-cta-modern h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-benefits-modern {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-benefits-modern li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.contact-benefits-modern svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .contact-modern-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-modern {
        padding: 2rem;
    }
    
    .form-row-modern {
        grid-template-columns: 1fr;
    }
    
    .contact-form-header h2,
    .contact-info-header h2 {
        font-size: 1.8rem;
    }
}

/* About Contact Banner */
.about-contact-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.contact-banner-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.contact-banner-icon {
  font-size: 2.2rem;
  background: var(--bg-white);
  color: var(--primary-color);
  border-radius: 50%;
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  margin-right: 1rem;
}
.about-contact-banner h2 {
  color: var(--text-white);
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  font-weight: 700;
}
.about-contact-banner a {
  color: var(--text-white);
  text-decoration: underline;
  font-weight: 500;
}
.about-contact-banner a:hover {
  text-decoration: none;
}
@media (max-width: 600px) {
  .about-contact-banner {
    padding: 1.2rem 0.7rem;
    max-width: 100%;
  }
  .contact-banner-content {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .contact-banner-icon {
    margin-right: 0;
    margin-bottom: 0.7rem;
  }
}

/* --- Creative Contact Banner for About Page --- */
.creative-contact-banner {
  background: linear-gradient(135deg, #1F5FFF 0%, #3B82F6 100%);
  color: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(31, 41, 55, 0.15), 0 1.5px 4px rgba(0,0,0,0.12);
  padding: 2.5rem 2rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.creative-contact-banner-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
}
.creative-contact-banner-icon-col {
  flex: 0 0 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-banner-main-icon {
  display: block;
  background: none;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(31,95,255,0.18);
}
.creative-contact-banner-content-col {
  flex: 1 1 0%;
}
.creative-contact-banner-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: #fff;
  letter-spacing: 0.01em;
}
.creative-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.creative-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  font-size: 1.13rem;
  color: #fff;
}
.creative-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  margin-right: 0.5rem;
  box-shadow: 0 2px 8px rgba(31,95,255,0.10);
}
.creative-contact-icon svg {
  display: block;
  margin: auto;
}
.creative-contact-list a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
.creative-contact-list a:hover {
  color: #e3edfa;
  text-decoration: none;
}
@media (max-width: 700px) {
  .creative-contact-banner-inner {
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
  }
  .creative-contact-banner {
    padding: 1.2rem 0.7rem;
    max-width: 100%;
  }
  .creative-contact-banner-title {
    font-size: 1.2rem;
  }
  .creative-contact-list li {
    font-size: 1rem;
  }
}

/* Matrix Layout for Core Services */
.core-services-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .core-services-matrix {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, auto);
        max-width: 900px;
    }
}

@media (max-width: 900px) {
    .core-services-matrix {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(9, auto);
        max-width: 500px;
        gap: 1.5rem;
    }
}

.matrix-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card {
    background: white;
    padding: 1.5rem 1.2rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    text-align: left;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(31,95,255,0.07);
    width: 100%;
    height: 100%;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(31,95,255,0.1);
    border-color: rgba(31,95,255,0.2);
    transition: all 0.2s ease;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.service-image {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
}

/* Deliverables Section Styling */
.deliverables-scroll {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 2rem;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.deliverables-scroll .deliverable-card {
  min-width: 280px;
  max-width: 320px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(31, 95, 255, 0.1);
}

.deliverables-scroll .deliverable-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(31, 95, 255, 0.2);
}

.deliverable-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(31, 95, 255, 0.12), rgba(31, 95, 255, 0.06));
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(31, 95, 255, 0.15);
}

.deliverable-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.deliverable-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
  font-family: 'Belleza', serif;
}

.deliverable-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

@media (max-width: 768px) {
  .deliverables-scroll {
    gap: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .deliverables-scroll .deliverable-card {
    min-width: 260px;
    max-width: 300px;
    padding: 1.5rem;
  }
  
  .deliverable-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .deliverable-card p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .deliverable-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    padding: 12px;
  }
}

@media (max-width: 600px) {
  .deliverables-scroll .deliverable-card {
    min-width: 240px;
    max-width: 280px;
    padding: 1.2rem;
  }
  
  .deliverable-card h3 {
    font-size: 1rem;
  }
  
  .deliverable-card p {
    font-size: 0.85rem;
  }
}

/* CTA Section Styling */
.service-cta-section {
  background: linear-gradient(135deg, #1F5FFF 0%, #3B82F6 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.service-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/images/hero2.jpg') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: white;
  color: #1F5FFF;
}

.btn-primary:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #1F5FFF;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cta-text h2 {
    font-size: 2rem;
  }
  .cta-text p {
    font-size: 1rem;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-buttons .btn {
    width: 200px;
  }
}

/* Core Services Section Header Styling */
.core-services-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 2rem;
}

.core-services-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.core-services-section .section-header p {
  font-size: 1.2rem;
  color: #666;
  margin: 0;
}

/* Deliverables Section Header Styling */
.deliverables-section {
  padding: 4rem 2rem;
}

.deliverables-section .section-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .deliverables-section {
    padding: 2.5rem 1rem;
  }
  
  .deliverables-section .section-header {
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .deliverables-section .section-header h2 {
    font-size: 2rem;
  }
  
  .deliverables-section .section-header p {
    font-size: 1rem;
  }
}

.deliverables-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.deliverables-section .section-header p {
  font-size: 1.2rem;
  color: white !important;
  margin: 0;
}

/* Blog Page Styles */
.blogs-page-container {
    padding: 2rem 0;
}

/* Featured Blog Section */
.featured-blog-section {
    margin-bottom: 4rem;
}

.blog-hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.blog-hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blog-hero-content {
    padding: 2rem;
}

.blog-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-hero-content h2 {
    color: var(--text-dark);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.blog-hero-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.blog-meta span {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.blog-date::before {
    content: "📅 ";
    margin-right: 0.25rem;
}

.blog-author::before {
    content: "✍️ ";
    margin-right: 0.25rem;
}

.blog-read-time::before {
    content: "⏱️ ";
    margin-right: 0.25rem;
}

/* Blog Categories Section */
.blog-categories-section {
    margin-bottom: 4rem;
}

.blog-categories-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
}

.blog-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem auto;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.category-card h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.category-count {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Recent Articles Section */
.recent-articles-section {
    margin-bottom: 4rem;
}

.recent-articles-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-content .blog-category {
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.blog-card-content h3 {
    color: var(--text-dark);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.blog-card-content p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.blog-card .blog-meta {
    gap: 1rem;
    margin-bottom: 0;
}

.blog-card .blog-meta span {
    font-size: 0.75rem;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-white);
}

.newsletter-content h2 {
    color: var(--text-white);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    outline: none;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--text-white);
    color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Image Optimization and Performance */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy loading styles */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Responsive image containers */
.image-container {
    position: relative;
    overflow: hidden;
}

.image-container::before {
    content: '';
    display: block;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile optimizations for blogs */
@media (max-width: 768px) {
    .blog-hero-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .blog-hero-image img {
        height: 250px;
    }
    
    .blog-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Performance optimizations */
* {
    box-sizing: border-box;
}

/* Reduce layout shifts */
.hero-slide {
    min-height: 780px;
}

.service-hero {
    min-height: 75vh;
}

/* Optimize animations for performance */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Critical CSS for above-the-fold content */
.hero-section, .navbar, .splash-logo {
    will-change: auto;
}

/* Projects Page Styles */
.portfolio-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    padding: 80px 0 60px;
    margin-top: 0;
    text-align: center;
}

.portfolio-hero .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.portfolio-hero .hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.projects-portfolio {
    padding: 80px 0;
    background-color: var(--bg-light);
}

/* Service Page Hero Banners */
/* Hospital Planning & Design */
body[data-page="hospital-planning"] .service-hero,
.service-detail .service-hero.hospital-planning {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/assets/images/Hospital Planning & Design.jpg');
}

/* Hospital Equipment Planning */
body[data-page="equipment"] .service-hero,
.service-detail .service-hero.equipment {
    background-image: url('/assets/images/Hospital Equipment Planning.jpg');
    position: relative;
}

/* Glass effect overlay for Hospital Equipment Planning */
body[data-page="equipment"] .service-hero::before,
.service-detail .service-hero.equipment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1;
}

/* Ensure content appears above glass overlay */
body[data-page="equipment"] .service-hero .hero-content,
.service-detail .service-hero.equipment .hero-content {
    position: relative;
    z-index: 2;
}

/* Quality and Accreditation */
body[data-page="quality"] .service-hero,
.service-detail .service-hero.quality {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('/assets/images/Quality and Accreditation.jpg');
}

/* Health Training */
body[data-page="training"] .service-hero,
.service-detail .service-hero.training {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('/assets/images/Health Training.jpg');
}

/* Hospital Operations */
body[data-page="operations"] .service-hero,
.service-detail .service-hero.operations {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/assets/images/Hospital Operations.jpg');
}

/* Medical Tourism */
body[data-page="tourism"] .service-hero,
.service-detail .service-hero.tourism {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/assets/images/Medical Tourism.jpg');
}

/* Common hero styles for all service pages */
.service-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.service-hero h1 {
    color: var(--text-white);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Projects Page Styles */
.portfolio-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/assets/images/background service.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-white);
    padding: 120px 0 60px; /* More top padding to account for fixed header */
    margin-top: -32px; /* Negative margin to remove white space */
    text-align: center;
    position: relative;
}

.portfolio-hero .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.portfolio-hero .hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.projects-portfolio {
    padding: 80px 0;
    background-color: var(--bg-light);
}

/* Ensure all project showcases have equal heights */
.projects-portfolio .container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.projects-portfolio .project-showcase {
    min-height: auto;
    height: auto;
}

/* Project Showcase Styles - Fix Content Overflow */
.project-showcase {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    align-items: start;
    flex: 1;
}

/* Project Title Section */
.project-title {
    padding: 2rem 2rem 1rem 2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    margin-bottom: 0;
}

.project-title h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.project-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Project Content Container */
.project-content {
    background: var(--bg-white);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    overflow: visible;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
}

.project-details {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: visible;
    height: auto;
    padding: 2rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-content: start;
    height: auto;
    overflow: visible;
    flex: 0 0 auto;
    margin-bottom: 1.5rem;
}

.detail-item {
    background: var(--bg-light);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: visible;
}

.detail-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Project Images Section */
.project-images {
    padding: 0 2rem;
    margin-bottom: 1.5rem;
}

/* Image Carousel Styles */
.image-carousel {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--bg-light);
    height: 300px;
    flex: 1;
}

.carousel-container {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.carousel-container img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: white;
    transform: scale(1.2);
}

/* Responsive Design for Projects */
@media (max-width: 768px) {
    .project-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .image-carousel {
        height: 250px;
    }
}

/* End of Blog Page and Performance Styles */

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, 
        rgba(31, 95, 255, 0.9) 0%, 
        rgba(59, 130, 246, 0.85) 50%, 
        rgba(37, 99, 235, 0.9) 100%
    ), url('/assets/images/contact-hero-banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
    margin-top: -32px;
    color: var(--text-white);
    text-align: center;
}

.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-container {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-container .section-header {
    margin-bottom: 2rem;
}

.contact-form-container .section-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-form-container .section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(31, 95, 255, 0.1);
}

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

.contact-form .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item h4 {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.business-hours {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item span:first-child {
    color: var(--text-dark);
    font-weight: 500;
}

.hours-item span:last-child {
    color: var(--text-light);
    font-weight: 400;
}

.contact-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-benefits li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.contact-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Contact Page Responsive */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 60px;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
}

/* End of Contact Page Styles */

/* Enhanced Project Hero Banner Text Visibility */
.portfolio-hero .hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    position: relative !important;
    z-index: 2 !important;
    font-weight: 700 !important;
}

.portfolio-hero .hero-content p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7) !important;
    position: relative !important;
    z-index: 2 !important;
    font-weight: 400 !important;
}
