/* ICAMEK Template Styles
 * Developer: Ziyal Amanya
 * Version: 1.0.0
 */

/* Helvetica Neue Font Faces */
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueThin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueThinItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueUltraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueUltraLightItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueLightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueRoman.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueMediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueBoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueHeavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueHeavyItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueBlack.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueBlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* Left Side Stacked Cards Layout */
.left-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 400px; /* Match events card height */
}

.steps-card-half {
    flex: 0 0 45%; /* 15% increase from 30% */
}

.calculator-card-half {
    flex: 0 0 55%; /* Balanced with steps card */
}

.steps-card-half .steps-highlight-card,
.calculator-card-half .calculator-highlight-card {
    height: 100%;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Steps Card Styling */
.steps-card-half .steps-highlight-card {
    background: #e2e8f0;
    color: #1d2655;
}

.steps-card-half .steps-highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

/* Calculator Card Styling */
.calculator-card-half .calculator-highlight-card {
    background: #e2e8f0 !important;
    color: #1d2655 !important;
    cursor: default;
}

.calculator-card-half .calculator-highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.calculator-highlight-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/templates/icamekly/images/blue_dots.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.calculator-highlight-card .card-inner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 2rem 1.5rem; /* Added extra bottom padding */
    color: white;
}

.calculator-highlight-card .card-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calculator-highlight-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.calculator-highlight-card .card-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.calculator-highlight-card .card-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.calculator-highlight-card .card-description {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    color: white !important;
}

.quick-calculator-form {
    width: 100%;
}

.calculator-input-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.calculator-input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calculator-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.calculator-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.calculator-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.calculator-btn {
    flex: 0 0 auto;
    padding: 0.875rem 1.25rem;
    background: white !important;
    color: var(--primary-color) !important;
    border: none !important;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    min-width: 100px;
}

.calculator-btn:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: none;
}

/* Events Card Height Matching */
.event-highlight-card {
    height: 400px; /* Match left cards stack height */
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.event-highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.event-highlight-card .card-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0.05) 100%) !important;
    z-index: 1 !important;
    display: block !important;
}

.event-highlight-card .card-inner-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    text-shadow: none;
}

.event-highlight-card .card-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.event-highlight-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.event-highlight-card .event-date {
    font-size: 0.9rem;
    opacity: 0.9;
}

.event-highlight-card.no-image {
    background: linear-gradient(135deg, var(--gray-700) 0%, var(--gray-800) 100%);
}

/* Calculator Modal Display Control */
#calculatorModal.team-modal {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 5vh 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

#calculatorModal.team-modal.active {
    display: flex !important;
}

/* Calculator Modal Styles (Team Modal Design) */
#calculatorModal.team-modal .modal-content-modern {
    display: flex;
    max-width: 900px;
    width: 100%;
    min-height: 500px;
}

#calculatorModal .modal-left {
    flex: 0 0 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

#calculatorModal .modal-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/templates/icamekly/images/blue_dots.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

#calculatorModal .calculator-result-header {
    position: relative;
    z-index: 2;
    text-align: center;
}

#calculatorModal .result-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

#calculatorModal .result-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

#calculatorModal .dispute-amount-display {
    text-align: center;
    margin-bottom: 2rem;
}

#calculatorModal .dispute-amount-display .label {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
    margin-bottom: 0.5rem;
}

#calculatorModal .dispute-amount-display .amount {
    font-size: 1.75rem;
    font-weight: 700;
}

#calculatorModal .total-cost-display {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

#calculatorModal .total-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

#calculatorModal .total-amount {
    font-size: 2.25rem;
    font-weight: 700;
}

#calculatorModal .modal-right {
    flex: 1;
    padding: 2rem;
    background: white;
    overflow-y: auto;
}

#calculatorModal .cost-breakdown-section {
    margin-bottom: 2rem;
}

#calculatorModal .cost-breakdown-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

#calculatorModal .cost-item {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

#calculatorModal .cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

#calculatorModal .cost-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

#calculatorModal .cost-label i {
    font-size: 1.1rem;
}

#calculatorModal .cost-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

#calculatorModal .cost-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

#calculatorModal .fee-details-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#calculatorModal .detail-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#calculatorModal .detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

#calculatorModal .detail-label {
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}

#calculatorModal .detail-value {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--primary-color);
}

.modal-body {
    padding: 2rem;
}

.result-summary {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    color: white;
}

.dispute-amount-display .label {
    font-size: 0.875rem;
    opacity: 0.9;
    display: block;
    margin-bottom: 0.5rem;
}

.dispute-amount-display .amount {
    font-size: 2rem;
    font-weight: 700;
}

.cost-breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cost-item {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--gray-200);
}

.cost-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cost-header i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.cost-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.cost-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cost-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.total-cost {
    text-align: center;
    padding: 2rem;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.total-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.total-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cost-details {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1.5rem;
}

.cost-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
}

.detail-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}

