/* General styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #2d3748;
    line-height: 1.6;
}


/* Navbar */
.navbar {
    transition: all 0.3s ease;
}
.navbar-brand img {
    max-height: 60px;
}
.navbar-toggler {
    border: none;
}
.phone {
    color: #007bff;
    font-weight: 600;
}
.call-order-btn {
    font-size: 14px;
    padding: 8px 16px;
}
.offcanvas {
    max-width: 300px;
}
.offcanvas-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
.nav-link {
    font-size: 18px;
    color: #333 !important;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: #007bff !important;
}
.language-switcher .btn {
    font-size: 14px;
    padding: 5px 10px;
}
.lang-btn.active {
    background-color: #007bff;
    color: white;
}
.social-icon {
    font-size: 24px;
    color: #333;
    transition: color 0.3s ease;
}
.social-icon:hover {
    color: #007bff;
}


h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #1a202c;
}

/* Existing styles */
.country-select {
    display: flex;
    gap: 10px;
    align-items: center;
}

.country-select select {
    max-width: 100px;
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 10px;
    font-family: 'Roboto', sans-serif;
}

.form-label {
    font-weight: 600;
    color: #333;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.form-check-label a {
    color: #007bff;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Styles for form message */
.alert {
    padding: 10px;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 15px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.1rem;
    font-weight: 300;
}

.hero img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.hero img:hover {
    transform: scale(1.03);
}

/* Benefits section */
.benefits {
    background-color: #f8f9fa;
}

.benefits h2 {
    font-size: 2.5rem;
}

.benefit-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    color: #007BFF;
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    font-size: 1rem;
    color: #000000;
}

/* Timeline section */
.timeline {
    position: relative;
    padding: 4rem 0;
    background: #ffffff; /* White background for clarity */
}

.timeline h2 {
    font-size: 2.5rem;
    color: #1a202c; /* Dark color for heading, matching other sections */
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #007BFF; /* Blue vertical line */
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem;
    margin-bottom: 2rem; /* Space between items */
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 2.5rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 2.5rem;
}

.timeline-content {
    background: #ffffff; /* White background for readability */
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background: #007BFF; /* Blue marker */
    border: 2px solid #ffffff; /* White border for contrast */
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px; /* Adjusted for better alignment */
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px; /* Adjusted for better alignment */
}

.timeline-content h4 {
    font-size: 1.25rem;
    color: #1a202c; /* Dark color for heading */
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #4a5568; /* Gray for body text, readable on white */
    font-family: 'Roboto', sans-serif;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .timeline-container::before {
        left: 20px; /* Vertical line on left for mobile */
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 40px;
        padding-right: 20px;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -28px; /* Consistent marker position */
    }
}

/* Cases section */
.cases {
    background-color: #f8f9fa;
}

.cases h2 {
    font-size: 2.5rem;
}

.case-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.case-item img {
    max-width: 100%;
    border-radius: 8px;
}

.case-item h3 {
    font-size: 1.5rem;
}

.case-item p {
    font-size: 1rem;
    color: #4a5568;
}

/* Footer */
.footer {
    background-color: #f1f1f1;
}
.footer-logo img {
    max-width: 200px;
}
.footer h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
}
.footer a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer a:hover {
    color: #007bff;
}
.footer .phone, .footer .email {
    color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .benefits h2, .timeline h2, .cases h2 {
        font-size: 2rem;
    }

    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 40px;
        padding-right: 20px;
        text-align: left;
    }

    .timeline-item .timeline-content::before {
        left: -28px;
        right: auto;
    }
}

@media (max-width: 767px) {
    .hero {
        text-align: center;
    }

    .hero img {
        margin-top: 1.5rem;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
    }

    .benefit-item i {
        margin-bottom: 1rem;
        margin-right: 0;
    }
}