/*--------------------------------------------------------------
# Global Variables & Base Styles
--------------------------------------------------------------*/
:root {
    --primary-color: #4A90E2;
    /* Biru Cerah Profesional */
    --secondary-color: #7B68EE;
    /* Medium Slate Blue - sentuhan ungu kreatif */
    --accent-color: #9370DB;
    /* Medium Purple */
    --primary-hover: #3a7cc7;
    --secondary-hover: #6a5acd;
    --text-dark: #212529;
    --text-light: #f8f9fa;
    --text-muted-custom: #6c757d;
    --bg-light: #f8f9fa;
    --bg-light-subtle: #f1f3f5;
    /* Sedikit lebih gelap dari bg-light */
    --bg-dark: #212529;
    --border-color: #dee2e6;
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.8rem;
    --shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);
    --shadow-md: 0 .5rem 1rem rgba(0, 0, 0, .15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto Slab', serif;
    --gradient-primary: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    --gradient-primary-hover: linear-gradient(135deg, var(--secondary-hover) 0%, var(--primary-hover) 100%);
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--text-light);
    padding-top: 70px;
    /* Sesuaikan dengan tinggi navbar Anda */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    /* Merriweather Bold */
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
}

/* Ukuran disesuaikan untuk Merriweather */
h2 {
    font-size: 2.2rem;
}

/* .section-title akan override ini */
h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

.lead {
    font-weight: 400;
    /* Source Sans Pro Regular */
    font-size: 1.1rem;
    /* Sedikit lebih besar dari body text */
    color: var(--text-muted-custom);
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    /* Poppins Black */
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px !important;
    /* Increased margin */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 5px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 0.75rem 1.8rem;
    border-radius: var(--border-radius-md);
    /* Softer radius */
    transition: all 0.3s ease-in-out;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-light);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--gradient-primary-hover);
    color: var(--text-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 15px rgba(74, 144, 226, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-width: 2px;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(74, 144, 226, 0.2);
}

.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.bg-light-subtle {
    background-color: var(--bg-light-subtle) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

/*--------------------------------------------------------------
# Header & Navigation Bar
--------------------------------------------------------------*/
.navbar {
    padding: 0.8rem 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    /* Slightly transparent */
    backdrop-filter: blur(10px);
    /* Glassmorphism effect */
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 1) !important;
    padding: 0.6rem 0;
    box-shadow: var(--shadow-md) !important;
}

.navbar-brand {
    font-size: 1.8rem;
    color: var(--primary-color) !important;
    font-weight: 700;
    /* Poppins Bold */
}

.navbar-brand .logo-svg .logo-gradient-start {
    stop-color: var(--secondary-color);
}

.navbar-brand .logo-svg .logo-gradient-end {
    stop-color: var(--primary-color);
}

.navbar .nav-link {
    font-family: var(--font-primary);
    font-weight: 600;
    /* Poppins SemiBold */
    color: var(--text-dark);
    transition: color 0.3s ease, transform 0.2s ease;
    padding: 0.6rem 1rem;
    position: relative;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background-color: var(--primary-color);
    transition: transform 0.3s ease-out;
    transform-origin: center;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.cta-button-nav {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

/* Language Toggle Switch */
.lang-toggle-container {
    padding-left: 10px;
}

.lang-toggle-container .lang-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted-custom);
    cursor: default;
}

.lang-toggle-container .form-check-input {
    width: 2.8em;
    /* Lebar toggle */
    height: 1.4em;
    /* Tinggi toggle */
    background-color: var(--border-color);
    border-color: var(--border-color);
    cursor: pointer;
    margin-top: 0.2em;
    /* Vertical align */
}

.lang-toggle-container .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.lang-toggle-container .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), .25);
}

.lang-toggle-container .lang-label-id.active,
.lang-toggle-container .lang-label-en.active {
    color: var(--primary-color);
    font-weight: 700;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #333;
    /* Fallback color if video fails */
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
    max-width: 900px;
    /* Control width of text content */
}

.hero-headline {
    font-family: var(--font-primary);
    font-size: calc(2.5rem + 2.5vw);
    /* Responsive font size */
    font-weight: 900;
    /* Poppins Black */
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subheadline {
    font-size: calc(1rem + 0.5vw);
    /* Responsive font size */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.9);
}