.detail-value {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.btn-modal-close {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal-close:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

/* Responsive Styles for Stacked Cards */
@media (max-width: 991px) {
    .left-cards-stack {
        flex-direction: row;
        gap: 1rem;
    }
    
    .steps-card-half,
    .calculator-card-half {
        flex: 1;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .left-cards-stack {
        flex-direction: column;
        gap: 1rem;
    }
    
    .steps-card-half,
    .calculator-card-half {
        min-height: 200px;
    }
    
    .calculator-input-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .calculator-input {
        flex: none;
    }
    
    .calculator-btn {
        flex: none;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Calculator Modal Responsive */
    #calculatorModal .modal-content-modern {
        flex-direction: column;
        max-width: 90vw;
        max-height: 90vh;
    }
    
    #calculatorModal .modal-left {
        flex: 0 0 auto;
        min-height: 200px;
    }
    
    #calculatorModal .modal-right {
        flex: 1;
        padding: 1.5rem;
    }
    
    #calculatorModal .dispute-amount-display .amount {
        font-size: 1.5rem;
    }
    
    #calculatorModal .total-amount {
        font-size: 2rem;
    }
    
    #calculatorModal .result-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Force Blue Colors - Override All Red */
.calculator-btn,
.calculator-btn:hover,
.calculator-btn:focus,
.calculator-btn:active,
button[type="submit"],
button[type="submit"]:hover,
button[type="submit"]:focus,
button[type="submit"]:active {
    background: white !important;
    color: #1d2655 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Override any default button styles */
.calculator-highlight-card .calculator-btn {
    background: white !important;
    color: #1d2655 !important;
    border: none !important;
}

.calculator-highlight-card .calculator-btn:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #1d2655 !important;
}

/* Remove any red gradients or colors from buttons only */
button:not(.event-highlight-card),
.btn:not(.event-highlight-card),
input[type="submit"],
input[type="button"] {
    background-image: none !important;
}

/* Force event cards to display background images properly */
.event-highlight-card[style*="background-image"] {
    background-color: transparent !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Specific overlay for events module */
.event-card-link .event-highlight-card .card-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.15) 70%, rgba(0, 0, 0, 0.05) 100%) !important;
    z-index: 1 !important;
    display: block !important;
}

/* Additional Red Color Overrides - Force Blue Theme */
#calculatorModal .modal-content-modern *,
.calculator-highlight-card *,
.calculator-card-half *,
.team-modal .modal-content-modern * {
    border-color: #e2e8f0 !important;
}

/* Override any potential red colors from Bootstrap or other frameworks */
.btn-primary:not(.calculator-btn),
.btn-danger,
.alert-danger,
.text-danger {
    background: #1d2655 !important;
    border-color: #1d2655 !important;
    color: white !important;
}

/* Ensure calculator modal has no red elements */
#calculatorModal .modal-left {
    background: linear-gradient(135deg, #1d2655 0%, #102d8f 100%) !important;
}

#calculatorModal .modal-right {
    background: white !important;
}

/* Override any inherited red styles */
#calculatorModal .modal-left h2,
#calculatorModal .modal-left h3,
#calculatorModal .modal-left h4,
#calculatorModal .modal-left .label,
#calculatorModal .modal-left .total-label {
    color: white !important;
}

#calculatorModal .modal-right h2,
#calculatorModal .modal-right h3,
#calculatorModal .modal-right h4 {
    color: #1d2655 !important;
}

#calculatorModal .cost-value,
#calculatorModal .total-amount,
#calculatorModal .dispute-amount-display .amount {
    color: white !important;
}

#calculatorModal .modal-right .cost-value,
#calculatorModal .modal-right .detail-value {
    color: #1d2655 !important;
}

/* Ensure all icons and text in calculator card are white */
.calculator-highlight-card .card-label,
.calculator-highlight-card .card-title,
.calculator-highlight-card i {
    color: #1d2655 !important;
}

.steps-highlight-card .card-label,
.steps-highlight-card .card-title {
    color: #1d2655 !important;
}

/* New gray card styling */
.calculator-highlight-card .card-description {
    color: #1d2655 !important;
}
.calculator-highlight-card.gray-card .calculator-btn {
    background: #1d2655 !important;
    color: white !important;
    border: none !important;
}
.calculator-highlight-card.gray-card .calculator-btn:hover {
    background: #102d8f !important;
    color: white !important;
}

/* Force calculator card gradient to be blue */
.calculator-highlight-card {
    background: #1d2655 !important;
    background-image: linear-gradient(135deg, #1d2655 0%, #102d8f 100%) !important;
}

/* Ensure modal left side text is white for legibility */
#calculatorModal .modal-left,
#calculatorModal .modal-left * {
    color: white !important;
}

/* Modal right side text should be dark */
#calculatorModal .modal-right,
#calculatorModal .modal-right * {
    color: #1d2655 !important;
}

/* Specific overrides for modal elements */
#calculatorModal .cost-description {
    color: #64748b !important;
}

#calculatorModal .detail-label {
    color: #475569 !important;
}

/* Fix calculator input and button contrast */
.calculator-input {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #1d2655 !important;
    border: 1px solid #1d2655 !important;
}

.calculator-input::placeholder {
    color: #6b7280 !important;
}

input:focus,
.form-control:focus,
.calculator-input:focus {
    border-color: #1d2655 !important;
    box-shadow: 0 0 0 4px rgba(29, 38, 85, 0.1) !important;
    outline: none !important;
}

