/* ============================================================
   CSS Variables — same brand palette, no color changes
   ============================================================ */
:root {
    --primary-color: #3399a5;
    --primary-dark: #22707a;
    --primary-light: #49b8c5;
    --secondary-color: #0d2b45;
    --secondary-light: #164269;
    --accent-color: #f39c12;

    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #f4f7f6;

    --bg-light: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0a192f;

    --border-color: #e2e8f0;

    --font-heading: "Outfit", sans-serif;
    --font-body: "Inter", sans-serif;

    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, .10);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, .13);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, .18);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.65;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utility */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-white {
    color: white !important;
}

.text-light {
    color: rgba(255, 255, 255, .8) !important;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 4rem;
}

.mb-1 {
    margin-bottom: .5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* ============================================================
   Typography
   ============================================================ */
h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
}

h3 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.15rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 640px;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.text-center .subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .85rem 2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .95rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    letter-spacing: .3px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px rgba(51, 153, 165, .35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(51, 153, 165, .45);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .8);
    color: white;
}

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

.btn-dark {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 14px rgba(13, 43, 69, .3);
}

.btn-dark:hover {
    background: #07192a;
    transform: translateY(-2px);
}

/* ============================================================
   Top Bar
   ============================================================ */
.top-bar {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: .55rem 0;
    font-size: .85rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

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

.top-bar-left p {
    letter-spacing: .3px;
    opacity: .85;
}

.top-bar-right {
    display: flex;
    gap: 1.25rem;
}

.top-bar-right a {
    color: rgba(255, 255, 255, .75);
    font-size: 1rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.top-bar-right a:hover {
    color: white;
    background: rgba(255, 255, 255, .12);
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1.1rem 0;
    transition: var(--transition);
    box-shadow: 0 1px 0 var(--border-color);
}

.navbar.scrolled {
    padding: .75rem 0;
    box-shadow: var(--shadow-md);
}

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

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

.logo-img {
    height: 80px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 1000;
    color: var(--primary-color);
    letter-spacing: .5px;
}

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

.logo-white .logo-text,
.logo-white .logo-text span {
    color: white;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: .95rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 3px;
}

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

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

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hamburger (mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: .4rem;
    background: none;
    border: none;
    z-index: 1001;
    /* Keep above mobile nav */
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    background: var(--primary-color);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    background: var(--primary-color);
}

/* Mobile overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

/* Mobile drawer */
.mobile-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 80%;
    height: 100%;
    background: rgba(13, 43, 69, .97);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav a:not(.btn) {
    color: white;
    font-size: 1.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: var(--transition);
}

.mobile-nav a.btn {
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

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

/* Removed .mobile-nav-close */

/* ============================================================
   Hero Slider
   ============================================================ */
.hero-slider {
    position: relative;
    min-height: calc(100vh - 89px);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s ease, visibility 1.1s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
            rgba(10, 25, 47, .88) 0%,
            rgba(13, 43, 69, .72) 45%,
            rgba(51, 153, 165, .28) 100%);
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 780px;
    color: white;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem 1.1rem;
    background: rgba(51, 153, 165, .18);
    border: 1px solid rgba(73, 184, 197, .5);
    border-radius: var(--radius-full);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.75rem;
    color: var(--primary-light);
}

.hero-slider h1 {
    color: white;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}

.hero-slider p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .88);
    max-width: 580px;
    line-height: 1.75;
}

.hero-services {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.75rem;
    flex-wrap: wrap;
}

.hero-services span {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 500;
    font-size: .95rem;
    background: rgba(255, 255, 255, .08);
    padding: .4rem .9rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, .14);
}

.hero-services i {
    color: var(--primary-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Slider controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .2);
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.08);
}

.prev-btn {
    left: 24px;
}

.next-btn {
    right: 24px;
}

.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(51, 153, 165, .35);
}



/* ============================================================
   Features Bar
   ============================================================ */
.features-bar {
    background: var(--secondary-color);
    color: white;
    padding: 1.5rem 0;
}

.features-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item i {
    font-size: 1.8rem;
    color: white;
}

.feature-text {
    font-size: 0.85rem;
    line-height: 1.3;
    font-weight: 500;
}

