/* ============================================
   CAMPA COLA - Franchise Website Styles
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #e31e24;
    --primary-dark: #b71518;
    --primary-light: #ff4d52;
    --secondary: #1a1a2e;
    --secondary-light: #16213e;
    --accent: #f5a623;
    --accent-light: #ffd700;
    --dark: #0a0a0a;
    --dark-2: #1a1a1a;
    --dark-3: #2a2a2a;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --light: #f8f9fa;
    --light-2: #e9ecef;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-dark: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --shadow-xl: 0 16px 60px rgba(0,0,0,0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-full {
    width: 100%;
    padding: 0;
    overflow: hidden;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.15);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(227,30,36,0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(227,30,36,0.45);
}

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

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

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

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

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo .logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

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

.nav-cta {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 18px rgba(227,30,36,0.4);
    animation: cta-glow 2s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

@keyframes cta-glow {
    0%, 100% { box-shadow: 0 4px 18px rgba(227,30,36,0.4); }
    50% { box-shadow: 0 4px 28px rgba(227,30,36,0.7); }
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 30px rgba(227,30,36,0.6);
    animation: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 40%, #2d0a0a 100%);
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at 30% 50%, rgba(227,30,36,0.15) 0%, transparent 60%),
                radial-gradient(circle at 70% 30%, rgba(245,166,35,0.1) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(227,30,36,0.4);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: rgba(227,30,36,0.15);
    border: 1px solid rgba(227,30,36,0.4);
    color: var(--primary-light);
    padding: 8px 24px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% { border-color: rgba(227,30,36,0.4); }
    50% { border-color: rgba(227,30,36,0.8); }
}

.hero-title {
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-line {
    display: block;
}

.hero-line.highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255,255,255,0.7);
    max-width: 650px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    display: inline;
}

.stat-suffix {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    color: rgba(255,255,255,0.4);
    font-size: 24px;
    animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ---------- Marquee Banner ---------- */
.marquee-banner {
    background: var(--gradient-primary);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0 40px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Sections Common ---------- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light .section-title,
.section-header.light .section-desc {
    color: var(--white);
}

.section-header.light .section-desc {
    color: rgba(255,255,255,0.7);
}

.section-tag {
    display: inline-block;
    background: rgba(227,30,36,0.1);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-header.light .section-tag {
    background: rgba(255,255,255,0.1);
    color: var(--accent);
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-title span {
    color: var(--primary);
}

.section-desc {
    font-size: 16px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- About Section ---------- */
.about {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

/* Image Fallback System */
.img-fallback-content {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 20px;
    width: 100%;
    height: 100%;
}

.img-fallback-content i {
    font-size: 48px;
    opacity: 0.5;
}

.img-fallback-content span {
    font-size: 15px;
    font-weight: 600;
}

.img-fallback-content small {
    font-size: 12px;
    opacity: 0.5;
}

.img-fallback .img-fallback-content {
    display: flex;
}

.img-fallback img {
    display: none;
}

.about-img-wrapper {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

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

.about-img-wrapper .img-fallback-content {
    position: absolute;
    inset: 0;
}

.about-float-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-float-card i {
    font-size: 28px;
    color: var(--primary);
}

.about-float-card strong {
    font-size: 18px;
    display: block;
}

.about-float-card p {
    font-size: 13px;
    color: var(--gray);
}

.about-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary);
}

.about-content > p {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 15px;
}

.about-features {
    margin: 28px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--secondary);
}

.about-feature i {
    color: var(--primary);
    font-size: 18px;
}

/* ---------- Products Section ---------- */
.products {
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(227,30,36,0.15);
}

.product-img-wrapper {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    position: relative;
    overflow: hidden;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-img-wrapper .img-fallback-content {
    position: absolute;
    inset: 0;
}

.product-info {
    padding: 28px;
}

.product-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.product-info p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 14px;
}

.product-tag {
    display: inline-block;
    background: rgba(227,30,36,0.1);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Partnership Section ---------- */
.partnership {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.partnership-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(227,30,36,0.08) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(245,166,35,0.06) 0%, transparent 50%);
}

.partnership-hero-img {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(227,30,36,0.2), rgba(26,26,46,0.8));
    position: relative;
}

.partnership-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.partnership-hero-img .img-fallback-content {
    position: absolute;
    inset: 0;
}

.partnership-content {
    position: relative;
    z-index: 1;
}

.partnership-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.partnership-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(227,30,36,0.3);
    transform: translateY(-4px);
}

.partnership-card.main-card {
    margin-bottom: 32px;
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    margin-bottom: 20px;
}

.card-icon.small {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-bottom: 16px;
}

.partnership-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.partnership-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.partnership-card p {
    color: rgba(255,255,255,0.65);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.partnership-card p:last-child {
    margin-bottom: 0;
}

.partnership-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ---------- Franchise Options ---------- */
.franchise-options {
    background: var(--white);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.option-card {
    position: relative;
    background: var(--white);
    border: 2px solid var(--light-2);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.option-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.option-card:hover::before {
    transform: scaleX(1);
}

.option-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.option-card.featured::before {
    transform: scaleX(1);
}

.option-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 40px;
    transform: rotate(45deg);
}

.option-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(227,30,36,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition);
}

.option-card:hover .option-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.option-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
}

.option-price {
    margin-bottom: 28px;
}

.price-from {
    display: block;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 4px;
}

.price-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.option-features {
    text-align: left;
    margin-bottom: 32px;
}

.option-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--dark-3);
    border-bottom: 1px solid var(--light-2);
}

