/* Header Styles with Limuru Water Brand Colors and Dropdown Arrows */
:root {
    --primary-blue: #1e73be;    /* Main blue from Limuru Water */
    --secondary-blue: #2a89e0;   /* Lighter blue for hover states */
    --dark-blue: #165a9e;        /* Darker blue for active states */
    --light-blue: #e8f2fb;       /* Very light blue for backgrounds */
    --accent-green: #4caf50;     /* Green accents from the site */
    --gray-bg: #f5f5f5;          /* Light gray background */
    --border-color: #ddd;        /* Border color */
    --text-dark: #333;           /* Dark text */
    --text-light: #666;          /* Light text */
    --white: #ffffff;            /* White */
}

.header-top {
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-contact .contact-item {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-contact .contact-item:last-child {
    margin-right: 0;
}

.header-social {
    display: flex;
    align-items: center;
}

.header-social .social-link {
    color: var(--white);
    margin-left: 15px;
    text-decoration: none;
    font-size: 16px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.2);
}

.header-social .social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.header-main {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 2px solid var(--primary-blue);
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo-section {
    flex: 0 0 300px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
}

.custom-logo {
    height: 70px;
    width: auto;
    margin-right: 15px;
}

.company-logo {
    height: 70px;
    width: auto;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 22px;
    margin: 0;
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.2;
}

.logo-text p {
    font-size: 13px;
    margin: 5px 0 0;
    color: var(--text-light);
    line-height: 1.4;
}

.search-container {
    flex: 0 1 300px;
}

.search-box {
    position: relative;
}

.search-box input[type="search"] {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid var(--primary-blue);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
}

.search-box input[type="search"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.1);
    border-color: var(--secondary-blue);
}

.search-box button[type="submit"] {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: all 0.3s;
}

.search-box button[type="submit"]:hover {
    background: var(--secondary-blue);
}

.quick-access {
    flex: 0 0 300px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 12px;
    transition: all 0.3s;
    min-width: 60px;
    padding: 5px;
    border-radius: 4px;
}

.quick-link:hover {
    color: var(--primary-blue);
    background: var(--light-blue);
    transform: translateY(-2px);
}

.quick-link i {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

/* Main Navigation with Limuru Water Colors and Dropdown Arrows */
.main-nav {
    background: var(--white);
    border-bottom: 3px solid #63fc9b !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-nav .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.menu-toggle {
    display: none;
    background: var(--primary-blue);
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 12px 15px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    border-radius: 4px;
    transition: all 0.3s;
}

.menu-toggle:hover {
    background: var(--secondary-blue);
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
    border-right: 1px solid var(--border-color);
}

.main-menu > li:last-child > a {
    border-right: none;
}

/* Dropdown arrow for menu items with sub-menus */
.main-menu > li.menu-item-has-children > a:after {
    content: '\f078'; /* FontAwesome down arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.main-menu > li.menu-item-has-children:hover > a:after {
    content: '\f077'; /* FontAwesome up arrow on hover */
    color: var(--white);
    transform: rotate(180deg);
}

.main-menu > li > a:hover,
.main-menu > li.current-menu-item > a {
    color: var(--white);
    background: var(--primary-blue);
}

.main-menu > li.menu-item-has-children:hover > a:after {
    color: var(--white);
}

.main-menu > li > a:before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: all 0.3s;
}

.main-menu > li > a:hover:before,
.main-menu > li.current-menu-item > a:before {
    background: var(--accent-green);
    bottom: -2px;
}

/* Dropdown Styles */
.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
    border-top: 3px solid var(--accent-green);
}

.main-menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu .sub-menu li {
    border-bottom: 1px solid var(--border-color);
}

.main-menu .sub-menu li:last-child {
    border-bottom: none;
}

