/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #f8fafc;
    padding-top: 100px;
}

body.home-page {
    padding-top: 0;
}

/* Typography - Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.3;
}
.home-page nav,
nav {
    background: rgba(15, 23, 42, 0.95) !important;
}

/* Transparent navbar for homepage only */
.home-page nav {
    background: transparent !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

.home-page nav.scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

nav.scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
}
nav, nav.scrolled {
  border-bottom: none !important;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height:90px;
    background: rgba(15, 23, 42, 0.95) !important; /* Added !important to ensure priority */
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
nav.scrolled {
    background: rgba(15, 23, 42, 0.98) !important; /* Added !important */
    padding: 0.5rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.5);
    height:80px;
}
nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height:100%;
}

.logo {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-left: -110px;
    
}

.logo:hover {
    transform: scale(1.08);
}
.logo img {
    height: 100px;
    margin-right: 12px;
    vertical-align: middle; 
    transition: all 0.3s ease;
    width: auto;
    margin-top:5px;
    
}
.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.9rem;
    font-weight: 300 !important;
    color: #ffffff !important;
    line-height: 1.1;
    margin-left: -50px;
    letter-spacing: -0.02em;
}


.logo-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #94a3b8 !important;
    font-weight: 300 !important;
    margin-top: 2px;
    letter-spacing: 0.5px;
    margin-left:-50px;
}
.nav-links ul,
.nav-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links {
    font-family: 'Inter', sans-serif;
    display: flex;
    list-style: none;
    gap: 2.5rem;
    font-size: 16px;
    font-weight: 500;
}  
.nav-links li {
    position: relative;
}
.nav-links .dropdown {
    display: none;
    position: absolute;
    top: 120%;
    left: 0;
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-radius: 12px;
    min-width: 240px;
    z-index: 1000;
    flex-direction: column;
    padding: 0.5rem 0;
    border: 1px solid rgba(59, 130, 246, 0.2);
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links .dropdown li a {
    display: block;
    padding: 0.8rem 1.5rem;
    background: rgba(15, 23, 42, 0.98) !important;
    color: #cbd5e1 !important;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 0;
    margin: 0 0.5rem;
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.2);
    overflow: hidden;
}

.nav-links .dropdown li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}
.nav-links .dropdown li a:hover::before {
    left: 100%;
}
.nav-links .dropdown li a:hover {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #60a5fa !important;
    transform: translateX(5px);
    border-radius: 8px;
}

.nav-links .dropdown li a::after {
    content: none !important;
}
.nav-links li:hover .dropdown {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
}
.nav-links a {
    color: #e2e8f0 !important; /* Force consistent link color */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    letter-spacing: 0.3px;
    font-weight: 300;
}

.nav-links a:hover {
    color: #60a5fa !important; /* Force consistent hover color */
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}
.nav-links a:hover::after {
    width: 80%;
    left: 10%;
}
.nav-dropdown a {
    text-decoration: none;
    position: relative; /* keep spacing consistent */
}
/* Remove underline for dropdown links */
.nav-dropdown a::after {
    content: none !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-combined-text {
    margin-top: 1rem;
    max-width: 900px !important;
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
}
.hero .container {
    max-width: none !important;
    padding: 0;
}
.hero-combined-text ul {
    list-style: none;
    padding-left: 0;
    font-size: 2rem;
    margin: 0.2rem 0; /* Reduced from 1rem to bring closer */
     animation: slideInLeft 1s ease-out 0.2s both;
}
.hero-combined-text li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.1rem; /* Reduced from 0.8rem to bring bullet points closer */
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
}

.hero-combined-text li::before {
    content: '•';
    color: #3b82f6;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}
.hero-combined-text p + ul {
    margin-top: 0;
}
.hero-combined-text p {
    font-size: 1.1rem !important;
    text-rendering: optimizeLegibility;
    font-kerning: normal;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center !important;
    text-justify: none !important;
    word-break: break-word !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    letter-spacing: 0.3px;
    word-spacing: normal !important;
    animation: fadeInUp 1s ease-out 0.3s both;
    max-width: none !important;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 15%,
        transparent 30%,
        transparent 50%,
        rgba(0, 0, 0, 0.6) 75%,
        rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}


/* Homepage Hero Only */
.home-page .hero-content {
    position: absolute;
    top: 70%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    color: white;
    text-align: left;
    padding: 2rem;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    border-radius: 0;
    max-width: 900px;
    width: auto;
    box-shadow: none;
}

.home-page .hero-content .hero-headline {
    font-size: 3.2rem !important;
    font-weight: 300 !important;
}

.home-page .hero-content .hero-subtitle-text {
    font-size: 0.92rem !important;
    max-width: 680px !important;
}

.home-page .hero-content .hero-cta-button {
    padding: 0.8rem 2rem !important;
    font-size: 0.84rem !important;
    border: 1.6px solid #ffffff !important;
}

/* Other Pages Hero (Services, Industries, etc.) */
.services-hero .hero-content,
.industries-hero .hero-content,
.about-hero .hero-content,
.contact-hero .hero-content {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    background: transparent;
    border-radius: 0;
    max-width: 1200px;
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

/* Restore container padding for contact hero to align with breadcrumb */
.contact-hero .hero-content.container {
    padding: 0 20px !important;
}

.hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin: 0;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: #ffffff;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-subtitle-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.7;
    color: #e2e8f0;
    margin: 0;
    max-width: 850px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta-button:hover {
    background: #ffffff;
    color: #000000 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.hero-about p {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-description p {
    font-size: 0.8rem;
    color: #ffffff;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
    font-weight: 400;
    text-align: left !important; /* Force override */
    text-justify: none !important; /* Disable justification */
    hyphens: none !important; /* Disable hyphenation */
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    letter-spacing: 0.3px;
    border-radius: 8px;
    word-spacing: normal; /* Ensure normal word spacing */
}
.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}
.hero-cta p {
    font-weight: 500;
    margin-bottom: 0;
    font-size: 0.95rem;
}
.hero-cta-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0;
    background: none;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 0;
    font-weight: 300;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: none;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    animation: fadeInUp 1s ease-out 0.5s both;
}
.hero-cta-link:hover {
    background: none;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: none;
    border-bottom: 2px solid #ffffff;
}

.hero-cta-link::after {
    content: none !important; /* Remove the underline effect */
}
.hero-content h1 {
    font-size: 3.5rem !important;
    font-weight: 300;
    color: #ffffff !important;
    animation: fadeInUp 1s ease-out 0.1s both;
    text-shadow: none;
    letter-spacing: -0.02em;
    position: relative;
    margin-bottom: 1rem;
    white-space: normal;
    padding: 0;
    width: 100%;
}



.hero-subtitle {
    display: block;
    font-size: 1.6rem;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.8rem;
    animation: slideInLeft 1s ease-out 0.2s both, subtlePulse 4s ease-in-out infinite;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}
.hero-subtitle-extended {
    font-size: 1.6rem; /* Reduced from 2.2rem */
    font-weight: 300;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease-out 0.2s both, subtlePulse 4s ease-in-out infinite;
    letter-spacing: 0.3px;
    line-height: 1.4;
    max-width: 650px;
    text-transform: none;
    text-align: left;
    margin-left: 0;
}
.hero-subtitle::before {
    position: absolute;
    left: -30px;
    color: #3b82f6;
    font-size: 1.2rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.7;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 300;
    transition: all 0.3s ease;
    animation: slideInLeft 1s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}
