﻿/* Fonts */
@import url(//fonts.googleapis.com/css?family=Lato:300:400);

/* Loading Spinner */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f67828;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ffffff;
    border-top: 5px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hide loading container when splash screen is shown */
.loading-container.hide {
    opacity: 0;
    pointer-events: none;
}

/* Skeleton Loading Styles - ADD THIS NEW SECTION */
.skeleton-container {
    animation: fade-in 0.5s ease-in-out;
}

.skeleton-img,
.skeleton-icon,
.skeleton-icon-small,
.skeleton-title,
.skeleton-title-small,
.skeleton-title-medium,
.skeleton-title-large,
.skeleton-text,
.skeleton-text-small,
.skeleton-text-medium,
.skeleton-badge,
.skeleton-button,
.skeleton-image,
.skeleton-media,
.skeleton-list-item {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-pulse 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes loading-pulse {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Knowledge Base Skeleton */
.skeleton-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.skeleton-content {
    width: 100%;
}

.skeleton-title {
    height: 20px;
    width: 70%;
    margin-bottom: 10px;
}

.skeleton-text {
    height: 16px;
    width: 100%;
    margin-bottom: 10px;
}

.skeleton-badge {
    height: 20px;
    width: 80px;
}

/* Ad Container Skeleton */
.skeleton-title-large {
    height: 32px;
    width: 60%;
    margin: 0 auto 15px;
}

.skeleton-text-medium {
    height: 18px;
    width: 80%;
    margin: 0 auto 20px;
}

.skeleton-button {
    height: 40px;
    width: 120px;
    margin: 0 auto 20px;
    border-radius: 20px;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    margin-top: 20px;
}

/* Online Services Skeleton */
.skeleton-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
}

.skeleton-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.skeleton-title-medium {
    height: 24px;
    width: 70%;
    margin: 0 auto 15px;
}

/* Forms Skeleton */
.skeleton-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
}

.skeleton-list {
    width: 100%;
    margin: 15px 0;
}

.skeleton-list-item {
    height: 16px;
    width: 90%;
    margin: 10px 0;
}

/* Advisories Skeleton */
.skeleton-bulletin {
    display: flex;
    gap: 15px;
}

.skeleton-icon-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
}

.skeleton-title-small {
    height: 18px;
    width: 80%;
    margin-bottom: 8px;
}

.skeleton-text-small {
    height: 14px;
    width: 90%;
}

.skeleton-carousel-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.skeleton-media {
    height: 77%;
    width: 100%;
}

.skeleton-carousel-content {
    height: 23%;
    padding: 15px;
    background: white;
}

/* Feedback Skeleton */
.skeleton-feedback {
    padding: 35px;
}

.skeleton-profile {
    margin-bottom: 25px;
}

/* Splash Screen Styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f67828;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    transition: transform 0.8s ease-in-out;
}

.splash-content {
    text-align: center;
}

.welcome-text {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.splash-screen h1 {
    color: white;
    font-size: 5rem;
    margin-top: 10px;
}

.splash-screen.slide-up {
    transform: translateY(-100%);
}

.main-content {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

    .main-content.show {
        opacity: 1;
    }

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*Adjust section padding to account for fixed navbar*/
section {
    scroll-margin-top: 76px; /* Match your navbar height */
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    background-color: rgba(51, 51, 51, 1);
    position: fixed; /* Ensure it's fixed */
    width: 100%;
    top: 0;
    z-index: 1030; /* High z-index to stay on top */
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

    .navbar-brand img:hover {
        transform: scale(1.05);
    }

/* Nav link styles */
.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 1.5rem !important; /* Your specified padding */
    font-size: 12px; /* Your adjusted font size */
    position: relative;
    transition: none; /* Remove transition */
}

    /* Simple hover effect without animation */
    .nav-link:hover {
        color: rgba(255, 255, 255, 0.8) !important;
    }

    /* Active state with #EE5C17 underline centered */
    .nav-link.active {
        font-weight: 600;
        position: relative;
    }

        .nav-link.active:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%; /* Center the underline */
            transform: translateX(-50%); /* Center the underline */
            width: 50%; /* Width of the underline - adjust as needed */
            height: 2px;
            background-color: #EE5C17;
        }

    /* Remove all previous hover animations */
    .nav-link:before {
        display: none;
    }

    /* Remove the after pseudo-element that was used for hover animation */
    .nav-link:after {
        display: none;
    }

    /* Re-enable after pseudo-element only for active state */
    .nav-link.active:after {
        display: block;
    }


