/* =====================================================
   Petroleum Trading Center (PTC) â€” Brand Design System
   Midnight Blue · Petroleum Teal · Energy Orange
   ===================================================== */

:root {
    --primary: #0F2D52;
    --primary-dark: #0A1F3A;
    --primary-light: #1A4570;
    --secondary: #006D77;
    --secondary-dark: #00555C;
    --secondary-light: #0A8A96;
    --accent: #F28C28;
    --accent-dark: #D9771A;
    --accent-light: #F5A04A;
    --dark: #0F2D52;
    --dark-light: #1A4570;
    --gray-100: #F4F6F8;
    --gray-200: #E8ECF0;
    --gray-300: #D5DCE3;
    --gray-400: #B0BAC5;
    --gray-500: #8896A3;
    --gray-600: #5C6B7A;
    --gray-700: #3D4A57;
    --gray-800: #333333;
    --gray-900: #1A1F26;
    --white: #FFFFFF;
    --font-heading: 'Montserrat', 'Poppins', sans-serif;
    --font-family: 'Open Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(15,45,82,0.06);
    --shadow-md: 0 4px 20px rgba(15,45,82,0.10);
    --shadow-lg: 0 8px 40px rgba(15,45,82,0.14);
    --radius: 10px;
    --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-family);
    color: var(--gray-800);
    line-height: 1.65;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6,
.brand-name,
.section-title,
.hero-slide-content h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* =====================================================
   TOP BAR
   ===================================================== */
.top-bar {
    background: var(--dark);
    color: var(--gray-400);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar a {
    color: var(--gray-400);
}

.top-bar a:hover { color: var(--white); }

.lang-switcher a {
    font-weight: 600;
    padding: 0 4px;
}

.lang-switcher a.active { color: var(--accent); }

.top-link {
    font-weight: 500;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.main-nav {
    background: var(--white);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.main-nav.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo-img {
    height: var(--logo-height, 36px);
    max-height: var(--logo-height, 36px);
    width: auto;
    max-width: var(--logo-max-width, 140px);
    object-fit: contain;
    display: block;
    background: transparent !important;
}

.brand-logo.logo-style-none,
.brand-logo.logo-style-remove_white,
.brand-logo.logo-style-remove_black {
    background: transparent !important;
}

.site-logo-img.logo-knockout-white {
    mix-blend-mode: multiply !important;
}

.site-logo-img.logo-knockout-black {
    mix-blend-mode: screen !important;
}

.footer-brand .site-logo-img.logo-knockout-white {
    mix-blend-mode: screen !important; /* white bg logos on dark footer */
}

.footer-brand .site-logo-img[data-footer-invert="1"] {
    filter: brightness(0) invert(1);
    mix-blend-mode: normal !important;
}

.navbar-brand .site-logo-img,
.navbar-brand img.site-logo-img {
    height: var(--logo-height, 36px) !important;
    max-height: var(--logo-height, 36px) !important;
    width: auto !important;
    max-width: var(--logo-max-width, 140px) !important;
    background: transparent !important;
}

.footer-brand .site-logo-img {
    height: calc(var(--logo-height, 36px) + 4px);
    max-height: calc(var(--logo-height, 36px) + 4px);
    max-width: calc(var(--logo-max-width, 140px) + 10px);
    background: transparent !important;
}

.footer-brand .brand-name {
    color: var(--white);
}

.footer-brand .brand-tagline {
    color: rgba(255,255,255,0.55);
}

@media (max-width: 767px) {
    .site-logo-img,
    .navbar-brand .site-logo-img {
        height: min(var(--logo-height, 36px), 30px) !important;
        max-height: min(var(--logo-height, 36px), 30px) !important;
        max-width: min(var(--logo-max-width, 140px), 120px) !important;
    }
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.main-nav .nav-link {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px !important;
    position: relative;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--primary);
}

.main-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

.nav-rewards {
    color: var(--secondary) !important;
    font-weight: 600 !important;
}

.main-nav .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    padding: 8px;
    margin-top: 8px;
}

.main-nav .dropdown-item {
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
}

.main-nav .dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.btn-rewards,
.btn-request-fuel {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

.btn-rewards:hover,
.btn-request-fuel:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(242, 140, 40, 0.35);
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15, 45, 82, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}

.swiper-slide-active .hero-slide-bg {
    transform: scale(1.05);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 45, 117, 0.85) 0%, rgba(26, 26, 46, 0.7) 50%, rgba(227, 24, 55, 0.3) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: 0 20px;
}

.hero-slide-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-slide-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.btn-hero-primary:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 140, 40, 0.4);
}