.cta-link {
    color: #3b82f6 !important;
    text-decoration: none;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
}
.cta-link:hover {
    color: #60a5fa !important;
    text-decoration: none;
}
.cta-link:visited {
    color: #3b82f6 !important;
}
.cta-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}
.cta-link:hover::after {
    width: 100%;
    left: 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
    transform: translateX(5px);
}




/* Fix for About page hero alignment */
.about-hero .hero-content {
    padding-right: 0 !important;
    padding-top: 100px !important;
    text-align: left !important; /* Keep container left-aligned */
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.about-hero .hero-content h1 {
    text-align: left !important; /* Title aligned left with breadcrumbs */
    margin-left: 0 !important;
    margin-right: auto !important;
    width: 100%;
}

.about-hero .hero-content p {
    text-align: center !important; /* Only the paragraph centered */
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 800px; /* Limit paragraph width for better centering */
}
.about-us {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #1e293b 75%, #0f172a 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  padding: 5rem 2rem;
  display: flex;
  align-items: center;
  min-height: auto;
  position: relative;
  overflow: hidden;
}

.about-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(148, 163, 184, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(203, 213, 225, 0.15) 0%, transparent 40%);
  pointer-events: none;
  animation: floatingBubbles 25s ease-in-out infinite;
  z-index: 1;
}

.about-us::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: 
    radial-gradient(circle, rgba(148,163,184,0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: floatPattern 50s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.about-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  background: rgba(255,255,255,0.85);
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 2;
}
.about-us-text {
    text-align: left;
    padding-right: 1rem;
}

.about-us-text h2 {
    text-align: left;
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #1e293b;
}

.about-us-text p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-us-image {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.learn-more-link:hover {
    color: #8b5cf6;
    transform: translateX(5px);
}

.learn-more-link .arrow {
    transition: transform 0.3s ease;
}

.learn-more-link:hover .arrow {
    transform: translateX(5px);
}

/* Industries section "Learn More" link style */
.industries .learn-more-link {
    color: white !important;
    font-size: 1.15rem;
}

.industries .learn-more-link:hover {
    color: #60a5fa !important;
}

/* Sections */
section {
    padding: 40px 0;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #1e293b;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-align: left;
    font-size: 1.1rem;
    color: #000000;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
}

/* Text Justification for All Homepage Content */

/* Main paragraph texts */
.about-us-text p,
.motto-text .section-description,
.services-text .section-description,
.section-description,
.why-choose-description,
.commitment-text p,
.contact-info-section p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    word-wrap: break-word;
}

/* Service cards text */
.service-card p,
.service-card-home p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    word-wrap: break-word;
    word-break: normal;
    word-spacing: normal;
    line-height: 1.6;
}

/* Industry tabs text */
.industry-tab p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    word-wrap: break-word;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer text */
.footer-section p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    word-wrap: break-word;
}



/* ========================
   Services Section
======================== */
/* Services Section */
.services {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #e2e8f0 75%, #f8fafc 100%);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.services::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(148, 163, 184, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 50% 10%, rgba(203, 213, 225, 0.25) 0%, transparent 30%);
  pointer-events: none;
  animation: floatingBubbles 25s ease-in-out infinite;
  z-index: 1;
}

.services .container {
  position: relative;
  z-index: 2;
}
/* Hero Section */
.services-hero {
    position: relative;
    height: 40vh; /* Reduced height for services page */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(30, 41, 59, 0.6)), 
                url('services/header.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.services .section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: #1e293b;
}
.services .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.breadcrumb {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    font-size: 1rem;
    margin-top: 20px;
    padding: 1rem 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);   
    color: #64748b; /* subtle text color */
}

.breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb a {
    color: #3b82f6; /* link color */
    text-decoration: none;
     position: relative;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb a:hover::after {
    width: 100%;
}
.breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.breadcrumb span {
    color: #64748b; /* current page text color */
}


.services-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0); /* adjust overlay darkness */
    z-index: 1;
}
.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(96, 165, 250, 0.08) 0%, transparent 35%);
    animation: floatingBubbles 20s ease-in-out infinite;;
}
.services-hero .hero-content {
    position: relative;
    z-index: 2;
    color: white;
}
.services-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #ffffff !important;
}

.services-hero .hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 2rem;
    position: relative;
    z-index: 2;
}
.services-hero .hero-image img {
    width: 50%; /* adjust as needed */
    border-radius: 20px;
}
.hero-image img {
    width: 100%;
    max-width: 500px; /* adjust as needed */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}
.services-hero .hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}
.services-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ffffff;
}
.services-search {
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    background: white; /* space below hero */
}

.search-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 80%;
    max-width: 1000px;
}

.search-box .search-icon {
    font-size: 1.8rem;
    color: #64748b;
}

.search-box input {
    flex: 1;
    padding: 1.5rem 1rem 1.5rem 3rem; /* bigger input, space for icon */
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}
.search-box input:focus {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}
.search-box button {
    padding: 1.5rem 2.5rem;
    font-size: 1.3rem;
    border-radius: 12px;
    background: #3b82f6;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position:relative;
}
.search-box button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.search-box button:hover::before {
    width: 300px;
    height: 300px;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

/* Services Tabs Section */
.services-tabs-section {
    background: white;
    padding: 3rem 2rem 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.service-tab {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid #cbd5e1;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.service-tab:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    transform: translateY(-2px);
}

.service-tab.active {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Service Content Tabs */
.service-content-tab {
    display: none;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

.service-content-tab.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #1e293b;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.service-intro {
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-details {
    margin-bottom: 2rem;
}

.service-details h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-details ul {
    list-style: none;
    padding-left: 0;
}

.service-details ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
}

.service-details ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.2rem;
}

.service-image-container {
    margin: 3rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

.service-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.service-image-container:hover img {
    transform: scale(1.05);
}

.service-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: none;
}

.cta-button-service {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    border: none;
    outline: none;
}

.cta-button-service:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Services alternating rows */
.service-row {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}


/* Service text - only for detail pages, not homepage */
.service-card .service-text,
.service-row .service-text {
    flex: 0 0 55%;
    max-width: 55%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Service text styles - only for detail pages, not homepage cards */
.service-card .service-text h3,
.service-row .service-text h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    margin: 0 0 0.6rem 0 !important;
    padding: 0 !important;
    font-weight: 300;
    color: #1e293b;
    letter-spacing: -0.02em;
    text-align: left !important;
}

.service-text h3 a {
    text-decoration: none;
    color: inherit;
}

.service-card .service-text p,
.service-row .service-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin: 0 0 0.6rem 0 !important;
    padding: 0 !important;
    color: #475569;
    line-height: 1.4;
    text-align: left !important;
}

.service-text ul {
    list-style: disc;
    padding-left: 1rem;
    color: #64748b;
    line-height: 1.3;
    margin: 0;
}
.service-text ul li {
    margin-bottom: 0.2rem;
    font-size: 1rem;
}
/* Service images (for detail pages, not home cards) */
.service-card .service-image,
.service-row .service-image {
    flex: 0 0 45%;
    max-width: 45%;
    width: 45%;
    height: 80%;
    text-align: center;
    overflow: hidden;
    border-radius: 12px;
    display: block;
}

.service-image img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: block;
}

.service-card:hover .service-image img {
    transform: scale(1.03);
}

