/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --primary-green: #77C045;
    --primary-cyan: #29AAE1;
    --dark-text: #333333;
    --light-gray: #f8f9fa;
    --white: #ffffff;
}

/* ============================================
   GENERAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark-text);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    padding: 1px 0;
    transition: all 0.3s ease;
    height: 100px;
    border-top: 5px solid #2ba9bc;
}

@media (max-width: 575.98px) {
    .navbar > .container,
    .navbar > .container-fluid,
    .navbar > .container-lg,
    .navbar > .container-md,
    .navbar > .container-sm,
    .navbar > .container-xl,
    .navbar > .container-xxl {
        display: flex;
        flex-wrap: inherit;
        align-items: center;
        justify-content: space-between;
        background-color: #ffffff;
    }
}

.navbar-brand .logo {
    height: 130px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

.navbar-nav .nav-link {
    color: var(--dark-text);
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-cyan);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.btn-custom {
    background: var(--primary-cyan);
    border: none;
    padding: 10px 30px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: #238a9a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 169, 188, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

/* If no background image is available, create a medical-themed gradient */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 193, 67, 0.1) 0%, rgba(43, 169, 188, 0.1) 100%);
}

.watermark-text,
.watermark-text-2 {
    position: absolute;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    letter-spacing: 5px;
    transform: rotate(-15deg);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

.watermark-text {
    top: 15%;
    right: -5%;
}

.watermark-text-2 {
    bottom: 10%;
    left: -5%;
    transform: rotate(-10deg);
}

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

/* ============================================
   TAGLINE
   ============================================ */
.tagline {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgb(255, 255, 255);
    background: var(--primary-cyan);
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

/* ============================================
   HERO TITLE WITH ANIMATED TEXT
   ============================================ */
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-align: center;
}

.word-line {
    display: block;
}

.animated-word {
    display: inline-block;
    margin: 0 10px;
}

.char {
    display: inline-block;
    animation: colorPulse 4s ease-in-out infinite;
}

.char.green {
    color: var(--primary-green);
    animation-delay: calc(var(--char-index) * 0.1s);
}

.char.cyan {
    color: var(--primary-cyan);
    animation-delay: calc(var(--char-index) * 0.1s);
}

/* Color animation */
@keyframes colorPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Assign delays to characters */
.char:nth-child(1) { --char-index: 1; }
.char:nth-child(2) { --char-index: 2; }
.char:nth-child(3) { --char-index: 3; }
.char:nth-child(4) { --char-index: 4; }
.char:nth-child(5) { --char-index: 5; }
.char:nth-child(6) { --char-index: 6; }
.char:nth-child(7) { --char-index: 7; }
.char:nth-child(8) { --char-index: 8; }
.char:nth-child(9) { --char-index: 9; }
.char:nth-child(10) { --char-index: 10; }
.char:nth-child(11) { --char-index: 11; }

/* ============================================
   HERO DESCRIPTION
   ============================================ */
.hero-description {
    font-size: 1.2rem;
    color: var(--dark-text);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-description .highlight {
    color: var(--primary-cyan);
    font-weight: 600;
}

/* ============================================
   HERO BUTTONS
   ============================================ */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-products {
    background: var(--primary-cyan);
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-products:hover {
    background: #238a9a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(43, 169, 188, 0.3);
}

.btn-learn {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    padding: 15px 40px;
    transition: all 0.3s ease;
    border: 1px solid #ffffff;
    border-radius: 10px;
}

.btn-learn:hover {
    color: #6aa839;
    transform: translateY(-3px);
    border: 1px solid #ffffff;
}

.btn-learn i {
    transition: transform 0.3s ease;
}

.btn-learn:hover i {
    transform: translateX(5px);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #b1bac5 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(123, 193, 67, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(43, 169, 188, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.section-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

.about-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #4a5568;
    margin-bottom: 2rem;
    text-align: justify;
}

/* Stats Cards */
.stat-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(43, 169, 188, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-cyan) 0%, var(--primary-green) 100%);
    transition: width 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(43, 169, 188, 0.15);
}

.stat-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-cyan);
    margin: 0;
    line-height: 1;
}

