/* ===================================
   PUBLIC SECTOR PAGE STYLES
   =================================== */

/* Hero Section Enhancements */
.dd-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.dd-hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.dd-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.15) 0%, rgba(240, 98, 146, 0.1) 100%);
    z-index: 1;
}

.dd-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.dd-hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.dd-hero-text .badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dd-hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.dd-hero-text .lead {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 800px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    max-width: 900px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    padding: 16px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-feature-item i {
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.hero-feature-item span {
    color: white;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-buttons .btn-primary {
    background: white;
    color: #e91e63;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Pricing Table Contact Button */
.pricing-table a[href*="contact"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.4);
}

/* Responsive Hero */
@media (max-width: 768px) {
    .dd-hero {
        min-height: 500px;
    }
    
    .dd-hero-text h1 {
        font-size: 36px;
    }
    
    .dd-hero-text .lead {
        font-size: 18px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Hero Section */
.public-sector-hero {
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.public-sector-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hexagon-graphic.png') center/cover;
    opacity: 0.1;
}

.public-sector-hero .container {
    position: relative;
    z-index: 1;
}

.public-sector-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.public-sector-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.public-sector-hero p.lead {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.psl-notice {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #e91e63;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.psl-notice i {
    margin-right: 8px;
}

/* PSL Requirements Section */
.psl-requirements {
    background: #f8f9fa;
    padding: 80px 0;
}

.psl-requirements h2 {
    text-align: center;
    color: #333;
    font-size: 36px;
    margin-bottom: 15px;
}

.psl-requirements .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.requirement-box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.requirement-box h3 {
    color: #e91e63;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.requirement-box h3 i {
    margin-right: 12px;
    font-size: 28px;
}

.requirement-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-box ul li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.requirement-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e91e63;
    font-weight: bold;
    font-size: 18px;
}

.requirement-box p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.requirement-box .note {
    background: #fff3f8;
    border-left: 4px solid #e91e63;
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 4px;
    color: #555;
}

/* Service Description */
.service-description-section {
    padding: 80px 0;
    background: white;
}

.service-description-section h2 {
    text-align: center;
    color: #333;
    font-size: 36px;
    margin-bottom: 50px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.15);
    border-color: #e91e63;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e91e63, #f06292);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card-icon i {
    font-size: 28px;
    color: white;
}

.service-card h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    font-size: 15px;
}

.service-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #e91e63;
    font-weight: bold;
}

/* Pricing Table */
.pricing-calculator-container table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-calculator-container thead tr {
    background: linear-gradient(135deg, #e91e63, #f06292);
    color: white;
}

.pricing-calculator-container thead th {
    padding: 1.2rem;
    font-weight: 600;
    border-bottom: 2px solid #d81b60;
}

.pricing-calculator-container tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.pricing-calculator-container tbody tr:hover {
    background: #fff3f8;
}

.pricing-calculator-container tbody tr:last-child {
    border-bottom: none;
}

.pricing-calculator-container tbody td {
    padding: 1rem 1.2rem;
}

/* Pricing Section */
.pricing-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.pricing-section h2 {
    text-align: center;
    color: #333;
    font-size: 36px;
    margin-bottom: 15px;
}

.pricing-section .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-calculator-container {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    overflow: hidden;
}

.calculator-header {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e91e63, #f06292);
    padding: 1.5rem 2rem;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    box-shadow: 0 2px 10px rgba(233, 30, 99, 0.15);
}

.calculator-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.calculator-icon i {
    font-size: 24px;
    color: white;
}

.calculator-header h3 {
    color: white;
    font-size: 26px;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calculator-body {
    padding: 20px 0;
}

.volume-selector {
    margin-bottom: 30px;
}

.volume-selector label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
}

.volume-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.volume-input-group input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #e91e63 0%, #f06292 100%);
    outline: none;
}

.volume-input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e91e63;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.volume-input-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e91e63;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.volume-display {
    min-width: 150px;
    text-align: right;
    font-size: 20px;
    font-weight: 700;
    color: #e91e63;
}

.pricing-result {
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
    border-radius: 12px;
    padding: 30px;
    color: white;
    text-align: center;
}

.pricing-result .label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-result .price {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
}

.pricing-result .unit {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.pricing-result .total {
    font-size: 18px;
    opacity: 0.95;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.pricing-result .total strong {
    font-size: 24px;
    font-weight: 700;
}

/* Pricing Note */
.pricing-note {
    background: #fff3f8;
    border-left: 4px solid #e91e63;
    padding: 20px 25px;
    margin-top: 40px;
    border-radius: 4px;
}

.pricing-note h4 {
    color: #e91e63;
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.pricing-note h4 i {
    margin-right: 10px;
}

.pricing-note ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.pricing-note ul li {
    padding: 6px 0;
    color: #555;
    padding-left: 20px;
    position: relative;
}

.pricing-note ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #e91e63;
    font-weight: bold;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: white;
}

.benefits-section h2 {
    text-align: center;
    color: #333;
    font-size: 36px;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e91e63, #f06292);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 36px;
    color: white;
}

.benefit-item h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 12px;
}

.benefit-item p {
    color: #666;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hexagon-graphic.png') center/cover;
    opacity: 0.05;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-description {
    font-size: 19px;
    line-height: 1.7;
    opacity: 0.95;
    margin: 0;
}

/* CTA Features Grid */
.cta-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.cta-feature {
    background: rgba(255, 255, 255, 0.12);
    padding: 35px 25px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cta-feature:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-feature-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.cta-feature-icon i {
    font-size: 32px;
    color: #e91e63;
}

.cta-feature h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.cta-feature p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
    text-align: center;
}

/* CTA Stats Row */
.cta-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.cta-stat {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.12);
    padding: 25px 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cta-stat:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 26px;
    color: #e91e63;
}

.stat-info {
    flex: 1;
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

/* CTA Actions */
.cta-actions {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-actions h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-actions > p {
    font-size: 17px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.btn-large {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 280px;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-large i {
    font-size: 24px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    align-items: center;
}

.btn-large span {
    padding: 20px 25px 20px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.btn-large strong {
    font-size: 16px;
    font-weight: 700;
    display: block;
}

.btn-large small {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 400;
}

.btn-primary {
    background: white;
    color: #e91e63;
    border: 2px solid white;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* CTA Note */
.cta-note {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 30px;
    border-radius: 12px;
    border-left: 4px solid white;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
    backdrop-filter: blur(10px);
}

.cta-note i {
    font-size: 22px;
    margin-top: 2px;
    flex-shrink: 0;
}

.cta-note p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.cta-note strong {
    font-weight: 700;
}

.cta-note a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.cta-note a:hover {
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .public-sector-hero h1 {
        font-size: 36px;
    }

    .public-sector-hero p.lead {
        font-size: 18px;
    }

    .psl-requirements h2,
    .service-description-section h2,
    .pricing-section h2,
    .benefits-section h2,
    .cta-section h2 {
        font-size: 28px;
    }

    .requirement-box,
    .pricing-calculator-container {
        padding: 25px;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .volume-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .volume-display {
        text-align: center;
        min-width: auto;
    }

    .pricing-result .price {
        font-size: 36px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
    
    /* CTA Responsive */
    .cta-header h2 {
        font-size: 32px;
    }
    
    .cta-description {
        font-size: 17px;
    }
    
    .cta-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-stats-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cta-stat {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .btn-large {
        min-width: 100%;
        flex-direction: row;
    }
    
    .cta-actions h3 {
        font-size: 24px;
    }
    
    .cta-note {
        flex-direction: column;
        text-align: center;
    }
}
}

@media (max-width: 480px) {
    .public-sector-hero {
        padding: 100px 0 60px;
    }

    .public-sector-hero h1 {
        font-size: 28px;
    }

    .calculator-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .calculator-icon {
        margin-bottom: 10px;
    }
}