/* Grid of service cards (if needed for smaller previews) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.services-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.18);
}
.services-detail {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 4rem 2rem;
    background: #f8fafc;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    gap: 3rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-bottom: 2rem;
    height: 420px;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    border: none;
}

.service-card:last-child {
    margin-bottom: 0;
}

.service-card:hover {
    transform: none;
    box-shadow: none;
}

.service-card::before {
    content: none;
}
.service-card::after {
    content: none;
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transition: left 0.6s ease;
}

.services-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 3rem auto;
  width: 100%;
  background: rgba(255,255,255,0.85);
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 2;
}
/* Reset and fix Services and Industries hero sections */
.services-hero .hero-content,
.industries-hero .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 0 !important; /* Reset any top padding */
    display: block !important; /* Reset to normal block display */
    height: auto !important; /* Reset height */
}

/* Title positioned at the top under 1/breadcrumb */
.services-hero .hero-content h1,
.industries-hero .hero-content h1 {
    font-size: 2.8rem !important;
    font-weight: 300;
    margin-top: -10px !important; /* Keep title position */
    margin-bottom: 0 !important; /* Remove bottom margin */
}

.services-hero .hero-content p,
.industries-hero .hero-content p {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
    color: #cbd5e1;
    margin-top: 20px !important; /* This now controls the gap from title to text */
    margin-bottom: 1.5rem !important;
    max-width: 700px !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.service-card h3 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 2.2rem;
    color: #1e293b;
    font-weight: 300;
    text-align: left !important;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}
.service-card h3::before {
    content: none;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-card:hover h3 {
    color: #3b82f6; /* highlight on hover */
}
.service-card:hover::after {
    left: 100%;
}
.service-card p {
    margin: 0 1rem 1.5rem 1rem;
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    text-align: left;
    position: relative;
    z-index: 1;
}

.service-card ul {
  margin-left: 4rem;         /* nudge bullet list to the right */
    list-style: none;
  padding-left: 0;           /* optional: prevent double spacing */
}
.service-card.reverse {
    flex-direction: row-reverse;
}

.service-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.service-card li {
  position: relative;
  padding-left: 1.2rem;   /* space for the arrow */
  margin-bottom: 0.4rem;
}
.service-card li::before {
 content: '→';          /* you can swap for →, ►, ▸, etc. */
  position: absolute;
  left: 0;
  color: #3b82f6;       /* arrow color, match your theme */
  font-size: 1rem;
}

/* Homepage Service Cards */
.service-card-home {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height:auto;
    position: relative;
    overflow: visible;
    text-align: center;
}
.service-card-home:hover {
    transform: translateY(-5px);
}
.service-card-home::before {
    content: none;
}
.service-card-home h3 {
    margin: 0 0 1rem 0;
    font-size: 1.15rem;
    color: #1e293b;
    font-weight: 300;
    transition: color 0.3s ease;
    line-height: 1.3;
    flex-shrink: 0; /* Keep title size consistent */
    text-align: center;
}

.service-card-home h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.service-card-home:hover h3 {
    color: #3b82f6; /* highlight on hover */
}
.service-card-home:hover h3,
.service-card-home:hover h3 a {
    color: #3b82f6;
}

.service-card-home p {
    margin: 0;
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.5;
    text-align: center;
    text-justify: none;
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    word-wrap: break-word;
    flex: 1;
    overflow: hidden;
    word-break: normal;
    word-spacing: normal;
    text-rendering: optimizeLegibility;
}
.service-card-home .service-image {
    width: 140px;
    height: 140px;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto 1rem;
    flex-shrink: 0;
    display: block;
}
.service-card-home .service-image a {
    display: block;
    width: 100%;
    height: 100%;
}
.service-card-home .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 50%;
}
.service-card-home:hover .service-image img {
    transform: scale(1.1);
}
.service-card-home .service-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Distribute content evenly */
    text-align: center;
    width: 100%;
    max-width: 100%;
}

/* Override service-text styles for homepage cards */
.service-card-home .service-text h3,
.service-card-home .service-text h3 a {
    text-align: center !important;
}

.service-card-home .service-text p {
    text-align: center !important;
}
/* Industries Section */
/* Industries Section - Enhanced with animations */
.industries {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #1e293b 75%, #0f172a 100%);
    background-size: 400% 400%;
    animation: gradientShift 25s ease infinite;
    padding: 5rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.industries::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 15%, rgba(59, 130, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 75% 85%, rgba(96, 165, 250, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(147, 197, 253, 0.08) 0%, transparent 35%);
    pointer-events: none;
    animation: floatingBubbles 30s ease-in-out infinite reverse;
    z-index: 1;
}

.industries::after {
    content: '';
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    background: 
        radial-gradient(circle, rgba(96, 165, 250, 0.08) 2px, transparent 2px),
        radial-gradient(circle, rgba(147, 197, 253, 0.12) 1px, transparent 1px);
    background-size: 120px 120px, 60px 60px;
    animation: floatPattern 55s linear infinite reverse;
    pointer-events: none;
    z-index: 1;
}

.industries .container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    padding: 0 2rem;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
}
.industries .section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: white;
}

.industries .section-description {
    text-align: center;
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 850px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    font-weight: 400;
}
/* Industries Carousel */
/* Industries Grid Layout */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 5;
}

/* First 4 items - each spans 3 columns (3 x 4 = 12) */
.industry-item:nth-child(1),
.industry-item:nth-child(2),
.industry-item:nth-child(3),
.industry-item:nth-child(4) {
    grid-column: span 3;
}

/* Last 3 items - each spans 3 columns with 1.5 column gaps on sides */
.industry-item:nth-child(5) {
    grid-column: 2 / 5;
}

.industry-item:nth-child(6) {
    grid-column: 5 / 8;
}

.industry-item:nth-child(7) {
    grid-column: 8 / 11;
}

.industry-item {
    text-align: center;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

.industry-item:hover {
    transform: translateY(-5px);
}

.industry-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.industry-icon i {
    width: 48px;
    height: 48px;
    color: #60a5fa;
}

.industry-item:hover .industry-icon {
    background: rgba(96, 165, 250, 0.2);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}

.industry-item h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.industry-item p {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}
.industries .container:hover {
    transform: none;
    box-shadow: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Why Choose Us Section */
.why-choose {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #e2e8f0 75%, #f8fafc 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    position: relative;
    color: #1e293b;
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 0;
    overflow: hidden;
}
          .why-choose::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
            pointer-events: none;
        }

.why-choose .section-title {
    color: #1e293b; /* Dark title instead of white */
    text-shadow: none; /* Remove white text shadow */
}
  .why-choose .container {
            position: relative;
            z-index: 2;
        }
.why-choose-description {
    color: #64748b !important; /* Dark description text */
    font-weight: 500px !important;
}
.stats-grid {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 0;
    margin-top: 4rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: transparent;
    padding: 2rem 1.5rem;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
    text-align: center;
    min-width: 200px;
    flex: 0 1 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 350px;
}

.stat-card::before {
    content: none;
}

.stat-card-elevated {
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: transparent;
    box-shadow: none;
}

.stat-card-elevated:hover {
    transform: translateY(-10px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.stat-icon i {
    width: 36px;
    height: 36px;
    color: #3b82f6;
}

.stat-card:hover .stat-icon {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(139, 92, 246, 0.25));
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.stat-number {
    display: block;
    font-size: 5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: #1e293b;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-description {
            font-size: 0.95rem;
            color: #cbd5e1;
            margin-top: 0.5rem;
            line-height: 1.4;
        }
        .why-choose-description {
            margin-top: 3rem;
             color: #64748b !important;
        }

/* Commitment Section */

.commitment {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #e2e8f0 75%, #f8fafc 100%);
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;
  position: relative;
  overflow: hidden;
}

.commitment::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 25% 75%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 25%, rgba(148, 163, 184, 0.3) 0%, transparent 40%);
  pointer-events: none;
  animation: pulseEffect 12s ease-in-out infinite;
  z-index: 1;
}
.commitment .section-title {
    color: white;
}
.commitment h2, .contact-info-section h2 {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}
.commitment-card, .contact-card {
    background: rgba(255,255,255,0.05);  /* subtle translucent card */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.commitment-text {
    flex: 1;
}
.commitment-text h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.commitment-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #000102;
}
.commitment-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}
.commitment-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.commitment .section-description {
    color: #cbd5e1; /* Add this for better text visibility */
}
.contact-info-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cbd5e1;
}
/* Transition element */
.section-transition {
    height: 100px;
    background: linear-gradient(to bottom, #1e293b, #0f172a);
    position: relative;
    z-index: 1;
}
.contact-info-section .container {
    display: flex;
    flex-direction: column;
    align-items: center; /* centers all children */
    text-align: center;
}
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    justify-content: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.contact-info-section {
    padding: 80px 20px;
    background: #1e293b;  /* dark navy for contrast */
    color: white;
}


.contact-info-item {
    flex: 1;
    min-width: 220px;
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.contact-info-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.contact-info-section p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-weight: 300;
}
.contact-info-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #3b82f6;
}
.contact-info-item p {
    color: #cbd5e1;
    text-align: center;
    font-size: 1rem;
}
.contact-page-button {
    display: inline-flex; /* keeps text + arrow inline */
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 2rem; /* space from grid */
}