.option-features li:last-child {
    border-bottom: none;
}

.option-features li i {
    color: var(--primary);
    font-size: 14px;
}

/* ---------- Why Us Section ---------- */
.why-us {
    background: var(--light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(227,30,36,0.15);
}

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(227,30,36,0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.why-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.why-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* ---------- Apply Section ---------- */
.apply {
    background: var(--white);
}

.apply-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.apply-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.apply-info > p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 36px;
}

.apply-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.apply-step {
    display: flex;
    align-items: center;
    gap: 20px;
}

.step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.apply-step h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 2px;
}

.apply-step p {
    font-size: 13px;
    color: var(--gray);
}

.apply-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.apply-contact-info div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray);
}

.apply-contact-info i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* Form Placeholder Area */
.form-placeholder {
    background: var(--light);
    border: 2px dashed var(--light-2);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-placeholder-inner i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.form-placeholder-inner h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.form-placeholder-inner p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 8px;
}

.form-placeholder-note {
    font-size: 13px !important;
    color: var(--gray-light) !important;
    font-style: italic;
}

.form-placeholder-code {
    background: var(--dark);
    color: var(--gray-light);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 13px;
    margin-top: 20px;
}

/* ---------- Gallery Section ---------- */
.gallery {
    background: var(--dark);
    padding-bottom: 100px;
}

.gallery .section-header {
    padding: 0 24px;
}

.gallery .section-title {
    color: var(--white);
}

.gallery .section-desc {
    color: rgba(255,255,255,0.6);
}

.gallery .section-tag {
    background: rgba(227,30,36,0.15);
}

.gallery-slider {
    overflow: hidden;
    width: 100%;
}

.gallery-track {
    display: flex;
    animation: gallery-scroll 40s linear infinite;
    width: max-content;
}

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

.gallery-item {
    width: 300px;
    height: 220px;
    flex-shrink: 0;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.3);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-img-placeholder:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    color: rgba(255,255,255,0.7);
}

.gallery-img-placeholder i {
    font-size: 36px;
}

.gallery-img-placeholder span {
    font-size: 13px;
    font-weight: 500;
}

@keyframes gallery-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Contact Section ---------- */
.contact {
    background: var(--light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: var(--white);
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(227,30,36,0.15);
}

.contact-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    background: rgba(227,30,36,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.contact-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.contact-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.8;
}

/* Contact Form */
.contact-form-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-2);
}

.contact-form-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-box h3 i {
    color: var(--primary);
}

.contact-form-box > p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 28px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form .form-group.full-width {
    margin-bottom: 20px;
}