/* CSS Variables */
:root {
    --primary-color: #1d2655;
    --accent-color: #102d8f;
    --navy-color: #0f172a;
    --success-color: #10B981;
    --warning-color: #FB923C;
    --info-color: #102d8f;
    --purple-color: #1d2655;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --container-width: 1200px;
    --font-primary: 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
}

/* Container Styles */
.container {
    width: 100% !important;
    max-width: var(--container-width) !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

@media (min-width: 576px) {
    .container {
        padding: 0 24px !important;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 32px !important;
    }
}

@media (min-width: 992px) {
    .container {
        padding: 0 40px !important;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 20px !important;
    }
}

/* Hero Section Container Override */
.services-hero .container,
.documents-hero .container,
.events-hero .container,
.teams-hero .container,
.courses-hero .container {
    max-width: var(--container-width) !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

@media (max-width: 768px) {
    .services-hero .container,
    .documents-hero .container,
    .events-hero .container,
    .teams-hero .container,
    .courses-hero .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Event Detail Page Styles */
.event-detail-header {
    background: linear-gradient(135deg, #102d8f 0%, #1e40af 100%);
    color: white;
    padding: 40px 0 20px;
    position: relative;
    overflow: hidden;
}

.event-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/dots_for_dark_bg.png') repeat;
    opacity: 0.3;
}

.event-header-content {
    position: relative;
    z-index: 2;
}

.event-detail-header .breadcrumb-nav {
    font-size: 0.9rem;
    opacity: 0.9;
}

.event-detail-header .breadcrumb-nav a {
    color: white;
    text-decoration: none;
}

.event-detail-header .breadcrumb-nav a:hover {
    text-decoration: underline;
}

.event-detail-header .breadcrumb-separator {
    margin: 0 8px;
}

.event-detail-header .current {
    opacity: 0.7;
}

.event-detail-main {
    padding: 0;
    background: #f8fafc;
}

@media (max-width: 768px) {
    .event-detail-header {
        padding: 30px 0 15px;
    }
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin: 0 0 1rem;
}

a {
    color: var(--info-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles - ICAMEK CMS Design */
.header-container {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 100;
    box-shadow: none;
}

.sticky-header {
    position: sticky;
    top: 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 77px;
}

.logo-section {
    flex-shrink: 0;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

/* Main Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 3px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy-color);
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    border-radius: 6px;
    margin: 0 0.25rem;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--info-color);
    text-decoration: none;
    background-color: rgba(16, 45, 143, 0.05);
}

.nav-item.active .nav-link,
.nav-item.current .nav-link {
    color: var(--info-color);
    background-color: rgba(16, 45, 143, 0.08);
}

/* Dropdown Menu Styles */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-icon {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.nav-item.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 220px;
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu .nav-item {
    width: 100%;
}

.dropdown-menu .nav-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    transition: all var(--transition-fast);
}

.dropdown-menu .nav-link:hover {
    color: var(--info-color);
    background-color: rgba(16, 45, 143, 0.05);
    padding-left: 1.5rem;
}

.dropdown-menu .nav-item.active .nav-link,
.dropdown-menu .nav-item.current .nav-link {
    color: var(--info-color);
    background-color: rgba(16, 45, 143, 0.08);
    font-weight: 600;
}

/* Dropdown Arrow Indicator */
.nav-item.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffffff;
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 1001;
}

.nav-item.dropdown:hover::after {
    opacity: 1;
}

/* Header Actions */
.header-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-align: center;
    min-width: 100px;
}

.header-btn-outline {
    color: var(--gray-700);
    border: 1px solid #d1d5db;
    background: white;
}

.header-btn-outline:hover {
    color: var(--info-color);
    border-color: var(--info-color);
    text-decoration: none;
}

.header-btn-primary {
    color: white;
    background: var(--info-color);
    border: 1px solid var(--info-color);
}

.header-btn-primary:hover {
    background: #0d2570;
    border-color: #0d2570;
    color: white;
    text-decoration: none;
}

/* Hero Section & Slider */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 84vh;
    min-height: 600px;
    max-height: 840px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: flex-end;
    padding-bottom: 6rem;
}

/* Ensure images maintain proper aspect ratio */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(29, 38, 85, 0.95) 0%, rgba(42, 59, 143, 0.9) 50%, rgba(26, 33, 71, 0.85) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    color: white;
}

.slide-inner {
    max-width: 800px;
    text-align: left;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: none;
    line-height: 1.1;
}

.slide-title-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.slide-title-link:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    text-shadow: none;
}

.slide-text {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: white;
    line-height: 1.6;
    text-shadow: none;
    font-weight: 400;
}

.slide-text p {
    margin: 0;
}

.slide-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
}

.btn-slide {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 140px;
}

.btn-slide-primary {
    background: var(--info-color);
    color: white;
    border: 2px solid var(--info-color);
}

.btn-slide-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: none;
    color: white;
    text-decoration: none;
}

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

.btn-slide-outline:hover {
    background: white;
    color: var(--navy-color);
    transform: translateY(-2px);
    box-shadow: none;
    text-decoration: none;
}