.hero-subheadline strong {
    color: var(--text-light);
    /* Make strong text brighter */
}

.hero-cta-button,
.hero-cta-button-secondary {
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    border-radius: 50px;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 1.8rem;
    animation: bounceUpDown 2s infinite;
    z-index: 3;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.scroll-down-indicator:hover {
    opacity: 1;
}

@keyframes bounceUpDown {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-15px);
    }

    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* Typed.js Cursor */
.typed-cursor {
    opacity: 1;
    animation: typedjsBlink 0.7s infinite;
    color: var(--text-light);
    font-weight: 100;
    /* Make cursor thinner */
}

@keyframes typedjsBlink {
    50% {
        opacity: 0.0;
    }
}

/*--------------------------------------------------------------
# About Me Section
--------------------------------------------------------------*/
#about {
    background-color: var(--text-light);
}

.about-image {
    border: 8px solid var(--text-light);
    filter: saturate(1.1);
    /* Slightly enhance color */
}

.skills-list li {
    padding: 8px 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}

.skills-list li:hover {
    transform: translateX(5px);
}

.skills-list li i {
    width: 20px;
    /* Ensure consistent icon spacing */
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.service-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Elastic transition */
    background-color: var(--text-light);
    overflow: hidden;
    /* For icon wrapper animation */
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon-wrapper {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    transition: background 0.5s ease;
}

.service-card:hover .service-icon-wrapper {
    background: var(--gradient-primary-hover);
}

.service-icon {
    color: var(--text-light);
    font-size: 2.8rem;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

.service-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
    /* Poppins Bold */
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.service-card .card-text {
    color: var(--text-muted-custom);
    font-size: 0.9rem;
}

.service-sublist li {
    padding: 5px 0;
    font-size: 0.85rem;
    border-bottom: 1px dashed #eee;
    transition: color 0.2s;
}

.service-sublist li:last-child {
    border-bottom: none;
}

.service-sublist li:hover {
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    /* Consistent radius */
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 250px;
    /* Ensure a minimum height for images */
    object-fit: cover;
}

.portfolio-item:hover img {
    transform: scale(1.15);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 100%);
    padding: 25px 20px;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.portfolio-item:hover .portfolio-info {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-light);
}

.portfolio-category {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-details-btn {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.view-details-btn:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: scale(1.05);
}

.modal-content {
    border-radius: var(--border-radius-lg);
    border: none;
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    /* White close button */
}

.modal-title {
    color: var(--text-light);
    font-weight: 600;
}

.modal-body strong {
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    background-color: var(--text-light);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card .card-header {
    background-color: var(--bg-light-subtle);
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
}

.pricing-card .package-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.pricing-card .pricing-card-title {
    font-size: 2.5rem;
    font-weight: 900;
    /* Poppins Black */
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.pricing-card .package-price-info {
    font-size: 0.9rem;
}

.pricing-card .card-body {
    padding: 2rem 1.5rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.get-started-btn {
    margin-top: 1.5rem;
}

.popular-package {
    border: 2px solid var(--secondary-color);
    position: relative;
    overflow: visible;
    /* For badge */
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.accordion-button {
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), .25);
}

.accordion-item {
    margin-bottom: 10px;
    border-radius: var(--border-radius-md) !important;
    /* Override Bootstrap */
    border: 1px solid var(--border-color);
    overflow: hidden;
    /* for rounded corners on collapse */
}

.accordion-body ul {
    padding-left: 1.2rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
#testimonials {
    background: linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02)), url('https://www.transparenttextures.com/patterns/concrete-wall.png');
    /* Subtle pattern */
    background-color: var(--bg-light);
}

.testimonial-card-new {
    background-color: var(--text-light);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin: 0 15px 30px 15px;
    box-shadow: var(--shadow-lg);
    min-height: 420px;
    /* Consistent height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-img-new {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 25px auto;
    border: 5px solid var(--primary-color);
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text-new {
    font-family: var(--font-secondary);
    /* Roboto Slab */
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-muted-custom);
    flex-grow: 1;
}

.testimonial-name-new {
    font-weight: 700;
    /* Poppins Bold */
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-project-new {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary-color);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    background-size: 50% 50%;
    /* Make arrow smaller */
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    opacity: 1;
}

/*--------------------------------------------------------------
# CTA Mid Section
--------------------------------------------------------------*/
.cta-section-mid {
    background: var(--gradient-primary);
    /* GANTI DENGAN GAMBAR BACKGROUND LOKAL ANDA JIKA PERLU */
    /* background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NXx8dGVjaG5vbG9neSUyMGJhY2tncm91bmR8ZW58MHx8MHx8fDA%3D&auto=format&fit=crop&w=1500&q=80'); */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
    position: relative;
}

.cta-section-mid::before {
    /* Overlay for better text readability if using image */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    /* Adjust opacity as needed */
}

.cta-section-mid .container {
    position: relative;
    /* To be above the overlay */
}

.cta-section-mid h2 {
    color: var(--text-light);
    font-size: calc(2rem + 1.5vw);
    /* Responsive font size */
}

.cta-section-mid p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-button-mid {
    padding: 1rem 2.8rem;
    font-size: 1.1rem;
    background-color: var(--text-light);
    color: var(--primary-color);
}

.cta-button-mid:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-card {
    border-radius: var(--border-radius-lg);
    background-color: var(--text-light);
}

#contact .form-control,
#contact .form-select {
    border-radius: var(--border-radius-md);
    padding: 0.85rem 1.1rem;
    /* Slightly larger padding */
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 0.95rem;
}