.contact-form textarea {
    padding: 12px 16px;
    border: 2px solid var(--light-2);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 14px;
    color: var(--dark);
    background: var(--white);
    outline: none;
    transition: var(--transition);
    resize: vertical;
    width: 100%;
    min-height: 120px;
}

.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227,30,36,0.1);
}

.contact-form textarea::placeholder {
    color: var(--gray-light);
}

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

.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(227,30,36,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    transition: var(--transition);
}

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

/* ---------- Footer ---------- */
.footer {
    background: var(--dark);
    padding: 80px 0 0;
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo .logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-about .social-links a {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
}

.footer-about .social-links a:hover {
    background: var(--gradient-primary);
    color: var(--white);
}

.footer-links h4,
.footer-newsletter h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

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

.footer-newsletter p {
    font-size: 14px;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-family: var(--font);
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.35);
}

.newsletter-form button {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 20px;
    color: var(--white);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.35);
    font-size: 13px;
}

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

/* ---------- Popup ---------- */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.popup-overlay.active .popup {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    z-index: 2;
}

.popup-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.popup-header {
    text-align: center;
    margin-bottom: 32px;
}

.popup-icon {
    width: 64px;
    height: 64px;
    background: rgba(227,30,36,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin: 0 auto 16px;
}

.popup-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.popup-header p {
    font-size: 14px;
    color: var(--gray);
}

.popup-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 2px solid var(--light-2);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 14px;
    color: var(--dark);
    background: var(--white);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227,30,36,0.1);
}

.form-group input::placeholder {
    color: var(--gray-light);
}

.popup-submit {
    margin-top: 8px;
}

/* ---------- Back To Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(227,30,36,0.35);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(227,30,36,0.5);
}

/* ---------- Animations (Scroll Reveal) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Page Header (for inner pages) ---------- */
.page-header {
    background: var(--gradient-dark);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(227,30,36,0.1) 0%, transparent 60%);
}

.page-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    position: relative;
}

.page-header h1 span {
    color: var(--primary);
}

.page-header p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.page-header .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    position: relative;
}

.page-header .breadcrumb a {
    color: var(--primary-light);
}

.page-header .breadcrumb a:hover {
    color: var(--white);
}

/* ---------- Inner Page Content ---------- */
.page-content {
    padding: 80px 0;
}

.page-content .content-block {
    margin-bottom: 48px;
}

.page-content .content-block h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.page-content .content-block p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.page-content .content-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 32px 0;
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    position: relative;
}

.page-content .content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-content .content-image .img-fallback-content {
    position: absolute;
    inset: 0;
}

.page-content .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin: 48px 0;
}

.page-content .two-col img {
    width: 100%;
    border-radius: var(--radius-lg);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto 30px;
    }

    .about-float-card {
        right: 0;
        bottom: -10px;
        padding: 15px 20px;
        transform: scale(0.9);
    }

    .partnership-highlights {
        grid-template-columns: 1fr;
    }

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

    .options-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .option-card.featured {
        transform: scale(1);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .apply-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-cards {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .page-content .two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10,10,10,0.98);
        padding: 24px;
        gap: 16px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number, .stat-suffix {
        font-size: 32px;
    }

    .section {
        padding: 70px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .contact-info-cards {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form-box {
        padding: 28px 20px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .popup {
        padding: 24px;
    }

    .popup-form .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        width: 250px;
        height: 180px;
    }

    .partnership-hero-img {
        height: 250px;
    }

    .about-float-card {
        position: static;
        margin-top: 20px;
        transform: scale(1);
        justify-content: center;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-image {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .about-img-wrapper {
        border-radius: var(--radius-md);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 14px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .gallery-item {
        width: 200px;
        height: 150px;
    }

    .form-placeholder {
        padding: 40px 20px;
    }

    .about-content h3 {
        font-size: 24px;
        text-align: center;
    }

    .about-content p {
        text-align: center;
    }

    .about-feature {
        justify-content: center;
    }

    .about-content .btn {
        display: block;
        margin: 20px auto 0;
        width: fit-content;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-content .two-col div h2 {
        text-align: center;
        font-size: 22px;
        margin-top: 15px;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .product-img-wrapper {
        height: 240px;
    }
}