/* Slider Navigation */
.slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.slider-nav {
    position: absolute;
    top: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

/* Slider Pagination */
.slider-pagination {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 10;
}

.slider-pagination.container {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    justify-content: flex-start;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active,
.pagination-dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Content Spotlight Section */
.content-spotlight-section {
    position: relative;
    overflow: hidden;
    background: var(--gray-50);
}

/* Add network background pattern */
.content-spotlight-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/templates/icamekly/images/network.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.05; /* Very subtle opacity */
    z-index: 0;
}

.content-spotlight-section.padding-small { padding: 4rem 0; }
.content-spotlight-section.padding-medium { padding: 5rem 0; }
.content-spotlight-section.padding-large { padding: 6rem 0; }
.content-spotlight-section.padding-extra-large { padding: 7rem 0; }

.content-spotlight-section.background-gradient {
    background: linear-gradient(135deg, var(--gray-50) 0%, #ffffff 50%, var(--gray-100) 100%);
}

.spotlight-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.spotlight-content {
    position: relative;
    z-index: 2;
}

/* Ensure container content is above network background */
.content-spotlight-section .container {
    position: relative;
    z-index: 2;
}

/* Background Elements */
.bg-element {
    position: absolute;
    opacity: 0.6;
}

.bg-circle-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--info-color), var(--success-color));
    opacity: 0.1;
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.bg-circle-2 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-color), var(--info-color));
    opacity: 0.08;
    bottom: 15%;
    left: 8%;
    animation: float 8s ease-in-out infinite reverse;
}

.bg-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid var(--success-color);
    opacity: 0.05;
    top: 20%;
    left: 15%;
    transform: rotate(15deg);
    animation: rotate 12s linear infinite;
}

.bg-line-1 {
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--info-color), transparent);
    opacity: 0.2;
    bottom: 30%;
    right: 20%;
    transform: rotate(-15deg);
}

.bg-accent-1 {
    width: 100px;
    height: 100px;
    background: var(--info-color);
    opacity: 0.05;
    top: 20%;
    right: 20%;
    border-radius: 20px;
    transform: rotate(45deg);
}

.bg-accent-2 {
    width: 80px;
    height: 80px;
    background: var(--success-color);
    opacity: 0.05;
    bottom: 20%;
    left: 15%;
    border-radius: 50%;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate {
    0% { transform: rotate(15deg); }
    100% { transform: rotate(375deg); }
}

/* Content Styling */
.spotlight-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.spotlight-title-section {
    padding-right: 2rem;
}

.spotlight-text-section {
    padding-left: 2rem;
}

.spotlight-content-text {
    font-size: 1.25rem; /* Increased from 1.125rem */
    line-height: 1.8;
    color: var(--gray-700);
    position: relative;
}

.spotlight-content-text p {
    margin-bottom: 1.5rem;
    font-size: 1.25rem; /* Ensure paragraphs are also larger */
}

.spotlight-content-text p:last-child {
    margin-bottom: 0;
}

.spotlight-image-wrapper {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

.spotlight-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.spotlight-image:hover {
    transform: scale(1.02);
}

/* Layout Variations */
.layout-centered .spotlight-title {
    margin-bottom: 2rem;
}

.layout-centered .spotlight-content-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.layout-centered .spotlight-image-wrapper {
    max-width: 600px;
    margin: 2rem auto 0;
}

/* Tagline Section (Legacy) */
.tagline-section {
    padding: 6rem 0;
    background: var(--gray-50) url('/templates/icamekly/images/network.png') no-repeat left center;
    background-size: contain;
    position: relative;
}

.tagline-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--navy-color);
}

