/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header Styles */
header {
    background-color: #4CAF50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 80px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: #FFD700;
    margin: 0;
}

.logo-text p {
    font-size: 0.85rem;
    color: white;
    margin: 0;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #FFD700;
}

/* Dropdown Navigation */
nav ul li {
    position: relative;
}

nav .dropdown {
    position: relative;
    padding-bottom: 15px;
}

nav .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% - 10px);
    left: 0;
    background-color: #45a049;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 20px 0 10px 0;
    margin-top: 0;
    border-radius: 4px;
}

nav .dropdown:hover .dropdown-menu {
    display: block;
}

nav .dropdown-menu li {
    display: block;
    width: 100%;
}

nav .dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

nav .dropdown-menu a:hover {
    background-color: #3d8b40;
    color: #FFD700;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(rgba(76, 175, 80, 0.5), rgba(76, 175, 80, 0.5)),
                url('images/sa-flag.svg') center center / cover no-repeat;
    padding: 60px 20px;
    text-align: center;
    color: white;
    position: relative;
}

/* Action Cards Grid */
.action-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.action-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: #4CAF50;
}

.action-card .card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.action-card h3 {
    color: #4CAF50;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.action-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .action-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .action-cards {
        grid-template-columns: 1fr;
    }
}

.hero-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-flag {
    width: 220px;
    height: auto;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-banner h1 {
    font-size: 3.5em;
    margin: 0;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

.hero-banner p {
    font-size: 1.3em;
    margin: 15px 0 0 0;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Hero Section (kept for other pages if needed) */
.hero {
    background: linear-gradient(135deg, rgba(76,175,80,0.85) 0%, rgba(69,160,73,0.85) 100%),
                url('https://upload.wikimedia.org/wikipedia/commons/thumb/a/af/Flag_of_South_Africa.svg/1280px-Flag_of_South_Africa.svg.png') center center / cover no-repeat;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FFD700;
}

.hero-content p {
    font-size: 1.3rem;
}

/* Content Section */
.content-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
}

/* Disclaimer Box */
.disclaimer-box {
    background: linear-gradient(135deg, #fff3cd 0%, #fff9e6 100%);
    border-left: 5px solid #ff9800;
    padding: 20px 30px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.disclaimer-box p {
    margin: 0;
    color: #856404;
    font-size: 1.05em;
}

/* Quick Boxes Section */
.quick-boxes-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.quick-box {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.quick-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: #4CAF50;
}

.quick-box h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 0 0 15px 0;
}

.quick-box p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.box-button {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    align-self: flex-start;
}

.box-button:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .quick-boxes-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .quick-boxes-section {
        grid-template-columns: 1fr;
    }
}

/* Section Intro */
.section-intro {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #e8f5e9;
}

.section-intro h2 {
    color: #2e7d32;
    font-size: 2em;
    margin-bottom: 15px;
}

/* Content Blocks */
.content-block {
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.content-block:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.content-block h2 {
    color: #4CAF50;
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5e9;
}

.content-block p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

/* Closing Summary */
.closing-summary {
    margin: 50px 0 30px;
    padding: 30px;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.closing-summary p {
    font-size: 1.1em;
    color: #2e7d32;
    margin: 0;
    line-height: 1.8;
}

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

.content-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(76,175,80,0.2);
}

.content-card h3 {
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Footer */
footer {
    background-color: #45a049;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
}

/* Intro Box */
.intro-box {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.intro-icon-box {
    font-size: 120px;
    line-height: 1;
    flex-shrink: 0;
}

.intro-text {
    flex: 1;
}

/* Info Boxes Grid */
.info-boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.info-box {
    background: white;
    border-radius: 12px;
    padding: 25px 30px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 5px solid;
    margin: 30px 0;
}

.info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.info-box h3 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 1.4em;
}

.info-box ul {
    margin: 0;
    padding-left: 20px;
}

.info-box li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.info-box a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-box a:hover {
    color: #2e7d32;
    text-decoration: underline;
}

.blue-box {
    border-top-color: #2196F3;
}

.green-box {
    border-top-color: #4CAF50;
}

.orange-box {
    border-top-color: #FF9800;
}

.red-box {
    border-top-color: #f44336;
}

.box-icon {
    font-size: 60px;
    margin-bottom: 20px;
    line-height: 1;
}

.info-box h3 {
    color: #333;
    margin: 15px 0;
    font-size: 1.4em;
}

.info-box p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.info-btn {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(76,175,80,0.3);
}

.info-btn:hover {
    background: #45a049;
    box-shadow: 0 4px 15px rgba(76,175,80,0.4);
    transform: scale(1.05);
}

/* Page Navigation Box */
.page-navigation {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
    padding: 25px 30px;
    border-radius: 10px;
    border-left: 5px solid #4CAF50;
    margin: 30px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.page-navigation h2 {
    color: #2e7d32;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-navigation ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.page-navigation li a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 12px;
    border-radius: 5px;
    background: rgba(255,255,255,0.6);
}

.page-navigation li a:hover {
    color: #2e7d32;
    background: rgba(255,255,255,0.9);
}

/* Info Box Styles */
.info-highlight-box {
    background: linear-gradient(135deg, #fff8e1 0%, #fffef7 100%);
    border-left: 5px solid #FF9800;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.info-highlight-box h3 {
    color: #e65100;
    margin-bottom: 15px;
}

.info-highlight-box ul {
    margin-left: 20px;
}

.info-highlight-box li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Success/Approved Box */
.success-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
    border-left-color: #4CAF50;
}

.success-box h3 {
    color: #2e7d32;
}

/* Warning/Alert Box */
.warning-box {
    background: linear-gradient(135deg, #ffebee 0%, #fff5f5 100%);
    border-left-color: #f44336;
}

.warning-box h3 {
    color: #c62828;
}

/* Info/Instructions Box */
.instruction-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f1f8ff 100%);
    border-left-color: #2196F3;
}

.instruction-box h3 {
    color: #1565c0;
}

/* Quick Tips Box */
.tips-box {
    background: linear-gradient(135deg, #f3e5f5 0%, #faf5fb 100%);
    border-left-color: #9c27b0;
}

.tips-box h3 {
    color: #6a1b9a;
}

/* Info Highlight Box */
.info-highlight-box {
    background: linear-gradient(135deg, #fff8e1 0%, #fffef7 100%);
    border-left-color: #FF9800;
}

.info-highlight-box h3 {
    color: #e65100;
}

/* Image Layout Styles */
.content-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
}

.image-right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
}

/* Clear floats after sections */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-banner h1 {
        font-size: 2.2em;
    }

    .hero-flag {
        width: 160px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

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

    .intro-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .info-boxes-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 20px;
    }

    .page-navigation ul {
        grid-template-columns: 1fr;
    }

    /* Stack images on mobile */
    .image-left, .image-right {
        float: none;
        margin: 20px auto;
        display: block;
    }
}

/* Media Box Styles */
.media-box {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 50px 0;
    background: white;
    padding: 30px;
    border-radius: 12px;
}

/* Reverse layout for alternating effect */
.media-box-reverse {
    flex-direction: row-reverse;
}

.media-image {
    flex: 0 0 500px;
    max-width: 500px;
}

.media-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.media-content {
    flex: 1;
}

.media-content h2 {
    color: #4CAF50;
    font-size: 1.9em;
    margin-bottom: 20px;
    line-height: 1.3;
}

.media-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05em;
}

/* Responsive Media Boxes */
@media (max-width: 968px) {
    .media-box,
    .media-box-reverse {
        flex-direction: column;
        gap: 25px;
    }

    .media-image {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }
}

/* Blog Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Blog Card Styles */
.blog-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: #4CAF50;
}

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

.blog-card-content {
    padding: 30px;
}

.blog-date {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.blog-card h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 65px;
}

.blog-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 75px;
}