/* Header Section */
.header {
    position: relative;
    text-align: center;
    background: linear-gradient(rgba(128, 130, 133, 0.8), rgba(128, 130, 133, 0.8)), url('../../Images/MainPageImg/HeaderBackground.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0 30px 0; /* Increased top padding to push content down */
    margin-top: 0; /* Ensure no unexpected margin */
}

.inner-header {
    height: 25vh; /* Increased from 17vh */
    min-height: 180px; /* Increased from 150px */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

    .inner-header h1 {
        font-size: 5rem;
        letter-spacing: 2px;
        margin-top: 40px; /* Add top margin to push title down */
    }

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.search-bar-container {
    padding: 25px 0 10px 0;
}

/* Search bar styling */
#search-bar {
    max-width: 550px;
    margin: 0 auto;
    position: relative;
}

.search-input-container {
    position: relative;
    width: 100%;
    display: flex;
}

.search-input {
    width: 100%;
    height: 50px !important;
    padding-left: 40px !important; /* Space for left icon */
    padding-right: 80px !important; /* Space for right icons */
    border: 1px solid #dfe1e5 !important;
    border-radius: 24px !important;
    font-size: 16px !important;
    color: #202124 !important;
    box-shadow: 0 1px 3px rgba(32,33,36,0.1) !important;
    transition: box-shadow 0.3s !important;
}

    .search-input:focus {
        outline: none !important;
        box-shadow: 0 1px 6px rgba(32,33,36,0.28) !important;
        border-color: rgba(223,225,229,0) !important;
    }

.search-icon-left {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa0a6;
    font-size: 18px;
    z-index: 5;
}

.search-clear-btn {
    position: absolute;
    right: 60px; /* Position to the left of the search button */
    top: 50%;
    transform: translateY(-50%);
    color: #70757a;
    background: none;
    border: none;
    cursor: pointer;
    display: none; /* Hidden by default, shown when input has text */
    font-size: 18px;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    z-index: 5;
}

    .search-clear-btn:hover {
        color: #202124;
    }

.search-btn {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    height: 50px !important;
    width: 50px !important;
    background-color: #878888 !important; /* Keeping your original color */
    border: none !important;
    border-radius: 0 24px 24px 0 !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s !important;
    z-index: 4;
}

    .search-btn:hover {
        background-color: #6e6e6e !important; /* Slightly darker on hover */
    }

    .search-btn i {
        font-size: 20px !important;
    }



.suggested-search p {
    font-size: 1.2rem;
}

.suggested-search .badge {
    font-size: 1rem;
    padding: 10px 15px;
    background-color: #EE5C17;
    color: #fff;
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 5px;
    display: inline-block;
    white-space: normal; /* Allow text wrapping */
    max-width: 100%; /* Ensure badges don't overflow container */
}

    .suggested-search .badge:hover {
        background-color: #878888;
        color: #fff;
    }

/* Search Suggestions Styles */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 24px; /* Make all corners rounded */
    box-shadow: 0 4px 6px rgba(32,33,36,0.28);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 8px; /* Small gap between search box and suggestions */
    border: 1px solid #dfe1e5;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-align: left;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s;
}

    /* Add rounded corners to first item */
    .suggestion-item:first-child {
        border-radius: 24px 24px 0 0;
    }

    /* Add rounded corners to last item */
    .suggestion-item:last-child {
        border-bottom: none;
        border-radius: 0 0 24px 24px;
    }

    /* If there's only one item, make all corners rounded */
    .suggestion-item:only-child {
        border-radius: 24px;
    }

    .suggestion-item:hover {
        background-color: #f1f3f4;
    }

.suggestion-icon {
    color: #9aa0a6;
    margin-right: 12px;
    font-size: 14px;
}

.suggestion-subject {
    color: #202124;
    font-weight: normal;
    font-size: 16px;
    flex-grow: 1;
}

/* Knowledge Base Section */
section h2 {
    color: #2C2C2C;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Card styles */
.d-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
    min-height: 200px; /* Ensure all cards have a minimum height */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    position: relative; /* Required for hover effect */
    background: white;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer; /* Mouse changes to pointer (clickable) */
}

    .d-flex div p {
        font-size: 0.875rem; /* Smaller description text */
        line-height: 1.4;
    }

/* Hover effect - Simplified but still visually appealing */
.col-md-4.mb-3 .d-flex {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .col-md-4.mb-3 .d-flex:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 3px;
        background: #f67828;
        transform: scaleY(0);
        transition: transform 0.3s ease;
        transform-origin: bottom;
    }

    .col-md-4.mb-3 .d-flex:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }

        .col-md-4.mb-3 .d-flex:hover:before {
            transform: scaleY(1);
        }

.kb-icon {
    width: 50px;
    height: 50px;
}

.badge {
    font-size: 0.875rem;
    padding: 5px 10px;
    margin-top: auto; /* Ensures badge is pushed to the bottom of the card */
}


/* Get Support Section  */
.ad-container {
    padding: 2rem 0;
}

.ad-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.ad-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 0; /* Remove default margins */
    color: #333;
    line-height: 1.2; /* Adjust line height for better alignment */
}

.ad-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 600px;
}

.start-button {
    background-color: white;
    color: #000;
    border: 2px solid #808285;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.app-button-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.title-with-icon {
    display: flex;
    align-items: center; /* This aligns items vertically in the middle */
    justify-content: center;
    gap: 0.5rem; /* Reduced gap between title and icon */
    margin-bottom: 1rem;
    position: relative; /* Added for positioning context */
}

.title-icon {
    width: 30px; /* Slightly reduced size */
    height: 30px;
    object-fit: contain;
    margin-top: 5px; /* Adds a small offset from the top if needed */
    /* Optional: if you need to adjust the icon position more precisely */
    position: relative;
    top: 1px; /* Fine-tune vertical alignment */
}

