/* ═══════════════════════════════════════════════════════════
   POLICY PAGES - TATA.COM INSPIRED DESIGN
   ═══════════════════════════════════════════════════════════ */

/* Policy Hero */
.policy-hero {
    margin-top: 80px;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(58, 123, 213, 0.9) 0%, rgba(37, 99, 184, 0.9) 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 123, 213, 0.9) 0%, rgba(37, 99, 184, 0.9) 100%);
    z-index: 1;
}

.policy-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.policy-hero .container {
    position: relative;
    z-index: 3;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin-bottom: 30px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 4px;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
}

.back-link i {
    font-size: 12px;
}

.policy-hero h1 {
    font-size: 48px;
    font-weight: 300;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.policy-date {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
}

/* Policy Content */
.policy-content {
    padding: 80px 0;
    background: var(--white);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.policy-intro {
    padding: 40px;
    background: var(--lighter-bg);
    border-left: 4px solid var(--zoho-red);
    margin-bottom: 60px;
}

.policy-intro p {
    font-size: 17px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

.policy-section {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-light);
}

.policy-section:last-of-type {
    border-bottom: none;
}

.policy-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.policy-section p {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.policy-section ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.policy-section ul li {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.8;
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}

.policy-section ul li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--zoho-red);
    font-size: 20px;
    line-height: 1.8;
}

.contact-list {
    margin-top: 20px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 0 !important;
}

.contact-list li::before {
    display: none;
}

.contact-list i {
    width: 20px;
    color: var(--zoho-red);
    font-size: 16px;
}

/* Policy Footer Navigation */
.policy-footer-nav {
    display: flex;
    gap: 30px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.policy-nav-link {
    flex: 1;
    padding: 24px;
    background: var(--lighter-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.policy-nav-link:hover {
    background: var(--white);
    border-color: var(--zoho-red);
    color: var(--zoho-red);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.policy-nav-link i {
    font-size: 14px;
    transition: var(--transition);
}

.policy-nav-link:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-hero {
        padding: 60px 0 40px;
        background-attachment: scroll;
    }
    
    .policy-hero h1 {
        font-size: 32px;
    }
    
    .policy-content {
        padding: 60px 0;
    }
    
    .policy-intro {
        padding: 30px 20px;
    }
    
    .policy-section h2 {
        font-size: 24px;
    }
    
    .policy-footer-nav {
        flex-direction: column;
        gap: 16px;
    }
}

/* ═══════════════════════════════════════════════════════════
   MODERN POLICY DESIGN - FRANDZZO INSPIRED WITH LEFT SIDEBAR
   ═══════════════════════════════════════════════════════════ */

/* Policy Content with Sidebar Layout */
.policy-content-with-sidebar {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px var(--space-lg);
    background: #f9fafb;
}

/* Jump Navigation Sidebar */
.jump-nav-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.jump-nav-sticky {
    position: sticky;
    top: 120px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.jump-nav-title {
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #3A7BD5;
}

.jump-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jump-nav-links a {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
    padding: 12px 16px;
    border-radius: 6px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.jump-nav-links a:hover {
    background: #f3f4f6;
    color: #3A7BD5;
    border-left-color: #3A7BD5;
    transform: translateX(4px);
}

.jump-nav-links a.active {
    background: #eff6ff;
    color: #3A7BD5;
    border-left-color: #3A7BD5;
    font-weight: 600;
}

/* Main Content Area */
.policy-main-content {
    flex: 1;
    min-width: 0;
}

.policy-intro-text {
    background: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.policy-intro-text p {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 16px;
}

.policy-intro-text p:last-child {
    margin-bottom: 0;
}

/* Policy Section Modern */
.policy-section-modern {
    background: white;
    padding: 50px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    scroll-margin-top: 140px;
}

.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3A7BD5 0%, #2563B8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.section-icon i {
    font-size: 28px;
    color: white;
}

.policy-section-modern h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    line-height: 1.3;
}

.policy-section-modern h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    margin-top: 32px;
    margin-bottom: 16px;
}

.policy-section-modern p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.policy-section-modern ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.policy-section-modern ul li {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
    padding-left: 32px;
    position: relative;
    margin-bottom: 12px;
}

.policy-section-modern ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3A7BD5;
    font-size: 18px;
    font-weight: 700;
}

.policy-section-modern ul li strong {
    color: #1f2937;
    font-weight: 600;
}

.policy-section-modern a {
    color: #3A7BD5;
    text-decoration: underline;
    transition: var(--transition);
}

.policy-section-modern a:hover {
    color: #2563B8;
}

/* Cookie Type Cards */
.cookie-type-card {
    background: #f9fafb;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 24px;
    border-left: 4px solid #3A7BD5;
}

.cookie-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.cookie-type-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-top: 0;
    margin-bottom: 12px;
}

.cookie-type-card p {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 12px;
}

.cookie-type-card ul {
    margin-top: 12px;
}

.cookie-type-card ul li {
    font-size: 15px;
    padding-left: 24px;
}

.cookie-type-card ul li::before {
    font-size: 14px;
}

/* Contact Info Modern */
.contact-info-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 8px;
    transition: var(--transition);
}

.contact-item:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.contact-item > i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3A7BD5 0%, #2563B8 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.contact-item p {
    font-size: 16px;
    color: #111827;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .policy-content-with-sidebar {
        flex-direction: column;
        padding: 60px var(--space-md);
    }
    
    .jump-nav-sidebar {
        width: 100%;
        order: -1;
    }
    
    .jump-nav-sticky {
        position: static;
        padding: 24px;
    }
    
    .jump-nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .jump-nav-links a {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .jump-nav-links a:hover {
        transform: translateX(0);
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    .policy-content-with-sidebar {
        padding: 40px var(--space-sm);
    }
    
    .policy-intro-text {
        padding: 30px 24px;
    }
    
    .policy-section-modern {
        padding: 30px 24px;
        scroll-margin-top: 120px;
    }
    
    .section-icon {
        width: 50px;
        height: 50px;
    }
    
    .section-icon i {
        font-size: 24px;
    }
    
    .policy-section-modern h2 {
        font-size: 26px;
    }
    
    .policy-section-modern h3 {
        font-size: 20px;
    }
    
    .cookie-type-card {
        padding: 24px 20px;
    }
    
    .contact-info-modern {
        grid-template-columns: 1fr;
    }
    
    .jump-nav-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .policy-section-modern {
        padding: 24px 20px;
    }
    
    .policy-section-modern h2 {
        font-size: 22px;
    }
    
    .jump-nav-sticky {
        padding: 20px;
    }
}