.btn-read-more {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.3);
}

.btn-read-more:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

/* Responsive Blog Grid */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }

    .blog-card-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card h3 {
        min-height: auto;
    }

    .blog-card p {
        min-height: auto;
    }
}

/* Privacy Policy Card Styles */
.policy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-card {
    background: linear-gradient(135deg, #1e7e34 0%, #28a745 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 35px;
}

.intro-card h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: white;
}

.intro-card .last-updated {
    font-size: 1.1em;
    margin-bottom: 15px;
    opacity: 0.9;
    font-weight: 500;
}

.intro-card .subtitle {
    font-size: 1.3em;
    margin-bottom: 20px;
    opacity: 0.95;
}

.intro-card p {
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Generic card class - same as policy-card */
.card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    margin-bottom: 35px;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card h2 {
    color: #1e7e34;
    font-size: 2em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ffc107;
}

.card h3 {
    color: #28a745;
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 15px;
}

.card p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #333;
}

.card ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.card ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.card a {
    color: #28a745;
    text-decoration: none;
    font-weight: 500;
}

.card a:hover {
    text-decoration: underline;
}

.card .section-number {
    color: #ffc107;
    font-weight: 700;
}

.policy-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    margin-bottom: 35px;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.policy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.policy-card h2 {
    color: #1e7e34;
    font-size: 2em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ffc107;
}