.app-button {
    background-color: white;
    color: #000;
    border: 2px solid #808285;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}

    .app-button i {
        font-size: 1.2rem;
    }

    .start-button:hover,
    .app-button:hover {
        background-color: #808285;
        color: white;
        text-decoration: none;
    }

/* image container styles */
.ad-image-container {
    width: 100%;
    max-width: 1200px; /* Set a maximum width for the container */
    height: auto; /* Allow the height to adjust */
    overflow: hidden;
    position: relative;
}

.ad-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

    .ad-image:hover {
        transform: scale(1.05);
    }

/* Background Image Styles */
.background-image {
    position: absolute;
    width: 430px; /* Increased from 200px */
    height: 430px; /* Increased from 200px */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.port-tour {
    background-image: url('../../Images/MainPageImg/Get_Support/Port_Tour_Request.png');
    left: 50%; /* Changed from left: 20px */
    top: 50%;
    transform: translate(-50%, -50%); /* Changed to center both horizontally and vertically */
}

.mict-eyes {
    background-image: url('../../Images/MainPageImg/Get_Support/MICT_Eyes.png');
    left: 50%; /* Changed from right: 20px */
    top: 50%;
    transform: translate(-50%, -50%); /* Changed to center both horizontally and vertically */
}

.vessel-schedule {
    background-image: url('../../Images/MainPageImg/Get_Support/Vessel_Schedule.png');
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Full Width Terminal Request Section */
.terminal-request-full-section {
    padding: 0;
    margin: 0;
}

/* Terminal Request Split Section Styles - Full Width */
.terminal-request-section {
    background-image: url('../../Images/MainPageImg/Customer_Forms/MICT_Forms_Container_Background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f8f9fa; /* Fallback color */
    position: relative;
    overflow: hidden;
    min-height: 400px;
    width: 100vw; /* Full viewport width */
    margin-left: calc(-50vw + 50%); /* Center full width container */
}

    /* Add overlay for better text readability */
    .terminal-request-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

    .terminal-request-section .content {
        position: relative;
        z-index: 2;
        padding: 4rem 2rem;
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
    }

    .terminal-request-section .ad-title {
        font-size: 2.2rem;
        color: white;
        margin-bottom: 1rem;
        font-weight: 700;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .terminal-request-section .ad-description {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    }

/* Terminal Button Styling */
.terminal-button {
    background: linear-gradient(135deg, #ee5c17 0%, #d44c12 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(238, 92, 23, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 2;
}

    .terminal-button:hover {
        background: linear-gradient(135deg, #d44c12 0%, #b8400f 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(238, 92, 23, 0.4);
        color: white;
        text-decoration: none;
    }

/* Remove the separate background-image class since we're not using it anymore */
.background-image.terminal-request {
    display: none;
}

/* Content positioning */
.content {
    position: relative;
    z-index: 2;
}

/* Split Container Styles */
.split-container {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    min-height: 250px;
}

.split-section {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .split-section:first-child {
        border-right: 2px solid #e0e0e0;
    }

    .split-section:not(:last-child) {
        border-right: 2px solid #e0e0e0;
    }

    .split-section .ad-title {
        margin-bottom: 1.5rem;
    }

    .split-section .ad-description {
        margin-bottom: 2rem;
    }

/* CCTV Button Style */
.cctv-button {
    background-color: white;
    color: #000;
    border: 2px solid #808285;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .cctv-button:hover {
        background-color: #808285;
        color: white;
        text-decoration: none;
    }

    .cctv-button i {
        font-size: 1.2rem;
    }



/* Arrow Animation Styles */
.fa-arrow-indicator {
    position: fixed;
    bottom: 100px;
    right: 90px;
    display: none;
    z-index: 9999;
    pointer-events: none;
}

    .fa-arrow-indicator i {
        color: #df3400;
        font-size: 64px;
        display: block;
        transform: rotate(45deg);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
        animation: arrowBounce 1.5s infinite ease-in-out;
    }

    .fa-arrow-indicator .indicator-text {
        position: absolute;
        top: -50px;
        right: 0;
        background: #df3400;
        color: white;
        padding: 10px 25px;
        border-radius: 25px;
        font-size: 20px;
        white-space: nowrap;
        transform: rotate(0deg) translateX(-30px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        letter-spacing: 0.5px;
        animation: textFade 1.5s infinite ease-in-out;
    }

    .fa-arrow-indicator.show {
        display: block;
    }

    .fa-arrow-indicator.hide {
        display: none;
    }

/* Arrow Bounce Animation */
@keyframes arrowBounce {
    0%, 100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 1;
    }

    50% {
        transform: rotate(45deg) translate(10px, 10px);
        opacity: 0.8;
    }
}

/* Text Fade Animation */
@keyframes textFade {
    0%, 100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.7;
        transform: translateY(-3px);
    }
}

/* Glow Effect Animation */
@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(223, 52, 0, 0.5);
    }

    50% {
        text-shadow: 0 0 20px rgba(223, 52, 0, 0.8);
    }
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 992px) {
    .ad-card {
        min-height: 450px;
    }

    .content-center {
        min-height: 160px;
    }

    .ad-image-container {
        height: 250px;
    }
}

@media screen and (max-width: 768px) {
    .ad-card {
        min-height: 400px;
    }

    .content-center {
        min-height: 140px;
    }

    .ad-image-container {
        height: 220px;
    }

    .fa-arrow-indicator {
        bottom: 80px;
        right: 70px;
    }

        .fa-arrow-indicator i {
            font-size: 48px;
        }

        .fa-arrow-indicator .indicator-text {
            font-size: 16px;
            padding: 6px 16px;
        }
}

/* State Transitions */
.fa-arrow-indicator {
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

    .fa-arrow-indicator.show {
        opacity: 1;
    }

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .fa-arrow-indicator i {
        color: #000000;
        text-shadow: none;
    }

    .fa-arrow-indicator .indicator-text {
        background: #000000;
        box-shadow: none;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .fa-arrow-indicator i,
    .fa-arrow-indicator .indicator-text {
        animation: none;
    }

    .fa-arrow-indicator.with-glow i {
        animation: none;
        text-shadow: 0 0 5px rgba(223, 52, 0, 0.5);
    }
}



/* Online Service Section */
.digital-services-section {
    padding: 60px 0;
    background-color: #ee5c17; /* Changed from red to #808285 */
    min-height: 500px;
    position: relative;
    margin-bottom: 40px;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

    .services-header h2 {
        color: #FFFFFF; /* Changed from #2C2C2C to white */
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 10px;
    }

.services-subtitle {
    color: #FFFFFF; /* Changed from #656565 to white */
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 50%;
    padding: 15px;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    color: #2C2C2C;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-description {
    color: #656565;
    font-size: 14px;
    margin-bottom: 20px;
    min-height: 40px;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #ee5c17;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

    .service-btn:hover {
        background-color: #d94d0e;
        color: white;
        text-decoration: none;
    }

.btn-arrow {
    width: 20px;
    height: 20px;
    margin-left: 8px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.service-btn:hover .btn-arrow {
    transform: translateX(5px);
}


/* Customer Forms Section */
.forms-section {
    padding: 60px 0;
    background-color: white;
    min-height: 500px;
    position: relative;
    margin-bottom: 40px;
}

.mf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.mtforms-header {
    text-align: center;
    margin-bottom: 50px;
}

    .mtforms-header h2 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 10px;
    }

.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.form-category {
    background-color: #ee5c17;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
    height: auto;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

    .form-category:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .form-category:hover:before {
        transform: translateY(0);
    }

    .form-category:nth-child(4) {
        grid-column: 2;
    }

.form-icon {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-align: center;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-icon-img {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.form-category h4 {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-size: 1.4rem;
    font-weight: 600;
}

.form-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.form-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

    .form-list li {
        margin: 12px 0;
        transition: transform 0.3s ease;
        text-align: left;
    }

        .form-list li:hover {
            transform: translateX(5px);
        }

    .form-list a {
        color: white;
        text-decoration: none;
        transition: opacity 0.3s ease;
        display: block;
        padding: 8px 0;
        font-size: 1.1rem;
    }

        .form-list a:hover {
            opacity: 0.8;
        }

.view-more-link {
    display: inline-block;
    width: 100%;
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    margin-top: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

    .view-more-link:hover {
        background: white;
        color: #ee5c17;
        border-color: white;
        text-decoration: none;
    }

/* MF Modal Styles */
.mf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.mf-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 80vh; /* Set maximum height for modal */
    display: flex;
    flex-direction: column;
}

.mf-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius: 12px 12px 0 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

.mf-modal-title {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.mf-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0 10px;
}

.mf-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    /* Custom Scrollbar Styles */
    scrollbar-width: thin;
    scrollbar-color: #ee5c17 #f5f5f5;
}

    /* Webkit scrollbar styles */
    .mf-modal-body::-webkit-scrollbar {
        width: 8px;
    }

    .mf-modal-body::-webkit-scrollbar-track {
        background: #f5f5f5;
        border-radius: 4px;
    }

    .mf-modal-body::-webkit-scrollbar-thumb {
        background: #ee5c17;
        border-radius: 4px;
    }

        .mf-modal-body::-webkit-scrollbar-thumb:hover {
            background: #c94d13;
        }

.mf-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .mf-modal-list li {
        margin: 12px 0;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }

        .mf-modal-list li:last-child {
            border-bottom: none;
        }

    .mf-modal-list a {
        color: #ee5c17;
        text-decoration: none;
        display: block;
        font-size: 1.1rem;
        transition: color 0.3s ease;
    }

        .mf-modal-list a:hover {
            color: #c94d13;
        }



/* Advisories Section */
.slider {
    width: 100%; /* Reduced width to 90% */
    max-width: 1600px; /* Optional: set a maximum width */
    margin: 0; /* Remove the margin: 0 auto */
    padding: 20px 0;
    background-color: white;
}

.carousel-section {
    background-color: #4A4A4A;
    padding: 30px;
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

    .carousel-section h2 {
        color: white; /* Changed text color for visibility */
        text-align: center;
        margin-bottom: 30px;
    }

/* Carousel Layout */
.carousel-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    position: relative;
    padding: 0 20px; /* Add padding to the carousel-wrapper */
}

/* Bulletin Panel */
.bulletin-panel {
    width: 30%;
    padding: 20px;
    background-color: white;
}

.bulletin-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 300px; /* Fixed width */
    max-width: 250px; /* Prevent it from expanding */
    flex-shrink: 0; /* Prevent shrinking */
    max-height: 750px; /* Match height with carousel-items-container */
    overflow-y: auto; /* Add vertical scrollbar when needed */
    padding-right: 10px; /* Add padding for scrollbar */
}

/* Custom Scrollbar for Bulletin Container */
.bulletin-container::-webkit-scrollbar {
    width: 6px;
}

.bulletin-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.bulletin-container::-webkit-scrollbar-thumb {
    background: #ee5c17;
    border-radius: 3px;
}

.bulletin-container::-webkit-scrollbar-thumb:hover {
    background: #d65315;
}

.bulletin-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%; /* Ensure it fills the container width */
    box-sizing: border-box; /* Include padding in width calculation */
}

    .bulletin-item:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    .bulletin-item.active {
        background: rgba(0, 0, 0, 0.15);
        border-left: 4px solid #ee5c17;
    }

/* New icon styles replacing bulletin-number */
.bulletin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 20px;
    color: #ee5c17;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.bulletin-item:hover .bulletin-icon {
    transform: rotate(0deg);
}

.bulletin-item.active .bulletin-icon {
    transform: rotate(0deg);
}

.bulletin-content {
    flex: 1;
}

    .bulletin-content h3 {
        color: #333;
        margin: 0 0 5px 0;
        font-size: 18px;
    }

    .bulletin-content p {
        color: #666;
        margin: 0;
        font-size: 14px;
    }

/* See More Button */
.see-more-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.see-more-btn {
    padding: 10px 20px;
    background-color: #ee5c17;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .see-more-btn:hover {
        background-color: #d94d0e;
    }

/* Content Panel Adjustments */
.content-panel {
    width: 80%;
    position: relative;
}

.carousel-items-container {
    position: relative;
    width: 100%;
    height: 750px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7); /* Added background color */
}

/* Carousel Items */
.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s ease-in-out;
    transform: translateX(100%);
}

    .carousel-item.active {
        transform: translateX(0);
        z-index: 10;
        opacity: 1;
    }

    .carousel-item.prev {
        transform: translateX(-100%);
    }

.carousel-item__media-full {
    height: 77%;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 10px; /* Added padding */
    box-sizing: border-box; /* Ensures padding doesn't increase overall size */
}

.carousel-item.active .carousel-item__media-full {
    transform: scale(1); /* Reset to original size when active */
}

.carousel-item__media-full img,
.carousel-video-full {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from 'cover' to 'contain' */
    object-position: center;
}

.carousel-item__media-full video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-item__content {
    height: auto; /* Keep the height dynamic */
    min-height: 23%; /* Increase the minimum height */
    padding: 20px;
    background: white;
    color: black;
    flex-direction: column;
    justify-content: center;
    border: none;
    max-height: 23%;
    overflow-y: auto;
    /* Custom Scrollbar for Content Panel */
    scrollbar-width: thin;
    scrollbar-color: #ee5c17 #f5f5f5;
}

    .carousel-item__content::-webkit-scrollbar {
        width: 6px;
    }

    .carousel-item__content::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .carousel-item__content::-webkit-scrollbar-thumb {
        background: #ee5c17;
        border-radius: 3px;
    }

    .carousel-item__content::-webkit-scrollbar-thumb:hover {
        background: #d65315;
    }

/* Video Container */
.video-container-full {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-video-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Controls */
.video-controls-full {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.play-pause-btn,
.volume-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .play-pause-btn:hover,
    .volume-btn:hover {
        opacity: 0.8;
    }

.progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #ee5c17;
    border-radius: 2px;
    transition: width 0.1s linear;
}

.time-display {
    color: white;
    font-size: 12px;
    min-width: 100px;
    text-align: center;
}

.fullscreen-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .fullscreen-btn:hover {
        opacity: 0.8;
    }

/* Content Styling */

.content-title {
    font-family: 'Helvetica', sans-serif;
    font-size: 24px; /* Changed from 32px */
    margin: 10px 0;
    font-weight: 700;
    letter-spacing: 1px;
    color: black; /* Changed from white */
    text-transform: uppercase;
    opacity: 0.9;
    letter-spacing: 2px;
}

.content-description {
    font-family: 'Helvetica', sans-serif;
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    color: black; /* Changed from white */
}

/* View More Button */
.view-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: #ee5c17;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

    .view-more-btn:hover {
        background-color: #d94d0e;
        transform: translateY(-2px);
        color: white;
        text-decoration: none;
    }

    .view-more-btn .icon {
        margin-left: 8px;
        display: flex;
        align-items: center;
    }

    .view-more-btn svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
        transition: transform 0.3s ease;
    }

    .view-more-btn:hover svg {
        transform: translateX(3px);
    }

/* Navigation Arrows */
.carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 20;
    pointer-events: none;
}

.carousel__arrow {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

    .carousel__arrow:hover {
        background-color: rgba(255, 255, 255, 0.9);
    }

.carousel__arrow--left {
    margin-left: 10px;
}

.carousel__arrow--right {
    margin-right: 10px;
}

.carousel__icon {
    width: 20px;
    height: 20px;
    fill: #ee5c17;
}

.carousel__icon {
    width: 16px;
    fill: #ee5c17;
}

/* Transitions */
.carousel-item__subtitle,
.carousel-item__title,
.carousel-item__description {
    transform: translateY(25%);
    opacity: 0;
    visibility: hidden;
    transition: 0.6s all ease-in-out;
}

.carousel-item.active .carousel-item__subtitle,
.carousel-item.active .carousel-item__title,
.carousel-item.active .carousel-item__description {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Advisory Modal Styles */
.advisory-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 110px;
}

.advisory-modal-content {
    background-color: #fff;
    margin: 0 auto;
    padding: 0;
    width: 95%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

    .advisory-modal-content h2 {
        background-color: #ee5c17;
        color: white;
        margin: 0;
        padding: 20px;
        font-size: 24px;
        text-align: center;
        margin-bottom: 20px; /* Add this line to create space */
    }

.advisory-close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    z-index: 2;
}

/* Advisory Carousel Styles */
.advisory-carousel {
    position: relative;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

    /* Custom Scrollbar Styles */
    .advisory-carousel::-webkit-scrollbar {
        width: 8px;
    }

    .advisory-carousel::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .advisory-carousel::-webkit-scrollbar-thumb {
        background: #ee5c17;
        border-radius: 4px;
    }

        .advisory-carousel::-webkit-scrollbar-thumb:hover {
            background: #d65315;
        }

.advisory-carousel-items {
    position: relative;
    height: auto;
}

.advisory-carousel-item {
    position: relative;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

    .advisory-carousel-item.active {
        opacity: 1;
        z-index: 1;
        display: block;
    }

.advisory-carousel-image {
    width: 100%;
    height: auto;
    position: relative;
    padding-top: 56.25%;
}

    .advisory-carousel-image img,
    .advisory-carousel-image video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        background-color: #f5f5f5;
    }

.advisory-carousel-info {
    padding: 20px;
    background-color: #fff;
    flex: 1;
}

/* Arrow Navigation Styles */
.advisory-carousel-nav {
    position: sticky;
    bottom: 0;
    background-color: #f5f5f5;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #eee;
}

.advisory-arrow {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #ee5c17;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

    .advisory-arrow:hover {
        color: #d65315;
    }

.advisory-dots {
    display: flex;
    gap: 8px;
}

.advisory-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    border: none;
    padding: 0;
}

    .advisory-dot.active {
        background-color: #ee5c17;
    }

/* View More Button Styles */
.advisory-view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: #ee5c17;
    color: white !important;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

    .advisory-view-more-btn:hover {
        background-color: #d65315;
        color: white !important;
        text-decoration: none;
    }

    .advisory-view-more-btn .icon {
        display: inline-flex;
        align-items: center;
    }

        .advisory-view-more-btn .icon svg {
            width: 14px;
            height: 14px;
            margin-left: 4px;
        }

/* Advisory Video Controls */
.advisory-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.advisory-volume-btn,
.advisory-fullscreen-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .advisory-volume-btn:hover,
    .advisory-fullscreen-btn:hover {
        opacity: 0.8;
    }

.advisory-progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.advisory-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.advisory-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #ee5c17;
    border-radius: 2px;
    transition: width 0.1s linear;
}



/* Footer Styles */
.advisory-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    padding: 15px 20px;
    border-top: 1px solid #eee;
    background-color: #fff;
    z-index: 2;
}

.advisory-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    cursor: pointer;
    font-size: 14px;
}



/* Customer Feedback Section */
.feedback-section {
    padding: 60px 0;
    margin-top: -30px;
    background: linear-gradient(rgba(128, 130, 133, 0.8), rgba(128, 130, 133, 0.8)), url('../../Images/MainPageImg/HeaderBackground.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    min-height: 600px; /* Changed from height to min-height */
    height: auto; /* Allow height to adjust automatically */
}

.feedback-header {
    text-align: center;
    margin-bottom: 40px;
}

    .feedback-header h2 {
        color: #ffffff; /* White text */
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 10px;
    }

.feedback-subtitle {
    color: #ffffff; /* White text */
    font-size: 16px;
    margin-bottom: 30px;
}

/* Carousel Container */
.feedback-carousel-container {
    position: relative;
    max-width: 1400px; /* Increased from 1200px */
    margin: 0 auto 40px;
    overflow: hidden;
}

.feedback-carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px; /* Increased from 20px */
    min-width: 100%;
    padding: 0 20px;
}

/* Carousel Navigation */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .dot.active {
        background-color: #ee5c17;
    }

/* Updated Card Styles */
.feedback-card {
    background: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Slightly increased shadow for better contrast */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 250px;
}

    .feedback-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

.feedback-profile {
    margin-bottom: 25px; /* Increased from 20px */
}

    .feedback-profile h4 {
        margin: 0;
        color: #2C2C2C;
        font-size: 20px; /* Increased from 18px */
        font-weight: 600;
    }

.company {
    margin: 8px 0; /* Increased from 5px */
    color: #4a4a4a;
    font-size: 16px; /* Increased from 14px */
    font-weight: 500;
}

.feedback-source {
    color: #888;
    font-size: 14px; /* Increased from 12px */
    font-style: italic;
}

.feedback-text {
    color: #4a4a4a;
    font-size: 16px; /* Increased from 14px */
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* Button Style */
.feedback-form-btn {
    display: block;
    width: auto;
    min-width: 200px;
    margin: 40px auto 0;
    padding: 15px 30px;
    background-color: #ee5c17;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(238, 92, 23, 0.3);
}

    .feedback-form-btn:hover {
        background-color: #d64e0f;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(238, 92, 23, 0.4);
    }


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .close-button:hover {
        color: #333;
    }

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #ee5c17;
        font-weight: 500;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 14px;
    }

    .form-group textarea {
        resize: vertical;
        min-height: 100px;
    }

/* Terms Section Styles */
.terms-section {
    margin: 20px 0;
}

    .terms-section p {
        margin-bottom: 10px;
        color: #4a4a4a;
    }

.terms-content {
    display: none;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-top: 15px;
    border: 1px solid #e9ecef;
}

    .terms-content.show {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terms-content h3 {
    color: #2C2C2C;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.terms-content h4 {
    color: #4a4a4a;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.terms-text {
    margin-bottom: 20px;
}

    .terms-text p {
        margin-bottom: 20px;
        line-height: 1.6;
        color: #4a4a4a;
        font-size: 14px;
    }

.terms-checkbox {
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    .terms-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-top: 2px; /* Aligns checkbox with first line of text */
    }

    .terms-checkbox label {
        color: #ee5c17;
        font-size: 14px;
        line-height: 1.4;
        flex: 1;
    }

/* Link Styles */
.terms-section a {
    color: #ee5c17;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .terms-section a:hover {
        color: #d64e0f;
        text-decoration: underline;
    }

/* Submit Button Style */
.submit-btn {
    background-color: #ee5c17;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

    .submit-btn:hover {
        background-color: #d64e0f;
        transform: translateY(-2px);
    }

    .submit-btn:disabled {
        background-color: #ccc;
        cursor: not-allowed;
        transform: none;
    }

/* Modal Scrollbar Styles */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

    .modal-content::-webkit-scrollbar-thumb:hover {
        background: #555;
    }



/* Footer Styling */
footer {
    background-color: #333333;
    color: #ffffff;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

    footer .container {
        width: 100%;
    }

    footer .footer-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
    }

    footer .footer-wrapper {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    footer .footer-logo {
        max-width: 200px;
    }

        footer .footer-logo img {
            width: 100%;
            height: auto;
        }

    footer .footer-menu ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 2rem;
    }

    footer .footer-menu a {
        color: #ffffff;
        text-decoration: none;
        font-size: 1rem;
        transition: color 0.3s ease;
    }

        footer .footer-menu a:hover {
            color: #ff6b00;
        }

    footer .footer-bottom {
        padding: 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    footer .footer-info {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    footer .copyright {
        font-size: 0.875rem;
    }



/* Responsive Breakpoints */
@media (max-width: 480px) {
    /* Splash Screen */
    .welcome-text {
        font-size: 2rem;
    }

    .splash-screen h1 {
        font-size: 3.5rem;
    }

    /* Header Section */
    .inner-header h1 {
        font-size: 3.5rem; /* Slightly smaller on tablets */
    }

    .suggested-search p {
        font-size: 0.9rem;
    }

    .suggested-search .badge {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    /* Advisories Section */
    /* Advisories Modal */
    .advisory-carousel-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .advisory-dots {
        order: 2;
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
}


@media (max-width: 768px) {
    /* Splash Screen */
    .welcome-text {
        font-size: 1.5rem;
    }

    .splash-screen h1 {
        font-size: 2.5rem;
    }

    /* Prevent horizontal scroll */
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Navbar Style */
    .custom-navbar {
        width: 100%;
        position: fixed;
        left: 0;
        right: 0;
        z-index: 1030; /* Ensure navbar stays on top */
    }

        .custom-navbar .container {
            width: 100%;
            padding-left: 15px;
            padding-right: 15px;
            margin: 0;
        }

    /* Mobile menu adjustments */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #333333;
        z-index: 1000;
    }

    .navbar-nav {
        width: 100%;
        padding: 10px 0;
    }

    .nav-item {
        width: 100%;
        margin: 0;
    }

    .nav-link {
        padding: 12px 20px !important;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center; /* Center text on mobile */
    }

        /* Center the active underline on mobile */
        .nav-link.active:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 30%; /* Smaller width on mobile */
            height: 2px;
            background-color: #EE5C17;
            display: block;
        }

    /* Ensure hamburger button alignment */
    .navbar-toggler {
        padding: 4px 8px;
        margin-right: 0;
    }

    /* Add extra space for content below fixed navbar */
    body {
        padding-top: 70px; /* Adjust based on your navbar height */
    }

    /* Adjust scroll offset for smooth scrolling */
    html {
        scroll-padding-top: 70px; /* Should match the navbar height */
    }

    /* Header Section */
    .inner-header h1 {
        font-size: 3.5rem; /* Slightly smaller on tablets */
    }

    .d-flex {
        min-height: 150px;
    }

    .carousel-item {
        opacity: 0;
        transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    }

    .carousel-item__info {
        width: 100%;
        height: 50%;
        margin-right: 0;
        padding: 20px;
        order: 2;
    }

    .carousel-item__image {
        width: 100%;
        height: 50%;
        position: relative;
        order: 1;
    }

    .view-more-btn {
        align-self: center;
        margin-top: 15px;
    }

    .ad-card {
        margin-bottom: 1rem;
    }

    .suggested-search {
        margin-top: 1rem;
        padding: 0 10px;
    }

        .suggested-search p {
            font-size: 1rem;
            margin-bottom: 0.75rem;
        }

        .suggested-search .badge {
            font-size: 0.875rem;
            padding: 8px 12px;
            margin: 3px;
        }

        /* Improve spacing for wrapping */
        .suggested-search .list-inline {
            gap: 8px;
            margin-top: 0.5rem;
        }

    /* Get Support Section */
    .col-lg-7 .ad-image-container {
        height: auto;
        max-height: 300px;
    }

    /* ICTSI App Section */
    .col-lg-5 .ad-image-container {
        height: auto;
        max-height: 300px;
    }

    .col-lg-5 .ad-image {
        width: 100%;
        height: auto;
        max-height: 300px;
    }

    .app-button {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    /* Split Container Section */
    .split-container {
        flex-direction: column;
        margin-top: 1rem;
        padding: 1rem;
    }

    .split-section {
        padding: 1rem;
        min-height: 200px; /* Reduced minimum height on mobile */
        border-right: none !important; /* Remove all right borders on mobile */
    }

        /* Add bottom border to all sections except the last one */
        .split-section:not(:last-child) {
            border-bottom: 2px solid #e0e0e0;
            padding-bottom: 1.5rem;
            margin-bottom: 1.5rem;
        }

        /* Remove the specific first-child rule since we now have 3 sections */
        .split-section:first-child {
            border-right: none;
        }

    /* Adjust background images for mobile */
    .background-image {
        width: 200px; /* Smaller width on mobile */
        height: 200px; /* Smaller height on mobile */
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .split-section .ad-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .split-section .ad-description {
        margin-bottom: 1.5rem;
        font-size: 0.9rem; /* Slightly smaller text on mobile */
    }

    /* Ensure buttons are properly sized */
    .start-button,
    .cctv-button {
        width: auto;
        min-width: 160px;
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Advisories */
    .carousel-section {
        padding: 15px;
        margin-bottom: 15px;
    }

    .carousel-wrapper {
        flex-direction: column;
        gap: 15px;
        padding: 0 10px;
        max-width: 100%;
    }

    /* Bulletin Panel Mobile Styles */
    .bulletin-panel {
        width: 100%;
        padding: 10px;
        order: 2;
    }

    .bulletin-container {
        gap: 10px;
    }

    .bulletin-item {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .bulletin-number {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .bulletin-content h3 {
        font-size: 16px;
    }

    .bulletin-content p {
        font-size: 12px;
    }

    .see-more-container {
        margin-top: 15px;
    }

    .see-more-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    /* Content Panel Mobile Styles */
    .content-panel {
        width: 100%;
        order: 1;
    }

    .carousel-items-container {
        height: 500px; /* Reduced height for mobile */
    }

    .carousel-item {
        flex-direction: column;
    }

    .carousel-item__media-full {
        height: 60%; /* Adjusted media height */
    }

    .carousel-item__content {
        height: 40%; /* Adjusted content height */
        padding: 15px;
        justify-content: flex-start;
    }

    .content-title {
        font-size: 24px;
        letter-spacing: 1px;
        margin-bottom: 5px;
    }

    .content-description {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .view-more-btn {
        padding: 10px 20px;
        margin-top: 10px;
        font-size: 12px;
        align-self: flex-start;
    }

        .view-more-btn .icon svg {
            width: 14px;
            height: 14px;
        }

    /* Video Controls Mobile Styles */
    .video-controls-full {
        padding: 5px;
        gap: 5px;
    }

    .play-pause-btn,
    .volume-btn {
        width: 25px;
        height: 25px;
    }

    .time-display {
        font-size: 10px;
        min-width: 80px;
    }

    /* Navigation Arrows */
    .carousel__nav {
        display: none; /* Hide navigation arrows on mobile */
    }

    /* Adjust background icons for mobile */
    .background-icon {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }

    /* Forms Grid Mobile Styles */
    .forms-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 15px;
    }

    .form-category {
        width: 100%;
    }

    /* Advisories Section */
    /* Advisories Modal */
    .advisory-modal {
        padding-top: 90px;
    }

    .advisory-modal-content {
        width: 100%;
        height: auto; /* Changed from 100vh */
        margin: 0;
        border-radius: 0;
        max-height: none;
        display: flex;
        flex-direction: column;
    }

        .advisory-modal-content h2 {
            font-size: 20px;
            padding: 15px;
        }

    .advisory-carousel-info {
        padding: 15px;
    }

    .advisory-carousel-nav {
        padding: 10px;
    }

    .advisory-footer {
        padding: 12px 15px;
    }

    .advisory-checkbox {
        font-size: 13px;
    }

    /* Customer Feedback Styles */
    .feedback-carousel-container {
        margin-bottom: 0; /* Remove bottom margin */
        padding-bottom: 20px; /* Add padding instead */
    }

    .carousel-slide {
        display: grid;
        grid-template-columns: 1fr; /* Changed to single column */
        gap: 20px;
        padding: 0 15px; /* Added padding for better spacing */
    }

    .feedback-card {
        width: 100%;
        margin: 0 auto;
    }

    .feedback-form-btn {
        display: block !important; /* Force display */
        position: relative; /* Added position */
        width: 80%; /* Adjusted width */
        max-width: 250px;
        margin: 30px auto;
        padding: 12px 25px;
        z-index: 1; /* Ensure button stays above other elements */
    }

    .feedback-section .container {
        position: relative;
        padding-bottom: 80px; /* Add space for button */
    }

    .feedback-header h2 {
        font-size: 24px; /* Smaller heading on mobile */
    }

    .feedback-subtitle {
        font-size: 14px; /* Smaller subtitle */
    }

    /* Footer Mobile Styles */
    footer .footer-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    footer .footer-nav {
        text-align: left;
        padding: 1.5rem 0;
    }

    footer .footer-menu {
        margin-left: 0;
        margin-top: 1rem;
    }

        footer .footer-menu ul {
            flex-direction: column;
            gap: 1rem;
        }

    footer .footer-info {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .skeleton-img,
    .skeleton-icon,
    .skeleton-title,
    .skeleton-text,
    .skeleton-badge,
    .skeleton-button,
    .skeleton-image {
        animation: none !important;
        background: #f0f0f0 !important;
    }
}

/* Accessibility Helper */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}