.contact-page-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}


.contact-page-button .arrow {
    transition: transform 0.3s ease;
}
.contact-page-button:hover .arrow {
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-heading {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.cta-button-primary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

/* Footer */
/* Footer Styles */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 0 2rem;
    margin: 0;
    margin-bottom: 0 !important;
    width: 100%;
    display: block;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-column-right {
    align-items: flex-end;
    justify-content: center;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    margin-bottom: 0.3rem;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact-item i {
    width: 18px;
    height: 18px;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #60a5fa;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: static;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: fit-content;
    position: static;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.footer-nav a i {
    width: 18px;
    height: 18px;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-nav a::after {
    content: none !important;
}

.footer-nav a:hover {
    color: #60a5fa;
    transform: translateX(5px);
    background: transparent;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
    text-align: right;
    line-height: 1.6;
}

.footer-contact h3 {
    color: #3b82f6;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.footer-section h4 {
    color: #3b82f6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
/* Industries Section Layout */
.industries-container {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.carousel-column {
    flex: 1.2; /* Give more space to carousel */
    min-width: 0; /* Prevent flex item from overflowing */
}

.info-column {
    flex: 0.8; /* Give less space to text content */
    min-width: 0; /* Prevent flex item from overflowing */
}
.industries-hero {
    position: relative;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.7)), 
                url('industries2/industries.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.industries-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(96, 165, 250, 0.12) 0%, transparent 45%);
    animation: floatingBubbles 25s ease-in-out infinite;
}

.industries-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
blockquote {
    font-style: italic;
    font-weight: 600;
    color: #3b82f6 !important;
    border-left: 5px solid;
    border-image: linear-gradient(to bottom, #3b82f6, #8b5cf6) 1;
    padding-left: 1.5rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    padding: 1.5rem;
    border-radius: 0 15px 15px 0;
    font-size: 1.15rem;
    line-height: 1.6;
    position: relative;
}
blockquote::before {
    content: '"';
    font-size: 4rem;
    color: rgba(59, 130, 246, 0.2);
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: serif;
}

.about-card.reverse blockquote {
    border-left: none;
    border-right: 4px solid #3b82f6;
    padding-left: 0;
    padding-right: 1.5rem;
}
.values-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.founder-profile {
    margin-top: 1.5rem;
}
.founder-profile h4 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 0.3rem;
    font-weight: 800;
}

.founder-title {
    color: #3b82f6 !important;
    font-weight: 600 !important;
    margin-bottom: 1.5rem !important;
    font-size: 1rem !important;
}
.founder-credentials {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.credential {
    background: #eff6ff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border-color: #dbeafe;
    font-size: 0.85rem;
    color: #1e40af;
}
.founder-education,
.founder-credentials,
.founder-associations {
    margin-top: 1.5rem;
}
#team.about-card {
    min-height: 320px; /* Only affects the founder card */
}

#team .about-image {
    max-width: 300px; /* Only affects founder image */
    width: 300px;
    height: 360px;
}

#team .founder-profile {
    margin-top: 1rem;
}

#team .founder-profile h4 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

#team .founder-title {
    margin-bottom: 1rem !important;
}

#team .founder-education,
#team .founder-credentials,
#team .founder-associations {
    margin-top: 1rem;
}

#team .education-item,
#team .credential,
#team .association {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}
.founder-education h5,
.founder-credentials h5,
.founder-associations h5 {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.education-items,
.credential-items,
.association-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.education-item,
.credential,
.association {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    color: #1e293b;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}
.education-item:hover,
.credential:hover,
.association:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
}

.association {
    background: #f0fdf4;
    border-color: #dcfce7;
    color: #166534;
}

.industries-hero .hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.industries-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
       text-align: left !important;
    text-justify: none !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
}

.industries-hero .hero-content p {
    text-align: justify;
    text-justify: inter-word;
    word-break: break-all;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    width: 100%;
}
/* Industries Search Section */
.industries-search {
    padding: 3rem 1rem;
    display: flex;
    justify-content: center;
    background: white;
}
.associations-section {
    background: #f8fafc;
    padding: 3rem 0;
    border-top: 1px solid #e5e7eb;
}

.associations-section h3 {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.associations-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem; /* Increased from 3rem */
    flex-wrap: wrap;
    max-width: 1200px; /* Add container width for better spacing */
    margin: 0 auto;
}
.association-logo {
    opacity: 1;
    transition: all 0.3s ease;
}

.association-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.association-logo img {
    height: 80px; /* Increased from 60px */
    width: auto;
    transition: filter 0.3s ease;
}

/* Industries Detail Section */
.industries-detail {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 4rem 2rem;
    background: #f8fafc;
    max-width: 1200px;
    margin: 0 auto;
}

.industry-card {
    display: flex;
    gap: 3rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-bottom: 3rem;
    height: 420px;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    border: none;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.industry-card:last-child {
    margin-bottom: 0;
}

.industry-card:hover {
    transform: none;
    box-shadow: none;
}

.industry-card::before {
    content: none;
}

.industry-card::after {
    content: none;
}

.industry-card.reverse {
    flex-direction: row-reverse;
}

.industry-text {
    flex: 0 0 55%;
    max-width: 55%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.industry-card.reverse .industry-text ul li {
    text-align: right; /* Right-align the text */
    padding-right: 0.5rem; /* Add some space on the right */
}
.industry-card.reverse .industry-text ul {
    list-style-position: inside; /* Move bullets inside text flow */
    padding-left: 0; /* Remove default padding */
    text-align: right; /* Align everything to the right */
}
.industry-text h3 {
    margin: 0 0 0 70px !important;
    padding: 0 !important;
    font-size: 2.2rem;
    color: #1e293b;
    font-weight: 300;
    text-align: left !important;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.industry-text h3::before {
    content: '';
    position: absolute;
    left: -70px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.industry-text h3::after {
    content: none;
}

/* Individual industry icon colors */
#oil-gas .industry-text h3::before {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

#infrastructure .industry-text h3::before {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

#power-water .industry-text h3::before {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

#energy .industry-text h3::before {
    background: linear-gradient(135deg, #10b981, #059669);
}

#Healthcare .industry-text h3::before {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

#mining .industry-text h3::before {
    background: linear-gradient(135deg, #78716c, #57534e);
}

#marine .industry-text h3::before {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.industry-card:hover h3 {
    color: #3b82f6;
}

.industry-text p {
    margin: 0 1rem 1.5rem 70px;
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    text-align: left;
    position: relative;
    z-index: 1;
}
.industry-text ul {
    list-style: none;
    padding: 0;
     margin-left: 2rem; 
      padding-left: 0; 
}

.industry-text ul li {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}
.industry-text ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: 700;
    font-size: 1.2rem;
}

.industry-image {
    flex: 0 0 45%;
    max-width: 45%;
    width: 45%;
    height: 80%;
    text-align: center;
    overflow: hidden;
    border-radius: 12px;
    display: block;
}

.industry-image img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: block;
}

.industry-image::before {
    content: none;
}

.industry-card:hover .industry-image img {
    transform: scale(1.03);
}

.about-hero {
    position: relative;
    height: 260px; /* Increased from 200px to 240px */
    max-height: 260px; /* Increased from 200px to 240px */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.7)), 
                url('aboutus/hero-bg.jpg');
    color: white;
    overflow: hidden;
    padding: 1.5rem 0;
    background-size: cover;
    background-position: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
     background: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(96, 165, 250, 0.1) 0%, transparent 45%);
    animation: floatingBubbles 20s ease-in-out infinite;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 2;
}

