/* Hero Section Styles */
.hero-section {
    background-image: url('../media/images/hero_section_mobile_v1.png');
    background-size: cover;
    background-position: right;
    height: 100vh;
    position: relative;
}
/*
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.131);
}*/
.dropdown-menu .dropdown-item .active{
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
}
.hero-section .hero-statement {
    background-color: rgba(0, 0, 0, 0.468);
    padding:24px;
    border-radius: 24px;
}
.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Card Styles */
.card {
    transition: transform 0.3s ease;
    height: 100%;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Footer Styles */
footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
.navbar .nav-link.dropdown-toggle.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
}

/* Updated Sidebar Navigation Styles */
#sidebar {
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 100%;
    background-color: #343a40;
    transition: 0.3s;
    z-index: 1050;
    padding-top: 20px;
}

#sidebar.active {
    transform: translateX(0);
    left: 0;
}

#sidebar .nav-link {
    color: white;
    padding: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

#sidebar .nav-link i {
    width: 25px;
    text-align: center;
}

#sidebar .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}
#sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
}

#sidebar-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
}

/* Sidebar Overlay Styles */
.sidebar-overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    z-index: 1040;
    opacity: 0;
    transition: 0.3s;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Services Section Styles */
.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

/* Story Section Styles */
.story-section {
    font-family: 'Georgia', serif;
    line-height: 1.8;
    background-image: url('../media/images/ocean_svgconverterapp_medium_compressed.svg');
  /*background-repeat: no-repeat;*/
  background-position: center center;
    /* background-attachment: fixed;  optional “parallax” effect */
  background-size: contain;
}
.comment-section {
font-family: 'Georgia', serif;
    line-height: 1.8;
  background-image: url('../media/images/ocean_svgconverterapp_medium_compressed.svg');
  /*background-repeat: no-repeat;*/
  background-position: center center;
   /* background-attachment: fixed;   optional “parallax” effect */
  background-size: cover;
}
.story-section .lead {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.story-heading {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.story-subheading {
    font-size: 2.2rem;
    color: #34495e;
    margin: 2rem 0;
}

.story-image {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.story-image.float-start {
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.story-image.float-end {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.story-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: #505050;
    border-left: 5px solid #3498db;
    padding-left: 2rem;
    margin: 2rem 0;
}

.story-highlight {
    font-size: 1.3rem;
    color: #e74c3c;
    font-weight: 500;
}

.glass-box {
    background: rgba(255, 255, 255, 0.2); /* White with transparency */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px); /* Safari support */
    border-radius: 16px;
    padding: 2rem 3rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: black;
  }
  @media print {
  body {
    display: none;
  }
}

  /* Hide regular navbar on mobile, show sidebar toggle */
@media (max-width: 991.98px) {
    .navbar-collapse {
        display: none !important;
    }
    
    .navbar .container {
        padding: 0 15px;
    }
}

@media (min-width: 992px) {
    #sidebar-toggle {
        display: none !important;
    }
}

@media (min-width: 576px) {
    #sidebar {
        width: 320px;
    }
}
@media (min-width: 768px) {
     .comment-image-desktop {
        display: block;
    }
    .comment-image-mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    .comment-image-desktop {
        display: none;
    }
    .comment-image-mobile {
        display: block;
    }
    .story-heading {
        font-size: 2.5rem;
    }
    
    .story-subheading {
        font-size: 1.8rem;
    }
    
    .story-quote {
        font-size: 1.4rem;
    }
    
    .story-image.float-start,
    .story-image.float-end {
        float: none !important;
        margin: 2rem 0;
        width: 100%;
    }
    .glass-box {
    background: rgba(255, 255, 255, 0.1); /* White with transparency */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); /* Safari support */

  }
    .hero-section .hero-statement .story-section-buttons {
        margin-top: 50%;  /* a little more on small screens */
    }

    /* and remove that negative margin you had on .hero-statement */
    .hero-statement {
        margin-top: 0;       /* instead of –25rem */
    }

    .lead{
        font-size: 1rem !important;
    }
}