.btn-hero-outline,
.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.85);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-heading);
}

.btn-hero-outline:hover,
.btn-hero-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-hero-ghost {
    background: transparent;
    color: rgba(255,255,255,0.9);
    border: none;
    padding: 12px 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.btn-hero-ghost:hover {
    color: var(--white);
}

.hero-swiper .swiper-pagination {
    bottom: 30px !important;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    transition: var(--transition);
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--accent);
    width: 32px;
    border-radius: 6px;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: var(--white);
    background: rgba(255,255,255,0.15);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 18px;
}

/* Hero gradient backgrounds (placeholder when no images) */
.hero-bg-1 { background: linear-gradient(135deg, #003DA5 0%, #1A1A2E 60%, #E31837 100%); }
.hero-bg-2 { background: linear-gradient(135deg, #1A1A2E 0%, #003DA5 50%, #002B75 100%); }
.hero-bg-3 { background: linear-gradient(135deg, #002B75 0%, #E31837 40%, #1A1A2E 100%); }

/* =====================================================
   SERVICE CARDS CAROUSEL (MEDCO-style)
   ===================================================== */
.services-carousel-section {
    padding: 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.services-carousel {
    padding: 0 20px 40px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.service-card-image i {
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
    transition: var(--transition);
}

.service-card:hover .service-card-image i {
    transform: scale(1.1);
    color: rgba(255,255,255,0.5);
}

.service-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary);
}

.service-card-body {
    padding: 24px;
}

.service-card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.service-card-body p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.service-card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card-link:hover {
    color: var(--secondary);
    gap: 10px;
}

.service-card-image.img-rewards { background: linear-gradient(135deg, #E31837, #B8132C); }
.service-card-image.img-app { background: linear-gradient(135deg, #003DA5, #1A5BC4); }
.service-card-image.img-store { background: linear-gradient(135deg, #FFC72C, #E5A800); }
.service-card-image.img-fleet { background: linear-gradient(135deg, #1A1A2E, #2D2D44); }

/* =====================================================
   SECTIONS COMMON
   ===================================================== */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-gray {
    background: var(--gray-100);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-dark .section-header h2 { color: var(--white); }

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-header p { color: var(--gray-400); }

.section-label {
    display: inline-block;
    background: rgba(0, 61, 165, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-dark .section-label {
    background: rgba(255, 199, 44, 0.15);
    color: var(--accent);
}

/* =====================================================
   BUSINESS CTA BANNER
   ===================================================== */
.business-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.business-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.business-banner h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.business-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

/* =====================================================
   STATISTICS
   ===================================================== */
.stats-section {
    padding: 60px 0;
    background: var(--white);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.stat-number .plus {
    font-size: 0.6em;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-top: 8px;
    font-weight: 500;
}

.stats-tagline {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-700);
    font-weight: 600;
    margin-bottom: 40px;
}

/* =====================================================
   PRODUCT CARDS
   ===================================================== */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card-image {
    height: 220px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card-image i {
    font-size: 3rem;
    color: var(--gray-300);
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-card-body {
    padding: 20px;
}

.product-card-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.product-card-body .brand-name {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card-body p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 8px;
}

/* =====================================================
   NEWS CARDS
   ===================================================== */
.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.news-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    position: relative;
    overflow: hidden;
}

.news-card-image .news-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--secondary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-card-body {
    padding: 20px;
}

.news-card-body .category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 8px 0;
    line-height: 1.4;
}

.news-card-body p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.news-card-body .read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-card-body .read-more:hover { color: var(--secondary); }

/* =====================================================
   REWARDS CTA
   ===================================================== */
.rewards-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 50%, var(--dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.rewards-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.rewards-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.rewards-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.rewards-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.reward-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.reward-feature i {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.reward-feature span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-card .stars {
    color: var(--accent);
    margin-bottom: 16px;
}

.testimonial-card p {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* =====================================================
   PARTNERS CAROUSEL
   ===================================================== */
.partners-section {
    padding: 50px 0;
    background: var(--gray-100);
}

.partner-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 12px 24px;
    box-shadow: var(--shadow-sm);
    font-weight: 700;
    color: var(--gray-600);
    font-size: 1.1rem;
    transition: var(--transition);
}

.partner-logo:hover {
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.partner-logo img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    display: block;
}

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.faq-section { padding: 80px 0; }

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
}

.faq-question:hover { color: var(--primary); }

.faq-question i {
    transition: var(--transition);
    color: var(--primary);
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =====================================================
   CONTACT FORM
   ===================================================== */
.contact-section { padding: 80px 0; }

.contact-form .form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.1);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item i {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =====================================================
   PROMOTIONS
   ===================================================== */
.promo-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
}

.promo-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.promo-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}

.promo-card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: var(--white);
    width: 100%;
}

.promo-card-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.promo-countdown {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.countdown-item {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    min-width: 55px;
}

.countdown-item .num {
    font-size: 1.3rem;
    font-weight: 800;
    display: block;
}

.countdown-item .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary-custom {
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
}

.btn-secondary-custom:hover {
    background: var(--secondary-dark);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background: var(--dark);
    color: var(--gray-400);
}

.footer-top { padding: 60px 0 40px; }

.footer-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--dark-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.newsletter-form .form-control {
    background: var(--dark-light);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50px 0 0 50px;
    padding: 10px 16px;
}

.newsletter-form .form-control::placeholder { color: var(--gray-500); }

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    background: var(--secondary);
    border: none;
    padding: 10px 16px;
}

.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-tagline {
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.footer-legal a {
    color: var(--gray-500);
    margin-left: 20px;
    font-size: 0.85rem;
}

.footer-legal a:hover { color: var(--white); }

/* =====================================================
   UTILITIES
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    color: var(--white);
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.back-to-top.visible { display: flex; }

/* Page Header (inner pages) */
.page-header {
    position: relative;
    padding: 80px 0 72px;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 45, 117, 0.88) 0%, rgba(0, 43, 117, 0.78) 45%, rgba(26, 26, 46, 0.82) 100%);
    z-index: 1;
}

.page-header-has-carousel .page-header-overlay {
    background: linear-gradient(135deg, rgba(0, 45, 117, 0.72) 0%, rgba(0, 43, 117, 0.55) 50%, rgba(26, 26, 46, 0.75) 100%);
}

.page-header-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-header-swiper,
.page-header-swiper .swiper-wrapper,
.page-header-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.page-header-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.page-header-subtitle {
    opacity: 0.92;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.page-header-pagination {
    bottom: 18px !important;
    z-index: 3;
}

.page-header-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
}

.page-header-pagination .swiper-pagination-bullet-active {
    background: var(--white);
    width: 22px;
    border-radius: 6px;
}

.page-intro-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .page-header {
        padding: 64px 0 56px;
        min-height: 240px;
    }
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb-custom a { color: var(--white); }
.breadcrumb-custom a:hover { color: var(--accent); }

/* =====================================================
   INNER PAGES â€” layout, images, spacing
   ===================================================== */
.page-content-section {
    padding: 56px 0 72px;
    overflow-x: hidden;
}

.page-content-container .row {
    margin-bottom: 0;
}

.page-content-container .row + .row {
    margin-top: 2.5rem;
}

.content-split {
    align-items: center;
}

@media (min-width: 992px) {
    .content-split .content-text {
        padding-right: 2rem;
    }

    .content-split .content-media {
        padding-left: 2rem;
    }
}

.media-box {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: var(--shadow-md);
    margin-inline: auto;
}

.media-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.media-box.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.media-box.placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.25);
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    height: 100%;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.feature-card h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.product-card-image img,
.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.product-detail-image {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-100);
    box-shadow: var(--shadow-md);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.product-detail-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-featured-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    display: block;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
    display: block;
    box-shadow: var(--shadow-sm);
}

.gallery-grid .gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--gray-100);
    margin: 0;
}

.gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-grid .gallery-item:hover img {
    transform: scale(1.04);
}

.map-embed {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.brand-logo-box {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.brand-logo-box img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

body.dark-mode .feature-card {
    background: var(--gray-100);
    border-color: var(--gray-200);
}

body.dark-mode .media-box {
    box-shadow: var(--shadow-sm);
}

@media (max-width: 991px) {
    .content-split .content-text,
    .content-split .content-media {
        padding-left: 0;
        padding-right: 0;
    }

    .content-split .content-media {
        margin-top: 1.5rem;
    }

    .page-content-section {
        padding: 40px 0 56px;
    }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991px) {
    .hero-section { height: 70vh; min-height: 500px; }
    .services-carousel-section { margin-top: -40px; }
    .section { padding: 60px 0; }
    .nav-actions { margin-top: 16px; }
    .btn-rewards { width: 100%; justify-content: center; }
}

@media (max-width: 767px) {
    .hero-section { height: 60vh; min-height: 450px; }
    .hero-buttons { flex-direction: column; }
    .btn-hero-primary, .btn-hero-outline { text-align: center; }
    .stats-section .row > div { margin-bottom: 20px; }
    .rewards-features { flex-direction: column; gap: 16px; }
    .footer-tagline { margin: 10px 0; }
    .top-bar-right { font-size: 0.75rem; gap: 8px !important; }
    .brand-name { font-size: 1.2rem; }
    .hero-slide-content h1 { font-size: 1.8rem; }
}

/* =====================================================
   PTC HOME — Chapter 2 Sections
   ===================================================== */
.ptc-hero { position: relative; }
.ptc-hero .hero-swiper,
.ptc-hero .hero-static {
    height: 92vh;
    min-height: 620px;
    position: relative;
    overflow: hidden;
}
.hero-slide-fallback {
    background:
        linear-gradient(135deg, rgba(15,45,82,0.92) 0%, rgba(0,109,119,0.75) 55%, rgba(15,45,82,0.88) 100%),
        radial-gradient(ellipse at 70% 40%, rgba(242,140,40,0.25), transparent 50%),
        #0F2D52 !important;
    background-size: cover !important;
}
.ptc-hero .hero-slide-overlay {
    background: linear-gradient(105deg, rgba(15,45,82,0.88) 0%, rgba(15,45,82,0.55) 55%, rgba(0,109,119,0.35) 100%);
}
.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent) !important;
    margin-bottom: 1rem !important;
}
.ptc-hero .hero-slide-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}
.ptc-hero .hero-slide-content h1 {
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.ptc-hero .hero-lead {
    color: rgba(255,255,255,0.88) !important;
    font-size: 1.05rem;
    max-width: 580px;
    margin-bottom: 2rem !important;
}
.ptc-hero .hero-static {
    display: flex;
    align-items: center;
}
.ptc-hero .hero-static .container { position: relative; z-index: 2; }

.ptc-stats {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 0;
    margin-top: -1px;
}
.ptc-stats .stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}
.ptc-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-top: 0.4rem;
}

.ptc-section { padding: 5rem 0; }
.bg-soft { background: var(--gray-100); }
.section-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    margin-bottom: 1rem;
}
.section-lead {
    max-width: 640px;
    margin: 0 auto 1.5rem;
    color: var(--gray-600);
}
.section-header { margin-bottom: 3rem; }

.ptc-card-link { display: block; color: inherit; height: 100%; }
.ptc-icon-card,
.ptc-product-card,
.ptc-why-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: var(--transition);
}
.ptc-icon-card:hover,
.ptc-product-card:hover,
.ptc-why-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.ptc-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0,109,119,0.12), rgba(15,45,82,0.08));
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.ptc-icon-card h3,
.ptc-product-card h3,
.ptc-why-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}
.ptc-icon-card p,
.ptc-product-card p,
.ptc-why-card p {
    color: var(--gray-600);
    font-size: 0.92rem;
    margin-bottom: 0;
}
.ptc-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}
.ptc-text-link:hover { color: var(--primary); }

.ptc-who-panel,
.ptc-rewards-panel {
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    background:
        linear-gradient(160deg, rgba(15,45,82,0.95), rgba(0,109,119,0.85)),
        #0F2D52;
    color: var(--white);
}
.ptc-who-panel h3,
.ptc-rewards-panel h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.ptc-who-panel p,
.ptc-rewards-panel p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
}

.ptc-industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    color: var(--primary);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    height: 100%;
    min-height: 120px;
    transition: var(--transition);
}
.ptc-industry-card i {
    font-size: 1.5rem;
    color: var(--secondary);
}
.ptc-industry-card:hover {
    border-color: var(--accent);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.ptc-app-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}
.ptc-app-section .section-title { color: var(--white); }
.text-white-75 { color: rgba(255,255,255,0.8); }
.ptc-feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 1.25rem;
}
.ptc-feature-list li {
    color: rgba(255,255,255,0.9);
    font-size: 0.92rem;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}