/* ============================================================
   Section Divider
   ============================================================ */
.section-wave {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* ============================================================
   About Section
   ============================================================ */
.about {
    padding: 7rem 0;
    background: var(--bg-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-images {
    position: relative;
    max-width: 480px;
    margin-left: auto;
    transform: translateX(0px);
}

.img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: left center;
    transition: transform .6s ease;
}

.img-main:hover img {
    transform: scale(1.03);
}

.img-floating {
    position: absolute;
    bottom: -36px;
    right: -36px;
    width: 210px;
    height: 210px;
    border-radius: var(--radius-lg);
    border: 8px solid var(--bg-light);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.img-floating img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    top: -24px;
    left: -24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.2rem 1.75rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 24px rgba(51, 153, 165, .4);
    border: 5px solid var(--bg-light);
    transform: translateX(-75px);
}

.experience-badge .number {
    font-size: 1.9rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.experience-badge .text {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: .2rem;
    opacity: .9;
}

.about-content .section-header h2 {
    margin-bottom: .5rem;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    line-height: 1.8;
}

.about-list {
    margin-bottom: 2rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    margin-bottom: .9rem;
    font-weight: 500;
    color: var(--text-main);
    padding: .65rem 1rem;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-color);
}

.about-list li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: .15rem;
    flex-shrink: 0;
}

.about-extra h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: .5rem;
}

.compliance-list li {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.compliance-list li i {
    color: var(--primary-color);
}

/* ============================================================
   Portfolio (Integrated Solutions) Cards
   ============================================================ */
.portfolio {
    padding: 7rem 0;
    background: var(--bg-alt);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.portfolio-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(51, 153, 165, .04), transparent);
    opacity: 0;
    transition: var(--transition);
}

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

.portfolio-card:hover::before {
    opacity: 1;
}

.portfolio-card:hover {
    border-top-color: var(--primary-color);
}

.portfolio-card.highlight {
    border-top-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    background: linear-gradient(170deg, #fff 60%, rgba(51, 153, 165, .05) 100%);
}

.portfolio-card.highlight:hover {
    transform: translateY(-10px);
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-header i {
    font-size: 2.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.card-header h3 {
    font-size: 1.4rem;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .9rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid var(--border-color);
    font-size: .95rem;
    color: var(--text-main);
}

.card-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.card-list i {
    color: var(--primary-color);
    font-size: .85rem;
    flex-shrink: 0;
}

/* ============================================================
   Detailed Services Section
   ============================================================ */
.services {
    padding: 7rem 0;
    background: white;
}

.services .section-header h2 {
    margin-bottom: .5rem;
}

.services .section-header .divider {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin: .75rem auto 0;
    border-radius: 2px;
}

.services-carousel-wrapper {
    position: relative;
}

.services-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    font-size: 1.1rem;
}

.services-nav:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.prev-services {
    left: -22px;
}

.next-services {
    right: -22px;
}

.services-card-grid {
    display: flex;
    gap: 1.75rem;
    margin-top: 3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.services-card-grid::-webkit-scrollbar {
    display: none;
}

.service-carousel-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-carousel-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(51, 153, 165, .3);
}

.card-img-placeholder {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.service-carousel-card:hover .card-img-placeholder img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 43, 69, .55), transparent);
}

.card-content {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: .75rem;
}

.card-text {
    color: var(--text-muted);
    font-size: .92rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.65;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.4rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: var(--transition);
    align-self: flex-start;
}

.btn-learn-more:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(51, 153, 165, .3);
}

/* ============================================================
   Why Choose Us
   ============================================================ */
