/* ========================================
   Global Max Pay LTD - Modern CSS Styles
   ======================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* CSS Variables */
:root {
    --primary-color: #1a237e;
    --secondary-color: #283593;
    --accent-color: #3949ab;
    --red-primary: #e53e3e;
    --red-secondary: #f56565;
    --red-accent: #fc8181;
    --red-light: #fed7d7;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.2s linear;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

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

a:hover {
    color: var(--secondary-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Base Image Styles - Responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Images in Picture Elements */
picture {
    display: block;
}

/* Ensure images don't overflow container */
figure {
    margin: 0;
    padding: 0;
    width: 100%;
}

figcaption {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.75rem;
    text-align: center;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-red-accent {
    background: linear-gradient(135deg, var(--primary-color) 80%, var(--red-primary) 20%);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-red-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    background: linear-gradient(135deg, var(--secondary-color) 80%, var(--red-secondary) 20%);
}

.btn-red-outline {
    background: transparent;
    color: var(--red-primary);
    border: 2px solid var(--red-primary);
}

.btn-red-outline:hover {
    background: var(--red-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

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

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 8px;
}

.logo-img {
    height: 150px;
    width: auto;
    max-width: 173px;
    object-fit: contain;
    background: transparent;
}

.logo-text {
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer .logo-img,
.footer-logo .logo-img {
    height: 175px;
    max-width: 195px;
    background: transparent;
    object-fit: contain;
}

.footer .logo-text {
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--white);
}

/* Optimized for transparent PNG logo */
.logo-img[src*="logo_final-removebg-preview"] {
    background: transparent;
    filter: none;
    mix-blend-mode: normal;
}

.logo-img[src*="logo_final-removebg-preview 2"] {
    background: transparent;
    filter: none;
    mix-blend-mode: normal;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 30%, #2196f3 60%, #e53e3e 80%, #f56565 100%);
    z-index: -2;
    filter: blur(1px);
}

.hero-background[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px) brightness(0.8);
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    z-index: -1;
    filter: blur(0.5px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--white);
}

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

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

.scroll-down {
    display: block;
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* What We Do */
.what-we-do {
    padding: 80px 0;
    background: var(--white);
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.what-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.what-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

.what-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.what-card h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.what-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.what-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.what-card li {
    padding: 0.4rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.what-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.what-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.what-link i {
    font-size: 0.9rem;
}

.what-link:hover {
    color: var(--secondary-color);
}

.what-coming-soon {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.service-card h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.benefit-card h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--light-gray);
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--primary-color);
    font-family: serif;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--gray);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--gray);
    margin: 0;
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

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

.business-hours p {
    margin-bottom: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.back-to-top.show {
    display: flex;
}

/* About Page Styles */
.about-content {
    padding: 80px 0;
    background: var(--white);
}

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

.about-text h2 {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.about-text h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.values-list {
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.value-item i {
    color: var(--success-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.value-item h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--gray);
    margin: 0;
}

.about-image {
    text-align: center;
}

.image-placeholder {
    background: var(--light-gray);
    border: 2px dashed var(--gray);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    color: var(--gray);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.image-placeholder p {
    font-weight: 500;
    margin: 0;
}

/* Image placeholders restored */
.member-image .image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.service-detail-image .image-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.map-placeholder {
    background: var(--light-gray);
    border: 2px dashed var(--gray);
    border-radius: var(--border-radius);
    padding: 4rem;
    text-align: center;
    color: var(--gray);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.map-placeholder h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.map-placeholder p {
    margin-bottom: 2rem;
    color: var(--gray);
}

/* Company Stats */
.company-stats {
    padding: 60px 0;
    background: var(--light-gray);
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-image {
    margin-bottom: 1.5rem;
}

.member-image .image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.member-info h3 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Why Different */
.why-different {
    padding: 80px 0;
    background: var(--light-gray);
}

.different-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.different-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.different-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.different-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.different-item h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.different-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* Services Page Styles */
.services-detail {
    padding: 80px 0;
    background: var(--white);
}

.service-detail-card {
    margin-bottom: 4rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
}

.service-detail-content.reverse {
    grid-template-columns: 1fr 2fr;
}

.service-detail-content.reverse .service-detail-text {
    order: 2;
}

.service-detail-content.reverse .service-detail-image {
    order: 1;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 2rem;
}

.service-detail-text h2 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.service-intro {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-benefits h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-benefits ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray);
}

.service-benefits li i {
    color: var(--success-color);
    font-size: 1.125rem;
}

.service-features h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

.feature-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-item:hover i {
    color: var(--white);
}

.feature-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Service Comparison */
.service-comparison {
    padding: 80px 0;
    background: var(--light-gray);
}

.table-responsive {
    overflow-x: auto;
    margin-top: 3rem;
}

.comparison-table table {
    width: 100%;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.comparison-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.comparison-table tr:hover {
    background: var(--light-gray);
}

.comparison-table i.fa-check {
    color: var(--success-color);
}

.comparison-table i.fa-times {
    color: var(--danger-color);
}

/* Benefits Page Styles */
.benefits-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.benefits-hero .hero-background {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.benefits-hero .hero-content {
    max-width: 800px;
    text-align: center;
    color: var(--white);
}

.benefits-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.benefits-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.key-benefits {
    padding: 80px 0;
    background: var(--white);
}

.benefits-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card-large {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.benefit-card-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card-large h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.benefit-card-large p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.benefit-features {
    list-style: none;
}

.benefit-features li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.benefit-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Compare Section */
.compare-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.comparison-cards {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.comparison-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.comparison-card.global-max {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.comparison-card.global-max h3 {
    color: var(--white);
}

.comparison-header {
    margin-bottom: 2rem;
}

.comparison-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.comparison-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.comparison-card.global-max .comparison-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.comparison-list {
    list-style: none;
    text-align: left;
}

.comparison-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comparison-list i {
    font-size: 1.125rem;
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.25rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form-container h2 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.contact-form-container p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.error-message {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-success {
    background: var(--success-color);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 1rem;
}

.form-success i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-info-container h2 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.contact-info-container p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-info-cards {
    margin-bottom: 2rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.contact-info-card:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-details p {
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-details small {
    color: var(--gray);
    font-size: 0.875rem;
}

.social-links-section h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.map-container {
    margin-top: 3rem;
}

.map-placeholder {
    background: var(--white);
    border: 2px dashed var(--gray);
    border-radius: var(--border-radius);
    padding: 4rem;
    text-align: center;
    color: var(--gray);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.map-placeholder h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.map-placeholder p {
    margin-bottom: 2rem;
    color: var(--gray);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question h3 {
    color: var(--dark-gray);
    margin: 0;
    font-size: 1.125rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design - Tablet (1024px - 768px) */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.8rem; }
    
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .service-detail-content {
        padding: 2rem;
    }
    
    .benefits-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .what-we-do-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Design - Tablet Down (768px) */
@media (max-width: 768px) {
    .nav-container {
        height: 80px;
    }

    .logo {
        gap: 3px;
    }

    .logo-img {
        height: 105px;
        max-width: 120px;
    }

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

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.2rem; }

    .hero {
        height: 80vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .page-header {
        padding: 80px 0 50px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .what-we-do-grid,
    .services-grid,
    .benefits-grid,
    .team-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .what-card,
    .service-card,
    .benefit-card,
    .team-member,
    .contact-info-card {
        padding: 1.5rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-grid {
        gap: 2rem;
    }

    .cocoa-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .service-detail-content.reverse {
        grid-template-columns: 1fr;
    }

    .service-detail-content.reverse .service-detail-text {
        order: 1;
    }

    .service-detail-content.reverse .service-detail-image {
        order: 2;
    }

    .comparison-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vs-divider {
        order: 2;
        margin: 1rem auto;
    }

    .cta-buttons,
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

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

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

    .table-responsive {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .footer .logo-img,
    .footer-logo .logo-img {
        height: 105px;
        max-width: 120px;
    }

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

    .benefit-card-large {
        padding: 2rem;
    }

    .cocoa-process {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    .process-step {
        width: 100%;
        padding: 1.5rem;
    }
}

/* Responsive Design - Small Mobile (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .nav-container {
        padding: 0 10px;
        height: 70px;
    }

    .logo {
        gap: 2px;
    }

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

    .logo-text {
        font-size: 0.95rem;
        display: none;
    }

    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    h4 { font-size: 1rem; }
    h5 { font-size: 0.95rem; }
    h6 { font-size: 0.9rem; }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
    }

    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

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

    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .what-we-do,
    .services-overview,
    .why-choose-us,
    .team-section,
    .services-detail,
    .about-content,
    .contact-section,
    .key-benefits,
    .benefits-hero,
    .compare-section,
    .map-section,
    .faq-section {
        padding: 40px 0;
    }

    .what-we-do-grid,
    .services-grid,
    .benefits-grid,
    .team-grid,
    .different-grid,
    .testimonials-grid,
    .benefits-grid-large,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .what-card,
    .service-card,
    .benefit-card,
    .team-member,
    .different-item,
    .benefit-card-large,
    .contact-info-card {
        padding: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .what-icon,
    .service-icon,
    .benefit-icon,
    .different-icon,
    .benefit-icon-large,
    .process-icon,
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

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

    .cocoa-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .service-detail-card {
        margin-bottom: 2rem;
    }

    .service-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 16px;
    }

    .comparison-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .vs-divider {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .comparison-card {
        padding: 1.25rem;
    }

    .comparison-list {
        text-align: center;
    }

    .cta-section {
        padding: 40px 0;
    }

    .cta-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .cta-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stats-section {
        padding: 40px 0;
    }

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

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .feature-item {
        padding: 0.75rem;
    }

    .table-responsive {
        font-size: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .footer {
        padding: 40px 0 15px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .footer .logo-img,
    .footer-logo .logo-img {
        height: 80px;
        max-width: 95px;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .contact-info p {
        gap: 0.4rem;
        margin-bottom: 0.4rem;
        font-size: 0.9rem;
    }

    /* FAQ Responsive */
    .faq-container {
        max-width: 100%;
    }

    .faq-item {
        margin-bottom: 0.75rem;
    }

    .faq-question {
        padding: 1.2rem;
        font-size: 0.95rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-question i {
        font-size: 1.2rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    /* Testimonials Responsive */
    .testimonial-slide {
        padding: 1rem;
    }

    .testimonial-content {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .author-info h4 {
        font-size: 0.95rem;
    }

    /* Modal Responsive */
    .modal {
        padding: 8px;
    }

    .modal-content {
        max-height: 95vh;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-body h3 {
        font-size: 1.1rem;
    }

    .modal-footer {
        padding: 1rem;
    }

    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    /* Images responsive */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Cocoa process */
    .cocoa-process {
        flex-direction: column;
        gap: 1rem;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

    .process-step {
        width: 100%;
        padding: 1.25rem;
    }

    .process-step h3 {
        font-size: 1rem;
    }

    .benefit-features li {
        padding: 0.3rem 0;
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s linear;
}

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

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.4s linear;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s linear;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Loading Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Privacy Policy Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.75rem;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal-body h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body h3:first-of-type {
    margin-top: 0;
}

.modal-body p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-body ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.modal-body li {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.modal-body a {
    color: var(--primary-color);
    text-decoration: underline;
}

.modal-body a:hover {
    color: var(--secondary-color);
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }

    .modal-content {
        max-height: 95vh;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-footer {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .modal-header {
        padding: 1rem;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-body h3 {
        font-size: 1.1rem;
    }

    .modal-footer {
        padding: 1rem;
    }
}

/* Cocoa Business Section */
.cocoa-business-section {
    padding: 80px 0;
    background: var(--white);
}

.cocoa-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.cocoa-text h3 {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.cocoa-text p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    line-height: 1.8;
}

.cocoa-features {
    margin-top: 2rem;
}

.cocoa-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cocoa-feature-item i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.cocoa-feature-item h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.cocoa-feature-item p {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
}

.cocoa-cta {
    margin-top: 2rem;
}

.cocoa-visual {
    text-align: center;
}

.cocoa-placeholder {
    background: linear-gradient(135deg, #8B4513, #D2691E);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cocoa-placeholder i {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cocoa-placeholder h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cocoa-placeholder p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

/* Cocoa Process */
.cocoa-process {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.process-step h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.process-step p {
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cocoa-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cocoa-process {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .process-step {
        width: 100%;
    }
}

/* Extra Small Mobile (320px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1rem; }
    h4 { font-size: 0.95rem; }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .page-header {
        padding: 50px 0 30px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .what-card,
    .service-card,
    .benefit-card {
        padding: 1rem;
    }

    .what-icon,
    .service-icon,
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .contact-info-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .nav-logo {
        flex: 1;
    }

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

/* Tablet Landscape (1024px - 768px) */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero {
        height: 70vh;
        min-height: auto;
    }

    .page-header {
        padding: 60px 0 40px;
    }

    section {
        padding: 60px 0;
    }

    .what-we-do-grid,
    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        gap: 1.5rem;
    }
}

/* Mobile Landscape (480px - 320px) */
@media (max-width: 480px) and (orientation: landscape) {
    .hero {
        height: 50vh;
        min-height: 300px;
    }

    .nav-container {
        height: 60px;
    }

    .logo-img {
        height: 60px;
        max-width: 70px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .page-header {
        padding: 40px 0 30px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    section {
        padding: 30px 0;
    }

    .what-we-do-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .what-card,
    .service-card {
        padding: 1rem;
        margin-bottom: 0;
    }

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

/* Touch-friendly mobile adjustments */
@media (hover: none) and (pointer: coarse) {
    .btn,
    a,
    button,
    .nav-link,
    .faq-question {
        padding: 16px;
        min-height: 48px;
        min-width: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn {
        padding: 14px 28px;
    }

    .nav-link {
        padding: 12px 16px;
    }

    .faq-question {
        padding: 1.5rem;
    }

    /* Remove hover effects on touch devices */
    .what-card:hover,
    .service-card:hover,
    .benefit-card:hover,
    .team-member:hover,
    .different-item:hover,
    .benefit-card-large:hover {
        transform: none;
    }

    /* Reduce animation on mobile */
    * {
        animation-duration: 0.15s !important;
        transition-duration: 0.15s !important;
    }
}

/* High DPI devices */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .what-we-do-grid,
    .services-grid,
    .benefits-grid,
    .team-grid,
    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .benefits-grid-large {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Additional Responsive Tweaks */
/* Ensure mobile menu, grids, images and typography scale well on small screens */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .logo-img {
        height: 110px;
        max-width: 130px;
    }

    .what-we-do-grid,
    .services-grid,
    .benefits-grid,
    .team-grid,
    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        gap: 0;
        padding: 1rem 1.25rem;
        box-shadow: var(--shadow-lg);
        z-index: 1200;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-container {
        height: 64px;
        padding: 0 12px;
    }

    .logo-img {
        height: 70px;
        max-width: 90px;
    }

    .hero {
        height: 80vh;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Override inline image heights used in some sections */
    section img[style*="height:"] {
        height: auto !important;
        max-height: 350px;
        object-fit: cover;
    }

    .hero-background[style*="background-image"] {
        filter: blur(1px) brightness(0.9);
    }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }

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

    .hero { height: 70vh; }

    .hero-title { font-size: 1.5rem; }

    .hero-subtitle { font-size: 0.95rem; }

    .btn { padding: 10px 18px; font-size: 14px; }

    .footer .logo-img, .footer-logo .logo-img { height: 90px; max-width: 110px; }
}

/* Small enhancement for nav toggle animation */
.nav-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Improve accessibility: increase hit area on touch screens */
@media (hover: none) and (pointer: coarse) {
    .nav-toggle { padding: 8px; }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .cta-section,
    .footer,
    .modal,
    .nav-toggle,
    .hero-scroll {
        display: none !important;
    }

    .hero {
        height: auto;
        padding: 2rem 0;
        min-height: auto;
    }

    .page-header {
        padding: 2rem 0;
    }

    body {
        background: #fff;
        color: #000;
    }

    a {
        color: #0000cc;
        text-decoration: underline;
    }

    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .btn {
        border: 1px solid #000;
        color: #000;
    }

    img {
        max-width: 100%;
        page-break-inside: avoid;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }

    p {
        orphans: 3;
        widows: 3;
    }
}
