/* Terms & Conditions Page Custom Styles */
.terms-conditions-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4f4 100%);
    min-height: 100vh;
}

/* Enhanced Breadcrumb Section */
.breadcrumb-area.terms-breadcrumb {
    background: url('../images/bread-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
}

.breadcrumb-area.terms-breadcrumb .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 142, 142, 0.85) 0%, rgba(21, 128, 128, 0.85) 50%, rgba(16, 112, 112, 0.9) 100%);
    z-index: 1;
}

.breadcrumb-area.terms-breadcrumb .container {
    position: relative;
    z-index: 2;
}

.breadcrumb-area.terms-breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 2;
}

.breadcrumb-area.terms-breadcrumb .breadcrumb-content {
    position: relative;
    z-index: 3;
}

/* Terms Intro Card */
.terms-intro-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin: 80px auto 50px;
    max-width: 1000px;
    box-shadow: 0 20px 60px rgba(26, 142, 142, 0.15);
    position: relative;
    z-index: 10;
}

.terms-intro-card .intro-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a8e8e 0%, #158080 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(26, 142, 142, 0.3);
}

.terms-intro-card .intro-icon i {
    color: white;
    font-size: 36px;
}

.terms-intro-card h3 {
    color: #1a8e8e;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.terms-intro-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 0;
}

/* Terms Content Section */
.terms-content-section {
    padding: 60px 0 100px;
}

.terms-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.terms-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #1a8e8e;
}

.terms-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 142, 142, 0.15);
}

.terms-card h1,
.terms-card h2,
.terms-card h3,
.terms-card h4 {
    color: #1a8e8e;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 10px;
}

.terms-card h1 { font-size: 32px; }
.terms-card h2 { font-size: 26px; }
.terms-card h3 { font-size: 22px; }
.terms-card h4 { font-size: 18px; }

.terms-card p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.terms-card ul,
.terms-card ol {
    margin-bottom: 20px;
    padding-left: 0;
}

.terms-card ul li,
.terms-card ol li {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 35px;
    position: relative;
}

.terms-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #1a8e8e 0%, #158080 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.terms-card ol {
    counter-reset: item;
}

.terms-card ol li {
    counter-increment: item;
}

.terms-card ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #1a8e8e 0%, #158080 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.terms-card strong {
    color: #1a8e8e;
    font-weight: 600;
}

.terms-card a {
    color: #1a8e8e;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.terms-card a:hover {
    color: #158080;
}