.about-hero .hero-content {
    position: relative;
    z-index: 3;
    color: white;
    width: 100%;
    padding: 1rem; /* Keep original padding */
}

/* Keep all text styles exactly the same as before */
.about-hero .hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 300;
    line-height: 1.2;
}

.about-hero .hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #cbd5e1;
    line-height: 1.5;
}

/* About Introduction Text */
.about-intro-text {
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #475569;
    font-weight: 400;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* About Detail Section */
.about-detail {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #e2e8f0 75%, #f8fafc 100%);
    background-size: 400% 400%;
    animation: gradientShift 18s ease infinite;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    display: block; /* Change from flex */
}

/* Leadership Section */
.leadership-section {
    max-width: 1200px;
    margin: 0 auto 5rem auto;
    position: relative;
    z-index: 2;
}

.leadership-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5rem;
}

.leadership-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-direction: row-reverse;
}

.leadership-image {
    flex: 0 0 400px;
    width: 400px;
    height: 520px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.leadership-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.leadership-text {
    flex: 1;
}

.founder-name {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.founder-title {
    font-size: 1.2rem;
    color: #3b82f6;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
}

.leadership-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.2rem;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.credential-section h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.8rem;
    border-bottom: none;
    padding-bottom: 0.5rem;
}

.credential-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.credential-section li {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 0.6rem;
    padding-left: 1.2rem;
    position: relative;
}

.credential-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}
.about-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(148, 163, 184, 0.12) 0%, transparent 45%);
    animation: floatingBubbles 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.about-card {
    display: flex;
    gap: 2.5rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    align-items: center;
    max-width: 1200px;
    position: relative;
    min-height: 400px;
    margin: 0 auto 4rem auto; /* Center all cards with consistent bottom margin */
}
#team.about-card,
#story.about-card,
#mission.about-card,
#vision.about-card,
#values.about-card {
    margin: 0 auto 4rem auto; /* Consistent centering for all cards */
}

.about-card::before {
    content: none;
}
.about-card:hover {
    transform: none;
    box-shadow: none;
}
.about-card:hover::before {
    content: none;
}

.about-card.reverse {
    flex-direction: row-reverse;
}
.about-card.reverse .about-text h3::after {
    left: auto;
    right: 0;
}
.about-text {
    flex: 1;
    position: relative;
}
.about-text h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    margin-bottom: 1.2rem;
    color: #1e293b;
    font-weight: 300;
    position: relative;
    padding-bottom: 0.8rem;
}
.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 4px;
    animation: expandLine 2s ease-in-out infinite;
}
@keyframes expandLine {
    0%, 100% { width: 60px; }
    50% { width: 80px; }
}
.section-icon {
    display: none;
}
.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: #475569;
    line-height: 1.8;
    font-weight: 400;
}

.mission-statement, .vision-statement {
    font-style: italic;
    font-weight: 600;
    color: #3b82f6 !important;
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
    margin: 1.5rem 0;
}

.values-list {
    list-style: none;
    padding-left: 0;
}
.value-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-weight: 700;
}
.value-content p {
    margin-bottom: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}
.team-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}
.team-stat {
    text-align: center;
    flex: 1;
}
.team-stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}
.team-stat-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    transition: none;
    border: none;
    position: relative;
    overflow: visible;
    margin-bottom: 1.5rem;
}
.value-item::before {
    content: none;
}
.value-item:hover {
    transform: none;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}
.value-item:hover .value-icon {
    transform: none;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}
.value-item:hover::before {
    transform: none;
}

.values-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}
.value-icon {
    font-size: 1.4rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}
.values-list li:before {
    content: "•";
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.about-image {
    max-width: 380px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 15px 40px rgba(0,0,0,0.15),
        0 0 0 1px rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}
.about-card:hover .about-image::before {
    opacity: 1;
}
.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}
.about-card:hover .about-image img {
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1.05) saturate(1.1);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.contact-hero {
    position: relative;
    margin: 0 auto 1.5rem auto;
    max-width: 100%;
    width: 100%;
    padding: 3.5rem 0;
    border-radius: 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    overflow: hidden;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px; /* Increased from 100px to 130px */
    max-height: 130px; /* Increased from 100px to 130px */
}
.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80')
                center/cover no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.contact-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 2;
}


.contact-hero .hero-content {
    z-index: 3;
}

.contact-hero .hero-content h1.compact-title {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    text-align: left !important;
    text-justify: none !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    padding-left: 340px;
}
.contact-hero .hero-content p.compact-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    line-height: 1.6;
    margin: 0 auto;
    color: #cbd5e1;
    text-align: center !important;
    text-justify: none !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
}

/* Compact Contact Form Section */
.contact-form-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #e2e8f0 75%, #f8fafc 100%);
    background-size: 400% 400%;
    animation: gradientShift 16s ease infinite;
    padding: 2.5rem 1rem;
    position: relative;
    overflow: hidden;
}

.contact-form-section .container {
    max-width: 1400px;
}
.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(148, 163, 184, 0.1) 0%, transparent 35%);
    animation: floatingBubbles 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.compact-form-container {
    max-width: 100%;
    width: 100%;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 2rem;
}

.compact-form-container h2.compact-form-title {
    font-size: 1.8rem; /* Smaller title */
    margin-bottom: 0.5rem; /* Reduced margin */
    color: #1e293b;
    text-align: center;
    font-weight: 300;
}

.compact-form-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 1.5rem; /* Reduced margin */
    font-size: 1rem; /* Smaller text */
}

.contact-form {
    display: block;
    width: 100%;
}

.form-section {
    padding: 1.5rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 3px solid #3b82f6;
    max-width: 100%;
}

.form-section.unified-form {
    padding: 2.5rem 3rem;
    width: 100%;
    max-width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.full-width-field {
    margin-bottom: 1.5rem;
}

.contact-method-section {
    margin-bottom: 1.5rem;
}

.method-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #374151;
    font-size: 0.95rem;
}