.tagline-content p {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.service-item {
    padding: 3rem 2rem;
    color: white;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: none;
}

.service-item:nth-child(1) { background: var(--success-color); }
.service-item:nth-child(2) { background: var(--info-color); }
.service-item:nth-child(3) { background: var(--primary-color); }
.service-item:nth-child(4) { background: var(--purple-color); }

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: none;
    z-index: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.service-description {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Services Cards */
.services-cards-section {
    padding: 3rem 0 5rem;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

.service-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: none;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.service-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 1.5rem;
}

.service-card-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1d2655 0%, #102d8f 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--navy-color);
    font-weight: 600;
}

.service-card-title i {
    margin-right: 0.5rem;
    color: #1d2655;
}

.service-card-intro {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.service-card-link {
    display: inline-block;
    background: linear-gradient(135deg, #1d2655 0%, #102d8f 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.service-card-link:hover {
    background: linear-gradient(135deg, #102d8f 0%, #1d2655 100%);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.service-card-date {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Services Highlight Module */
.services-highlight-section {
    width: 100vw;
    position: relative;

    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
}

.services-highlight-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.services-highlight-section .row {
    margin: 0;
    width: 100%;
}

.services-highlight-section .row > div {
    padding: 0;
}

.service-highlight-card {
    position: relative;
    width: 100%;
    min-height: 320px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 0;
}

.service-highlight-card:hover,
.service-highlight-card-link:hover .service-highlight-card {
    transform: scale(1.02);
    z-index: 2;
}

.service-highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
    z-index: 1;
}

.service-highlight-card:hover .service-highlight-overlay,
.service-highlight-card-link:hover .service-highlight-overlay {
    opacity: 1.1;
    filter: brightness(1.1);
}

.service-highlight-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.service-highlight-text {
    color: white;
    width: 100%;
}

.service-highlight-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
    line-height: 1.3;
}

.service-highlight-link {
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.service-highlight-link:hover {
    color: var(--info-color);
    text-decoration: none;
}

.service-highlight-description {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Service card link styling */
.service-highlight-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.service-highlight-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Service highlight overlay - base styles */
.service-highlight-overlay {
    transition: opacity 0.3s ease;
}

/* Updated: Use consistent primary blue background only */
.service-highlight-card:not([style*="background-image"]):not(.service-highlight-cta-card) {
    background: linear-gradient(135deg, #1d2655 0%, #102d8f 100%) !important;
}

/* CTA Card Styling */
.service-highlight-cta-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Ensure CTA card uses white background with modern design */
.service-highlight-cta-card {
    background: white !important;
    background-color: white !important;
    background-image: none !important;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px; /* Match other cards height */
}

.service-highlight-cta-card .service-highlight-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100%;
    height: 100%;
}

.service-highlight-cta-text {
    text-align: center;
    color: #1d2655 !important;
}

.service-highlight-cta-text .service-highlight-title {
    color: #1d2655 !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-highlight-cta-text p {
    color: #64748b !important;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.service-highlight-cta-card:hover {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    border-color: #1d2655;
    transform: translateY(-2px);
    box-shadow: none;
}

/* Override any inherited overlay styles for CTA card */
.service-highlight-cta-card .service-highlight-overlay {
    display: none !important;
    background: transparent !important;
}

.service-highlight-cta-link:hover {
    text-decoration: none;
    color: inherit;
}

.service-highlight-cta-card {
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-highlight-cta-link:hover .service-highlight-cta-card {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.service-highlight-cta-text {
    text-align: center;
}

.service-highlight-cta-text .service-highlight-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-highlight-cta-text .service-highlight-title i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Events & Steps Section */
.events-steps-section {
    padding: 6rem 0;
}

.events-steps-section.spacing-small { padding: 3rem 0; }
.events-steps-section.spacing-medium { padding: 5rem 0; }
.events-steps-section.spacing-large { padding: 6rem 0; }

.event-card-link,
.steps-card-link {
    display: block;
    text-decoration: none;
    height: 100%;
}

.event-card-link:hover,
.steps-card-link:hover {
    text-decoration: none;
}

.event-highlight-card,
.steps-highlight-card {
    position: relative;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease;
}

.event-highlight-card.no-image,
.steps-highlight-card.no-image {
    background-image: none;
    background-color: #e2e8f0;
}

.event-card-link:hover .event-highlight-card,
.steps-card-link:hover .steps-highlight-card {
    transform: translateY(-4px);
    box-shadow: none;
}

.card-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0.05) 100%) !important;
    z-index: 1 !important;
    display: block !important;
}

.card-inner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-shadow: none;
    color: white;
}

.card-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: white;
    opacity: 0.9;
}

.card-bottom-content {
    margin-top: auto;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
    color: white;
}

.event-date {
    font-size: 1rem;
    font-weight: 400;
    color: white;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .event-highlight-card,
    .steps-highlight-card {
        height: 380px;
    }
    
    .card-inner-content {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .events-steps-section .row > div {
        margin-bottom: 1rem;
    }
    
    .event-highlight-card,
    .steps-highlight-card {
        height: 320px;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .event-date {
        font-size: 0.9rem;
    }
}

/* Cost Calculator Section */
.cost-calculator-section {
    padding: 6rem 0;
    background: var(--gray-50) url('/templates/icamekly/images/blue_dots.png') repeat;
}

.calculator-row {
    min-height: 600px;
    display: flex;
    align-items: stretch;
}

.calculator-card {
    background: var(--info-color);
    padding: 3rem;
    border-radius: 0;
    color: white;
    height: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.calculator-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
}

.calculator-form .form-group {
    margin-bottom: 2rem;
}

.calculator-form .form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

.calculator-form .form-control {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: white;
    color: var(--navy-color);
    font-size: 1.125rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.calculator-form .form-control:focus {
    outline: none;
    box-shadow: none;
}

.calculator-form .form-control::placeholder {
    color: var(--gray-500);
}

.btn-calculate {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-bottom: 2rem;
}

.btn-calculate:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: none;
}

/* Calculator Results in Left Panel */
.calculator-form {
    flex: 0 0 auto;
    margin-bottom: 2rem;
}

.calculator-results {
    margin-top: 2rem;
    flex: 1;
}

.calculator-results .result-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid white;
}

.calculator-results .result-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    opacity: 0.9;
}

.calculator-results .result-amount {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

/* Content Section */
.calculator-content {
    padding: 3rem;
    background: white;
    height: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-content {
    color: var(--gray-700);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--navy-color);
    line-height: 1.6;
}

.intro-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Results Content */
.results-content {
    color: var(--gray-700);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.results-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--info-color);
    margin-bottom: 1rem;
}

.results-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.cost-breakdown {
    margin-bottom: 2.5rem;
}

.cost-item {
    background: var(--gray-100);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.cost-item.admin-cost {
    border-left-color: var(--info-color);
}

.cost-item.arbitrator-cost {
    border-left-color: var(--info-color);
}

.cost-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--info-color);
    margin-bottom: 1rem;
}

.cost-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--info-color);
    margin-bottom: 0.75rem;
}

