/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    /* Primary Colors */
    --primary-red: #d32f2f;
    --primary-red-dark: #b71c1c;
    --primary-blue: #1565c0;
    --primary-blue-dark: #0d47a1;
    
    /* Accent Colors */
    --accent-red: #ff5252;
    --accent-blue: #2a9bf7;
    
    /* Neutrals */
    --dark: #1a237e;
    --light: #f5f7fa;
    --text: #212121;
    --text-light: #757575;
    --white: #ffffff;
    
    /* Effects */
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;

    /* Pharma Colors */
    --pharma-blue-light: #ebf5ff;
    --pharma-blue-dark: #1565c0;
    --pharma-teal-light: #e6fffa;
    --pharma-teal-dark: #00897b;
    --pharma-green-light: #f0fff4;
    --pharma-green-dark: #2e7d32;
    --pharma-neutral-light: #f8f9fa;
    --pharma-neutral-dark: #37474f;
}

/* ===== BASE STYLES ===== */
body {
    padding-top: 140px;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    line-height: 1.6;
}

/* ===== HERO SECTION & CAROUSEL ===== */
.hero-section {
    position: relative;
    height: 70vh;
    overflow: hidden;
    margin-top: 0;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    max-width: 500px;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.carousel-btn {
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-3px);
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: white;
    transform: scale(1.2);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.sidebar-overlay .box {
    width: 90%;
    background: var(--primary-red);
    border-radius: 12px;
    text-align: center;
    padding: 30px 10px;
    margin: 15px 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.sidebar-overlay .box:hover {
    background: var(--primary-red-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ===== PRODUCT CATEGORIES ===== */
.product-categories {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 80px auto 20px;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    padding: 0 20px;
}

.product-categories .category-card {
    background-color: white;
    color: var(--primary-blue);
    width: 260px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    border: 2px solid var(--primary-blue);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    padding: 20px 10px 10px;
    text-decoration: none;
    position: relative;
}

.category-icon-wrapper {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 85px;
    height: 85px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--primary-blue);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: var(--transition);
}

.category-icon-wrapper i {
    font-size: 32px;
    color: var(--primary-blue);
    transition: var(--transition);
}

.category-name {
    font-size: 22px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin-top: 15px;
}

/* Category Card Hover Effects */
.product-categories .category-card:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(21, 101, 192, 0.3);
}

.product-categories .category-card:hover .category-icon-wrapper {
    background-color: var(--white) !important;
    border-color: var(--white) !important;
    transform: translateX(-50%) translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.product-categories .category-card:hover .category-icon-wrapper i {
    color: var(--primary-blue);
}

/* Pharma Card Variants */
.card-pharma-blue {
    background-color: var(--pharma-blue-light);
    border-color: var(--pharma-blue-dark) !important;
    color: var(--pharma-blue-dark) !important;
}

.card-pharma-blue .category-icon-wrapper {
    background-color: var(--pharma-blue-dark);
    border-color: var(--pharma-blue-dark);
}

.card-pharma-blue .category-icon-wrapper i {
    color: var(--white);
}

.card-pharma-blue:hover {
    background-color: var(--pharma-blue-dark) !important;
    color: var(--white) !important;
}

.card-pharma-teal {
    background-color: var(--pharma-teal-light);
    border-color: var(--pharma-teal-dark) !important;
    color: var(--pharma-teal-dark) !important;
}

.card-pharma-teal .category-icon-wrapper {
    background-color: var(--pharma-teal-dark);
    border-color: var(--pharma-teal-dark);
}

.card-pharma-teal .category-icon-wrapper i {
    color: var(--white);
}

.card-pharma-teal:hover {
    background-color: var(--pharma-teal-dark) !important;
    color: var(--white) !important;
}

.card-pharma-green {
    background-color: var(--pharma-green-light);
    border-color: var(--pharma-green-dark) !important;
    color: var(--pharma-green-dark) !important;
}

.card-pharma-green .category-icon-wrapper {
    background-color: var(--pharma-green-dark);
    border-color: var(--pharma-green-dark);
}

.card-pharma-green .category-icon-wrapper i {
    color: var(--white);
}

.card-pharma-green:hover {
    background-color: var(--pharma-green-dark) !important;
    color: var(--white) !important;
}

.card-pharma-neutral {
    background-color: var(--pharma-neutral-light);
    border-color: var(--pharma-neutral-dark) !important;
    color: var(--pharma-neutral-dark) !important;
}

.card-pharma-neutral .category-icon-wrapper {
    background-color: var(--pharma-neutral-dark);
    border-color: var(--pharma-neutral-dark);
}

.card-pharma-neutral .category-icon-wrapper i {
    color: var(--white);
}

.card-pharma-neutral:hover {
    background-color: var(--pharma-neutral-dark) !important;
    color: var(--white) !important;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: linear-gradient(to bottom, #ffffff, #f9fbff);
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.about-heading-premium {
    font-size: 2.2rem;
    color: var(--dark);
    line-height: 1.3;
    text-align: center;
    width: 100%;
    margin-bottom: 45px;
    position: relative;
}

.about-heading-premium::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

.about-content {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.about-text {
    flex: 1;
}

.about-features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.about-features li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(21, 101, 192, 0.1);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    transition: var(--transition);
}

.about-features li:hover .feature-icon {
    background-color: var(--primary-blue);
    color: white;
    transform: rotate(360deg);
}

.feature-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
}

.feature-text strong {
    color: var(--dark);
}

/* Trust Badges */
.about-trust-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.trust-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    background-color: #f7f9fc;
    border-radius: 12px;
    flex: 1;
    min-width: 240px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #eef1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon-wrapper i {
    font-size: 1.6rem;
    color: #3b4be0;
}

.card-content h4 {
    font-size: 1.5rem;
    color: #001d4a;
    margin: 0;
    font-weight: 700;
}

/* Premium CTA Button */
.cta-btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 8px 10px 8px 30px;
    background: linear-gradient(90deg, #1b0c7c 0%, #5d43f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(93, 67, 246, 0.2);
}

.cta-btn-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(93, 67, 246, 0.4);
}

.icon-circle {
    width: 45px;
    height: 45px;
    background-color: #e6e9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.icon-circle i {
    color: #1b0c7c;
    font-size: 1.2rem;
    transform: rotate(45deg);
}

.cta-btn-premium:hover .icon-circle {
    transform: scale(1.1);
}

/* About Image Blob */
.about-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    padding: 20px;
}

.blob-box {
    position: relative;
    width: 100%;
    max-width: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-blob {
    width: 500px;
    height: 480px;
    background: #eee;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    overflow: hidden;
    position: relative;
    z-index: 5;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    animation: morph 8s ease-in-out infinite alternate;
}

@keyframes morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.blob-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.main-blob:hover .blob-img {
    transform: scale(1);
}

/* S-Curve SVG */
.s-curve {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    z-index: 2;
    pointer-events: none;
}

.s-curve path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 5s linear infinite alternate;
}

@keyframes dash {
    to { stroke-dashoffset: 0; }
}

/* Floating Circles */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    filter: blur(40px);
    opacity: 0.3;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-blue);
    top: -50px;
    right: -50px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: var(--primary-red);
    bottom: -30px;
    left: -30px;
}

