.fade-in {
    animation: fadeIn ease 1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* Prevent any element from causing horizontal overflow */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Prevent secondary scrollbar - only html should handle scrolling */
html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure no element creates additional scrollbars */
* {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Additional html properties */
html {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Additional body properties */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

/* Section Base Styles */
.section {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Section 1: Hero Section */
.section-1 {
    min-height: 100vh;
    background: linear-gradient(135deg, #F5FAF6 0%, #E8F5E8 100%);
    padding: 2rem 0;
    padding-top: 100px; 
}

/* Responsive height adjustments for smaller screens */
@media (max-width: 1200px) {
    .section-1 {
        min-height: 90vh;
        padding-top: 90px; 
    }
}

@media (max-width: 992px) {
    .section-1 {
        min-height: 80vh;
        padding-top: 80px; 
    }
}

@media (max-width: 768px) {
    .section-1 {
        min-height: 70vh;
        padding: 1.5rem 0;
        padding-top: 70px; 
    }
}

@media (max-width: 576px) {
    .section-1 {
        min-height: 60vh;
        padding: 1rem 0;
        padding-top: 60px; 
    }
}

@media (max-width: 480px) {
    .section-1 {
        min-height: 50vh;
        padding: 0.5rem 0;
        padding-top: 50px; 
    }
}

@media (max-width: 360px) {
    .section-1 {
        min-height: 45vh;
        padding: 0.25rem 0;
        padding-top: 45px; 
    }
    
    .section-1 .hero-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .section-1 .hero-description,
    .section-1 .hero-motto {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.25rem !important;
    }
    
    .section-1 .hero-signature {
        margin: 0.5rem 0 !important;
    }
    
    .section-1 .signature-image {
        width: 60px !important;
        height: 20px !important;
    }
    
    .section-1 .social-icons {
        gap: 0.25rem !important;
        margin-top: 0.5rem !important;
    }
    
    .section-1 .social-icon {
        width: 16px !important;
        height: 16px !important;
    }
}

/* Section 2: About with Carousels */
.section-2 {
    height: 600px;
    background: #F5FAF6;
    overflow: hidden;
    align-items: flex-start;
    padding: 0;
}

/* Section 2 Responsive Layout - 2 columns on mobile */
@media (max-width: 1140px) {
    
    .section-2 .left-carousel {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    /* Force hide first spacing */
    .section-2 .spacing-1 {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    /* Center carousel - 40% width */
    .section-2 .center-carousel {
        width: 40% !important;
        min-width: 40% !important;
        max-width: 40% !important;
        flex: 0 0 40% !important;
        order: 1 !important;
    }
    
    /* Spacing between center and right - 30px */
    .section-2 .spacing-2 {
        width: 30px !important;
        min-width: 30px !important;
        max-width: 30px !important;
        flex: 0 0 30px !important;
        order: 2 !important;
    }
    
    .section-2 .right-content {
        width: 60% !important;
        min-width: 60% !important;
        max-width: 60% !important;
        flex: 0 0 60% !important;
        order: 3 !important;
        overflow: visible !important;
    }
    
    .section-2 .right-content .text-left {
        max-width: none !important;
        width: 100% !important;
        overflow: visible !important;
    }
    
    .section-2 .right-content .space-y-4 {
        max-width: none !important;
        width: 100% !important;
        overflow: visible !important;
    }
    
    .section-2 .right-content .space-y-4 p {
        width: 100% !important;
        max-width: none !important;
        overflow: visible !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .section-2 .hero-container {
        justify-content: flex-start !important;
    }
    
    .section-2 .flex {
        justify-content: flex-start !important;
    }
    
    
    .section-2 .spacing-2 {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
    }
    
}

.section-2 .container {
    padding: 0;
    margin: 0;
    height: 100%;
    max-height: 600px;
}

/* Ensure Section 2 doesn't have extra spacing */
.section-2 {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 600px !important;
    max-height: 600px !important;
}

/* Section 1: Hero with Navbar (1440 x 802) */
.section-1 {
    height: 802px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    flex-direction: column;
    background-image: url('/images/backgrounds/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.section-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
    z-index: 1;
}

/* Navbar Styles - Copied from source project */
.navigation {
    background: #222A22 !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    position: relative !important;
}

.navigation.navbar {
    background: #222A22 !important;
    background-color: #222A22 !important;
}

.navigation .container {
    background: #222A22 !important;
    background-color: #222A22 !important;
}

.navigation a {
    text-decoration: none;
    color: #FFFFFF;
    padding: 6px 20px;
    border-radius: 20px;
    margin: 5px 10px;
    font-weight: 600;
}

/* Ensure navbar is always visible */
.navbar {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.navbar-brand {
    display: flex !important;
    visibility: visible !important;
}

/* Mobile navbar brand positioning */
@media (max-width: 991px) {
    .navbar-brand {
        margin-left: 0 !important;
        padding-left: 0 !important;
        margin-right: auto !important;
        order: 1 !important;
    }
}

/* Desktop navbar - hide hamburger menu */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
    
    .navbar-collapse {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
    }
}

/* Hamburger Menu Styles */
.navbar-toggler {
    border: none;
    background: #222A22;
    padding: 8px 12px;
    font-size: 1.25rem;
    line-height: 1;
    color: #A15B1C;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
}

.navbar-toggler:hover {
    color: #7D8E74;
    transform: scale(1.05);
    background: #2A342A;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar-toggler i {
    color: #FFFFFF;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:hover i {
    color: #A15B1C;
    transform: rotate(90deg);
}

/* Mobile navbar collapse */
@media (max-width: 991px) {
    .navigation.navbar {
        padding: 0 !important; 
        margin-left: 0 !important;
        padding-left: 0 !important; 
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
    
    .navigation .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-left: 0 !important;
        order: 2 !important;
    }
    
    .navigation .navbar-brand {
        order: 1 !important;
        margin-right: 0 !important;
        margin-left: 0 !important; 
        padding-left: 0 !important; 
        position: relative !important;
        left: 0 !important;
    }
    
    .navbar-nav {
        display: none !important;
    }
    
    .navbar-collapse.show .navbar-nav {
        display: block !important;
    }
    
    .navbar-collapse.collapsing .navbar-nav {
        display: block !important;
    }
    
    .navbar-collapse {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #222A22 !important;
        background-color: #222A22 !important;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border: 1px solid #2A342A;
    }
    
    .navbar-collapse.show {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
        margin: 10px 0 0 0 !important;
        padding: 15px !important;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin: 5px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 20px;
        border-radius: 25px;
        transition: all 0.3s ease;
        color: #FFFFFF !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        margin: 5px 0 !important;
    }
    
    .navbar-nav .nav-link:hover {
        background: #A15B1C !important;
        color: white !important;
        transform: translateY(-2px);
        text-decoration: none !important;
    }
    
    .navbar-nav .nav-link.active {
        background: #A15B1C !important;
        color: white !important;
        text-decoration: none !important;
    }
    
}

/* Extra small screens */
@media (max-width: 576px) {
    .navbar {
        padding: 0;
    }
    
    .navbar-brand img {
        height: 40px !important;
    }
    
    .navbar-toggler {
        padding: 6px 10px;
        font-size: 1.1rem;
    }
    
    .navbar-toggler i {
        font-size: 1.3rem;
    }
}

.navigation a:hover {
    color: #A15B1C;
}

.navigation a.active,
.nav-link.active {
    background: #7D8E74 !important;
    color: #ffffff !important;
}

/* Logo styling - no hover effects */
.navbar-brand {
    text-decoration: none;
}

.navbar-brand:hover {
    text-decoration: none;
}

/* Ensure active state works for all nav links */
.navbar-nav .nav-link.active {
    background: #7D8E74 !important;
    color: #ffffff !important;
}

.navbar-nav .nav-link:hover:not(.active) {
    color: #A15B1C !important;
    background: transparent !important;
}

/* Bootstrap navbar overrides */
.navbar.bg-none {
    background: transparent !important;
}

/* Force navbar to be visible - override all Bootstrap */
.navbar-nav-container {
    display: flex !important;
    flex-basis: auto !important;
    flex-grow: 1 !important;
    align-items: center !important;
}

/* Removed conflicting global navbar-collapse styles - now handled by media queries */

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    justify-content: flex-end !important;
}

.navbar-nav .nav-item {
    margin: 0 10px !important;
}

.navbar-nav .nav-link {
    color: #A15B1C !important;
    text-decoration: none !important;
    padding: 8px 16px !important;
    display: block !important;
    font-weight: bold !important;
    font-size: 16px !important;
}

/* Desktop navbar-collapse styles */
@media (min-width: 1140px) {
    .navbar-collapse {
        display: flex !important;
    }
    
    .collapse:not(.show) {
        display: flex !important;
    }
}

.navbar.fixed-top {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Align navbar with hero content */
.navbar .container {
    max-width: 1200px !important;
    padding: 0 2rem !important;
    margin: 0 auto !important;
}

/* Responsive navbar container to match section widths */
@media (max-width: 1139px) {
    .navbar .container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 15px !important;
    }
}

/* Hero Container Layout */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    z-index: 2;
    position: relative;
}

/* Left Container - Text Content */
.hero-left {
    flex: 1;
    padding-right: 2rem;
    color: white;
}

.hero-row {
    margin-bottom: 2rem;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    line-height: 1.6;
    margin: 0;
    color: white;
    opacity: 0.9;
    font-weight: 400;
}

.hero-motto {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    line-height: 1.6;
    margin: 0;
    color: white;
    opacity: 0.9;
    font-weight: 400;
}

.hero-signature {
    margin-top: 1rem;
}

.signature-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    color: white;
    font-weight: 400;
}

.signature-image {
    width: 200px;
    height: 60px;
    margin: 0.5rem 0 -2rem 0;
    display: block;
    position: relative;
    z-index: 2;
    /* Protection against copying and saving */
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    pointer-events: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
    /* Canvas specific protection */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.signature-handwriting {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    margin: -1rem 0 1rem 0;
    color: white;
    position: relative;
    z-index: 1;
}

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

.social-icon {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.social-icon:hover {
    color: #7D8E74;
    text-decoration: none;
}

/* Tooltip bubble effect */
.social-icon::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #2EB9EB;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    font-weight: 500;
}

.social-icon::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    border: 5px solid transparent;
    border-top-color: #2EB9EB;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.social-icon:hover::before,
.social-icon:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.social-icon:hover::after {
    transform: translateX(-50%) translateY(100%) translateY(-5px);
}

/* Right Container - Image */
.hero-right {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    width: 468px;
    height: 469px;
    object-fit: cover;
    border: 4px solid white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Section 2 (1440 x 802) */
.section-2 {
    height: 802px;
    background: #F5FAF6;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
}

/* Ensure Section 2 flex layout works properly */



/* Carousel container background */
.section-2 .relative {
    background: #F5FAF6 !important;
}

.section-2 .carousel-container {
    background: #F5FAF6 !important;
}

/* Remove bold from section 2 */
.section-2 * {
    font-weight: normal !important;
}

/* Hide any chevron down icons */
.fa-chevron-down, .chevron-down {
    display: none !important;
}


/* Additional responsive rules for smaller screens */
@media (max-width: 1140px) {
    /* Hero Section Responsive - but NOT Section 2 */
    .section-1 .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    /* Ensure Section 2 maintains its layout */
    .section-2 .hero-container {
        flex-direction: row !important;
        text-align: left !important;
        padding: 0 !important;
    }
    
    /* Protect Section 2 flex layout from any general rules */
    .section-2 .flex {
        flex-direction: row !important;
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0 !important;
        flex-wrap: nowrap !important;
        overflow: hidden !important;
    }
    
    .section-2 .flex > div[style*="width: 300px"] {
        flex-shrink: 0 !important;
        max-width: 200px !important;
        width: 200px !important;
        overflow: hidden !important;
    }
    
    .section-2 .flex > div[style*="width: 34px"] {
        flex-shrink: 0 !important;
        display: block !important;
        width: 15px !important;
        max-width: 15px !important;
    }
    
    .section-2 .flex > div[style*="width: 60px"] {
        flex-shrink: 0 !important;
        display: block !important;
        width: 20px !important;
        max-width: 20px !important;
    }
    
    /* Ensure Section 2 text column maintains its layout */
        .section-2 .flex > div:last-child {
            width: 415px !important; 
            min-width: 415px !important;
            max-width: 415px !important;
            overflow: visible !important;
            display: block !important;
            visibility: visible !important;
        }
    
    .hero-left {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero-right {
        width: 100%;
    display: flex;
        justify-content: center;
    }
    
    /* Section 4 Responsive */
    .section4-centered-container {
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 2rem 1rem;
    }
    
    .section4-left-column {
        width: 100%;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    
    /* Section 5 Responsive */
    .section5-centered-container {
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 2rem 1rem;
    }
    
    .section5-left-column {
        width: 100%;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    
    /* Section 4.5 Responsive */
    .section-4-5 .row {
        flex-direction: column;
    }
    
    .section-4-5 .col-md-6:first-child {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-bottom: 2rem;
    }
    
    .section-4-5 .col-md-6:last-child {
        width: 100%;
        height: auto;
    }
    
    .featured-gallery-row {
        flex-direction: column;
    align-items: center;
}

    .featured-image {
        width: 100%;
        max-width: 400px;
        height: 300px;
        margin-bottom: 1rem;
    }
    
    
    .gallery-item {
        width: 100%;
        height: 120px;
    }
    
    /* Section 6 Responsive */
    .section-6 .row {
        flex-direction: column;
    }
    
    .section6-left-column {
        width: 100%;
        margin-bottom: 2rem;
        display: flex;
        justify-content: center;
    }
    
    .section6-right-column {
        width: 100%;
        text-align: center;
    }
    
    .persona-container {
        justify-content: center;
        min-height: 200px;
    }
    
    .persona-image {
        position: relative;
        max-height: 200px;
    }
    
    .contact-row {
        justify-content: center;
    }
    
    .section-6 .social-icons {
        justify-content: center;
    }
    
    /* Section 3 Responsive */
    .section-3 .row {
        flex-direction: column;
        text-align: center;
    }
    
    .section-3 .col-md-4 {
        width: 100%;
        margin-bottom: 2rem;
    }
}

/* Section 3 (1440 x 802) - Quick Info */
.section-3 {
    height: 247px;
    background: #384B38;
    color: #F5FAF6;
}

/* Section 4 (1440 x 802) - Our Services */
.section-4 {
    height: 802px;
    background: #F5FAF6;
    color: white;
    display: flex;
    align-items: center;
}

/* Section 4.5 */
.section-4-5 {
    height: 550px;
    background: #f8f9fa;
    color: #333;
    padding: 2rem 0;
}

.section-4-5 .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
}

.section-4-5 .row {
    margin: 0;
}

.section-4-5 .col-md-6:first-child {
    width: 788px;
    height: 553px;
    margin-left: 16px;
    padding: 0;
}

.section-4-5 .col-md-6:last-child {
    width: 620px;
    height: 553px;
    padding: 0;
}

/* Gallery Styles */
.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.featured-gallery-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
    height: 100%;
}

.featured-image {
    width: 474px;
    height: 474px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.gallery-item {
    width: 202px;
    height: 147px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

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

.gallery-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #A15B1C;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    color: #fff;
    font-size: 24px;
    padding: 10px 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-btn:hover {
    background: #A15B1C;
    border-color: #A15B1C;
    transform: scale(1.1);
}

/* Awards and Role Styles */
.awards-section, .role-section {
    margin-bottom: 3rem;
    text-align: left;
}

.awards-title, .role-title {
    font-size: 50px;
    font-style: italic;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: left;
}

.awards-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.awards-list li {
    position: relative;
    padding-left: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 16px;
    line-height: 1.6;
}

.awards-list li::before {
    content: "•";
    color: #A15B1C;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.role-description {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

/* Section 4 Centered Container */
.section4-centered-container {
    width: 1408px;
    height: 626px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-radius: 20px;
    background: #384B38;
    margin: 0 2rem;
    padding: 0 100px;
}

/* Section 4 Left Column */
.section4-left-column {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: white;
    z-index: 2;
}

.section4-text {
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    line-height: 1.6;
    color: white;
}

.section4-pill-button {
    background-color: #90EE90;
    color: #333;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    font-size: 1rem;
}

.section4-pill-button:hover {
    background-color: #7CBB7C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}



/* Section 5 Centered Container */
.section5-centered-container {
    width: 1408px;
    height: 626px;
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Section 5 Left Column */
.section5-left-column {
    width: 600px;
    z-index: 2;
    position: relative;
}

.section5-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #333;
    text-align: left;
}

.section5-pill-button {
    background-color: #90EE90;
    color: #333;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.section5-pill-button:hover {
    background-color: #7CBB7C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Section 5 (1440 x 802) */
.section-5 {
    height: 802px;
    background: #F5FAF6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section 5 Centered Container */
.section5-centered-container {
    width: 1408px;
    height: 626px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    border-radius: 20px;
    background: #384B38;
    margin: 0 2rem;
    padding: 0 100px;
}

/* Section 5 Left Column */
.section5-left-column {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: white;
    z-index: 2;
}

.section5-text {
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    line-height: 1.6;
    color: white;
}

.section5-pill-button {
    background-color: #90EE90;
    color: #333;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    font-size: 1rem;
}

.section5-pill-button:hover {
    background-color: #7CBB7C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Section 5 Right Container */
.section5-right-container {
    width: 504px;
    height: 713px;
    background-image: url('/images/products/Tech Store.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Section 6 (1440 x 262) */
.section-6 {
    height: 300px;
    background: #222A22;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section 6 Layout */
.section-6 .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-6 .row {
    margin: 0;
    height: 100%;
    align-items: center;
}

.section6-left-column {
    width: 471px;
    padding: 0;
}

.section6-right-column {
    flex: 1;
    padding: 0 2rem;
}

/* Persona Image */
.persona-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    height: 100%;
    position: relative;
    min-height: 300px;
}

.persona-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    position: absolute;
    bottom: 0;
    left: 0;
    max-height: 350px;
}

/* Contact Information */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    justify-content: center;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.contact-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F5FAF6 !important;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
}

.contact-phone, .contact-email {
    font-size: 1.2rem;
    color: #F5FAF6 !important;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    text-align: left !important;
    width: 100%;
    display: block;
}

/* Social Icons in Section 6 */
.section-6 .social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.section-6 .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #f8f9fa;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.section-6 .social-icon i {
    font-size: 14px;
}

.section-6 .social-icon:hover {
    background: #A15B1C;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(161, 91, 28, 0.3);
}

/* Section 6 Centered Column */
.section6-centered-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Section 6 Header */
.section6-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 100px;
    font-weight: 500;
    font-style: italic;
    color: white;
    margin: 0;
}

/* Section 6 Image */
.section6-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 0;
    padding-bottom: 0;
    display: block;
}

/* Container for content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Section 3 specific title styling */
.section-3 .container h2 {
    font-size: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* Section 3 column titles */
.section-3 h3 {
    font-size: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.container p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1139px) {
   
    .navbar-nav {
        display: none !important;
    }
    
    .navbar-toggler {
        display: block !important;
        background: none !important;
        border: none !important;
        color: #A15B1C !important;
        font-size: 1.5rem !important;
        cursor: pointer !important;
        z-index: 1001 !important;
    }
    
    .navbar-collapse {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(34, 42, 34, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        padding: 1rem !important;
        z-index: 1000 !important;
        border-radius: 0 0 10px 10px !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    }
    
    .navbar-collapse.show {
        display: flex !important;
        flex-direction: column !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(34, 42, 34, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        padding: 1rem !important;
        z-index: 1040 !important;
        border-radius: 0 0 10px 10px !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Override Bootstrap collapse behavior more aggressively */
    .navbar-collapse.collapse.show {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    /* Force display when show class is present */
    .navbar-collapse.show,
    .navbar-collapse.collapse.show,
    .navbar-collapse.collapsing.show {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(34, 42, 34, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        padding: 1rem !important;
        z-index: 1040 !important;
        border-radius: 0 0 10px 10px !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    }
    
    .navbar-collapse.show .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0 !important;
        text-align: center !important;
        border-radius: 8px !important;
        color: #A15B1C !important;
        transition: all 0.3s ease !important;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(125, 142, 116, 0.2) !important;
        color: #A15B1C !important;
    }
    
    .navbar-nav .nav-link.active {
        background: #7D8E74 !important;
        color: #ffffff !important;
    }
    
    .navbar-toggler {
        border: none !important;
        padding: 0.25rem 0.5rem !important;
        color: #A15B1C !important;
        font-size: 1.5rem !important;
    }
    
    .navbar-toggler:focus {
        box-shadow: none !important;
    }
    
    .section-1 {
        height: auto !important;
        min-height: 100vh !important;
        padding: 1rem 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    
    .section-1 .hero-container {
        flex-direction: column !important;
        text-align: center !important;
        min-height: auto !important;
        padding: 1rem 0 !important;
        align-items: center !important;
        display: flex !important;
        justify-content: space-between !important;
        height: 100% !important;
        gap: 0 !important;
        flex: 1 !important;
    }
    
    .section-1 .hero-left {
        width: 100% !important;
        margin-bottom: 0 !important;
        order: 1;
        padding-right: 0 !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .section-1 .hero-right {
        width: 100% !important;
        order: 2;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-end !important;
        flex: 0 0 auto !important;
        margin-top: auto !important;
    }
    
    .hero-image {
        max-width: 100% !important;
        height: auto !important;
        width: 243px !important;
        height: 243px !important;
        object-fit: cover !important;
        border: 11px solid #F5FAF6 !important;
        border-radius: 8px !important;
    }
    
    /* Center signature image below "Yours Truly" text */
    .section-1 .hero-signature {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin: 2rem 0 !important;
        text-align: center !important;
        order: 3 !important;
    }
    
    .section-1 .signature-image {
        margin: 0.5rem auto !important;
        position: static !important;
        transform: none !important;
        z-index: auto !important;
        display: block !important;
        width: 91px !important;
        height: 30px !important;
        object-fit: contain !important;
    }
    
    .section-1 .signature-handwriting {
        margin-top: 0.5rem !important;
        text-align: center !important;
        font-size: 1.2rem !important;
    }
    
    /* Center social icons */
    .section-1 .social-icons {
        justify-content: center !important;
        margin-top: 1.5rem !important;
        display: flex !important;
        gap: 1rem !important;
        order: 4 !important;
    }
    
    .section-1 .social-icon {
        width: 20.8px !important;
        height: 20.8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Adjust hero title size for better mobile experience */
    .section-1 .hero-title {
        font-size: 2.8rem !important;
        text-align: center !important;
        order: 1 !important;
        margin-bottom: 1rem !important;
    }
    
    /* Adjust hero description and motto for better mobile experience */
    .section-1 .hero-description,
    .section-1 .hero-motto {
        font-size: 1.1rem !important;
        padding: 0 1rem !important;
        text-align: center !important;
        order: 2 !important;
        margin-bottom: 1rem !important;
    }
    
    /* Center all text content in hero left */
    .section-1 .hero-left {
        text-align: center !important;
    }
    
    /* Center signature text */
    .section-1 .signature-text {
        text-align: center !important;
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Ensure proper spacing and layout for mobile */
    .section-1 .hero-row {
        margin-bottom: 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* Section 3 Mobile Layout */
@media (max-width: 1139px) {
    .section-3 {
        height: auto !important;
        min-height: 100vh !important;
        padding: 2rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .section-3 .container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }
    
    .section-3 h2 {
        font-size: 2.5rem !important;
        margin-bottom: 2rem !important;
        color: #F5FAF6 !important;
        text-align: center !important;
    }
    
    .section-3 p {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
        color: #F5FAF6 !important;
        text-align: center !important;
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .section-3 * {
        color: #F5FAF6 !important;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-left {
        padding-right: 0;
        margin-bottom: 2rem;
    }

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

    .hero-description,
    .hero-motto {
        font-size: 1rem;
    }

    .hero-image {
        width: 300px;
        height: 300px;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-1 .hero-title {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .section-1 .hero-description,
    .section-1 .hero-motto {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .section-1 .hero-signature {
        margin: 1rem 0 !important;
    }
    
    .section-1 .signature-image {
        width: 70px !important;
        height: 25px !important;
    }
    
    .section-1 .social-icons {
        gap: 0.5rem !important;
        margin-top: 1rem !important;
    }
    
    .section-1 .social-icon {
        width: 18px !important;
        height: 18px !important;
    }
}

    .hero-description,
    .hero-motto {
        font-size: 0.9rem;
    }

    .hero-image {
        width: 250px;
        height: 250px;
    }

    .social-icon {
        font-size: 1.2rem;
    }
/* Mobile and Tablet Scrolling Improvements */
@media (max-width: 1024px) {
html {
        -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    }
    
    body {
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        overscroll-behavior: none;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    .section {
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }
    
    /* Remove problematic overflow hidden on mobile for better scrolling */
    .section-1 {
        overflow: visible !important;
    }
    
    .section-3 {
        overflow: visible !important;
    }
    
    .section-4 {
        overflow: visible !important;
    }
    
    .section-5 {
        overflow: visible !important;
    }
    
    .section-4-5 {
        overflow: visible !important;
    }
    
    /* Improve touch scrolling for containers */
    .container, .row, .col-md-6, .col-md-4, .col-md-8 {
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }
    
    /* Ensure proper scrolling for carousel components */
    .carousel-container, .hero-container, .three-column-layout {
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }
}

html {
    scroll-behavior: smooth;
}

/* Section 4 Desktop Layout (1140px and above) */
@media (min-width: 1140px) and (max-width: 1439px) {
    .section-4 {
        background: #F5FAF6 !important;
        height: 802px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }
}

@media (min-width: 1440px) {
    .section-4 {
        background: #F5FAF6 !important;
        height: 832px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}

.section-4 .section4-centered-container {
    width: 1408px !important;
    height: 626px !important;
    background: #384B38 !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 4rem !important;
    margin: 0 !important;
}

.section-4 .section4-left-column {
    flex: 1 !important;
    padding-right: 3rem !important;
    color: #F5FAF6 !important;
}

.section-4 .section4-text {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
    color: #F5FAF6 !important;
}

.section-4 .section4-pill-button {
    background: #7D8E74 !important;
    color: white !important;
    padding: 1rem 2rem !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.section-4 .section4-pill-button:hover {
    background: #6a7a63 !important;
    color: white !important;
    text-decoration: none !important;
}

.section-4 .section4-right-container {
    flex: 0 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.section-4 .section4-image {
    width: 503px !important;
    height: 712px !important;
    border-radius: 19.5px !important;
    border: 2px solid black !important;
    object-fit: cover !important;
    background-image: url('/images/products/Thesis Poster.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Section 4 Mobile Layout (1139px and below) */
@media (max-width: 1139px) {
    .section-4 {
        height: auto !important;
        min-height: 100vh !important;
        padding: 2rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        background: #F5FAF6 !important;
    }
    
    .section-4 .section4-centered-container {
        max-width: 339px !important;
        width: 339px !important;
        height: auto !important;
        min-height: 633px !important;
        margin: 0 !important;
        padding: 2rem !important;
        text-align: center !important;
        background: #384B38 !important;
        border-radius: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .section-4 .section4-left-column {
        width: 100% !important;
        order: 2;
        margin-bottom: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Remove section4-right-container and make image a direct column */
    .section-4 .section4-right-container {
        display: none !important;
    }
    
    .section-4 .section4-image {
        width: 178px !important;
        height: 252px !important;
        border-radius: 19.5px !important;
        border: 2px solid black !important;
        object-fit: cover !important;
        display: block !important;
        margin: 0 auto 2rem auto !important;
        order: 1 !important;
        background-image: url('/images/products/Thesis Poster.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    .section-4 .section4-text {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
        color: #F5FAF6 !important;
        text-align: center !important;
    }
    
    .section-4 .section4-pill-button {
        background: #AFDFAA !important;
        color: black !important;
        padding: 0.75rem 1.5rem !important;
        border-radius: 25px !important;
        text-decoration: none !important;
        display: block !important;
        margin: 0 auto !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        width: fit-content !important;
    }
    
    .section-4 .section4-pill-button:hover {
        background: #9bcc96 !important;
        color: black !important;
        text-decoration: none !important;
    }
    
    .section-4 * {
        color: #F5FAF6 !important;
    }
}

/* Section 5 Desktop Layout (1140px and above) */
.section-5 {
    background: #F5FAF6 !important;
    height: 802px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.section-5 .section5-centered-container {
    width: 1408px !important;
    height: 626px !important;
    background: #384B38 !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 4rem !important;
    margin: 0 !important;
}

.section-5 .section5-left-column {
    flex: 1 !important;
    padding-right: 3rem !important;
    color: #F5FAF6 !important;
}

.section-5 .section5-text {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
    color: #F5FAF6 !important;
}

.section-5 .section5-pill-button {
    background: #7D8E74 !important;
    color: white !important;
    padding: 1rem 2rem !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.section-5 .section5-pill-button:hover {
    background: #6a7a63 !important;
    color: white !important;
    text-decoration: none !important;
}

.section-5 .section5-right-container {
    flex: 0 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.section-5 .section5-image {
    width: 503px !important;
    height: 712px !important;
    border-radius: 19.5px !important;
    border: 2px solid black !important;
    object-fit: cover !important;
    background-image: url('/images/products/Tech Store.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Section 5 Mobile Layout (1139px and below) */
@media (max-width: 1139px) {
    .section-5 {
        height: auto !important;
        min-height: 100vh !important;
        padding: 2rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        background: #F5FAF6 !important;
    }
    
    .section-5 .section5-centered-container {
        max-width: 339px !important;
        width: 339px !important;
        height: auto !important;
        min-height: 633px !important;
        margin: 0 !important;
        padding: 2rem !important;
        text-align: center !important;
        background: #384B38 !important;
        border-radius: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .section-5 .section5-left-column {
        width: 100% !important;
        order: 2;
        margin-bottom: 0 !important;
        padding-right: 0 !important;
    }
    
    
    .section-5 .section5-right-container {
        display: none !important;
    }
    
    .section-5 .section5-image {
        width: 178px !important;
        height: 252px !important;
        border-radius: 19.5px !important;
        border: 2px solid black !important;
        object-fit: cover !important;
        display: block !important;
        margin: 0 auto 2rem auto !important;
        order: 1 !important;
        background-image: url('/images/products/Tech Store.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    .section-5 .section5-text {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
        color: #F5FAF6 !important;
        text-align: center !important;
    }
    
    .section-5 .section5-pill-button {
        background: #AFDFAA !important;
        color: black !important;
        padding: 0.75rem 1.5rem !important;
        border-radius: 25px !important;
        text-decoration: none !important;
        display: block !important;
        margin: 0 auto !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        width: fit-content !important;
    }
    
    .section-5 .section5-pill-button:hover {
        background: #9bcc96 !important;
        color: black !important;
        text-decoration: none !important;
    }
    
    .section-5 * {
        color: #F5FAF6 !important;
    }
}

/* Section 4.5 Mobile Layout (1139px and below) */
@media (max-width: 1139px) {
    .section-4-5 {
        height: auto !important;
        min-height: 100vh !important;
        padding: 2rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        background: #F5FAF6 !important;
    }
    
    .section-4-5 .container {
        max-width: 385px !important;
        width: 385px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .section-4-5 .row {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .section-4-5 .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    
    /* Gallery Layout for Mobile - Responsive with featured image above, 2 small images below */
    .section-4-5 .gallery-container {
        width: 100% !important;
        margin-bottom: 2rem !important;
    }
    
    .section-4-5 .featured-gallery-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    
    .section-4-5 .featured-image {
        width: 100% !important;
        height: 60% !important;
        min-height: 200px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }
    
    .section-4-5 .featured-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    
    .section-4-5 .gallery-item {
        height: 80px !important;
        width: 185px !important;
        border-radius: 4px !important;
        overflow: hidden !important;
        justify-self: center !important;
    }
    
    .section-4-5 .gallery-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    /* Hide the third gallery item on mobile */
    .section-4-5 .gallery-item:nth-child(3) {
        display: none !important;
    }
    
    /* Awards and Role Section for Mobile */
    .section-4-5 .awards-section,
    .section-4-5 .role-section {
        margin-bottom: 2rem !important;
    }
    
    .section-4-5 .awards-title,
    .section-4-5 .role-title {
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        margin-bottom: 1rem !important;
        color: #333 !important;
        font-style: italic !important;
    }
    
    .section-4-5 .awards-list {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .section-4-5 .awards-list li {
        padding: 0.5rem 0 !important;
        color: #333 !important;
        font-size: 1rem !important;
        position: relative !important;
        padding-left: 1.5rem !important;
    }
    
    .section-4-5 .awards-list li::before {
        content: "•" !important;
        color: #7D8E74 !important;
        font-weight: bold !important;
        position: absolute !important;
        left: 0 !important;
    }
    
    .section-4-5 .role-description {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        color: #333 !important;
        margin: 0 !important;
    }
}

/* Section 6 Mobile Layout - (1139px and below) */
@media (max-width: 1139px) {
    .section-6 {
        height: auto !important;
        min-height: 179px !important;
        padding: 2rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        background: #222A22 !important;
    }
    
    .section-6 .container {
        max-width: 385px !important;
        width: 385px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .section-6 .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
    }
    
    .section-6 .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    
    /* Hide Persona image on mobile */
    .section-6 .section6-left-column {
        display: none !important;
    }
    
    /* Social Icons Layout */
    .section-6 .social-icons {
        display: flex !important;
        justify-content: center !important;
        gap: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .section-6 .social-icon {
        width: 30px !important;
        height: 30px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 50% !important;
        transition: all 0.3s ease !important;
    }
    
    .section-6 .social-icon:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: translateY(-2px) !important;
    }
    
    .section-6 .social-icon i {
        font-size: 14px !important;
        color: #F5FAF6 !important;
    }
    
    /* Contact Information */
    .section-6 .contact-name {
        font-size: 20px !important;
        font-weight: 500 !important;
        color: #F5FAF6 !important;
        text-align: center !important;
        margin: 0 0 0.5rem 0 !important;
        font-family: 'Montserrat', sans-serif !important;
    }
    
    .section-6 .contact-phone,
    .section-6 .contact-email {
        font-size: 20px !important;
        font-weight: 500 !important;
        color: #F5FAF6 !important;
        text-align: left !important;
        margin: 0.25rem 0 !important;
        font-family: 'Montserrat', sans-serif !important;
    }
    
    /* Center all footer content on mobile */
    .section-6 .social-icons {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: 1rem !important;
    }
    
    .section-6 .section6-right-column {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .section-6 .contact-row {
        text-align: center !important;
        width: 100% !important;
    }
}

/* Section 2 Styling - React App */
#react-app h2 {
    font-weight: bold !important;
    font-style: italic !important;
    color: #000000 !important;
    text-align: left !important;
}

#react-app p {
    color: #000000 !important;
    text-align: left !important;
}

#react-app .text-left {
    text-align: left !important;
}

/* Section specific styling for better visual separation */
.section-2 .container h2 {
    color: #667eea;
}

.section-3 .container h2 {
    color: #F5FAF6;
}

.section-3 p {
    color: #F5FAF6;
}


.section-3 * {
    color: #F5FAF6 !important;
}

/* Section 2 Extra Small Mobile Layout - Stacked columns with horizontal carousel (866px breakpoint) */
@media (max-width: 866px) {
    
    .section-2 .hero-container {
        flex-direction: column !important;
        height: 420px !important;
        min-height: 420px !important;
        align-items: center !important;
        display: flex !important; 
        padding: 20px 0 !important;
    }
    
    .section-2 .flex {
        flex-direction: column !important;
        width: 100% !important;
        align-items: center !important;
        justify-content: flex-start !important;
        display: flex !important; 
    }
    
    /* Force all children to be in column layout */
    .section-2 .flex > * {
        width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 0 !important;
    }
    
    /* Override any existing flex properties */
    .section-2 .flex > div {
        flex-direction: column !important; 
        display: block !important; 
    }

    /* Force override inline styles from React */
    .section-2 .hero-container[style*="flexDirection"] {
        flex-direction: column !important;
    }
    
    .section-2 .flex[style*="flexDirection"] {
        flex-direction: column !important;
    }
    
    /* Override any inline styles on the flex container */
    .section-2 .flex[style] {
        flex-direction: column !important;
        display: flex !important;
    }
    
    /* Center carousel - full width, horizontal rotation */
    .section-2 .center-carousel {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        order: 1 !important;
        height: 150px !important;
        margin-bottom: 15px !important;
        display: block !important;
    }
    
    /* Force carousel container to be horizontal */
    .section-2 .center-carousel .relative {
        height: 150px !important;
    }
    
    .section-2 .center-carousel .carousel-container {
        display: flex !important;
        flex-direction: row !important;
        height: 150px !important;
    }
    
    /* Override any inline styles on carousel elements */
    .section-2 .center-carousel [style*="flexDirection"] {
        flex-direction: row !important;
    }
    
    .section-2 .center-carousel [style*="display"] {
        display: flex !important;
    }
    
    /* Hide spacing between center and right */
    .section-2 .spacing-2 {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        order: 3 !important;
    }
    
    /* Right content - full width below carousel */
    .section-2 .right-content {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        order: 2 !important;
        padding: 0 20px !important;
        display: block !important;
        margin-top: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure text is centered and readable */
    .section-2 .right-content .text-left {
        text-align: center !important;
        max-width: none !important;
        width: 100% !important;
    }
    
    .section-2 .right-content h2 {
        text-align: center !important;
        margin-bottom: 20px !important;
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
    }
    
    .section-2 .right-content .space-y-4 {
        max-width: none !important;
        width: 100% !important;
    }
    
    .section-2 .right-content .space-y-4 p {
        text-align: center !important;
        width: 100% !important;
        max-width: none !important;
        margin-bottom: 15px !important;
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        white-space: normal !important;
    }
    
    /* Extra small screens - further reduce text size */
    @media (max-width: 480px) {
        .section-2 .right-content h2 {
            font-size: 1.25rem !important;
            margin-bottom: 15px !important;
        }
        
        .section-2 .right-content .space-y-4 p {
            font-size: 0.8rem !important;
            line-height: 1.4 !important;
            margin-bottom: 12px !important;
        }
        
        .section-2 .right-content {
            padding: 0 20px !important;
        }
        
        .section-2 .right-content .space-y-4 p {
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            hyphens: auto !important;
            white-space: normal !important;
        }
    }
    
    /* Section 4.5 - Remove 16px left margin on mobile */
    .section-4-5 .col-md-6:first-child {
        margin-left: 0 !important;
    }
    
    /* Section 4.5 - Reduce bottom space below featured image and gallery rows */
    .section-4-5 .featured-image {
        margin-bottom: 8px !important;
    }
    
    .section-4-5 .gallery-images-row {
        margin-bottom: 8px !important;
    }
    
    /* Section 4.5 - Reduce heights at 866px breakpoint */
    .section-4-5 .gallery-container {
        height: 300px !important;
    }
    
    .section-4-5 .col-md-6 {
        height: 300px !important;
    }
    
    /* Hide h3 role in section 4.5 at 866px breakpoint */
    .section-4-5 .role-title {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Hide role description at 866px breakpoint */
    .section-4-5 .role-description {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Section 3 - Set height to 500px at 866px breakpoint */
    .section-3 {
        height: 500px !important;
        min-height: 500px !important;
    }
}

.section-4 .container h2 {
    color: #ffc107;
}

.section-5 .container h2 {
    color: #dc3545;
}

.section-6 .container h2 {
    color: #6f42c1;
}

/* Section 4.5 - Desktop Layout (1440px and above) */
@media (min-width: 1440px) {
    .section-4-5 {
        height: 580px;
        background: #f8f9fa;
        color: #333;
        padding: 2rem 0;
        overflow: hidden;
    }
    
    .section-4-5 .featured-image {
        margin-bottom: 8px !important;
    }
    
    .section-4-5 .gallery-images-row {
        margin-bottom: 8px !important;
    }
    
    /* Reduce width of second column in section 4.5 for 1440px and above */
    .section-4-5 .col-md-6:last-child {
        width: 500px !important;
        max-width: 500px !important;
    }
    
    /* Hero description and motto font size for 1440px and above */
    .hero-description,
    .hero-motto {
        font-size: 20px !important;
    }
    
    /* Hero image size for 1440px and above */
    .hero-image {
        width: 350px !important;
        height: 350px !important;
    }
}

.section-4-5 {
    height: 550px;
    background: #f8f9fa;
    color: #333;
    padding: 2rem 0;
}

.section-4-5 .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
}

.section-4-5 .row {
    margin: 0;
}

.section-4-5 .col-md-6:first-child {
    width: 788px;
    height: 553px;
    margin-left: 16px;
    padding: 0;
}

.section-4-5 .col-md-6:last-child {
    width: 620px;
    height: 553px;
    padding: 0;
}

/* Gallery Container - Desktop */
.section-4-5 .gallery-container {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

/* Featured Image - Desktop */
.section-4-5 .featured-image {
    width: 100%;
    height: 60%;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.section-4-5 .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Gallery Images Row - Desktop */
.section-4-5 .gallery-images-row {
    display: flex;
    gap: 15px;
    width: 100%;
    height: 40%;
}

.section-4-5 .gallery-item {
    flex: 1;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
}

.section-4-5 .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.section-4-5 .gallery-item img:hover {
    transform: scale(1.05);
}

/* Awards and Role Section - Desktop */
.section-4-5 .awards-section,
.section-4-5 .role-section {
    margin-bottom: 30px;
    padding: 0 20px;
}

.section-4-5 .awards-title,
.section-4-5 .role-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.section-4-5 .awards-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-4-5 .awards-list li {
    padding: 8px 0 8px 20px;
    color: #666;
    font-size: 1rem;
    position: relative;
}

.section-4-5 .awards-list li::before {
    content: "•";
    color: #7D8E74;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
}


.section-4-5 .role-description {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Mobile Responsive - 1139px and below */
@media (max-width: 1139px) {
    .section-4-5 {
        padding: 40px 0;
        background-color: #f8f9fa;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .section-4-5 .container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
    }
    
    .section-4-5 .row {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        display: flex;
        flex-wrap: wrap;
    }
    
    .section-4-5 .col-md-6 {
        width: 100%;
        padding: 0;
        margin: 0;
        flex: 0 0 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Gallery - Responsive sizing */
    .section-4-5 .gallery-container {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .section-4-5 .featured-image {
        padding: 0;
        margin: 0 0 12px 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .section-4-5 .featured-image img {
        max-height: 250px;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        display: block;
        box-sizing: border-box;
    }
    
    .section-4-5 .gallery-images-row {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        gap: 8px;
        display: flex;
        box-sizing: border-box;
    }
    
    .section-4-5 .gallery-item {
        padding: 0;
        margin: 0;
        max-width: calc(50% - 4px);
        overflow: hidden;
        flex: 1;
        box-sizing: border-box;
    }
    
    .section-4-5 .gallery-item img {
        max-height: 120px;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
        border-radius: 6px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
        display: block;
        box-sizing: border-box;
    }
    
    /* Awards and Role */
    .section-4-5 .awards-section,
    .section-4-5 .role-section {
        padding: 0 20px;
        margin-bottom: 25px;
    }
    
    .section-4-5 .awards-title,
    .section-4-5 .role-title {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .section-4-5 .awards-list li {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .section-4-5 .role-description {
        text-align: center;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile - 480px and below */
@media (max-width: 480px) {
    .section-4-5 {
        padding: 30px 0;
    }
    
    .section-4-5 .container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    .section-4-5 .row {
        gap: 15px;
    }
    
    /* Gallery - Extra small sizing */
    .section-4-5 .featured-image img {
        max-height: 200px;
    }
    
    .section-4-5 .gallery-images-row {
        gap: 6px;
    }
    
    .section-4-5 .gallery-item {
        max-width: calc(50% - 3px);
    }
    
    .section-4-5 .gallery-item img {
        max-height: 100px;
    }
    
    .section-4-5 .awards-section,
    .section-4-5 .role-section {
        padding: 0 15px;
    }
    
    .section-4-5 .awards-title,
    .section-4-5 .role-title {
        font-size: 1.2rem;
    }
    
    .section-4-5 .awards-list li {
        font-size: 0.85rem;
    }
    
    .section-4-5 .role-description {
        font-size: 0.85rem;
    }
}

/* Very Small Mobile - 360px and below */
@media (max-width: 360px) {
    .section-4-5 {
        padding: 20px 0;
    }
    
    .section-4-5 .container {
        padding: 0 8px;
    }
    
    .section-4-5 .featured-image img {
        max-height: 180px;
    }
    
    .section-4-5 .gallery-item img {
        max-height: 80px;
    }
    
    .section-4-5 .gallery-images-row {
        gap: 4px;
    }
    
    .section-4-5 .gallery-item {
        max-width: calc(50% - 2px);
    }
}