.cost-description {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

/* Analysis Tabs */
.analysis-tabs {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

.tab-headers {
    display: flex;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.tab-header {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-normal);
    border-bottom: 3px solid transparent;
}

.tab-header.active {
    background: var(--primary-color);
    color: white;
    border-bottom-color: var(--primary-color);
}

.tab-header:hover:not(.active) {
    background: var(--gray-200);
    color: var(--primary-color);
}

.tab-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.analysis-details {
    color: var(--gray-700);
}

.detail-item {
    margin-bottom: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: none;
    transition: all 0.2s ease;
}

.detail-item:hover {
    box-shadow: none;
    border-color: var(--primary-color);
}

.detail-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-item h4::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
}

.detail-item p {
    margin: 0;
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.5;
}

.fee-breakdown {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.fee-breakdown span {
    background: var(--gray-50);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    border: 1px solid var(--gray-200);
}

.info-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.info-content li {
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.proceed-content {
    text-align: center;
}

.btn-proceed {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all var(--transition-normal);
}

.btn-proceed:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cost-calculator-section {
        padding: 3rem 0;
    }
    
    .calculator-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .calculator-title {
        font-size: 2rem;
    }
    
    .calculator-content {
        padding: 0 1rem;
    }
    
    .cost-amount {
        font-size: 2rem;
    }
    
    .tab-headers {
        flex-direction: column;
    }
    
    .tab-header {
        text-align: center;
    }
}

/* Location Section */
.location-section {
    padding: 6rem 0;
}

.location-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--navy-color);
}

.location-info {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.location-address {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.location-icon {
    color: var(--info-color);
    font-size: 1.5rem;
}

/* Footer */
.footer-cta {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230f172a" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,154.7C672,160,768,192,864,192C960,192,1056,160,1152,149.3C1248,139,1344,149,1392,154.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    padding: 6rem 0 8rem;
    text-align: center;
    position: relative;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.8));
}

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

.footer-cta h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.site-footer {
    background: var(--navy-color);
    color: white;
    padding-top: 0;
}

.footer-top {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--info-color);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-info {
    text-align: right;
}

.footer-address,
.footer-phone,
.footer-email {
    margin: 0 0 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    padding: 2rem 0;
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--info-color);
    color: white;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-slider {
        height: 72vh;
        min-height: 540px;
        max-height: 720px;
    }
    
    .slide {
        padding-bottom: 5rem;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-text {
        font-size: 1.1rem;
    }
    
    .slide-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .btn-slide {
        padding: 0.875rem 1.5rem;
        min-width: 120px;
    }
    
    .services-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .spotlight-title {
        font-size: 2rem;
    }
    
    .spotlight-title-section,
    .spotlight-text-section {
        padding-left: 0;
        padding-right: 0;
    }
    
    .bg-circle-1 {
        width: 150px;
        height: 150px;
    }
    
    .bg-circle-2 {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e5e7eb;
        box-shadow: none;
        display: none;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        border-radius: 0;
        margin: 0;
        border-left: 3px solid transparent;
        border-top: none;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-link:hover,
    .nav-item.active .nav-link,
    .nav-item.current .nav-link {
        border-left-color: var(--info-color);
        background: rgba(16, 45, 143, 0.05);
    }
    
    /* Mobile Dropdown Styles */
    .nav-item.dropdown::after {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        background: rgba(16, 45, 143, 0.02);
        border: none;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        transform: none;
        transition: none;
        margin: 0;
        padding: 0;
    }
    
    .nav-item.dropdown .dropdown-icon {
        margin-left: auto;
    }
    
    .nav-item.dropdown .nav-link {
        cursor: pointer;
    }
    
    .dropdown-menu.show {
        display: block;
    }
    
    .dropdown-menu .nav-link {
        padding: 0.75rem 2rem;
        font-size: 0.85rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        border-left: 3px solid transparent;
    }
    
    .dropdown-menu .nav-link:hover,
    .dropdown-menu .nav-item.active .nav-link,
    .dropdown-menu .nav-item.current .nav-link {
        border-left-color: var(--accent-color);
        background: rgba(16, 45, 143, 0.05);
        padding-left: 2rem;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .header-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        min-width: 80px;
    }
    
    .hero-slider {
        height: 60vh;
        min-height: 480px;
        max-height: 600px;
    }
    
    .slide {
        padding-bottom: 4rem;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-prev {
        left: 1rem;
    }
    
    .slider-next {
        right: 1rem;
    }
    
    .slider-pagination {
        bottom: 1.5rem;
        left: 0;
        right: 0;
    }
    
    .pagination-dot {
        width: 10px;
        height: 10px;
        border-radius: 2px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .spotlight-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .spotlight-title-section {
        margin-bottom: 2rem;
    }
    
    .bg-circle-1,
    .bg-circle-2 {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-slider {
        height: 54vh;
        min-height: 420px;
        max-height: 540px;
    }
    
    .slide {
        padding-bottom: 3rem;
    }
    
    .slide-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .slide-text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-slide {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-width: 110px;
    }
    
    .slider-nav {
        width: 36px;
        height: 36px;
    }
    
    .slider-prev {
        left: 0.5rem;
    }
    
    .slider-next {
        right: 0.5rem;
    }
    
    .slider-pagination {
        left: 0;
        right: 0;
    }
    
    .pagination-dot {
        width: 8px;
        height: 8px;
        border-radius: 1px;
    }
    
    .service-item {
        padding: 2rem;
    }
}

/* Cost Calculator Styles */
.cost-calculator-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(16, 45, 143, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(16, 45, 143, 0.02) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(16, 45, 143, 0.01) 50%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.calculator-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d1f6b 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.calculator-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    text-align: left;
}

.calculator-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #475569;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 400;
    transition: border-color 0.2s ease;
    background: #1e293b;
    color: white;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: none;
}

.form-control::placeholder {
    color: #94a3b8;
}

.btn-calculate {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: inherit;
}

.btn-calculate:hover {
    background: #0d1f6b;
}

.calculator-results {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.result-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.result-card h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: #e2e8f0;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.result-amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.calculator-content {
    padding-left: 1.5rem;
}

.intro-content {
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: none;
}

.intro-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--navy-color);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.intro-text {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.results-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: none;
}

.results-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy-color);
    margin-bottom: 0.75rem;
}