.policy-card h3 {
    color: #28a745;
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 15px;
}

.policy-card p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #333;
}

.policy-card ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-card ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.policy-card a {
    color: #28a745;
    text-decoration: none;
    font-weight: 500;
}

.policy-card a:hover {
    text-decoration: underline;
}

.disclaimer-card {
    background: #fff9e6;
    padding: 40px;
    border-radius: 8px;
    border-left: 5px solid #ffc107;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    margin-bottom: 35px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.disclaimer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.disclaimer-card h2 {
    color: #1e7e34;
    font-size: 2em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ffc107;
}

.disclaimer-card p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #333;
}

.disclaimer-card ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.disclaimer-card ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.contact-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    border-left: 5px solid #28a745;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    margin-bottom: 35px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.contact-card h2 {
    color: #1e7e34;
    font-size: 2em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ffc107;
}

.contact-card p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #333;
}

.contact-card ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.contact-card ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.contact-card a {
    color: #28a745;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.acknowledgment-card {
    background: linear-gradient(135deg, #1e7e34 0%, #28a745 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 35px;
}

.acknowledgment-card h2 {
    color: white;
    font-size: 2em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid rgba(255,255,255,0.3);
}

.acknowledgment-card p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.consent-card {
    background: linear-gradient(135deg, #1e7e34 0%, #28a745 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 35px;
}

.consent-card h2 {
    color: white;
    font-size: 2em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid rgba(255,255,255,0.3);
}

.consent-card p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.consent-card ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.consent-card ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Cookies table styles */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

.cookies-table thead {
    background: linear-gradient(135deg, #1e7e34 0%, #28a745 100%);
    color: white;
}

.cookies-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1em;
}

.cookies-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

.cookies-table tbody tr:hover {
    background: #f8f9fa;
}

.cookies-table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive adjustments for policy cards */
@media (max-width: 768px) {
    .intro-card, .policy-card, .disclaimer-card, .contact-card, .acknowledgment-card, .consent-card, .card {
        padding: 25px;
        margin-bottom: 25px;
    }

    .intro-card h1 {
        font-size: 2em;
    }

    .policy-card h2, .disclaimer-card h2, .contact-card h2, .acknowledgment-card h2, .consent-card h2, .card h2 {
        font-size: 1.6em;
    }

    .policy-card h3, .card h3 {
        font-size: 1.3em;
    }

    .cookies-table {
        font-size: 0.9em;
    }

    .cookies-table th, .cookies-table td {
        padding: 10px;
    }
}
