/* Mangrove Ecotourism Website Styles */
:root {
    --primary-color: #198754;
    --secondary-color: #20c997;
    --accent-color: #6f4e37;
    --light-green: #d4edda;
    --dark-green: #155724;
    --water-blue: #4f94cd;
    --earth-brown: #8b4513;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    min-height: 70px;
    padding: 0.5rem 0;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden;
}

.navbar > .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-toggler {
    border: 1px solid rgba(0,0,0,.1);
    padding: 0.25rem 0.5rem;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.container-fluid {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    max-width: 300px;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.2;
    color: var(--primary-color) !important;
    text-decoration: none;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    flex: 1 !important;
    min-width: 0 !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 1px;
    padding: 10px 15px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: var(--light-green);
    transform: translateY(-2px);
}

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

.hero-section .carousel {
    height: 100vh;
    width: 100%;
    position: relative;
}

.hero-section .carousel-inner {
    height: 100vh;
}

.hero-section .carousel-item {
    height: 100vh;
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
}

.hero-section .carousel-item.active {
    display: flex;
}

.hero-section .carousel-indicators {
    bottom: 30px;
    z-index: 15;
}

.hero-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.hero-section .carousel-indicators button.active {
    opacity: 1;
    background-color: white;
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    opacity: 1;
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    background-size: 100%, 100%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

@keyframes parallax {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

.scroll-arrow {
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    text-decoration: none;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* About Section */
.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.about-image img {
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.feature-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: var(--light-green);
}

.feature-item i {
    font-size: 3rem;
    display: block;
}

.feature-item h5 {
    color: var(--primary-color);
    margin: 15px 0 10px;
    font-weight: 600;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(25, 135, 84, 0.2);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 135, 84, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Package Cards */
.package-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(25, 135, 84, 0.2);
    border-color: var(--primary-color);
}

.package-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.package-card:hover .package-image {
    transform: scale(1.05);
}

.package-content {
    padding: 25px;
}

.package-content h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.package-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.package-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.duration {
    color: var(--text-light);
    font-weight: 500;
}

.package-facilities {
    margin-bottom: 20px;
    padding: 10px;
    background: var(--light-green);
    border-radius: 8px;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(25, 135, 84, 0.2);
}

.team-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.team-info {
    padding: 25px;
}

.team-info h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.team-position {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-description {
    color: var(--text-light);
    line-height: 1.6;
}

.volunteer-cta {
    background: var(--light-green);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.volunteer-cta h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(25, 135, 84, 0.2);
}

.blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    margin-bottom: 15px;
}

.blog-date, .blog-author {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-right: 15px;
}

.blog-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Contact Section & Guestbook Forms */
.contact-form-wrapper,
.guestbook-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 100%;
    overflow: visible;
    word-wrap: break-word;
    height: auto;
}

.contact-form .form-control,
.guestbook-form .form-control,
.guestbook-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    max-width: 100%;
    word-wrap: break-word;
}

.contact-form .form-control:focus,
.guestbook-form .form-control:focus,
.guestbook-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Recent Visits Styling */
.recent-visits-wrapper {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: auto;
    display: flex;
    flex-direction: column;
}

.visits-list {
    flex: 1;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.visits-list::-webkit-scrollbar {
    width: 6px;
}

.visits-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.visits-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

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

.visit-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.visit-item:last-child {
    border-bottom: none;
}

.visit-item:hover {
    background: rgba(25, 135, 84, 0.05);
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-right: -10px;
}

.visit-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    flex-shrink: 0;
}

.visit-info {
    flex: 1;
}

.visit-name {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 5px 0;
    font-size: 0.95rem;
}

.visit-details {
    color: var(--text-light);
    margin: 0 0 5px 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

.visit-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

.no-visits {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.no-visits i {
    font-size: 3rem;
    color: var(--text-light);
    opacity: 0.5;
}

/* Global Mobile Responsive Fixes */
@media screen and (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    /* Guestbook Mobile */
    .guestbook-form-wrapper {
        padding: 25px 20px;
        margin-bottom: 30px;
        min-height: auto;
        max-height: none;
        height: auto;
    }
    
    .recent-visits-wrapper {
        padding: 20px;
        margin-top: 20px;
        min-height: auto;
        max-height: none;
        height: auto;
    }
    
    .visits-list {
        max-height: 300px;
    }
    
    .row.align-items-stretch {
        align-items: normal;
    }
    
    .visit-item {
        padding: 12px 0;
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    
    .visit-avatar {
        width: 35px;
        height: 35px;
        margin-right: 12px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .visit-info {
        flex: 1;
        padding-left: 0;
    }
    
    .visit-name {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }
    
    .visit-details {
        font-size: 0.8rem;
        margin-bottom: 3px;
        line-height: 1.3;
    }
    
    .visit-date {
        font-size: 0.75rem;
    }
    
    .no-visits {
        padding: 30px 15px;
    }
    
    .no-visits i {
        font-size: 2.5rem;
    }
    
    /* Form adjustments */
    .guestbook-form .row {
        margin-bottom: 0;
    }
    
    .guestbook-form .col-md-6 {
        margin-bottom: 15px;
    }
    
    .guestbook-form .form-control,
    .guestbook-form .form-select {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .guestbook-form .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        margin-top: 10px;
    }
    
    /* Mobile navbar fixes */
    .navbar-brand {
        font-size: 1rem;
        max-width: 300px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .visit-item {
        padding: 10px 0;
    }
    
    .visit-item:hover {
        margin-left: -5px;
        margin-right: -5px;
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .visit-avatar {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }
    
    .guestbook-form-wrapper {
        padding: 20px 15px;
        min-height: auto;
        max-height: none;
        height: auto;
    }
    
    .recent-visits-wrapper {
        padding: 15px;
        min-height: auto;
        max-height: none;
        height: auto;
    }
    
    .visits-list {
        max-height: 250px;
    }
    
    .row.align-items-stretch {
        align-items: normal;
    }
    
    .navbar-brand {
        font-size: 0.9rem;
        max-width: 200px;
    }
    
    .guestbook-form .btn-lg {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 30px;
    border-radius: 15px;
    height: 100%;
    color: white;
}

.contact-info h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

.social-links {
    margin-top: 30px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: 25px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

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

.btn-success:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(25, 135, 84, 0.3);
}

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

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

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

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

/* Footer */
footer {
    background: var(--text-dark) !important;
}

.footer-links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color) !important;
}

/* Contact Section */
.map-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mobile responsive map height */
@media screen and (max-width: 768px) {
    .map-container {
        height: 250px;
    }
    
    .map-container iframe {
        height: 250px !important;
    }
    
    .placeholder-map {
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
    }
}

.map-container iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    border: none;
    border-radius: 10px;
}

.placeholder-map {
    border-radius: 10px;
    border: 2px dashed var(--text-light);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    color: white;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

.contact-info p {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.social-links {
    margin-top: 30px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 1.2rem !important;
    cursor: pointer !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

/* Mobile positioning for scroll to top button */
@media screen and (max-width: 768px) {
    .back-to-top {
        display: flex !important;
        bottom: 20px !important;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
        z-index: 9999 !important;
    }
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        min-height: 60px;
        padding: 0.25rem 0;
    }
    
    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .navbar-brand {
        max-width: 140px;
        font-size: 1.2rem;
        line-height: 1.0;
        padding: 0.25rem 0;
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    
    .navbar-toggler {
        padding: 0.2rem 0.4rem;
        margin-left: 0.25rem;
        border: 1px solid rgba(0,0,0,.15);
        flex-shrink: 0;
    }
    

}
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
    
    .service-card,
    .package-card,
    .team-card,
    .blog-card {
        margin-bottom: 30px;
    }
    
    .contact-info {
        margin-top: 30px;
    }
    
    .map-container {
        height: 300px;
        margin-top: 20px;
    }
    
    .contact-item {
        margin-bottom: 20px;
    }
    
    .contact-item h6 {
        font-size: 0.9rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .navbar {
        min-height: 50px;
        padding: 0.2rem 0;
    }
    
    .container-fluid {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .navbar-brand {
        max-width: 120px;
        font-size: 1.0rem;
        line-height: 0.9;
        padding: 0.2rem 0;
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    
    .navbar-toggler {
        padding: 0.15rem 0.3rem;
        margin-left: 0.2rem;
        border: 1px solid rgba(0,0,0,.15);
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    

}


    
    .hero-title {
        font-size: 2rem;
    }
    
    .contact-form-wrapper,
    .contact-info {
        padding: 25px;
    }
    
    .service-card,
    .package-content,
    .team-info,
    .blog-content {
        padding: 20px;
    }
}

/* Custom Utility Classes */
.border-left-primary {
    border-left: 4px solid var(--primary-color) !important;
}

.border-left-success {
    border-left: 4px solid var(--secondary-color) !important;
}

.border-left-info {
    border-left: 4px solid var(--water-blue) !important;
}

.border-left-warning {
    border-left: 4px solid #ffc107 !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--secondary-color) !important;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-scroll,
    .back-to-top,
    .btn {
        display: none !important;
    }
    
    .hero-section {
        height: auto;
        padding: 50px 0;
    }
    
    section {
        padding: 30px 0;
        page-break-inside: avoid;
    }
}

/* UMKM Card Styles */
.umkm-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.umkm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.umkm-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.umkm-card:hover .umkm-image {
    transform: scale(1.05);
}

.umkm-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.umkm-contact i {
    width: 16px;
}