.contact-methods-inline {
    display: flex;
    gap: 2rem;
}

.radio-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #374151;
}

.radio-inline input[type="radio"] {
    cursor: pointer;
}

.radio-inline i {
    color: #3b82f6;
}

.form-section:hover {
    transform: none;
    box-shadow: none;
}
.compact-section-title {
    font-size: 1.3rem; /* Smaller title */
    margin-bottom: 1rem; /* Reduced margin */
    color: #1e293b;
}

.compact-description {
    color: #64748b;
    margin-bottom: 1rem; /* Reduced margin */
    font-size: 0.95rem; /* Smaller text */
}

/* VERTICAL FORM LAYOUT */
.form-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Tight spacing */
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0; /* Remove bottom margin */
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
    font-size: 0.95rem; /* Smaller label */
}

input.compact-input,
textarea.compact-textarea {
    padding: 0.8rem; /* Smaller padding */
    border: 2px solid #e5e7eb;
    border-radius: 8px; /* Smaller radius */
    font-size: 0.95rem; /* Smaller text */
    transition: all 0.3s ease;
    font-family: inherit;
}

input.compact-input:focus,
textarea.compact-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea.compact-textarea {
    resize: vertical;
    min-height: 100px; /* Smaller min-height */
}

/* Compact options */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Smaller min-width */
    gap: 1rem; /* Reduced gap */
}

.contact-methods {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* Smaller min-width */
}

.option-card {
    position: relative;
}

.option-input {
    position: absolute;
    opacity: 0;
}

.option-label.compact-option-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 0.8rem; /* Reduced padding */
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px; /* Smaller radius */
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.option-input:checked + .option-label.compact-option-label {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.1);
}

.option-icon.compact-option-icon {
    font-size: 1.8rem; /* Smaller icon */
    color: #3b82f6;
    margin-bottom: 0.8rem; /* Reduced margin */
    width: 50px; /* Smaller circle */
    height: 50px; /* Smaller circle */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}

.option-label.compact-option-label h4 {
    font-size: 1rem; /* Smaller text */
    margin-bottom: 0.3rem; /* Reduced margin */
    color: #1e293b;
}

.option-label.compact-option-label p {
    color: #64748b;
    font-size: 0.85rem; /* Smaller text */
    line-height: 1.4;
}

/* Compact consent */
.consent-section {
    background: transparent;
    border-left: none;
    padding: 1rem 1.5rem; /* Reduced padding */
}

.consent-box.compact-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem; /* Reduced gap */
}

.consent-box.compact-consent input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
}

.consent-box.compact-consent label {
    color: #374151;
    line-height: 1.5;
    font-size: 0.9rem; /* Smaller text */
}

.consent-box.compact-consent a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.9rem; /* Smaller text */
}

.consent-box.compact-consent a:hover {
    text-decoration: underline;
}

/* Compact button */
.form-submit {
    text-align: center;
    margin-top: 1rem; /* Reduced margin */
}

button.submit-button.compact-button {
    padding: 1rem 2rem; /* Smaller button */
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    border-radius: 25px; /* Smaller radius */
    font-size: 1rem; /* Smaller text */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

button.submit-button.compact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Compact contact info */
.contact-info-section {
    padding: 3rem 1rem; /* Reduced padding */
    background: #1e293b;
    color: white;
    text-align: center;
}
.footer-content a {
  color: #cbd5e1;        /* make the link text white */
  text-decoration: none; /* remove underline */
}

.footer-content a:hover {
  text-decoration: underline; /* optional: underline on hover */
}


.contact-info-section h2.compact-contact-title {
    font-size: 1.8rem; /* Smaller title */
    margin-bottom: 1.5rem; /* Reduced margin */
    color: white;
}

.contact-info-grid.compact-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Smaller min-width */
    gap: 1.5rem; /* Reduced gap */
    max-width: 800px; /* Narrower */
    margin: 0 auto;
}

.contact-info-item.compact-contact-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem; /* Reduced padding */
    border-radius: 12px; /* Smaller radius */
    transition: all 0.3s ease;
}

.contact-info-item.compact-contact-item:hover {
    transform: translateY(-3px); /* Smaller hover effect */
    background: rgba(255, 255, 255, 0.1);
}

.contact-icon.compact-contact-icon {
    font-size: 1.8rem; /* Smaller icon */
    color: #3b82f6;
    margin-bottom: 0.8rem; /* Reduced margin */
}

.contact-info-item.compact-contact-item strong {
    display: block;
    font-size: 1rem; /* Smaller text */
    margin-bottom: 0.5rem; /* Reduced margin */
    color: #3b82f6;
}

.contact-info-item.compact-contact-item p {
    color: #cbd5e1;
    font-size: 0.95rem; /* Smaller text */
}
.services-text h2{
    font-size:2.8rem;
    font-weight: 300;
}
.services-text {
    text-align: left;
    padding-right: 1rem;
}
.services-image {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem; /* Reduced padding */
    border-radius: 10px; /* Smaller radius */
    transition: all 0.3s ease;
}
.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px); /* Smaller hover effect */
}
.contact-item strong {
    display: block;
    color: #3b82f6;
    margin-bottom: 0.3rem; /* Reduced margin */
    font-size: 0.95rem; /* Smaller font */
}

.contact-item p {
    color: #cbd5e1;
    margin: 0;
    font-size: 0.9rem; /* Smaller text */
}
.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatPattern {
  0% { transform: translateX(0%) translateY(0%) rotate(0deg); }
  100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}

@keyframes floatingBubbles {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 1; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

@keyframes pulseEffect {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}
@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shimmer {
    0%, 100% { opacity: 1; transform: scaleX(1); }
    50% { opacity: 0.7; transform: scaleX(1.05); }
}

@keyframes subtlePulse {
    0%, 100% { transform: translateY(0px); opacity: 1; }
    50% { transform: translateY(-2px); opacity: 0.9; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(5px); }
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}
/* ========================
   TABLET OPTIMIZATION (769px - 1024px)
======================== */


/* ========================
   MOBILE OPTIMIZATION (0-768px)
   Complete replacement for all pages
======================== */

@media (max-width: 768px) {
  /* General mobile reset */
  .container {
    padding: 0 15px;
    width: 100%;
  }
  
  /* Mobile navigation */
  .hamburger {
    display: flex;
  }
 .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: left 0.3s ease;
    backdrop-filter: blur(20px);
    z-index: 999;
    gap: 0;
    overflow-y: auto;
  }
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    width: 90%;
    margin: 0.5rem 0;
  }
  
  .nav-links a {
    display: block;
    padding: 1rem;
    text-align: center;
    width: 100%;
    border-radius: 8px;
    font-size: 1.1rem;
  }
   .nav-links > li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
.nav-links > li:has(.dropdown) {
  background: rgba(30, 41, 59, 0.5);
  border-radius: 8px;
  display: flex;              /* back to flex */
  align-items: center;        /* vertical centering */
  justify-content: center;    /* horizontal centering */
  padding: 0;
  position: relative;
}
  