.ptc-feature-list i {
    color: var(--accent);
    margin-top: 0.2rem;
}
.coming-soon-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}
.ptc-phone-mock {
    width: 220px;
    height: 420px;
    margin: 0 auto;
    border-radius: 36px;
    border: 3px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}
.ptc-phone-mock i { font-size: 2.5rem; color: var(--accent); }

.ptc-benefit-chip {
    background: var(--gray-100);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ptc-benefit-chip i { color: var(--accent); font-size: 0.8rem; }

.ptc-testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--gray-200);
}
.ptc-testimonial-card .stars { color: var(--accent); }
.ptc-testimonial-card .quote {
    font-size: 1.05rem;
    color: var(--gray-700);
    margin-bottom: 1.25rem;
}
.ptc-testimonial-card .author strong {
    display: block;
    color: var(--primary);
    font-family: var(--font-heading);
}
.ptc-testimonial-card .author span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.ptc-coverage-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}
.ptc-coverage-card i {
    display: block;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}
.ptc-coverage-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.ptc-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}
.ptc-form-card .form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary);
}
.ptc-form-card .form-control,
.ptc-form-card .form-select {
    border-radius: 8px;
    border-color: var(--gray-300);
    padding: 0.7rem 0.9rem;
}
.ptc-form-card .form-control:focus,
.ptc-form-card .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0,109,119,0.15);
}