#contact .form-control:focus,
#contact .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(74, 144, 226, 0.25);
}

.form-label {
    font-weight: 600;
    /* Poppins SemiBold */
    margin-bottom: 0.5rem;
}

.cta-button-contact {
    padding: 0.9rem 2.5rem;
}

.contact-info-direct p {
    margin-bottom: 1rem;
}

.contact-info-direct p i {
    width: 20px;
    /* Align icons */
}

.hover-primary:hover {
    color: var(--primary-color) !important;
}

.social-icons-contact .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--bg-light-subtle);
    color: var(--primary-color);
    margin: 0 8px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons-contact .social-icon:hover {
    background: var(--gradient-primary);
    color: var(--text-light);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
    background-color: var(--bg-dark);
}

footer .navbar-brand {
    color: var(--text-light) !important;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-weight: 500;
    /* Poppins Medium */
    padding: 5px 10px;
}

.footer-link:hover {
    color: var(--text-light);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    background: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    /* Circle */
    transition: all 0.4s ease-in-out;
}

.back-to-top i {
    font-size: 1.3rem;
    /* Larger icon */
    color: var(--text-light);
    line-height: 0;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
    body {
        padding-top: 65px;
        /* Adjust if navbar height changes */
    }

    .navbar-nav {
        margin-top: 15px;
        background-color: var(--text-light);
        /* Background for mobile menu */
        padding: 10px;
        border-radius: var(--border-radius-md);
        box-shadow: var(--shadow-md);
    }

    .navbar .nav-item {
        margin-bottom: 5px;
    }

    .cta-button-nav,
    .lang-switcher-toggle {
        width: 100%;
        text-align: center;
        margin-top: 10px !important;
    }

    .dropdown-menu {
        width: 100%;
    }

    .hero-headline {
        font-size: calc(2rem + 2vw);
    }

    .hero-subheadline {
        font-size: calc(0.9rem + 0.4vw);
    }

    .section-title {
        font-size: 2.2rem;
    }

    #about .text-center {
        /* For mobile, ensure image is above text */
        text-align: left !important;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 60px;
    }

    .hero-headline {
        font-size: calc(1.8rem + 3vw);
    }

    .hero-cta-button,
    .hero-cta-button-secondary {
        display: block;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-button {
        margin-bottom: 15px;
    }

    .cta-section-mid h2 {
        font-size: calc(1.8rem + 1vw);
    }

    .section-title {
        font-size: 2rem;
        padding-bottom: 15px;
    }

    .section-title::after {
        width: 60px;
        height: 4px;
    }

    .pricing-card .card-header,
    .pricing-card .card-body {
        padding: 1.5rem 1rem;
    }

    .testimonial-card-new {
        padding: 30px;
        min-height: auto;
        /* Auto height for mobile */
    }

    .contact-card {
        padding: 20px !important;
    }
}