/* Right arrow for submenu items that have children */
.main-menu .sub-menu li.menu-item-has-children > a:after {
    content: '\f054'; /* FontAwesome right arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    margin-left: auto;
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.main-menu .sub-menu li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-menu .sub-menu li.menu-item-has-children:hover > a:after {
    color: var(--primary-blue);
    transform: translateX(3px);
}

.main-menu .sub-menu a {
    display: block;
    padding: 14px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    text-transform: none;
    font-weight: normal;
    transition: all 0.3s;
}

.main-menu .sub-menu a:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding-left: 25px;
    border-left: 3px solid var(--accent-green);
}

/* Second Level Dropdown */
.main-menu .sub-menu .sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 0;
    margin-top: -3px;
    border-top: 3px solid var(--accent-green);
}

.main-menu .sub-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .header-main .container {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .logo-section {
        flex: 0 0 100%;
        margin-bottom: 0;
    }
    
    .search-container {
        flex: 1;
    }
    
    .quick-access {
        flex: 1;
        justify-content: flex-end;
    }
}

@media (max-width: 992px) {
    .header-main .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo-section,
    .search-container,
    .quick-access {
        width: 100%;
        flex: none;
    }
    
    .search-container {
        margin: 15px 0;
    }
    
    .quick-access {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
        border-top: 2px solid var(--primary-blue);
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .main-menu > li {
        width: 100%;
    }
    
    .main-menu > li > a {
        padding: 15px 20px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        border-left: 4px solid transparent;
        justify-content: space-between;
    }
    
    /* Mobile dropdown arrow */
    .main-menu > li.menu-item-has-children > a:after {
        content: '\f078'; /* Down arrow for mobile */
        transition: transform 0.3s ease;
    }
    
    .main-menu > li.menu-item-has-children.active > a:after {
        content: '\f077'; /* Up arrow when active on mobile */
        transform: rotate(180deg);
    }
    
    .main-menu > li > a:hover,
    .main-menu > li.current-menu-item > a {
        border-left-color: var(--accent-green);
        border-bottom-color: var(--border-color);
    }
    
    .main-menu > li > a:before {
        display: none;
    }
    
    .main-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-blue);
        display: none;
        width: 100%;
        border: none;
        border-left: 4px solid var(--primary-blue);
    }
    
    .main-menu .sub-menu.active {
        display: block;
    }
    
    /* Mobile submenu arrow */
    .main-menu .sub-menu li.menu-item-has-children > a:after {
        content: '\f078'; /* Down arrow for mobile submenus */
    }
    
    .main-menu .sub-menu li.menu-item-has-children.active > a:after {
        content: '\f077'; /* Up arrow when active */
        transform: rotate(180deg);
    }
    
    .main-menu .sub-menu a {
        padding-left: 40px;
        font-size: 14px;
    }
    
    .main-menu .sub-menu .sub-menu a {
        padding-left: 60px;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-contact {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .header-contact .contact-item {
        margin-right: 0;
        justify-content: center;
    }
    
    .header-social {
        justify-content: center;
        margin-top: 5px;
    }
    
    .header-social .social-link {
        margin: 0 8px;
    }
    
    .logo a {
        flex-direction: column;
        text-align: center;
    }
    
    .company-logo,
    .custom-logo {
        margin-right: 0;
        margin-bottom: 10px;
        height: 60px;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .quick-access {
        gap: 10px;
    }
    
    .quick-link {
        min-width: 45%;
        margin-bottom: 10px;
    }
    
    .search-box input[type="search"] {
        padding: 12px 45px 12px 15px;
    }
    
    .header-main {
        padding: 15px 0;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
}
/* Hero Slider - Professional Design */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-default-section {
    background: linear-gradient(135deg, #1e73be 0%, #165a9e 100%);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding: 80px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 115, 190, 0.9) 0%, rgba(22, 90, 158, 0.9) 100%);
    z-index: 1;
}

.hero-default-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.slider-container_1 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

/* Hero Content */
.slider-content {
    color: #ffffff;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(76, 175, 80, 0.15);
    padding: 8px 16px;
    border-radius: 30px;
    border: 2px solid rgba(76, 175, 80, 0.3);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.security-badge i {
    color: #4caf50;
    margin-right: 8px;
    font-size: 1.1em;
}

.security-badge span {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95em;
}

/* Hero Title Section */
.hero-title-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-title {
    margin: 0;
    flex: 1;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.clean-water-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-left: 25px;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.clean-water-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.clean-water-badge i {
    color: #ffffff;
    margin-right: 10px;
    font-size: 1.3em;
}

.clean-water-badge span {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1em;
}

/* Hero Description */
.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 0 2.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
}

/* Hero Actions - MOVED UP */
.hero-actions {
    display: flex;
    gap: 20px;
    margin: 2.5rem 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    background: #4caf50;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #4caf50;
    min-width: 100px;
}

.learn-more-btn:hover {
    background: #43a047;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

.learn-more-btn i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover i {
    transform: translateX(5px);
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-width: 200px;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: #ffffff;
}

.secondary-btn i {
    margin-right: 10px;
}

/* Hero Features Row - MOVED BELOW BUTTONS */
.hero-features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 2rem 0 0 0;
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.feature-item-inline {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: default;
    border: none; /* REMOVED ANY BORDERS */
    box-shadow: none; /* REMOVED SHADOWS */
}

.feature-item-inline:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

/* REMOVE borders from feature icons */
.feature-item-inline .feature-icon {
    background: rgba(255, 255, 255, 0.15);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: none; /* REMOVED BORDERS */
}

.feature-item-inline:hover .feature-icon {
    background: rgba(76, 175, 80, 0.3);
    transform: scale(1.1);
}

.feature-item-inline .feature-icon i {
    color: #ffffff;
    font-size: 1.3em;
}

.feature-item-inline span {
    color: #ffffff;
    font-weight: 500;
    font-size: 1em;
    line-height: 1.4;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-container {
    position: relative;
    width: 300px;
    height: 300px;
}

/* Water Drop Animation */
.water-drop-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.drop {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: dropAnimation 3s infinite ease-in-out;
    border: none; /* REMOVED BORDERS */
}

.drop:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 50px;
    left: 50px;
    animation-delay: 0s;
}

.drop:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 120px;
    left: 150px;
    animation-delay: 1s;
}

.drop:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 180px;
    left: 80px;
    animation-delay: 2s;
}

@keyframes dropAnimation {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.6;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    animation: scrollArrow 2s infinite;
}

@keyframes scrollArrow {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

/* Shortcode Section Styles */
.hero-shortcode-section {
    padding: 60px 0;
    background: #f5f7fa;
}

.shortcode-container {
    width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.shortcode-container > * {
    margin: 0 !important;
    width: 100% !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .slider-container_1 {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        margin: 2rem 0;
    }
}

@media (max-width: 992px) {
    .slider-container_1 {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title-section {
        flex-direction: column;
        align-items: center;
    }
    
    .clean-water-badge {
        margin: 20px 0 0 0;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .visual-container {
        width: 250px;
        height: 250px;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 500px;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin: 2rem 0;
    }
    
    .learn-more-btn,
    .secondary-btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 30px;
    }
    
    .hero-features-row {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 15px;
        margin-top: 1.5rem;
    }
    
    .visual-container {
        width: 200px;
        height: 200px;
    }
    
    .drop:nth-child(1) {
        width: 80px;
        height: 80px;
        top: 40px;
        left: 40px;
    }
    
    .drop:nth-child(2) {
        width: 60px;
        height: 60px;
        top: 90px;
        left: 110px;
    }
    
    .drop:nth-child(3) {
        width: 50px;
        height: 50px;
        top: 140px;
        left: 60px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        min-height: 450px;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .security-badge,
    .clean-water-badge {
        padding: 6px 12px;
        font-size: 0.9em;
    }
    
    .hero-actions {
        margin: 1.5rem 0;
    }
    
    .learn-more-btn,
    .secondary-btn {
        padding: 12px 25px;
        font-size: 1rem;
        min-width: auto;
    }
    
    .hero-features-row {
        padding: 15px;
        margin-top: 1rem;
    }
    
    .feature-item-inline {
        padding: 10px;
    }
    
    .feature-item-inline .feature-icon {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .feature-item-inline .feature-icon i {
        font-size: 1.2em;
    }
    
    .feature-item-inline span {
        font-size: 0.9em;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-content {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-features-row {
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.hero-visual {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Custom Slider Shortcode Support */
.hero-shortcode-section .slick-slider,
.hero-shortcode-section .swiper-container,
.hero-shortcode-section .owl-carousel {
    border-radius: 12px;
    overflow: hidden;
}

/* Ensure shortcode content is responsive */
.shortcode-container img,
.shortcode-container video,
.shortcode-container iframe {
    max-width: 100%;
    height: auto;
}

/* Loading State for Shortcode */
.shortcode-container.loading {
    min-height: 400px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Print Styles */
@media print {
    .hero-slider {
        min-height: auto;
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    .hero-overlay,
    .scroll-indicator,
    .water-drop-animation {
        display: none;
    }
    
    .hero-title,
    .clean-water-badge span,
    .hero-description,
    .feature-item-inline span {
        color: #000000 !important;
    }
    
    .hero-features-row {
        background: #f5f5f5 !important;
        border: 1px solid #ddd;
    }
    
    .hero-actions {
        margin: 1rem 0;
    }
}

/* ===== NEWS & TENDERS SECTION - PROFESSIONAL STYLES ===== */
.news-tabs-section {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    /* REMOVED: margin-top:300px !important; */
}

.news-tabs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e73be 0%, #4caf50 100%);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
    padding: 0 20px;
}

/* =============================================
   CORPORATE QUICK LINKS & NEWS TABS STYLES
   Clean, professional, and modern design
============================================= */

/* ===== QUICK LINKS SECTION ===== */
.quick-links {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-bottom: 1px solid #e2e8f0;
}

.quick-links .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.quick-link-item {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.quick-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2b6cb0 0%, #4299e1 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.quick-link-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e0;
}

.quick-link-item:hover::before {
    transform: scaleX(1);
}

.quick-link-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.quick-link-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2b6cb0 0%, #4299e1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.quick-link-item:hover .quick-link-icon {
    transform: scale(1.1);
}

.quick-link-icon i {
    font-size: 28px;
    color: white;
}

.quick-link-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.quick-link-item:hover h3 {
    color: #2b6cb0;
}

/* ===== NEWS TABS SECTION ===== */
.news-tabs-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-description {
    font-size: 18px;
    color: #4a5568;
    max-width: 600px;
    margin: 10px auto 0;
    line-height: 1.6;
}

/* Tabs Navigation */
.news-tabs-container {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.news-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 2px;
}

.tab-button {
    background: none;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px 8px 0 0;
}

.tab-button:hover {
    color: #2b6cb0;
    background: #f7fafc;
}

.tab-button.active {
    color: #2b6cb0;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2b6cb0 0%, #4299e1 100%);
    border-radius: 3px 3px 0 0;
}

.tab-button i {
    font-size: 18px;
}

/* Tabs Content */
.tabs-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

/* Sort Controls */
.sort-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.sort-controls label {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    white-space: nowrap;
}

.sort-select {
    padding: 8px 16px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 14px;
    color: #2d3748;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
    min-width: 180px;
}

.sort-select:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Cards */
.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e0;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 15px;
    border-bottom: 1px solid #f1f5f9;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tender-badge {
    background: linear-gradient(135deg, #ed8936 0%, #ed8936 100%);
    color: white;
}

.news-badge {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
}

.downloads-badge {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.card-date {
    font-size: 14px;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-title {
    padding: 0 20px 15px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #2d3748;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-title a:hover {
    color: #2b6cb0;
}

/* Tender Specific Styles */
.tender-dates {
    padding: 0 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4a5568;
}

.date-item i {
    color: #718096;
    font-size: 16px;
}

.date-item strong {
    color: #2d3748;
    font-weight: 600;
}

.date-item.urgent {
    color: #c53030;
}

.date-item.urgent i,
.date-item.urgent strong {
    color: #c53030;
}

.days-remaining {
    font-size: 13px;
    font-weight: 600;
    margin-left: 8px;
}

.days-remaining.urgent {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.card-excerpt {
    padding: 0 20px 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
    flex-grow: 1;
}

.card-actions {
    padding: 0 20px 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #2b6cb0 0%, #4299e1 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.2);
}

.btn-outline {
    background: transparent;
    color: #4a5568;
    border: 1px solid #cbd5e0;
}

.btn-outline:hover {
    background: #f7fafc;
    border-color: #a0aec0;
    color: #2d3748;
}

.btn-secondary {
    background: #edf2f7;
    color: #718096;
    cursor: not-allowed;
}

/* Loading States */
.tab-loading {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #e2e8f0;
    border-top-color: #4299e1;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.no-content-state {
    text-align: center;
    padding: 60px 20px;
    background: #f7fafc;
    border-radius: 12px;
    border: 2px dashed #cbd5e0;
}

.state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.state-icon i {
    font-size: 36px;
    color: #a0aec0;
}

.no-content-state h3 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 20px;
}

.no-content-state p {
    color: #718096;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0 30px;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(.disabled) {
    background: #f7fafc;
    border-color: #cbd5e0;
    color: #2b6cb0;
}

.pagination-btn.active {
    background: linear-gradient(135deg, #2b6cb0 0%, #4299e1 100%);
    color: white;
    border-color: transparent;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 14px;
    color: #718096;
    margin: 0 12px;
}

/* Tab Footer */
.tab-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: white;
    border: 2px solid #4299e1;
    border-radius: 8px;
    color: #4299e1;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: #4299e1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(66, 153, 225, 0.2);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-tabs {
        flex-direction: column;
        gap: 4px;
        border-bottom: none;
    }
    
    .tab-button {
        border-radius: 8px;
        justify-content: center;
        margin-bottom: 4px;
        border: 1px solid #e2e8f0;
    }
    
    .tab-button.active::after {
        display: none;
    }
    
    .tab-button.active {
        background: #f7fafc;
        border-color: #4299e1;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-content-header {
        justify-content: center;
    }
    
    .sort-controls {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .date-item {
        flex-wrap: wrap;
    }
    
    .quick-link-item {
        padding: 25px 15px;
    }
    
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* Print Styles */
@media print {
    .quick-links,
    .news-tabs-section {
        break-inside: avoid;
    }
    
    .tab-button {
        border: 1px solid #000;
        color: #000;
    }
    
    .news-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .btn,
    .btn-view-all {
        display: none;
    }
}

/* ==========================================================================
   Water Tariff Calculator Styles
   ========================================================================== */

/* Modal Backdrop */
.calculator-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calculator-modal.show {
    display: block;
    opacity: 1;
}

/* Modal Content */
.calculator-modal-content {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 107, 166, 0.2);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 1px solid rgba(0, 107, 166, 0.1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, #006BA6 0%, #004D73 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-title i {
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem;
    border-radius: 8px;
}

.close-modal {
    font-size: 2rem;
    font-weight: 300;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 2rem;
}

.modal-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.5;
}

/* Calculator Card */
.calculator-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.calculator-card:hover {
    transform: translateY(-2px);
}

/* Form Styles */
.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 0;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label i {
    color: #006BA6;
    font-size: 0.9rem;
}

.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #333;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: #006BA6;
    box-shadow: 0 0 0 3px rgba(0, 107, 166, 0.1);
}

.form-select option {
    padding: 0.5rem;
}

.input-group {
    display: flex;
    align-items: stretch;
}

.form-control {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 48px;
}

.form-control:focus {
    outline: none;
    border-color: #006BA6;
    box-shadow: 0 0 0 3px rgba(0, 107, 166, 0.1);
}

.input-group-text {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-left: none;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    color: #666;
    border-radius: 0 8px 8px 0;
    font-weight: 500;
}

.form-text {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    flex: 1;
}

.btn-calculate {
    background: linear-gradient(135deg, #006BA6 0%, #004D73 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 107, 166, 0.2);
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 107, 166, 0.3);
}

.btn-calculate:active {
    transform: translateY(0);
}

.btn-outline-secondary {
    background: white;
    border: 2px solid #dee2e6;
    color: #495057;
}

.btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-2px);
}

/* Results Card */
.results-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 107, 166, 0.1);
}

.results-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.results-title i {
    color: #006BA6;
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.results-date {
    font-size: 0.85rem;
    color: #6c757d;
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid #dee2e6;
}

/* Results Grid */
.results-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    background: white;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.result-row:hover {
    border-color: #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.result-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #495057;
    font-size: 0.95rem;
}

.result-label i {
    color: #006BA6;
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.result-value {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.result-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #dee2e6, transparent);
    margin: 0.5rem 0;
}

.total-row {
    background: linear-gradient(135deg, #006BA6 0%, #004D73 100%);
    color: white;
    margin-top: 0.5rem;
}

.total-row .result-label,
.total-row .result-value {
    color: white;
}

.total-row .result-label i {
    color: white;
}

.total-amount {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Results Footer */
.results-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed #dee2e6;
}

.disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
}

.disclaimer i {
    color: #006BA6;
    margin-top: 0.125rem;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.footer {
    background: linear-gradient(135deg, #1a2b3c 0%, #0d1b2a 100%);
    color: #e9ecef;
    padding-top: 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #006BA6, #00a8ff);
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Footer Column */
.footer-column {
    padding: 0 1rem;
}

.footer-brand .footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.brand-highlight {
    color: #00a8ff;
}

.footer-description {
    color: #adb5bd;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #006BA6;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 107, 166, 0.3);
}

/* Footer Headings */
.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 107, 166, 0.3);
}

/* Footer Navigation */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-menu li a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.footer-menu li a:hover {
    color: #00a8ff;
    transform: translateX(5px);
}

/* Resource Links */
.resource-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #adb5bd;
    text-decoration: none;
    padding: 0.625rem 0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.resource-link i {
    color: #006BA6;
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.resource-link:hover {
    color: white;
    transform: translateX(5px);
}

.resource-link:hover i {
    color: #00a8ff;
}

/* Contact Information */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 107, 166, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00a8ff;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-details strong {
    display: block;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #adb5bd;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.copyright {
    color: #adb5bd;
    font-size: 0.9rem;
}

.copyright p {
    margin: 0.25rem 0;
}

.government-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 107, 166, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #00a8ff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.footer-link {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #00a8ff;
}

.separator {
    color: #6c757d;
    font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 992px) {
    .calculator-modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .results-date {
        align-self: flex-start;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .calculator-modal-content {
        width: 100%;
        margin: 0;
        height: 100vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }
    
    .modal-body {
        flex: 1;
        overflow-y: auto;
    }
    
    .result-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .result-value {
        align-self: flex-end;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .separator {
        display: none;
    }
}

/* Print Styles */
@media print {
    .calculator-modal,
    .footer {
        display: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .calculator-modal-content {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        border-color: #404040;
    }
    
    .modal-subtitle {
        color: #aaa;
    }
    
    .calculator-card {
        background: #2d2d2d;
        border-color: #404040;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    
    .form-label {
        color: #e0e0e0;
    }
    
    .form-select,
    .form-control {
        background: #333;
        border-color: #404040;
        color: #e0e0e0;
    }
    
    .input-group-text {
        background: #404040;
        border-color: #404040;
        color: #aaa;
    }
    
    .results-card {
        background: linear-gradient(135deg, #2d2d2d 0%, #333 100%);
        border-color: #404040;
    }
    
    .result-row {
        background: #333;
    }
    
    .result-label {
        color: #ccc;
    }
    
    .result-value {
        color: #e0e0e0;
    }
    
    .disclaimer {
        color: #aaa;
    }
}

/* =========================================================================
   ACCESSIBILITY STYLES
   ========================================================================= */

/* Accessibility Icon Styles */
.pwd-accessibility-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pwd-accessibility-icon:hover {
    transform: scale(1.1);
}

.pwd-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pwd-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    border-radius: 50%;
}

.pwd-icon-wrapper i {
    font-size: 28px;
    color: white;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.pwd-text {
    font-size: 11px;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}

/* Accessibility Panel Styles */
.pwd-accessibility-panel {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.pwd-accessibility-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pwd-panel-header {
    padding: 20px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pwd-panel-header h3 {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.pwd-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.pwd-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.pwd-close-btn i {
    font-size: 14px;
}

.pwd-panel-content {
    padding: 20px;
}

.accessibility-option {
    margin-bottom: 15px;
}

.accessibility-option:last-child {
    margin-bottom: 0;
}

.accessibility-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.accessibility-btn:hover {
    background: #f0f9ff;
    border-color: #2563eb;
    color: #1e3a8a;
    transform: translateY(-2px);
}

.accessibility-btn i {
    font-size: 18px;
    color: #2563eb;
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.accessibility-btn span {
    flex: 1;
}

/* Accessibility Text Size Classes */
.accessibility-large-text {
    font-size: 110% !important;
}

.accessibility-large-text h1,
.accessibility-large-text h2,
.accessibility-large-text h3,
.accessibility-large-text h4 {
    font-size: 120% !important;
}

.accessibility-larger-text {
    font-size: 120% !important;
}

.accessibility-larger-text h1,
.accessibility-larger-text h2,
.accessibility-larger-text h3,
.accessibility-larger-text h4 {
    font-size: 140% !important;
}

/* High Contrast Mode */
.accessibility-high-contrast {
    background: #000000 !important;
    color: #ffffff !important;
}

.accessibility-high-contrast * {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.accessibility-high-contrast a {
    color: #ffff00 !important;
    text-decoration: underline !important;
}

.accessibility-high-contrast button,
.accessibility-high-contrast .btn {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
}

.accessibility-high-contrast input,
.accessibility-high-contrast textarea,
.accessibility-high-contrast select {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

/* Focus Styles for Keyboard Navigation */
.accessibility-high-contrast :focus {
    outline: 3px solid #ffff00 !important;
    outline-offset: 2px !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .pwd-accessibility-icon {
        bottom: 20px;
        right: 20px;
    }
    
    .pwd-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .pwd-icon-wrapper i {
        font-size: 24px;
    }
    
    .pwd-text {
        font-size: 10px;
    }
    
    .pwd-accessibility-panel {
        bottom: 100px;
        right: 20px;
        width: 280px;
    }
}

@media (max-width: 480px) {
    .pwd-accessibility-panel {
        width: 260px;
    }
    
    .accessibility-btn {
        padding: 12px;
        font-size: 13px;
    }
}

/* Quick Links Section */
.quick-links {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.quick-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6, #1e40af);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

.quick-links .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.quick-link-item {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 
                0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.quick-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-link-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 
                0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: rgba(59, 130, 246, 0.2);
}

.quick-link-item:hover::before {
    opacity: 1;
}

.quick-link-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    z-index: 2;
}

.quick-link-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quick-link-item:hover .quick-link-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.quick-link-icon i {
    font-size: 1.75rem;
    color: white;
}

.quick-link-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.quick-link-item:hover h3 {
    color: #1e40af;
}

.quick-link-item::after {
    content: '→';
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    color: #94a3b8;
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.quick-link-item:hover::after {
    opacity: 1;
    transform: translateX(0);
    color: #3b82f6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quick-links {
        padding: 3rem 0;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .quick-link-item {
        padding: 1.75rem 1.25rem;
    }
    
    .quick-link-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.25rem;
    }
    
    .quick-link-icon i {
        font-size: 1.5rem;
    }
    
    .quick-link-item h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
}

/* Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Loading Animation for Icons */
.quick-link-icon {
    animation: iconFloat 6s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Focus states for accessibility */
.quick-link-item a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 4px;
    border-radius: 8px;
}

.quick-link-item a:focus:not(:focus-visible) {
    outline: none;
}