.results-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.cost-breakdown {
    margin-bottom: 2.5rem;
}

.cost-item {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid #cbd5e1;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.cost-item h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.cost-amount {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cost-description {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.analysis-tabs {
    margin-top: 2rem;
}

.tab-headers {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.tab-header {
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 0.875rem;
    position: relative;
}

.tab-header.active {
    color: white !important;
    background: var(--primary-color) !important;
    border-bottom-color: var(--primary-color) !important;
    font-weight: 600;
    border-radius: 6px 6px 0 0;
}

.tab-header:hover {
    color: var(--primary-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.analysis-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cost-calculator-section .detail-item {
    display: block;
    justify-content: flex-start;
    align-items: stretch;
    padding: 1.25rem;
    border-bottom: none;
    margin-bottom: 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: none;
}

.cost-calculator-section .detail-item:last-child {
    border-bottom: none;
}

.cost-calculator-section .detail-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.75rem 0;
    flex: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cost-calculator-section .detail-item h4::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
}

.detail-item p,
.detail-item .fee-breakdown {
    color: var(--primary-color);
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: right;
}

.detail-item .fee-breakdown {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.fee-breakdown span {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--primary-color);
    border: 1px solid rgba(16, 45, 143, 0.1);
}

.info-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-content li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.info-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.info-content li:last-child {
    border-bottom: none;
}

.proceed-content {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 45, 143, 0.03) 0%, rgba(16, 45, 143, 0.08) 100%);
    border-radius: 8px;
    border: 1px solid rgba(16, 45, 143, 0.15);
}

.proceed-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy-color);
    margin-bottom: 1rem;
}

.proceed-content p {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-proceed {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color) !important;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    font-size: 0.875rem;
}

.btn-proceed:hover {
    background: #0d1f6b !important;
    color: white !important;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .calculator-content {
        padding-left: 0;
        margin-top: 1.5rem;
    }
    
    .tab-headers {
        flex-wrap: wrap;
        gap: 0;
    }
    
    .tab-header {
        flex: 1;
        min-width: max-content;
        text-align: center;
    }
    
    .fee-breakdown {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .cost-calculator-section {
        padding: 2.5rem 0;
    }
}

/* New Full-Width Calculator Styles */
.calculator-form-wrapper {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.calculator-form-horizontal {
    margin-top: 2rem;
}

.calculator-form-horizontal .form-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.calculator-form-horizontal .form-group {
    flex: 0 1 400px;
    text-align: left;
}

.calculator-form-horizontal .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy-color);
}

.calculator-form-horizontal .form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: var(--gray-700);
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.calculator-form-horizontal .form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: none;
}

.calculator-form-horizontal .form-control::placeholder {
    color: var(--gray-500);
}

.calculator-form-horizontal .btn-calculate {
    padding: 1rem 3rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calculator-form-horizontal .btn-calculate:hover {
    background: var(--navy-color);
    transform: translateY(-2px);
    box-shadow: none;
}

.results-content-full {
    margin-top: 3rem;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: none;
}

@media (max-width: 768px) {
    .calculator-form-horizontal .form-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .calculator-form-horizontal .form-group {
        flex: 1;
    }
    
    .results-content-full {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .calculator-card {
        padding: 1.25rem;
    }
    
    .intro-content,
    .results-content {
        padding: 1.25rem;
    }
    
    .calculator-title {
        font-size: 1.375rem;
    }
    
    .cost-amount {
        font-size: 1.375rem;
    }
    
    .results-title {
        font-size: 1.25rem;
    }
    
    .tab-headers {
        flex-direction: column;
    }
    
    .tab-header {
        text-align: left;
        border-bottom: 1px solid #e2e8f0;
        border-radius: 0;
    }
}

/* Contact Section Styles - Full Width Map with Overlay */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-map-overlay {
    min-height: 500px;
    display: flex;
    align-items: center;
}

.contact-map-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.contact-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 6rem 0;
    background:     rgba(16, 45, 143, 0.1) url('/templates/icamekly/images/blue_dots.png.png') repeat
;
}

.contact-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.contact-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.location-info {
    margin-top: 2rem;
}

.location-marker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.location-marker svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.location-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-color);
}