/* ===== APIS SECTION (UPDATED) ===== */
.apis-section {
    padding: 10px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.api-container {
    display: flex;
    border: 1px solid #e6e6e6;
    border-radius: 50px;
    overflow: hidden;
    background-color: #fff;
    transition: all 0.3s ease;
    margin: 20px auto;
    max-width: 1400px;
    height: 80px;
}

.api-item {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    font-size: 1.1rem;
    color: #333;
    border-right: 1px solid #e6e6e6;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    font-weight: 500;
}

.api-item:last-child {
    border-right: none;
    font-weight: 700;
    color: var(--primary-red);
}

.api-item span {
    flex: 1;
}

.api-item i {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: white;
}

.api-item:hover {
    background-color: var(--primary-blue);
    color: white;
    cursor: pointer;
}

.api-item:hover i {
    opacity: 1;
    transform: translateX(0);
}

.api-item:last-child:hover {
    background-color: var(--primary-red);
    color: white;
}

.api-item:last-child:hover i {
    color: white;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--accent-blue) 0%);
    padding: 20px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content {
    width: 100%;
}

.cta-heading {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    color: white;
    text-align: center;
    width: 100%;
}

.cta-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 60px;
    justify-content: center;
}

.cta-left {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    color: white;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 80px;
    line-height: 1.6;
    max-width: 100%;
}