.ptc-news-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    height: 100%;
    color: inherit;
    transition: var(--transition);
}
.ptc-news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.ptc-news-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}
.ptc-news-img-fallback {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 2rem;
}
.ptc-news-body { padding: 1.25rem 1.5rem 1.5rem; }
.ptc-news-body time {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.ptc-news-body h3 {
    font-size: 1.05rem;
    margin: 0.5rem 0 0.75rem;
}

.ptc-partner-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    filter: grayscale(1);
    opacity: 0.7;
    transition: var(--transition);
}
.ptc-partner-logo:hover {
    filter: none;
    opacity: 1;
}
.ptc-partner-logo img {
    max-height: 50px;
    max-width: 140px;
    object-fit: contain;
}
.ptc-partner-logo span {
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.ptc-final-cta {
    background:
        linear-gradient(120deg, rgba(15,45,82,0.95), rgba(0,109,119,0.9)),
        #0F2D52;
    color: var(--white);
    padding: 5rem 0;
}
.ptc-final-cta h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}
.ptc-final-cta p {
    max-width: 620px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,0.85);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 0.7rem 1.5rem;
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 0.7rem 1.5rem;
}
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.brand-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    border-radius: 50% !important;
}

@media (max-width: 767px) {
    .ptc-hero .hero-swiper,
    .ptc-hero .hero-static { height: auto; min-height: 0; padding: 3.25rem 0 3.75rem; }
    .ptc-feature-list { grid-template-columns: 1fr; }
    .ptc-section { padding: 3rem 0; }
    .ptc-form-card { padding: 1.1rem; }
}