.location-name-blue {
    color: #3b82f6 !important;
}

.contact-content-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.contact-content-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
}

.contact-content-link:hover .contact-content {
    box-shadow: none;
}

/* Leaflet custom marker styling */
.custom-marker {
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.custom-marker svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.address-info {
    margin-left: 2.25rem;
}

.address-line {
    font-size: 1.125rem;
    color: var(--navy-color);
    margin: 0.25rem 0;
    font-weight: 500;
}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #e2e8f0;
}

.contact-map {
    width: 100%;
    height: 100%;
    border: none;
}

.map-embed {
    width: 100%;
    height: 100%;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.fallback-content {
    text-align: center;
    padding: 2rem;
}

.fallback-content svg {
    margin-bottom: 1rem;
}

.fallback-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-color);
    margin-bottom: 0.5rem;
}

.fallback-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.btn-directions {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    font-size: 0.875rem;
}

.btn-directions:hover {
    background: #0d1f6b;
    color: white;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-content {
        padding: 2rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-map-overlay {
        min-height: 450px;
    }
}

@media (max-width: 767px) {
    .contact-overlay {
        padding: 3rem 0;
        background: rgba(16, 45, 143, 0.95);
    }
    
    .contact-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .contact-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .address-info {
        margin-left: 1.5rem;
    }
    
    .contact-map-overlay {
        min-height: 400px;
    }
}

/* ================================
   CTA Section Styles
   ================================ */

.cta-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.cta-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    margin-bottom: 0;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

/* Height variations */
.cta-height-small {
    min-height: 400px;
}

.cta-height-medium {
    min-height: 500px;
}

.cta-height-large {
    min-height: 600px;
}

/* Text alignment */
.cta-text-left .cta-text-content {
    text-align: left;
}

.cta-text-center .cta-text-content {
    text-align: center;
}

.cta-text-right .cta-text-content {
    text-align: right;
}

/* Full width CTA specific styles */
.cta-full-width .cta-text-content {
    text-align: right;
}

.cta-full-width .cta-actions {
    justify-content: flex-end;
}

/* Color schemes */
.cta-color-white {
    color: white;
}

.cta-color-dark {
    color: #1a1a1a;
}

/* Typography */
.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: 'Helvetica Neue', sans-serif;
    color: white !important;
}

.cta-description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-actions {
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: none;
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Dark color scheme adjustments */
.cta-color-dark .cta-button {
    background: rgba(16, 45, 143, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cta-color-dark .cta-button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-height-small {
        min-height: 350px;
    }
    
    .cta-height-medium {
        min-height: 450px;
    }
    
    .cta-height-large {
        min-height: 550px;
    }
}

@media (max-width: 576px) {
    .cta-section {
        text-align: center !important;
    }
    
    .cta-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .cta-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .cta-height-small {
        min-height: 300px;
    }
    
    .cta-height-medium {
        min-height: 350px;
    }
    
    .cta-height-large {
        min-height: 400px;
    }
    
    .cta-content {
        padding: 2rem 0;
    }
}

/* ================================
   Footer Columns Styles
   ================================ */

.main-footer {
    background: linear-gradient(135deg, #102d8f 0%, #1e40af 100%);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/templates/icamekly/images/dots_for_dark_bg.png') repeat;
    opacity: 0.3;
    pointer-events: none;
}

.footer-top-section {
    padding: 4rem 0 3rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-logo-img {
    max-height: 40px;
    width: auto;
    filter: brightness(1);
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.footer-column-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Helvetica Neue', sans-serif;
}

.footer-links,
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-menu a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-links a:hover,
.footer-menu a:hover {
    color: white;
    text-decoration: none;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.footer-contact .contact-icon {
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 0.125rem;
    background: transparent !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
}

.footer-contact .contact-item {
    background: transparent !important;
}

.footer-contact,
.footer-contact * {
    background-color: transparent !important;
}

.footer-contact a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom-section {
    background: linear-gradient(135deg, #102d8f 0%, #1e40af 100%);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-copyright p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .footer-top-section {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-social {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .footer-top-section {
        padding: 2rem 0 1rem;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-column {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-bottom-section {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-copyright,
    .footer-social {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-top-section {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-column-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-links a,
    .footer-contact .contact-item,
    .footer-description {
        font-size: 0.875rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .footer-bottom-section {
        padding: 1.25rem 0;
    }
}

/* Buildal Credit Styling */
.buildal-credit {
    font-size: 0.9rem !important;
    color: #e2e8f0 !important;
    margin-bottom: 0 !important;
}

.buildal-credit p {
    margin-bottom: 0 !important;
    font-weight: 500 !important;
    color: #e2e8f0 !important;
}

.buildal-credit a {
    color: white !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.3s ease !important;
}

.buildal-credit a:hover {
    color: #3b82f6 !important;
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .buildal-credit {
        text-align: center !important;
        margin-top: 1rem !important;
    }
}