.cta-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 80px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1rem;
    position: relative;
    z-index: 10;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 11;
}

.contact-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 2px;
}

.contact-link {
    font-weight: 600;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 2px;
    cursor: pointer;
    position: relative;
    z-index: 12;
}

.contact-link:hover {
    color: var(--accent-red);
    transform: translateY(-2px);
    text-decoration: underline;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 10;
}

.cta-btn {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-width: 200px;
    justify-content: center;
    position: relative;
    z-index: 12;
}

.cta-btn-primary {
    background-color: var(--primary-red);
    color: white;
    border: 2px solid var(--primary-red);
}

.cta-btn-primary:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

.cta-btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.cta-right {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    display: flex;
    justify-content: center;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 800px;
}

.stat {
    text-align: center;
    color: white;
    padding: 30px 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: all 0.3s ease;
}

.stat:nth-child(1) { background-image: url('../image/index/1.jpeg'); }
.stat:nth-child(2) { background-image: url('../image/index/2.jpeg'); }
.stat:nth-child(3) { background-image: url('../image/index/3.jpeg'); }
.stat:nth-child(4) { background-image: url('../image/index/4.jpeg'); }

.stat:hover::before {
    background: rgba(21, 101, 192, 0.6);
}

.stat-value,
.stat-label,
.stat-description {
    position: relative;
    z-index: 2;
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 1;
}

.stat-description {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
    max-width: 100%;
    margin-top: 5px;
}

/* Floating Molecules */
.molecule {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: float 20s infinite linear;
    z-index: 1;
}

.molecule::before,
.molecule::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.molecule::before {
    top: -15px;
    left: -15px;
}

.molecule::after {
    bottom: -15px;
    right: -15px;
}

.molecule-1 { top: 10%; right: 10%; }
.molecule-2 { bottom: 20%; right: 20%; }

@keyframes float {
    0% { transform: rotate(0deg) translateX(15px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(15px) rotate(-360deg); }
}

/* ===== WHY CERATA / API SECTION ===== */
.api-section {
    padding: 10px 0;
    background-color: #cbd9e655;
}

.api-redesign-container {
    display: flex;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 50px;
    align-items: stretch;
}

.why-container h2 {
    font-size: 1.8rem;
    color: var(--primary-blue-dark);
    position: relative;
    display: inline-block;
}

.why-container p {
    font-size: 1rem;
    color: black;
    margin-bottom: 10px;
    line-height: 1.8;
}

.api-desc {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    padding: 10px 0 10px 0;
}

.api-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.api-points div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: black;
    font-weight: 500;
    background: transparent;
    padding: 5px 0;
    border: none;
    box-shadow: none;
}