.stat-number.stat-green {
    color: var(--primary-green);
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #718096;
    margin-top: 0.5rem;
    margin-bottom: 0;
    letter-spacing: 1px;
}

/* Pills Showcase */
.pills-showcase {
    position: relative;
    z-index: 2;
}

.pills-container {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.pills-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-cyan) 100%);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.1;
}

.pill-box {
    background: white;
    border-radius: 15px;
    padding: 1rem;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.pill-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 193, 67, 0.05) 0%, rgba(43, 169, 188, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pill-box:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(43, 169, 188, 0.2);
}

.pill-box:hover::before {
    opacity: 1;
}

.pill-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.pill-box:hover .pill-img {
    transform: scale(1.05);
}

/* Add staggered animation to pill boxes */
.pill-box:nth-child(1) {
    animation: fadeInUp 0.6s ease 0.1s both;
}

.pill-box:nth-child(2) {
    animation: fadeInUp 0.6s ease 0.2s both;
}

.pill-box:nth-child(3) {
    animation: fadeInUp 0.6s ease 0.3s both;
}

.pill-box:nth-child(4) {
    animation: fadeInUp 0.6s ease 0.4s both;
}

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

/* ============================================
   VISION & MISSION SECTION
   ============================================ */
.vision-mission-section {
    background: white;
    position: relative;
}