.nav-links > li:has(.dropdown) > a {
  flex: none;     
  width:100%;               /* take full width for centering */
  text-align: center;
  padding: 1.5rem;
  font-size: 1.1rem;
  color: #ffffff;
  text-decoration: none;
}
.dropdown-arrow {
  color: #ffffff;
  position: absolute;
  right: 5px;
  top: 50%;                     /* vertically center */
  transform: translateY(-50%);  /* adjust for true centering */
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
  user-select: none;
  border-radius: 4px;
  min-width: 30px;
  text-align: center;
}

  .dropdown-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
  }

 .nav-links .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 0 0 8px 8px;
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 100%;
    margin: 0;
  }
  
  .nav-links .dropdown.active {
    display: flex;
    flex-direction: column;
  }
  
  .nav-links .dropdown li {
    width: 100%;
    margin: 0;
  }
  
  .nav-links .dropdown li a {
    padding: 0.8rem 1.5rem;
    margin: 0;
    font-size: 0.95rem;
    border-radius: 0;
    color: #cbd5e1;
  }
  .nav-links .dropdown li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }
 .nav-links > li:not(:has(.dropdown)) {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
   .nav-links > li:not(:has(.dropdown)) > a {
    display: block;
    padding: 1rem;
    text-align: center;
    width: 100%;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #ffffff;
    text-decoration: none;
  }
  /* Homepage hero section */
  .hero {
    height: 80vh;
    min-height: 500px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(15, 23, 42, 0.3) 50%, rgba(30, 41, 59, 0.4) 100%),
            url('homepage/hero-mobile.jpg') center/cover no-repeat !important;
    display: flex;
    align-items: flex-end;
    padding-bottom: 3rem;
  }

  /* Mobile hero content - remove box, show text only */
  .home-page .hero-content {
    position: static !important;
    transform: none !important;
    padding: 1.5rem !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    align-items: center !important;
  }

  .home-page .hero-content .hero-headline {
    font-size: 1.5rem !important;
    text-align: center !important;
  }

  .home-page .hero-content .hero-subtitle-text {
    font-size: 0.75rem !important;
    text-align: center !important;
    max-width: 100% !important;
  }

  .home-page .hero-content .hero-cta-button {
    font-size: 0.7rem !important;
    padding: 0.6rem 1.5rem !important;
  }

  .hero-content {
    padding-right: 0 !important;
    text-align: center;
    width: 100%;
  }
  
  .hero-combined-text {
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-combined-text ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}
.hero-combined-text li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
}
.hero-combined-text li::before {
    content: '•';
    color: #3b82f6;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

  
  .hero-combined-text p {
    text-align: start !important;
    font-size: 0.9rem !important;
    hyphens: none !important;
    margin-bottom: 80px;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    overflow-wrap: break-word !important;
word-break: break-word !important; /* legacy */
    line-height: 1.5 !important;
  }
  
  .hero-content h1 {
    font-size: 1.8rem !important;
    text-align: center;
    margin-bottom:2rem;
  }
  .logo img{
    margin-left:45px;
  }
  
  /* Hide video on mobile, show background image instead */
  .hero-video {
    display: none;
  }
  
  .hero::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(30, 41, 59, 0.6) 100%);
  }

  /* Services page */
  .services-hero {
    height: 30vh;
  }
  
  .services-hero .hero-content h1 {
    font-size: 2.2rem !important;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  .service-card-home {
    padding: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .service-card-home .service-image {
    width: 140px;
    height: 140px;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto 1rem;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .service-card-home .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    transition: transform 0.4s ease;
  }

  .service-card-home:hover .service-image img {
    transform: scale(1.1);
  }

  .service-card-home .service-text {
    width: 100%;
    text-align: center;
  }

  .service-card-home .service-text h3 {
    text-align: center;
  }

  .service-card-home .service-text p {
    text-align: center;
  }
  /* Services tabs mobile */
  .services-tabs-section {
    padding: 2rem 1rem;
  }

  .services-tabs {
    flex-direction: column;
    gap: 0.8rem;
  }

  .service-tab {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 0.95rem;
  }

  .service-title {
    font-size: 1.8rem;
  }

  .service-intro {
    font-size: 1rem;
  }

  .service-details h3 {
    font-size: 1.4rem;
  }

  .service-details ul li {
    font-size: 0.95rem;
  }

  /* Services detail page */
  .services-detail {
    padding: 2rem 1rem;
    gap: 3rem;
  }

  .service-card {
    flex-direction: column;
    padding: 0;
    margin-bottom: 3rem;
    height: auto;
    align-items: flex-start;
  }

  .service-card .service-text {
    flex: 1;
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin-bottom: 1.5rem;
  }

  .service-card .service-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .service-card .service-text p {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
  }

  .service-card ul {
    margin-left: 1.5rem;
    text-align: left;
  }

  .service-card h3::before {
    display: none;
  }

  .service-card.reverse {
    flex-direction: column;
  }

  .service-card .service-image {
    width: 100%;
    max-width: 100%;
    height: 250px;
    margin-top: 0;
    order: -1;
  }

  .service-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Industries page */
  .industries-hero {
    height: 30vh;
  }

  .industries-hero .hero-content h1 {
    font-size: 2.2rem !important;
    text-align: center !important;
  }

  .industries-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }

  .industry-item {
    padding: 1.5rem;
    grid-column: auto !important;
  }

  .industry-item:nth-child(1),
  .industry-item:nth-child(2),
  .industry-item:nth-child(3),
  .industry-item:nth-child(4),
  .industry-item:nth-child(5),
  .industry-item:nth-child(6),
  .industry-item:nth-child(7) {
    grid-column: auto !important;
  }

  .industry-icon {
    width: 80px;
    height: 80px;
  }

  .industry-icon i {
    width: 40px;
    height: 40px;
  }

  .industry-item h3 {
    font-size: 1.3rem;
  }

  .industry-item p {
    font-size: 0.9rem;
  }
  
  /* Industries detail page */
  .industries-detail {
    padding: 2rem 1rem;
    gap: 3rem;
  }

  .industry-card {
    display: flex !important;
    flex-direction: column !important;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 3rem;
    overflow: visible;
    height: auto;
    align-items: flex-start;
    padding: 0;
  }

  .industry-card:hover {
    transform: none;
    box-shadow: none;
  }

  .industry-card.reverse {
    flex-direction: column !important;
  }

  .industry-card .industry-image {
    width: 100%;
    max-width: 100%;
    height: 250px;
    overflow: hidden;
    order: -1;
    margin-bottom: 1.5rem;
    border-radius: 12px;
  }

  .industry-card .industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .industry-card .industry-text {
    width: 100%;
    max-width: 100%;
    padding: 0;
    order: 2;
  }

  .industry-card .industry-text h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
    color: #1e293b;
    text-align: left;
  }

  .industry-card .industry-text h3::before {
    display: none !important;
  }

  .industry-card .industry-text h3::after {
    display: none !important;
  }

  .industry-card .industry-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    text-align: left;
    margin: 0 0 1rem 0;
  }
 .carousel-arrow {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
        border: 1px solid rgba(255,255,255,0.2);
    }
      .carousel-arrow.prev {
        left: 5px; /* Even closer on mobile */
    }
    
    .carousel-arrow.next {
        right: 5px; /* Even closer on mobile */
    }
  .founder-education,
  .founder-credentials,
  .education-items,
  .credential-items,
  .education-item,
  .credential {
    text-align: left !important;
    display: block; /* ensures each item lines up nicely */
    margin-bottom: 0.4rem;
  }
  /* About us page */