.api-points div i {
    color: black;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.api-support {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 5px;
    border-radius: 15px;
}

.support-badge {
    background: var(--primary-blue);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.2rem;
}

.api-support p {
    color: black;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.api-redesign-left .api-left {
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.api-redesign-left .support-badge {
    background: #0d47a1;
}

.api-title {
    margin: 0;
    color: var(--primary-blue-dark);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.api-redesign-right .api-right {
    width: 500px;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 20px 0 0;
}

.api-card {
    height: 140px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.api-card img {
    height: 115px;
    object-fit: cover;
    width: 100%;
}

.api-card h4 {
    padding: 0 8px;
    color: #0d47a1;
    font-weight: 500;
    font-size: 0.9rem;
}

/* ===== GLOBAL PRESENCE ===== */
.global-presence {
    padding: 10px 0;
    position: relative;
    overflow: hidden;
}

.gp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gp-header {
    text-align: center;
    margin-bottom: 20px;
}

.gp-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.gp-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 5px;
    background: var(--primary-red);
    border-radius: 3px;
}

.gp-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.gp-map-container {
    position: relative;
    border-radius: 25px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gp-points-top,
.gp-points-bottom {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gp-points-top li,
.gp-points-bottom li {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.gp-points-top li i,
.gp-points-bottom li i {
    color: var(--primary-red);
    margin-top: 5px;
    font-size: 1.1rem;
}

.gp-points-bottom li i {
    color: var(--primary-blue);
}

.map-wrapper {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 20px;
    overflow: hidden;
    height: 280px;
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
}

.world-map {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.map-point {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    transform-origin: center;
}

.map-point:hover {
    transform: scale(1.25);
    z-index: 15;
}

.map-point .point {
    width: 18px;
    height: 18px;
    background: var(--primary-red);
    border-radius: 50%;
    position: relative;
    border: 4px solid white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.map-point.active .point {
    background: var(--primary-blue);
    box-shadow: 0 0 0 5px white, 0 0 0 10px rgba(211, 47, 47, 0.25);
    transform: scale(1.4);
}

.map-point .point-label {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: linear-gradient(135deg, var(--primary-blue), #1976d2);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 20;
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.2);
    min-width: 150px;
    text-align: center;
}

.map-point .point-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid var(--primary-blue);
}

.map-point:hover .point-label,
.map-point.active .point-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@keyframes active-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(21, 101, 192, 0.4), 0 0 0 5px white, 0 0 0 10px rgba(211, 47, 47, 0.25);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(21, 101, 192, 0.15), 0 0 0 5px white, 0 0 0 10px rgba(211, 47, 47, 0.3);
    }
}

.map-point.active .point {
    animation: active-pulse 2s ease-in-out infinite;
}

.region-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.region-item {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.region-item.active {
    border-color: var(--primary-blue);
    box-shadow: 0 12px 35px rgba(21, 101, 192, 0.18);
    background: white;
}

.region-header {
    padding: 10px 15px;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.region-item.active .region-header {
    background: linear-gradient(135deg, #f0f9ff 0%, #e8f4ff 100%);
    border-bottom: 2px solid #e2e8f0;
}

.region-header h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    margin: 0;
    flex: 1;
}

.toggle-icon {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    display: inline-block;
    width: 26px;
    text-align: center;
    line-height: 1;
}

.region-item.active .toggle-icon {
    transform: rotate(45deg);
    color: var(--primary-red);
}

.region-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.region-item.active .region-content {
    max-height: 400px;
    padding: 20px;
}

.country-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}

.region-item.active .country-tags {
    opacity: 1;
}

.country-tags span {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    position: relative;
    overflow: hidden;
}

.country-tags span:hover {
    background: linear-gradient(135deg, #e8f4ff 0%, #d4eaff 100%);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(21, 101, 192, 0.15);
}

.region-item.active .country-tags span {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 20px 20px;
}

.footer-column h3 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-red);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* =============================================== */
/* RESPONSIVE DESIGN */
/* =============================================== */

/* Large Tablets (992px - 1200px) */
@media (max-width: 1200px) {
    .gp-map-container { width: 100%; padding: 25px; }
    .map-wrapper { height: 550px; }
    .about-content { gap: 40px; }
    .api-redesign-container { gap: 30px; }
    .api-redesign-right .api-right { width: 100%; }
    
    .api-container { max-width: 95%; }
}

/* Tablets (768px - 992px) */
@media (max-width: 992px) {
    body { padding-top: 120px; }
    .hero-section { height: 60vh; }
    .carousel-caption h2 { font-size: 2rem; }
    .carousel-caption p { font-size: 1rem; }
    .sidebar-overlay { width: 40%; }
    .box { font-size: 1.3rem; padding: 25px 10px; }
    .about-content { flex-direction: column; }
    .about-image-wrapper { width: 100%; justify-content: center; }
    .cta-heading { font-size: 2.4rem; }
    .gp-content { grid-template-columns: 1fr; gap: 30px; }
    .map-wrapper { height: 500px; }
    .api-redesign-container { flex-direction: column; }
    .api-redesign-right .api-right { width: 100%; }
    
    .api-container {
        flex-wrap: wrap;
        border-radius: 30px;
    }
    
    .api-item {
        flex: 0 0 50%;
        border-right: 1px solid #e6e6e6;
        border-bottom: 1px solid #e6e6e6;
    }
    
    .api-item:nth-child(even) {
        border-right: none;
    }
    
    .api-item:last-child {
        border-bottom: none;
    }
}

/* Large Mobile (576px - 768px) */
@media (max-width: 768px) {
    body { padding-top: 75px; }
    .hero-section { height: 50vh; }
    .carousel-caption { bottom: 15%; left: 5%; }
    .carousel-caption h2 { font-size: 1.8rem; }
    .carousel-caption p { font-size: 0.95rem; }
    
    .sidebar-overlay {
        position: relative;
        width: 100%;
        height: auto;
        flex-direction: row;
        background: rgba(21, 101, 192, 0.95);
        justify-content: space-around;
        padding: 15px;
    }
    
    .box {
        width: 30%;
        margin: 0 5px;
        font-size: 1.2rem;
        padding: 20px 5px;
    }
    
    .product-categories { gap: 15px; padding: 0 15px; }
    .category-card { width: 170px; height: 100px; font-size: 18px; }
    .section-title h2 { font-size: 2rem; }
    .about-heading-premium { font-size: 2rem; }
    .main-blob { width: 400px; height: 400px; }
    
    .cta-heading { font-size: 2rem; }
    .cta-content-wrapper { gap: 40px; }
    .cta-description { margin-bottom: 40px; font-size: 1rem; }
    .cta-contact-info { flex-direction: column; gap: 20px; margin-bottom: 40px; }
    .cta-buttons { flex-direction: column; gap: 15px; }
    .cta-btn { width: 100%; justify-content: center; }
    .stats-container { grid-template-columns: 1fr; gap: 20px; }
    .molecule { display: none; }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .api-item {
        flex: 0 0 100%;
        border-right: none;
        border-bottom: 1px solid #e6e6e6;
        padding: 20px 25px;
    }
    
    .api-item:last-child {
        border-bottom: none;
    }
    
    .api-title { font-size: 2.2rem; }
    .api-points { grid-template-columns: 1fr; }
    .api-support { flex-direction: column; text-align: center; gap: 15px; }
    .support-badge { width: 100%; max-width: 80px; }
    
    .gp-title { font-size: 2.2rem; }
    .map-wrapper { height: 400px; }
    .region-header { padding: 18px 20px; }
    .region-header h3 { font-size: 1.1rem; }
    .region-item.active .region-content { padding: 20px; }
    .country-tags { gap: 8px; }
    .country-tags span { padding: 8px 15px; font-size: 0.9rem; }
}

/* Mobile (480px - 576px) */
@media (max-width: 576px) {
    body { padding-top: 70px; }
    .hero-section { height: 45vh; }
    .carousel-caption { bottom: 10%; left: 5%; }
    .carousel-caption h2 { font-size: 1.5rem; }
    .carousel-caption p { font-size: 0.85rem; margin-bottom: 15px; }
    .carousel-btn { padding: 10px 20px; font-size: 0.9rem; }
    .carousel-arrow { width: 40px; height: 40px; font-size: 1.2rem; }
    .carousel-dot { width: 10px; height: 10px; }
    
    .sidebar-overlay { flex-direction: column; padding: 10px; }
    .box {
        width: 90%;
        margin: 8px 0;
        font-size: 1.1rem;
        padding: 18px 10px;
    }
    
    .product-categories { gap: 10px; margin: 30px auto; }
    .category-card { width: 140px; height: 90px; font-size: 16px; }
    .section-title h2 { font-size: 1.8rem; }
    .section-title p { font-size: 0.9rem; }
    
    .about-heading-premium { font-size: 1.8rem; }
    .about-section { padding: 20px 0; }
    .about-image-wrapper { padding: 0; }
    .main-blob { width: 350px; height: 350px; }
    
    .apis-section {
        padding: 30px 15px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .api-item {
        padding: 18px 20px;
        font-size: 1rem;
    }
    
    .cta-heading { font-size: 1.8rem; margin-bottom: 30px; }
    .cta-left { min-width: 100%; }
    .cta-description { margin-bottom: 30px; font-size: 0.95rem; }
    .contact-item { flex-direction: column; text-align: center; gap: 8px; }
    .contact-icon { width: 45px; height: 45px; font-size: 1rem; }
    .contact-text { align-items: center; }
    .cta-btn { min-width: 100%; padding: 14px 25px; }
    .stat { padding: 20px 15px; }
    .stat-value { font-size: 1.8rem; }
    .stat-description { font-size: 0.8rem; }
    
    .api-section { padding: 25px 15px; }
    .api-title { font-size: 1.8rem; margin-bottom: 30px; }
    .api-redesign-left .api-left { padding: 0; }
    .api-points div { padding: 12px 15px 12px 35px; font-size: 0.85rem; }
    .api-card { height: 120px; }
    .api-card img { height: 90px; }
    .api-card h4 { font-size: 0.85rem; }
    
    .gp-title { font-size: 1.8rem; }
    .map-wrapper { height: 300px; }
    .map-point .point { width: 14px; height: 14px; border: 3px solid white; }
    .map-point .point-label { font-size: 0.8rem; padding: 8px 15px; min-width: 120px; }
    .region-header { padding: 15px; }
    .region-header h3 { font-size: 1rem; }
    .region-item.active .region-content { padding: 15px; }
    .country-tags span { padding: 6px 12px; font-size: 0.8rem; }
}

/* Small Mobile (below 480px) */
@media (max-width: 480px) {
    .carousel-caption h2 { font-size: 1.3rem; }
    .carousel-caption p { font-size: 0.8rem; }
    .box { font-size: 1rem; padding: 15px 5px; }
    .category-card { width: 120px; height: 80px; font-size: 14px; }
    .section-title h2 { font-size: 1.6rem; }
    .cta-heading { font-size: 1.6rem; }
    .api-title { font-size: 1.6rem; }
    .gp-title { font-size: 1.6rem; }
    .map-wrapper { height: 250px; }
    .main-blob { width: 300px; height: 300px; }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .api-item {
        padding: 15px;
        font-size: 0.95rem;
    }
}

/* Very Small Mobile (below 360px) */
@media (max-width: 360px) {
    body { padding-top: 60px; }
    .category-card { width: 100px; height: 70px; font-size: 12px; }
    .section-title h2 { font-size: 1.4rem; }
    .cta-heading { font-size: 1.4rem; }
    .api-title { font-size: 1.4rem; }
    .gp-title { font-size: 1.4rem; }
    .main-blob { width: 250px; height: 250px; }
}

/* Landscape Orientation Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section { height: 100vh; }
    .carousel-caption { bottom: 20%; }
    .sidebar-overlay { flex-direction: row; }
    .box { padding: 15px 5px; font-size: 1rem; }
    .map-wrapper { height: 350px; }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .carousel-btn, .cta-btn {
        transform: translateZ(0);
        -webkit-font-smoothing: antialiased;
    }
    .api-card img, .carousel-item img {
        image-rendering: -webkit-optimize-contrast;
    }
}