.why-us {
    padding: 7rem 0;
    background: var(--bg-light);
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(51, 153, 165, .06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

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

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    text-align: left;
    margin-top: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.benefit-item i {
    font-size: 1.4rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.benefit-item span {
    font-weight: 600;
    font-size: 1rem;
    color: var(--secondary-color);
}

/* ============================================================
   Stats Section
   ============================================================ */
.stats {
    padding: 7rem 0;
    background: var(--bg-alt);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .55;
    pointer-events: none;
}

.partners {
    padding: 7rem 0 4rem 0;
    background: white;
    position: relative;
}

.stats-white {
    padding: 7rem 0;
    background: white;
    position: relative;
}

/* Partner Carousel */
.partner-carousel {
    overflow: hidden;
    padding: 2.25rem 0;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin: 2.5rem auto;
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

/* Faded edges effect */
.partner-carousel::before,
.partner-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.partner-carousel::before {
    left: 0;
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}

.partner-carousel::after {
    right: 0;
    background: linear-gradient(to left, white 0%, rgba(255, 255, 255, 0) 100%);
}

.partner-track {
    display: flex;
    width: calc(250px * 10);
    animation: partnerScroll 30s linear infinite;
}

.partner-track:hover {
    animation-play-state: paused;
}

.partner-slide {
    width: 250px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.partner-slide img {
    max-height: 56px;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.partner-slide:hover img {
    transform: scale(1.05);
}

@keyframes partnerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 5));
    }
}

@media (max-width: 768px) {
    .partner-carousel {
        padding: 1.5rem 0;
        margin: 1.5rem auto;
    }

    .partner-slide {
        width: 180px;
        height: 50px;
        padding: 0 1rem;
    }

    .partner-slide img {
        max-height: 42px;
    }

    .partner-track {
        width: calc(180px * 10);
    }

    @keyframes partnerScroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-180px * 5));
        }
    }
}

.stats h2 span,
.stats-white h2 span {
    color: var(--primary-color);
}

.stats-top {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 3rem 0;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.stat-main {
    text-align: center;
    background: white;
    padding: 3rem 2.25rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    flex: 1;
    min-width: 280px;
    max-width: 420px;
    border-bottom: 4px solid var(--primary-color);
    transition: var(--transition);
}

.stat-main:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.stat-main .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.stat-main .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: .5rem;
    color: var(--secondary-color);
}

.stat-main .stat-text {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-box {
    background: white;
    border-radius: var(--radius-md);
    padding: 2.25rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.stat-box-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.stat-box:hover .stat-box-icon {
    transform: scale(1.1);
    color: var(--primary-color);
}

.stat-box-num {
    font-size: 2.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: .4rem;
    color: var(--primary-color);
}

.stat-box-text {
    font-size: .95rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* ============================================================
   Process Section
   ============================================================ */
.process {
    padding: 7rem 0;
    background: var(--secondary-color);
}

.process .section-header h2,
.process .section-header .subtitle {
    color: white;
}

.process .section-header .subtitle {
    color: rgba(255, 255, 255, .7);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4rem 0;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 110px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, .08);
    border: 2px solid rgba(51, 153, 165, .6);
    color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.step:hover .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.12);
    box-shadow: 0 0 0 6px rgba(51, 153, 165, .25);
}

.step h4 {
    font-size: 1rem;
    color: rgba(255, 255, 255, .85);
    font-weight: 600;
}

.step-connector {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(51, 153, 165, .35), rgba(51, 153, 165, .6), rgba(51, 153, 165, .35));
    position: relative;
    top: -20px;
    z-index: 1;
}

.process-outcome {
    text-align: center;
    padding: 1.75rem 2rem;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .85);
    max-width: 760px;
    margin: 0 auto;
}

.process-outcome strong {
    color: var(--primary-light);
}

/* ============================================================
   Industries
   ============================================================ */
.industries {
    padding: 7rem 0;
    background: white;
}

.industry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 880px;
    margin: 0 auto;
}

.industry-badge {
    padding: .8rem 1.6rem;
    background: var(--bg-alt);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: .92rem;
    color: var(--secondary-color);
    transition: var(--transition);
    cursor: default;
}

.industry-badge:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(51, 153, 165, .3);
}

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
    padding: 5rem 0;
    background: linear-gradient(120deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(51, 153, 165, .25), transparent 65%);
    pointer-events: none;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    color: white;
    margin-bottom: 0;
    max-width: 520px;
    font-size: 1.85rem;
}

.cta-action {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.cta-action .phone {
    font-size: 1.35rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .6rem;
    color: rgba(255, 255, 255, .9);
}

.cta-action .phone i {
    color: var(--primary-light);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding-top: 5.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: .75rem;
    letter-spacing: .3px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.brand-col .tagline {
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, .6);
    line-height: 1.7;
    font-size: .95rem;
}

.social-links {
    display: flex;
    gap: .75rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, .75);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: .7rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, .6);
    font-size: .93rem;
}