.about-hero {
    position: relative;
    height: 350px; /* Increased height for more impact */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(59, 130, 246, 0.8), rgba(139, 92, 246, 0.7)),
        url('aboutus/hero-bg.jpg');
    color: white;
    overflow: hidden;
    padding: 2rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.2) 0%, transparent 60%);
    animation: heroFloat 15s ease-in-out infinite;
    z-index: 1;
}
  .about-hero .hero-content {
    position: relative;
    z-index: 3;
    color: white;
    width: 100%;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

  .hero.contact-hero {
    height: auto !important;
    min-height: auto !important;
    padding: 4rem 1rem 2.5rem !important;
  }

  .contact-hero .hero-content.container {
    padding: 0 20px !important;
    text-align: center !important;
  }

  .contact-hero .hero-content h1.compact-title {
    font-size: 2rem !important;
    text-align: center !important;
    padding-left: 0 !important;
  }

  .contact-hero .hero-content p.compact-subtitle {
    font-size: 1rem !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* horizontal center */
    justify-content: center; /* vertical center */
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.8rem; /* smaller title */
  }

  .hero-content p {
    font-size: 1rem;
    max-width: 90%;
  }
 .about-hero .hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff, #e2e8f0, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
  
  /* About Us page mobile */
  .about-intro-text {
    font-size: 1.1rem;
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .about-detail {
    padding: 2rem 1rem;
  }

  /* Leadership section mobile */
  .leadership-section {
    margin-bottom: 3rem;
  }

  .leadership-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .leadership-content {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .leadership-image {
    width: 100%;
    max-width: 300px;
    height: 350px;
    order: -1;
  }

  .leadership-text {
    width: 100%;
  }

  .founder-name {
    font-size: 1.6rem;
    text-align: center;
  }

  .founder-title {
    font-size: 1.1rem;
    text-align: center;
  }

  .leadership-text p {
    font-size: 0.95rem;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  /* About cards mobile */
  .about-card {
    flex-direction: column !important;
    gap: 1.5rem;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 auto 3rem auto !important;
    max-width: 100%;
  }

  .about-card.reverse {
    flex-direction: column !important;
  }

  .about-text {
    width: 100%;
    text-align: left;
  }

  .about-text h3 {
    font-size: 1.5rem;
    text-align: left;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  .about-image {
    width: 100%;
    max-width: 100%;
    height: 250px;
    margin: 0 0 1rem 0;
    order: -1;
  }

  .values-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .value-item {
    padding: 0;
    margin-bottom: 1.5rem;
  }
.about-detail {
    background: 
        linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 25%, #cbd5e1 50%, #e2e8f0 75%, #f8fafc 100%),
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    background-size: 400% 400%, 100% 100%, 100% 100%;
    animation: gradientFlow 20s ease infinite;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}
@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%, 0% 0%, 0% 0%; }
    25% { background-position: 100% 50%, 0% 0%, 0% 0%; }
    50% { background-position: 100% 100%, 0% 0%, 0% 0%; }
    75% { background-position: 0% 100%, 0% 0%, 0% 0%; }
}
.about-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(139, 92, 246, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.04) 0%, transparent 50%);
    animation: floatingOrbs 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes floatingOrbs {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-10px, -15px) rotate(120deg); }
    66% { transform: translate(15px, -10px) rotate(240deg); }
}

  /* Why choose us section */
  .stats-grid {
    flex-direction: column;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 100%;
    align-items: center;
  }

  .stat-card {
    padding: 2rem 1rem;
    min-width: auto;
    flex: none;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 350px;
  }

  .stat-card-elevated {
    transform: translateY(0) !important;
  }

  .stat-card:hover {
    transform: translateY(0) !important;
  }

  .stat-number {
    font-size: 3rem;
  }

  .stat-label {
    font-size: 1rem;
    min-height: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
  }

  .stat-icon i {
    width: 30px;
    height: 30px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-column {
    margin-bottom: 2rem;
  }

  .footer-column-right {
    align-items: flex-start;
    margin-top: 2rem;
  }

  .footer-copyright {
    text-align: left;
    margin-top: 0;
  }
  
  .contact-item {
    text-align: center;
    padding: 1rem;
  }

  /* Associations section */
  .associations-grid {
    gap: 1.5rem;
    justify-content: center;
  }
  
  .association-logo img {
    height: 50px;
  }

  /* Breadcrumb */
  .breadcrumb {
    padding: 0.8rem 0;
    font-size: 0.9rem;
  }

  /* Search boxes */
  .search-box {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }
  
  .search-box input {
    width: 100%;
    padding: 1rem;
  }
  
  .search-box button {
    width: 100%;
    padding: 1rem;
  }

  /* Contact form page */
  .contact-form-section {
    padding: 2rem 1rem;
  }

  .contact-form-section .container {
    max-width: 100%;
  }

  .compact-form-container {
    padding: 1rem;
  }

  .compact-form-title {
    font-size: 1.5rem !important;
  }

  .compact-form-subtitle {
    font-size: 0.9rem !important;
  }

  .form-section.unified-form {
    padding: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-methods-inline {
    flex-direction: column;
    gap: 1rem;
  }

  .radio-inline {
    padding: 0.8rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
  }

  .consent-box.compact-consent {
    flex-direction: row;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .submit-button.compact-button {
    width: 100%;
  }

  /* Text alignment adjustments */
  .about-us-text p,
  .motto-text .section-description,
  .services-text .section-description,
  .section-description,
  
  .industry-tab p {
    text-align: center;
  }
  
  .about-us-text h2,
  .motto-text h2,
  .services-text h2 {
    text-align: center;
  }
  
  .about-us-text .section-subtitle,
  .motto-text .section-subtitle {
    text-align: center;
  }

  /* General mobile improvements */
  .section-title {
    font-size: 2.2rem;
  }
  
  .service-card,
  .industry-card,
  .about-card {
    flex-direction: column;
    text-align: center;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

#form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
@media (max-width: 1024px) and (min-width: 769px) {
  
  /* Navigation adjustments for tablets */
  .nav-links {
    gap: 2rem;
    font-size: 15px;
  }

  
  .logo-title {
    font-size: 1.7rem;
  }

  /* Hero section */
  .hero-content {
    padding-right: 400px;
  }
  
  .hero-content h1 {
    font-size: 3.8rem;
  }
  
  .hero-combined-text {
    max-width: 600px !important;
    width: 600px;
  }

  /* Services grid - 2 columns for tablets */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    max-width: 100%;
  }
  
  .service-card-home {
    padding: 1.3rem;
  }

  /* Industries grid - 2 columns for tablets */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }

  .industry-item {
    padding: 1.8rem;
  }

  /* Why Choose stats */
  .stats-grid {
    gap: 3rem;
  }

  .stat-card-elevated {
    transform: translateY(-20px);
  }

  .stat-number {
    font-size: 4rem;
  }

  /* About us cards - keep staggered but adjust spacing */
  .about-card {
    max-width: 700px;
    gap: 1.2rem;
  }
  
  .about-image {
    max-width: 220px;
    height: 280px;
  }

  /* Stats grid */
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  /* Associations */
  .associations-grid {
    gap: 3rem;
  }
  
  .association-logo img {
    height: 70px;
  }

  /* Industries detail */
  .industry-card {
    gap: 2rem;
    padding: 1.8rem;
    max-width: 900px;
  }
  
  .industry-image {
    height: 280px;
  }

  /* Services detail */
  .service-card {
    gap: 2rem;
    padding: 2rem;
  }

  /* Contact form */
  .compact-form-container {
    max-width: 700px;
    padding: 1.8rem;
  }
  
  .options-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer - Tablet */
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-column-right {
    grid-column: span 2;
    align-items: center;
  }

  .footer-copyright {
    text-align: center;
  }
} 
@media (min-width: 769px) {
      .dropdown-arrow {
    display: none !important;
  }
}