.vision-card,
.mission-card {
    padding: 3rem 2.5rem;
    border-radius: 25px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

.vision-card {
    background: linear-gradient(135deg, #29AAE1 0%, #2BA9BC 100%);
}

.mission-card {
    background: linear-gradient(135deg, #5e9c35 0%, #77C045 100%);
}

/* Subtle pattern overlay */
.vision-card::before,
.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Icon Container */
.icon-container {
    width: 65px;
    height: 65px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.vision-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mission-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.icon-container i {
    font-size: 1.8rem;
    color: white;
}

/* Card Text */
.vision-card .card-title,
.mission-card .card-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.vision-card .card-text,
.mission-card .card-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Decorative elements */
.vision-card::after,
.mission-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.vision-card:hover::after,
.mission-card:hover::after {
    transform: scale(1.2);
    bottom: -30px;
    right: -30px;
}

/* ============================================
   CORE VALUES SECTION
   ============================================ */
.values-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #b1bac5 100%);
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Value Card Container */
.value-card {
    position: relative;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    -webkit-tap-highlight-color: transparent;
}

.value-card:hover,
.value-card.is-flipped {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Front and Back of Card */
.value-front,
.value-back {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.1rem;
    transition: opacity 0.4s ease, transform 0.4s ease;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.value-front {
    opacity: 1;
    transform: rotateY(0deg);
    z-index: 2;
}

.value-back {
    opacity: 0;
    transform: rotateY(180deg);
    z-index: 1;
}

/* Hover Effect - Flip */
.value-card:hover .value-front,
.value-card.is-flipped .value-front {
    opacity: 0;
    transform: rotateY(180deg);
}

.value-card:hover .value-back,
.value-card.is-flipped .value-back {
    opacity: 1;
    transform: rotateY(0deg);
}

/* Card Content */
.value-number {
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.value-description {
    font-size: 1.05rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    margin: 0;
}

/* Gradient Variations - Matching the screenshot */

/* Card 1 - Dark Teal to Green */
.gradient-1 {
    background: linear-gradient(135deg, #2C6E7E 0%, #7BC143 100%);
}

/* Card 2 - Light Green to Cyan */
.gradient-2 {
    background: linear-gradient(135deg, #7BC143 0%, #2BA9BC 100%);
}

/* Card 3 - Cyan to Green */
.gradient-3 {
    background: linear-gradient(135deg, #2DCCD3 0%, #7BC143 100%);
}

/* Card 4 - Blue to Green */
.gradient-4 {
    background: linear-gradient(135deg, #3AAFCA 0%, #7BC143 100%);
}

/* Card 5 - Green to Cyan */
.gradient-5 {
    background: linear-gradient(135deg, #7BC143 0%, #2DCCD3 100%);
}

/* Card 6 - Cyan to Green */
.gradient-6 {
    background: linear-gradient(135deg, #2DCCD3 0%, #7BC143 100%);
}

/* Card 7 - Blue to Green */
.gradient-7 {
    background: linear-gradient(135deg, #3495B3 0%, #7BC143 100%);
}

/* Card 8 - Green to Cyan */
.gradient-8 {
    background: linear-gradient(135deg, #7BC143 0%, #2DCCD3 100%);
}

/* Card 9 - Cyan to Green */
.gradient-9 {
    background: linear-gradient(135deg, #2DCCD3 0%, #7BC143 100%);
}

/* Card 10 - Blue to Green */
.gradient-10 {
    background: linear-gradient(135deg, #3AAFCA 0%, #7BC143 100%);
}

/* Add subtle pattern overlay to all cards */
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.value-front,
.value-back {
    position: absolute;
    z-index: 1;
}

/* Staggered Animation on Load */
.value-card {
    animation: fadeInScale 0.6s ease both;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.15s; }
.value-card:nth-child(3) { animation-delay: 0.2s; }
.value-card:nth-child(4) { animation-delay: 0.25s; }
.value-card:nth-child(5) { animation-delay: 0.3s; }
.value-card:nth-child(6) { animation-delay: 0.35s; }
.value-card:nth-child(7) { animation-delay: 0.4s; }
.value-card:nth-child(8) { animation-delay: 0.45s; }
.value-card:nth-child(9) { animation-delay: 0.5s; }
.value-card:nth-child(10) { animation-delay: 0.55s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
    background: white;
    position: relative;
}

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

/* Product Image Container */
.product-image-container {
    position: relative;
    background: linear-gradient(135deg, #E3F2FD 0%, #F0F4F8 100%);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.product-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(43, 169, 188, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Category Badge */
.product-category {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
}

.category-badge {
    display: inline-block;
    background: rgba(43, 169, 188, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(43, 169, 188, 0.3);
}

/* Product Image */
.product-image-wrapper {
    position: relative;
    text-align: center;
    padding: 2rem 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.5s ease, opacity 0.5s ease;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.product-image.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.product-image.fade-in {
    opacity: 1;
    transform: scale(1);
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    font-size: 1.2rem;
}

.carousel-nav:hover {
    background: var(--primary-cyan);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(43, 169, 188, 0.3);
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

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

.indicator.active {
    background: var(--primary-cyan);
    width: 30px;
    border-radius: 5px;
}

.indicator:hover {
    background: rgba(43, 169, 188, 0.7);
}

/* Product Details */
.product-details {
    padding-left: 2rem;
}

.product-name {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 1rem;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-name.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}

.product-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-cyan) 0%, var(--primary-green) 100%);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.product-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 2rem;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-description.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}

.btn-learn-more {
    background: var(--primary-cyan);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-learn-more:hover {
    background: #238a9a;
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(43, 169, 188, 0.3);
}

.btn-learn-more i {
    transition: transform 0.3s ease;
}

.btn-learn-more:hover i {
    transform: translateX(5px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #b1bac5 100%);
    position: relative;
}

.contact-info {
    padding-right: 2rem;
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.contact-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 3rem;
}

/* Info Items */
.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-cyan);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-icon i {
    font-size: 1.5rem;
    color: white;
}

.info-item:hover .info-icon {
    background: var(--primary-green);
    transform: scale(1.1);
}

.info-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.info-content p {
    font-size: 1rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

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

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 0.2rem rgba(43, 169, 188, 0.1);
    outline: none;
}

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

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

.btn-submit {
    background: var(--primary-cyan);
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background: #238a9a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(43, 169, 188, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #1a202c;
    color: #a0aec0;
    padding: 60px 0 0;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 140px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text h4 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-mission {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #a0aec0;
    margin: 0;
}

.footer-heading {
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-cyan);
    padding-left: 5px;
}

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

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

.footer-contact i {
    color: var(--primary-cyan);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-cyan);
}

.footer-contact span {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright,
.developer-credit {
    margin: 0;
    font-size: 0.9rem;
    color: #718096;
}

.developer-credit {
    color: #a0aec0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    
    .watermark-text,
    .watermark-text-2 {
        font-size: 5rem;
    }
    
    /* About Section */
    .about-title {
        font-size: 2.2rem;
    }
    
    .pills-container {
        padding: 1.5rem;
    }
    
    /* Vision & Mission */
    .vision-card .card-title,
    .mission-card .card-title {
        font-size: 1.75rem;
    }
    
    .vision-card .card-text,
    .mission-card .card-text {
        font-size: 1rem;
    }
    
    /* Core Values */
    .value-card {
        height: 260px;
    }
    
    .value-number {
        font-size: 4rem;
    }
    
    .value-title {
        font-size: 1.3rem;
    }
    
    /* Products */
    .product-name {
        font-size: 2.5rem;
    }
    
    .product-details {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .product-image-wrapper {
        min-height: 350px;
    }
    
    /* Contact */
    .contact-title {
        font-size: 2.5rem;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .animated-word {
        margin: 0 5px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .watermark-text,
    .watermark-text-2 {
        font-size: 3rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    /* About Section */
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-text {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .pills-container {
        margin-top: 2rem;
    }
    
    /* Vision & Mission */
    .vision-card,
    .mission-card {
        padding: 2.5rem 2rem;
        margin-bottom: 1.5rem;
    }
    
    .vision-card .card-title,
    .mission-card .card-title {
        font-size: 1.6rem;
    }
    
    .icon-container {
        width: 55px;
        height: 55px;
    }
    
    .icon-container i {
        font-size: 1.5rem;
    }
    
    /* Core Values */
    .value-card {
        height: 240px;
    }
    
    .value-number {
        font-size: 3.5rem;
    }
    
    .value-title {
        font-size: 1.2rem;
    }
    
    .value-description {
        font-size: 0.95rem;
    }
    
    /* Products */
    .product-name {
        font-size: 2rem;
    }
    
    .product-description {
        font-size: 1rem;
    }
    
    .product-image-container {
        padding: 2rem;
    }
    
    .product-image-wrapper {
        min-height: 300px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Contact */
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
    }
    
    .info-icon i {
        font-size: 1.2rem;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-heading {
        font-size: 1.1rem;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-products,
    .btn-learn {
        width: 100%;
    }
    
    /* About Section */
    .about-title {
        font-size: 1.6rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .pills-container {
        padding: 1rem;
    }
    
    .pill-box {
        padding: 0.75rem;
    }
    
    /* Vision & Mission */
    .vision-card,
    .mission-card {
        padding: 2rem 1.5rem;
    }
    
    .vision-card .card-title,
    .mission-card .card-title {
        font-size: 1.4rem;
    }
    
    .vision-card .card-text,
    .mission-card .card-text {
        font-size: 0.95rem;
    }
    
    /* Core Values */
    .value-card {
        height: 220px;
    }
    
    .value-number {
        font-size: 3rem;
    }
    
    .value-title {
        font-size: 1.1rem;
    }
    
    .value-description {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    /* Products */
    .product-name {
        font-size: 1.8rem;
    }
    
    .product-description {
        font-size: 0.95rem;
    }
    
    .product-image-container {
        padding: 1.5rem;
    }
    
    .product-image-wrapper {
        min-height: 250px;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .prev-btn {
        left: 0.5rem;
    }
    
    .next-btn {
        right: 0.5rem;
    }
    
    .btn-learn-more {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
    
    /* Contact */
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .info-item {
        gap: 1rem;
    }
    
    .info-content h4 {
        font-size: 1.1rem;
    }
    
    .info-content p {
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        padding: 30px 0 0;
    }
    
    .footer-heading {
        font-size: 1rem;
        margin-top: 1.5rem;
    }
    
    .footer-mission {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding: 1rem 0;
    }
    
    .copyright,
    .developer-credit {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* AOS Animations for Cards */
[data-aos] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0, 0);
}

@media (min-width: 992px) {
    #values .row > .col-lg-3 {
        flex: 0 0 auto !important;
        width: 20% !important;
        max-width: 20% !important;
    }
}

/* Override Bootstrap gutter for .g-4 and .gx-4 */
.g-4, .gx-4 {
    --bs-gutter-x: 0.5rem !important;
    --bs-gutter-y: 1.2rem !important; /* optional for vertical spacing */
}