.footer-col ul a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    color: rgba(255, 255, 255, .65);
    font-size: .9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: .25rem;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255, 255, 255, .38);
    font-size: .85rem;
    background: rgba(0, 0, 0, .25);
}

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

    .portfolio-card.highlight {
        transform: scale(1);
    }

    .portfolio-card.highlight:hover {
        transform: translateY(-8px);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .brand-col {
        grid-column: span 2;
    }
}

@media (max-width:768px) {

    .logo-img {
        height: 50px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

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

    .hamburger {
        display: flex;
    }

    .hero-slider {
        min-height: 80vh;
    }

    .slider-btn {
        display: none;
    }

    .desktop-only {
        display: none !important;
    }

    .features-bar-container {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .feature-item {
        width: calc(50% - 1.5rem);
    }

    .hero-content {
        text-align: left;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-images {
        margin: 0 auto;
        transform: none;
    }

    .img-main {
        transform: none;
    }

    .experience-badge {
        transform: none;
    }

    .img-floating {
        width: 140px;
        height: 140px;
        right: -10px;
    }

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

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

    .process {
        padding: 5rem 0;
    }

    .process-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .step-connector {
        width: 2px;
        height: 36px;
        top: 0;
        background: linear-gradient(to bottom, rgba(51, 153, 165, .35), rgba(51, 153, 165, .6));
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .brand-col {
        grid-column: auto;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-action {
        flex-direction: column;
        gap: 1rem;
    }

    .stats-top {
        gap: 1.5rem;
    }
}

@media (max-width:480px) {
    .hero-services {
        gap: .75rem;
    }

    .hero-services span {
        font-size: .82rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .feature-item {
        width: calc(50% - 0.75rem);
    }

    .feature-item i {
        font-size: 1.4rem;
    }

    .feature-text {
        font-size: 0.75rem;
    }

    .top-bar-left {
        display: none;
    }
}

/* Dropdown CSS (Desktop) */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown-menu li {
    display: block;
    margin: 0;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.nav-links .dropdown-menu li:last-child a {
    border-bottom: none;
}

.nav-links .dropdown-menu a::after {
    display: none;
}

.nav-links .dropdown-menu a:hover {
    color: var(--primary-color);
    background: var(--bg-alt);
    padding-left: 1.5rem;
}

/* Mobile Dropdown CSS */
.mobile-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-dropdown-menu {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    width: 100%;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-dropdown-menu a {
    font-size: 1rem !important;
    padding: 0.6rem 1rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-dropdown-menu a:last-child {
    border-bottom: none;
}

.mobile-dropdown.active>a i {
    transform: rotate(180deg);
}

.mobile-dropdown>a i {
    transition: transform 0.3s ease;
}

/* ============================================================
   Service Pages — Premium Aesthetics
   ============================================================ */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 10rem 0 6rem;
    border-bottom: 5px solid var(--primary-color);
    text-align: center;
    color: white;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(51, 153, 165, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(22, 66, 105, 0.5) 0%, transparent 60%);
    pointer-events: none;
}

.page-header h1 {
    color: white !important;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.2rem) !important;
    font-weight: 800;
    margin-bottom: 1rem !important;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.page-header p {
    color: var(--primary-light) !important;
    font-size: 1.2rem !important;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95 !important;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.page-header.clinical-research-header {
    background-image: url('assets/clinical_research_header_new.jpg');
    background-size: cover;
    background-position: right center;
    text-align: left;
    padding: 8rem 0;
}

.page-header.clinical-research-header .container {
    background: rgba(10, 34, 64, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin-left: 5%;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.page-header.gmp-consulting-header {
    background-image: url('assets/gmp_consulting_header.jpg');
    background-size: cover;
    background-position: right center;
    text-align: left;
    padding: 8rem 0;
}

.page-header.gmp-consulting-header .container {
    background: rgba(10, 34, 64, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin-left: 5%;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.page-header.bio-statistical-header {
    background-image: url('assets/bio_statistical_header.jpg');
    background-size: cover;
    background-position: right center;
    text-align: left;
    padding: 8rem 0;
}

.page-header.bio-statistical-header .container {
    background: rgba(10, 34, 64, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin-left: 5%;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.page-header.formulation-development-header {
    background-image: url('assets/formulation_development_header.jpg');
    background-size: cover;
    background-position: right center;
    text-align: left;
    padding: 8rem 0;
}

.page-header.formulation-development-header .container {
    background: rgba(10, 34, 64, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin-left: 5%;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.page-header.medical-writing-header {
    background-image: url('assets/medical_writing_header.jpg');
    background-size: cover;
    background-position: right center;
    text-align: left;
    padding: 8rem 0;
}

.page-header.medical-writing-header .container {
    background: rgba(10, 34, 64, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin-left: 5%;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.page-header.regulatory-consulting-header {
    background-image: url('assets/regulatory_consulting_header.jpg');
    background-size: cover;
    background-position: right center;
    text-align: left;
    padding: 8rem 0;
}

.page-header.regulatory-consulting-header .container {
    background: rgba(10, 34, 64, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin-left: 5%;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.page-header.pharmacovigilance-header {
    background-image: url('assets/pharmacovigilance_header.jpg');
    background-size: cover;
    background-position: right center;
    text-align: left;
    padding: 8rem 0;
}

.page-header.pharmacovigilance-header .container {
    background: rgba(10, 34, 64, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin-left: 5%;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.service-details {
    background-color: var(--bg-alt) !important;
    padding: 5rem 0 !important;
}

.service-block {
    background: white !important;
    padding: 3rem !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-sm) !important;
    border: 1px solid var(--border-color) !important;
    margin-bottom: 3.5rem !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
}

.service-block:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl) !important;
    border-color: var(--primary-light) !important;
}

.service-block[style*="border-left"] {
    border-left: 6px solid var(--primary-color) !important;
    background: white !important;
}

.service-block h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color) !important;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-block h2::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 24px;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.service-block p {
    font-size: 1.05rem;
    color: var(--text-muted) !important;
    line-height: 1.85;
}

.service-block h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color) !important;
    margin-top: 2rem !important;
    margin-bottom: 1.25rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    list-style: none !important;
    padding: 0 !important;
}

.custom-list li {
    background: var(--bg-alt) !important;
    padding: 0.95rem 1.25rem !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-color) !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    font-weight: 500;
    color: var(--text-main) !important;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-list li:hover {
    background: white !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px) translateX(4px);
    box-shadow: var(--shadow-sm);
}

.custom-list li i {
    color: var(--primary-color) !important;
    font-size: 1.05rem !important;
    margin-right: 0 !important;
    flex-shrink: 0;
}

.custom-list li i.fa-star {
    color: var(--accent-color) !important;
}

.pv-card {
    background: white !important;
    border: 1px solid var(--border-color) !important;
    border-top: 5px solid var(--primary-color) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-sm) !important;
    padding: 2rem !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.pv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl) !important;
    border-color: var(--primary-light) !important;
    border-top-color: var(--primary-dark) !important;
}

.pv-card h4 {
    color: var(--secondary-color) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.25rem !important;
    margin-top: 0 !important;
}

.pv-card .custom-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.pv-card .custom-list li {
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 4rem !important;
    }

    .page-header.clinical-research-header,
    .page-header.gmp-consulting-header,
    .page-header.bio-statistical-header,
    .page-header.formulation-development-header,
    .page-header.medical-writing-header,
    .page-header.regulatory-consulting-header,
    .page-header.pharmacovigilance-header {
        background-position: center center;
        text-align: center;
        padding: 4rem 0 !important;
    }

    .page-header.clinical-research-header .container,
    .page-header.gmp-consulting-header .container,
    .page-header.bio-statistical-header .container,
    .page-header.formulation-development-header .container,
    .page-header.medical-writing-header .container,
    .page-header.regulatory-consulting-header .container,
    .page-header.pharmacovigilance-header .container {
        max-width: 90%;
        margin: 0 auto;
        padding: 2rem;
    }

    .service-block {
        padding: 2rem !important;
    }

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

/* Generic Layout Utilities for Row & Col */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .col-md-6:last-child {
        margin-bottom: 0;
    }
}

.h-100 {
    height: 100%;
}

.w-100 {
    width: 100%;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.p-5 {
    padding: 3rem !important;
}

.p-4 {
    padding: 2rem !important;
}

.text-center {
    text-align: center !important;
}

/* ============================================================
   Partner With Us Form & Page Styles
   ============================================================ */

/* Partner Page Header styling */
.page-header.partner-header {
    background-image: url('assets/partner_header.png');
    background-size: 110%;
    background-position: 0% 40%;
    text-align: left;
    padding: 8rem 0;
}

.page-header.partner-header .container {
    background: rgba(10, 34, 64, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin-left: 5%;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

/* Navbar button customization */
.btn-outline-nav {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
    padding: 0.65rem 1.5rem !important;
    font-size: 0.9rem !important;
}

.btn-outline-nav:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px rgba(51, 153, 165, .25);
    transform: translateY(-2px);
}

.navbar .btn-primary {
    padding: 0.65rem 1.5rem !important;
    font-size: 0.9rem !important;
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

@media (max-width: 768px) {
    .navbar .nav-actions {
        display: none;
    }

    .page-header.partner-header {
        background-position: center center;
        text-align: center;
        padding: 4rem 0 !important;
    }

    .page-header.partner-header .container {
        max-width: 90%;
        margin: 0 auto;
        padding: 2rem;
    }
}

/* Partner Form Section */
.partner-section {
    padding: 6rem 0;
    background-color: var(--bg-alt);
}

.partner-form-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

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

.phone-input-group {
    display: flex;
    gap: 0.5rem;
}

.phone-input-group select {
    flex: 0 0 100px;
    padding-right: 0.5rem;
}

.phone-input-group input {
    flex: 1;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .partner-form-card {
        padding: 2rem 1.5rem;
    }
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.form-label span.required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: #f8fafc;
    border: 1px solid #ccd6f6;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(51, 153, 165, 0.15);
}

.form-control::placeholder {
    color: #a0aec0;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2b45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* Custom File Upload Styling */
.file-upload-container {
    position: relative;
    border: 2px dashed #ccd6f6;
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    background-color: #f8fafc;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-container:hover {
    border-color: var(--primary-color);
    background-color: rgba(51, 153, 165, 0.02);
}

.file-upload-container input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.file-upload-info i {
    font-size: 2rem;
    color: var(--primary-color);
}

.file-name-display {
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 0.5rem;
}

/* Form Section Divider */
.form-section {
    margin-bottom: 2.5rem;
}

.form-section:last-of-type {
    margin-bottom: 1.5rem;
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.form-section-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}


/* Form Submit Button Spinner */
.btn-submit-form {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1.05rem;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-submit-form.loading .spinner {
    display: inline-block;
}

.btn-submit-form.loading span:not(.spinner) {
    display: none;
}

/* Form Success/Feedback Messages */
.form-feedback {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
}

.form-feedback.success {
    display: block;
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.form-feedback.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Top bar badge styling on Partner Page */
.partner-tag {
    background: rgba(51, 153, 165, 0.1);
    color: var(--primary-color);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Collapsible "Other Expertise" */
#other-expertise-group {
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, margin 0.4s ease-out;
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    overflow: hidden;
}

#other-expertise-group.visible {
    max-height: 150px;
    opacity: 1;
    margin-bottom: 1.5rem;
}

/* ============================================================
   Contact Page Styles
   ============================================================ */
.contact-section {
    padding: 8rem 0 6rem 0; /* extra top padding because there is no header banner */
    background-color: var(--bg-alt);
}

.contact-header-block {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.contact-tag {
    display: inline-block;
    background-color: rgba(51, 153, 165, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--primary-color);
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

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

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(51, 153, 165, 0.08);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-info-item:hover .contact-info-icon {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-info-content h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--secondary-color);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

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

.contact-form-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 6rem 0 4rem 0;
    }
    
    .contact-title {
        font-size: 2.2rem;
    }
    
    .contact-info-card, .contact-form-card {
        padding: 2rem 1.5rem;
    }
}