/* =====================================================
   MOBILE / RESPONSIVE FIXES (all phone sizes)
   ===================================================== */
html { -webkit-text-size-adjust: 100%; }

.main-nav .container {
    flex-wrap: wrap;
}

.nav-mobile-tools {
    margin-left: auto;
}

.btn-request-fuel-sm {
    padding: 8px 12px !important;
    font-size: 0.75rem !important;
    gap: 6px !important;
}

.btn-request-fuel-sm span {
    display: inline;
}

@media (max-width: 991.98px) {
    .main-nav {
        padding: 8px 0;
    }

    .navbar-brand {
        max-width: calc(100% - 150px);
    }

    .brand-tagline {
        display: none;
    }

    .brand-name {
        font-size: 1.15rem;
    }

    .navbar-collapse {
        width: 100%;
        margin-top: 12px;
        padding: 12px 4px 8px;
        border-top: 1px solid var(--gray-200);
        max-height: min(75vh, 560px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav .navbar-nav {
        width: 100%;
        gap: 0;
    }

    .main-nav .nav-link {
        padding: 12px 8px !important;
        font-size: 0.95rem;
        border-bottom: 1px solid var(--gray-100);
    }

    .main-nav .nav-link.active::after {
        display: none;
    }

    .main-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 0 0 8px 12px;
        margin: 0;
        background: var(--gray-100);
        border-radius: 8px;
    }

    .main-nav .dropdown-item {
        padding: 10px 12px;
    }

    .nav-actions .btn-request-fuel,
    .nav-actions .btn-outline-primary {
        width: 100%;
        justify-content: center;
    }

    .ptc-hero .hero-swiper,
    .ptc-hero .hero-static {
        height: auto;
        min-height: 0;
        padding: 3.5rem 0 4rem;
    }

    .ptc-hero .hero-slide-content {
        padding: 1rem 0;
        max-width: 100%;
    }

    .ptc-hero .hero-buttons,
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px;
    }

    .ptc-hero .hero-buttons .btn,
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .btn-hero-ghost {
        text-align: center;
        padding: 10px !important;
    }

    .ptc-stats {
        padding: 2rem 0;
    }

    .ptc-stats .stat-number {
        font-size: 1.45rem;
    }

    .ptc-stats .stat-label {
        font-size: 0.78rem;
        line-height: 1.3;
    }

    .page-hero-ptc {
        padding: 3rem 0 2.5rem;
    }

    .page-hero-ptc .hero-buttons {
        width: 100%;
    }

    .footer-bottom {
        text-align: center;
        gap: 10px;
    }

    .footer-legal {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 18px;
        left: 14px;
        right: auto;
        font-size: 1.5rem;
        z-index: 1040;
    }

    .back-to-top {
        bottom: 18px;
        right: 14px;
        left: auto;
        z-index: 1039;
    }

    .ptc-phone-mock {
        width: 180px;
        height: 340px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .top-bar {
        padding: 6px 0;
        font-size: 0.78rem;
    }

    .top-bar .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .top-bar-right {
        width: 100%;
        justify-content: flex-end;
        gap: 10px !important;
    }

    .btn-request-fuel-sm span {
        display: none;
    }

    .btn-request-fuel-sm {
        padding: 8px 10px !important;
        min-width: 40px;
        justify-content: center;
    }

    .navbar-brand {
        max-width: calc(100% - 110px);
    }

    .site-logo-img,
    .navbar-brand .site-logo-img {
        height: min(var(--logo-height, 36px), 28px) !important;
        max-height: min(var(--logo-height, 36px), 28px) !important;
        max-width: min(var(--logo-max-width, 140px), 110px) !important;
    }

    .ptc-hero .hero-slide-content h1,
    .ptc-hero .hero-static h1 {
        font-size: clamp(1.45rem, 7vw, 1.85rem) !important;
        margin-bottom: 0.85rem;
    }

    .ptc-hero .hero-lead {
        font-size: 0.92rem !important;
        margin-bottom: 1.25rem !important;
    }

    .hero-eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .ptc-section {
        padding: 2.5rem 0;
    }

    .ptc-icon-card,
    .ptc-product-card,
    .ptc-why-card {
        padding: 1.25rem;
    }

    .ptc-form-card .form-control,
    .ptc-form-card .form-select {
        font-size: 16px; /* prevents iOS zoom on focus */
    }

    .ptc-app-section .ptc-feature-list {
        grid-template-columns: 1fr;
    }

    .ptc-who-panel,
    .ptc-rewards-panel {
        min-height: 0;
        padding: 1.75rem;
    }

    .ptc-final-cta,
    .page-hero-ptc {
        padding: 2.75rem 0;
    }

    .ptc-final-cta h2 {
        font-size: 1.45rem;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 379px) {
    .brand-text .brand-name {
        font-size: 1rem;
    }

    .top-link-text {
        display: none;
    }

    .ptc-stats .stat-number {
        font-size: 1.25rem;
    }

    .ptc-coverage-card,
    .ptc-industry-card {
        padding: 0.9rem 0.5rem;
        font-size: 0.78rem;
        min-height: 96px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .main-nav .nav-link {
        padding: 8px 10px !important;
        font-size: 0.82rem;
    }

    .btn-request-fuel {
        padding: 9px 14px;
        font-size: 0.78rem;
    }
}

.page-hero-ptc {
    background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.page-hero-ptc.page-hero-has-carousel {
    min-height: 320px;
    display: flex;
    align-items: center;
}
.page-hero-ptc .page-header-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(15, 45, 82, 0.72) 0%, rgba(0, 109, 119, 0.55) 50%, rgba(10, 31, 58, 0.75) 100%);
}
.page-hero-ptc .page-hero-content {
    position: relative;
    z-index: 2;
}
.page-hero-ptc h1 {
    color: var(--white);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    max-width: 800px;
    margin-bottom: 1rem;
}
.page-hero-ptc .hero-lead {
    color: rgba(255,255,255,0.88);
    max-width: 680px;
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
}
.ptc-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 720px;
}
.ptc-check-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.45rem 0;
    color: var(--gray-700);
}
.ptc-check-list i {
    color: var(--secondary);
    margin-top: 0.3rem;
}
/* =====================================================
   AUTH PAGES (Login / Register)  PTC brand
   ===================================================== */