/* Terms Highlight Box */
.terms-highlight {
    background: linear-gradient(135deg, #e8f4f4 0%, #d4eded 100%);
    border-left: 4px solid #1a8e8e;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.terms-highlight h4 {
    color: #1a8e8e;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.terms-highlight p {
    margin-bottom: 0;
    color: #555;
}

/* Table Styling */
.terms-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.terms-card table thead {
    background: linear-gradient(135deg, #1a8e8e 0%, #158080 100%);
}

.terms-card table thead th {
    color: white;
    font-weight: 600;
    padding: 15px;
    text-align: left;
}

.terms-card table tbody tr {
    border-bottom: 1px solid #e8f4f4;
}

.terms-card table tbody tr:last-child {
    border-bottom: none;
}

.terms-card table tbody td {
    padding: 15px;
    color: #555;
}

.terms-card table tbody tr:hover {
    background: #f5f7fa;
}

/* Last Updated Badge */
.last-updated {
    display: inline-block;
    background: #f5f7fa;
    color: #666;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 30px;
}

.last-updated i {
    color: #1a8e8e;
    margin-right: 8px;
}

/* Quick Navigation */
.terms-navigation {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #1a8e8e;
}

.terms-navigation h4 {
    color: #1a8e8e;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.terms-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-navigation ul li {
    margin-bottom: 12px;
}

.terms-navigation ul li a {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.terms-navigation ul li a:hover {
    background: linear-gradient(135deg, #e8f4f4 0%, #d4eded 100%);
    color: #1a8e8e;
    transform: translateX(5px);
}

.terms-navigation ul li a i {
    margin-right: 10px;
    font-size: 12px;
}

/* Agreement CTA Section */
.terms-agreement-cta {
    background: linear-gradient(135deg, #1a8e8e 0%, #158080 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 20px 60px rgba(26, 142, 142, 0.3);
}

.terms-agreement-cta h3 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.terms-agreement-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 30px;
}

.terms-agreement-cta .btn-accept {
    background: white;
    color: #1a8e8e;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin: 0 10px;
}

.terms-agreement-cta .btn-accept:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #1a8e8e;
}

.terms-agreement-cta .btn-decline {
    background: transparent;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin: 0 10px;
}

.terms-agreement-cta .btn-decline:hover {
    background: white;
    color: #1a8e8e;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Blockquote Styling */
.terms-card blockquote {
    background: #f5f7fa;
    border-left: 5px solid #1a8e8e;
    padding: 20px 25px;
    margin: 25px 0;
    font-style: italic;
    color: #555;
    border-radius: 0 10px 10px 0;
}

.terms-card blockquote p {
    margin-bottom: 0;
}

/* Section Divider */
.section-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #1a8e8e 50%, transparent 100%);
    margin: 40px 0;
    border: none;
}

/* Responsive Design */

/* Large Tablets & Small Laptops - 1024px */
@media (max-width: 1024px) {
    .breadcrumb-area.terms-breadcrumb {
        padding: 70px 0 90px;
    }

    .terms-intro-card {
        padding: 40px 30px;
        margin: -70px 20px 40px;
        max-width: 100%;
    }

    .terms-intro-card h3 {
        font-size: 26px;
    }

    .terms-intro-card .intro-icon {
        width: 75px;
        height: 75px;
    }

    .terms-intro-card .intro-icon i {
        font-size: 34px;
    }

    .terms-content-section {
        padding: 70px 0 90px;
    }

    .terms-card {
        padding: 35px;
    }

    .terms-card h1 { font-size: 30px; }
    .terms-card h2 { font-size: 24px; }
    .terms-card h3 { font-size: 20px; }

    .terms-navigation {
        padding: 25px;
    }

    .terms-agreement-cta {
        padding: 40px 30px;
    }
}

/* Tablets - 768px */
@media (max-width: 768px) {
    .breadcrumb-area.terms-breadcrumb {
        padding: 60px 0 80px;
    }

    .terms-intro-card {
        padding: 35px 25px;
        margin: -60px 15px 35px;
    }

    .terms-intro-card h3 {
        font-size: 24px;
    }

    .terms-intro-card .intro-icon {
        width: 70px;
        height: 70px;
    }

    .terms-intro-card .intro-icon i {
        font-size: 30px;
    }

    .terms-intro-card p {
        font-size: 15px;
    }

    .terms-content-section {
        padding: 60px 0 80px;
    }

    .terms-card {
        padding: 30px 25px;
    }

    .terms-card h1 { font-size: 28px; }
    .terms-card h2 { font-size: 22px; }
    .terms-card h3 { font-size: 19px; }
    .terms-card h4 { font-size: 17px; }

    .terms-card p,
    .terms-card ul li,
    .terms-card ol li {
        font-size: 15px;
    }

    .terms-navigation {
        padding: 25px 20px;
    }

    .terms-navigation h4 {
        font-size: 18px;
    }

    .terms-navigation ul li a {
        font-size: 14px;
    }

    .terms-agreement-cta {
        padding: 35px 25px;
    }

    .terms-agreement-cta h3 {
        font-size: 24px;
    }

    .terms-agreement-cta p {
        font-size: 15px;
    }
}

/* Mobile Landscape - 425px */
@media (max-width: 425px) {
    .breadcrumb-area.terms-breadcrumb {
        padding: 50px 0 70px;
    }

    .breadcrumb-area.terms-breadcrumb .sec__title {
        font-size: 26px;
    }

    .terms-intro-card {
        padding: 25px 20px;
        margin: -50px 10px 30px;
        border-radius: 15px;
    }

    .terms-intro-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .terms-intro-card .intro-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .terms-intro-card .intro-icon i {
        font-size: 26px;
    }

    .terms-intro-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .terms-content-section {
        padding: 50px 0 70px;
    }

    .terms-card {
        padding: 25px 20px;
        border-radius: 12px;
        border-left-width: 4px;
    }

    .terms-card h1 { font-size: 24px; }
    .terms-card h2 { font-size: 20px; }
    .terms-card h3 { font-size: 18px; }
    .terms-card h4 { font-size: 16px; }

    .terms-card p,
    .terms-card ul li,
    .terms-card ol li {
        font-size: 14px;
        line-height: 1.7;
    }

    .terms-card ul li,
    .terms-card ol li {
        padding-left: 30px;
        margin-bottom: 10px;
    }

    .terms-card ul li::before,
    .terms-card ol li::before {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .terms-highlight {
        padding: 20px;
        border-radius: 8px;
    }

    .terms-highlight h4 {
        font-size: 18px;
    }

    .terms-card table {
        font-size: 13px;
    }

    .terms-card table thead th,
    .terms-card table tbody td {
        padding: 10px;
    }

    .last-updated {
        padding: 8px 16px;
        font-size: 13px;
    }

    .terms-navigation {
        padding: 20px 18px;
        border-radius: 12px;
    }

    .terms-navigation h4 {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .terms-navigation ul li {
        margin-bottom: 10px;
    }

    .terms-navigation ul li a {
        font-size: 13px;
        padding: 8px 12px;
    }

    .terms-agreement-cta {
        padding: 30px 20px;
        border-radius: 15px;
        margin-top: 40px;
    }

    .terms-agreement-cta h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .terms-agreement-cta p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .terms-agreement-cta .btn-accept,
    .terms-agreement-cta .btn-decline {
        padding: 12px 25px;
        font-size: 14px;
        margin: 5px;
        display: block;
        width: calc(100% - 10px);
        border-radius: 40px;
    }

    .terms-card blockquote {
        padding: 15px 20px;
        font-size: 14px;
    }

    .section-divider {
        margin: 30px 0;
    }
}

/* Mobile Portrait - 320px */
@media (max-width: 320px) {
    .breadcrumb-area.terms-breadcrumb {
        padding: 40px 0 60px;
    }

    .breadcrumb-area.terms-breadcrumb .sec__title {
        font-size: 22px;
    }

    .breadcrumb-area.terms-breadcrumb .bread-list li {
        font-size: 13px;
    }

    .terms-intro-card {
        padding: 20px 15px;
        margin: -45px 8px 25px;
        border-radius: 12px;
    }

    .terms-intro-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .terms-intro-card .intro-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 15px;
    }

    .terms-intro-card .intro-icon i {
        font-size: 24px;
    }

    .terms-intro-card p {
        font-size: 13px;
        line-height: 1.5;
    }

    .terms-content-section {
        padding: 40px 0 60px;
    }

    .terms-card {
        padding: 20px 15px;
        border-radius: 10px;
        border-left-width: 3px;
    }

    .terms-card h1 { font-size: 22px; }
    .terms-card h2 { font-size: 18px; }
    .terms-card h3 { font-size: 16px; }
    .terms-card h4 { font-size: 15px; }

    .terms-card p,
    .terms-card ul li,
    .terms-card ol li {
        font-size: 13px;
        line-height: 1.6;
    }

    .terms-card ul li,
    .terms-card ol li {
        padding-left: 28px;
        margin-bottom: 8px;
    }

    .terms-card ul li::before,
    .terms-card ol li::before {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .terms-highlight {
        padding: 18px;
        border-radius: 7px;
        margin: 25px 0;
    }

    .terms-highlight h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .terms-card table {
        font-size: 12px;
    }

    .terms-card table thead th,
    .terms-card table tbody td {
        padding: 8px;
    }

    .last-updated {
        padding: 7px 14px;
        font-size: 12px;
    }

    .terms-navigation {
        padding: 18px 15px;
        border-radius: 10px;
    }

    .terms-navigation h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .terms-navigation ul li {
        margin-bottom: 8px;
    }

    .terms-navigation ul li a {
        font-size: 12px;
        padding: 7px 10px;
    }

    .terms-navigation ul li a i {
        margin-right: 8px;
        font-size: 10px;
    }

    .terms-agreement-cta {
        padding: 25px 15px;
        border-radius: 12px;
        margin-top: 35px;
    }

    .terms-agreement-cta h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .terms-agreement-cta p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .terms-agreement-cta .btn-accept,
    .terms-agreement-cta .btn-decline {
        padding: 11px 20px;
        font-size: 13px;
        margin: 5px 0;
        width: 100%;
        border-radius: 35px;
    }

    .terms-card blockquote {
        padding: 12px 15px;
        font-size: 13px;
        border-radius: 0 8px 8px 0;
    }

    .section-divider {
        margin: 25px 0;
        height: 2px;
    }
}