.auth-page {
    min-height: 100vh;
    margin: 0;
    background: var(--gray-100);
    font-family: var(--font-family);
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
}

.auth-brand-panel {
    background:
        linear-gradient(160deg, rgba(15,45,82,0.96) 0%, rgba(0,109,119,0.88) 100%),
        #0F2D52;
    color: #fff;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.auth-brand-inner {
    max-width: 420px;
}

.auth-brand-logo {
    max-height: 56px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.auth-brand-mark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.auth-brand-inner h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.auth-tagline {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.auth-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-benefits li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.auth-benefits i {
    color: var(--accent);
    margin-top: 0.2rem;
}

.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    min-height: 100vh;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.auth-card-header h2 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0.75rem 0 0.4rem;
}

.auth-card-header p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.auth-mobile-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.auth-form .form-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.auth-form .form-control {
    border-radius: 8px;
    border-color: var(--gray-300);
    padding: 0.7rem 0.9rem;
    font-size: 16px;
}

.auth-form .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0,109,119,0.15);
}

.auth-form .form-control-lg {
    padding: 0.85rem 1rem;
}

.auth-alert {
    border-radius: 8px;
    font-size: 0.9rem;
}

.auth-footer-links {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.auth-footer-links a {
    color: var(--secondary);
    font-weight: 600;
}

.auth-footer-links a:hover {
    color: var(--primary);
}

.auth-back-link {
    color: var(--gray-500) !important;
    font-weight: 500 !important;
    font-size: 0.85rem;
}

.auth-back-link:hover {
    color: var(--primary) !important;
}

@media (min-width: 992px) {
    .auth-shell {
        grid-template-columns: 1.05fr 1fr;
    }

    .auth-form-panel {
        min-height: 100vh;
        padding: 3rem;
    }

    .auth-card {
        padding: 2.5rem;
        max-width: 480px;
    }

    .auth-card.register-wide {
        max-width: 560px;
    }
}

@media (max-width: 575.98px) {
    .auth-form-panel {
        padding: 1.25rem 1rem;
        align-items: flex-start;
        padding-top: 2rem;
        min-height: auto;
    }

    .auth-card {
        padding: 1.5rem 1.15rem;
        box-shadow: var(--shadow-md);
    }

    .auth-card-header h2 {
        font-size: 1.4rem;
    }

    .auth-page {
        background: #fff;
    }

    .auth-card {
        border: none;
        box-shadow: none;
        padding-left: 0;
        padding-right: 0;
    }
}
