﻿/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.btn-block {
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
}

    .btn-block:hover {
        transform: scale(1.05);
        text-decoration: none;
    }


.hero-section {
    background: url('/images/logo.img') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    padding: 100px 0;
}



.timer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background-color: #f4f4f4;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: auto;
    margin-top: 50px;
}

.timer-display {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    background: linear-gradient(90deg, #4caf50, #2196f3);
    padding: 10px 20px;
    border-radius: 10px;
    color: white;
    letter-spacing: 2px;
}

.timer-inputs {
    display: flex;
    gap: 10px;
}

    .timer-inputs input {
        width: 70px;
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

.timer-controls {
    display: flex;
    gap: 15px;
}

    .timer-controls .btn {
        font-size: 1rem;
        padding: 10px 20px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

        .timer-controls .btn:hover {
            transform: scale(1.05);
        }*/


/*css for document conversion*//**/


/*.doc-conversion-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 100%;
    margin: 20px auto;
    box-sizing: border-box;
}

.file-upload-area {
    width: 100%;
    box-sizing: border-box;
}

.custom-file-label {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #ffffff;
    border: 2px dashed var(--primary-color);
    border-radius: 10px;
    text-align: center;
    color: #666;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

    .custom-file-label:hover {
        background-color: #e8f5e9;
    }

#convert-btn {
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
}

    #convert-btn:hover {
        transform: scale(1.05);
    }

.progress-bar-container {
    width: 100%;
    box-sizing: border-box;
}

.progress {
    height: 25px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #e0e0e0;
}

#progress {
    height: 100%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s ease;
}*/

/* Mobile-specific adjustments */
/*@media (max-width: 576px) {
    .doc-conversion-container {
        padding: 15px;
        gap: 15px;
        margin-top: 10px;
    }

    .custom-file-label {
        padding: 12px;
    }

    #convert-btn {
        padding: 8px 15px;
    }
}

@media (max-width: 400px) {
    .doc-conversion-container {
        padding: 10px;
        gap: 10px;
    }

    .custom-file-label {
        font-size: 0.9rem;
        padding: 10px;
    }
}*/




    /*end of document conversion css*/

   /* //text tool */
/*.text-tool-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background-color: #f4f4f4;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: auto;
    margin-top: 50px;
}

.text-area {
    width: 100%;
    height: 150px;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    font-size: 16px;
    resize: vertical;
    outline: none;
}

    .text-area:focus {
        border-color: #4caf50;
    }

.text-tool-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #4caf50;
    color: #fff;
    border: none;
}

    .btn-primary:hover {
        background-color: #45a049;
    }

.results-container {
    width: 100%;
    padding: 15px;
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
    font-size: 16px;
}*/


    /*text too end*//**/


/*//Currency conversion*/

/*body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 20px;
    text-align: center;
}

.converter-container {
    max-width: 400px;
    margin: auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

h2 {
    color: #007bff;
}

.input-section input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

.currency-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

select {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
}

.result {
    background-color: #eef;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.history {
    text-align: left;
    margin-top: 10px;
}

    .history ul {
        list-style: none;
        padding: 0;
    }

        .history ul li {
            padding: 5px;
            background: #ddd;
            margin-bottom: 5px;
            border-radius: 5px;
        }*/
/*cureency conversion end*/

/*Tax calculation*/

/*body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 20px;
    text-align: center;
}

.tax-container {
    max-width: 400px;
    margin: auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

h2 {
    color: #007bff;
}

.input-section input, .tax-section select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

.result {
    background-color: #eef;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.history {
    text-align: left;
    margin-top: 10px;
}

    .history ul {
        list-style: none;
        padding: 0;
    }

        .history ul li {
            padding: 5px;
            background: #ddd;
            margin-bottom: 5px;
            border-radius: 5px;
        }*/

/*Tax calculatio end*/



/*:root {
    --primary-color: #258cfb;
    --secondary-color: #4caf50;
    --background-color: #f4f4f4;
    --text-color: #333;
    --white: #fff;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}*/

/* Hero Section */
/*.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

    .hero-section h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        font-weight: 700;
        line-height: 1.2;
    }

    .hero-section p {
        font-size: 1.25rem;
        margin-bottom: 30px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        opacity: 0.9;
    }

    .hero-section .btn {
        display: inline-block;
        background-color: var(--white);
        color: var(--primary-color);
        padding: 12px 28px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        transition: var(--transition);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border: none;
        cursor: pointer;
        font-size: 1rem;
    }

        .hero-section .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        }*/

/* Topic Sections */
/*.topic-section {
    padding: 60px 0;
}

    .topic-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
        text-align: center;
        color: var(--text-color);
        position: relative;
        padding-bottom: 15px;
    }

        .topic-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: var(--primary-color);
            border-radius: 3px;
        }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    .card h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        color: var(--primary-color);
        font-weight: 600;
        line-height: 1.3;
    }

    .card p {
        font-size: 1rem;
        margin-bottom: 20px;
        color: #555;
    }

    .card ol {
        margin-left: 20px;
        margin-bottom: 20px;
        flex-grow: 1;
    }

        .card ol li {
            margin-bottom: 10px;
            padding-left: 5px;
        }

            .card ol li strong {
                color: var(--text-color);
            }

    .card .btn {
        display: inline-block;
        background-color: var(--primary-color);
        color: var(--white);
        padding: 10px 20px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 600;
        transition: var(--transition);
        align-self: flex-start;
        margin-top: auto;
        border: none;
        cursor: pointer;
        font-size: 0.95rem;
    }

        .card .btn:hover {
            background-color: #1a73e8;
            transform: translateY(-2px);
        }*/

/* Footer */
/*footer {
    background-color: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

    footer a {
        color: var(--white);
        text-decoration: none;
        margin: 0 10px;
        transition: var(--transition);
    }

        footer a:hover {
            text-decoration: underline;
            opacity: 0.9;
        }*/

/* Responsive Adjustments */
/*@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }

        .hero-section h1 {
            font-size: 2rem;
        }

        .hero-section p {
            font-size: 1.1rem;
        }

    .topic-section {
        padding: 40px 0;
    }

        .topic-section h2 {
            font-size: 1.75rem;
            margin-bottom: 30px;
        }

    .card-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0;
    }

        .hero-section h1 {
            font-size: 1.8rem;
        }

    .card {
        padding: 20px;
    }

        .card h3 {
            font-size: 1.3rem;
        }
}*/
/* Add these rules to fix mobile overflow */
/*body {
    overflow-x: hidden;*/ /* Prevent horizontal scrolling */
/*}

.container {
    width: 100%;*/ /* Full width on mobile */
    /*padding: 0 20px;*/ /* Consistent side padding */
    /*max-width: 1200px;*/ /* Max width for larger screens */
/*}*/

/* Ensure all elements respect container boundaries */
/*.card,
.hero-section .btn,
.topic-section h2,
footer {
    width: 100%;
    box-sizing: border-box;*/ /* Include padding in width calculations */
/*}*/

/* Mobile-specific adjustments */
/*@media (max-width: 768px) {
    .container {
        padding: 0 15px;*/ /* Slightly less padding on mobile */
    /*}

    .card {
        min-width: 0;*/ /* Allow cards to shrink properly */
    /*}
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;*/ /* Minimal side padding on small devices */
    /*}

    .hero-section {
        padding: 60px 12px;*/ /* Adjust hero padding to match */
    /*}

    .card-grid {
        grid-template-columns: 1fr;*/ /* Single column on smallest screens */
    /*}
}*/

/* Update these font sizes in your existing CSS */
/*body {
    font-size: 15px;*/ /* Changed from default 16px */
    /*line-height: 1.5;*/ /* Slightly tighter line height */
/*}

.hero-section h1 {
    font-size: 2.2rem;*/ /* Reduced from 2.5rem */
/*}

.hero-section p {
    font-size: 1.1rem;*/ /* Reduced from 1.25rem */
/*}

.topic-section h2 {
    font-size: 1.8rem;*/ /* Reduced from 2rem */
/*}

.card h3 {
    font-size: 1.25rem;*/ /* Reduced from 1.4rem */
    /*margin-bottom: 12px;*/ /* Slightly reduced spacing */
/*}

.card p {
    font-size: 0.95rem;*/ /* Reduced from 1rem */
    /*margin-bottom: 16px;
}

.card ol {
    font-size: 0.9rem;*/ /* Added specific size for list items */
/*}

.card .btn {
    font-size: 0.9rem;*/ /* Reduced from 0.95rem */
/*}*/

/* Mobile adjustments */
/*@media (max-width: 768px) {
    body {
        font-size: 14px;*/ /* Slightly smaller on mobile */
    /*}

    .hero-section h1 {
        font-size: 1.8rem;*/ /* Reduced from 2rem */
    /*}

    .hero-section p {
        font-size: 1rem;
    }

    .topic-section h2 {
        font-size: 1.6rem;
    }

    .card h3 {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13.5px;*/ /* Minimal reduction for smallest screens */
    /*}

    .hero-section h1 {
        font-size: 1.6rem;
    }

    .card h3 {
        font-size: 1.1rem;
    }
}*/
/*Life*/


/*Loadshedding*/

/* Loadshedding Schedule Styles */
/*#loadshedding-schedule {
    margin-top: 20px;
}

.schedule-event {
    margin-bottom: 15px;
}

    .schedule-event p {
        margin: 5px 0;
    }

    .schedule-event hr {
        border: 0;
        height: 1px;
        background: #ddd;
        margin: 10px 0;
    }*/

/*Loadshedding end*/


/*qrcode generation*/

/*.qr-generator-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background-color: #f4f4f4;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 100%;
    margin: 20px auto;
    box-sizing: border-box;
}

.qr-input-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.qr-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

#generate-qr-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border-radius: 5px;
}

.qr-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.qr-box {
    width: 200px;
    height: 200px;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-btn {
    width: 100%;
    max-width: 200px;
    padding: 10px;
    text-align: center;
}*/

/* Responsive adjustments */
/*@media (min-width: 576px) {
    .qr-input-section {
        flex-direction: row;
    }

    #generate-qr-btn {
        width: auto;
        min-width: 120px;
    }

    .qr-input {
        flex-grow: 1;
    }
}

@media (max-width: 400px) {
    .qr-generator-container {
        padding: 20px;
        gap: 15px;
    }

    .qr-box {
        width: 180px;
        height: 180px;
    }
}*/

/*qrcode generation*/

/*.image-compressor-container {
    max-width: 100%;
    width: 100%;
    margin: 20px auto;
    padding: 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
}

.file-upload-section {
    margin-bottom: 20px;
}

.custom-file-upload {
    display: inline-block;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 500;
}

    .custom-file-upload:hover {
        background-color: var(--hover-color);
    }

    .custom-file-upload input[type="file"] {
        display: none;
    }

.quality-section {
    margin: 20px 0;
    width: 100%;
}

.quality-slider {
    width: 100%;
    margin-top: 8px;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 4px;
    background: #ddd;
    outline: none;
}

    .quality-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--primary-color);
        cursor: pointer;
    }

.file-info {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: left;
}

.info-item {
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
}

.info-label {
    font-weight: 600;
    color: #555;
}

.max-dimension {
    margin: 20px 0;
    text-align: left;
}

.dimension-input {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

    .dimension-input input {
        width: 100px;
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 5px;
        margin-right: 8px;
    }

.image-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.preview-box {
    flex: 1;
    min-width: 150px;
    max-width: 250px;
}

.preview-label {
    margin-bottom: 10px;
    font-weight: 500;
    color: #555;
}

.preview-canvas {
    width: 100% !important;
    height: auto !important;
    max-width: 250px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.btn-compress {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .btn-compress:hover {
        background-color: var(--hover-color);
    }

.btn-download {
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
}

    .btn-download:hover {
        background-color: #218838;
    }*/

/* Responsive adjustments */
/*@media (max-width: 576px) {
    .image-compressor-container {
        padding: 20px 15px;
    }

    .image-preview {
        flex-direction: column;
        align-items: center;
    }

    .preview-box {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 400px) {
    .info-item {
        flex-direction: column;
        gap: 2px;
    }
}*/

/*image compression*/

/*resume cover*/

/*body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
}

.step-form, .cv-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
}

    .step-form h2 {
        margin-bottom: 1rem;
    }

    .step-form input,
    .step-form textarea,
    .step-form button {
        width: 100%;
        padding: 0.5rem;
        margin: 0.5rem 0 1rem 0;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .step-form button {
        background-color: #0077cc;
        color: white;
        font-weight: bold;
        cursor: pointer;
    }

        .step-form button:hover {
            background-color: #005fa3;
        }

.cv-wrapper {
    display: none;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

    .cv-wrapper h1 {
        text-align: center;
        text-transform: uppercase;
    }

    .cv-wrapper h3 {
        text-transform: uppercase;
        border-bottom: 1px solid #ccc;
        padding-bottom: 0.25rem;
        margin-bottom: 0.5rem;
    }

.cv-download-btn {
    display: none;
    text-align: center;
    margin: 2rem auto;
}

    .cv-download-btn button {
        background-color: #0077cc;
        color: white;
        padding: 0.5rem 1.5rem;
        border: none;
        border-radius: 5px;
        font-size: 1rem;
        cursor: pointer;
    }

@media print {
    body * {
        visibility: hidden;
    }

    .cv-wrapper, .cv-wrapper * {
        visibility: visible;
    }

    .cv-wrapper {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
}*/

/* ===== RESUME SECTION - ISOLATED STYLES ===== */
/*.resume-container {
    all: initial;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    box-sizing: border-box;
    width: 100%;
    min-height: 100vh;
    display: block;
}

    .resume-container * {
        all: unset;
        box-sizing: inherit;
    }*/

    /* Resume-specific styles */
    /*.resume-container .step-form,
    .resume-container .cv-wrapper {
        max-width: 800px;
        margin: 2rem auto;
        background: white;
        padding: 2rem;
        border-radius: 8px;
    }

        .resume-container .step-form h2 {
            margin-bottom: 1rem;
            font-size: 1.5rem;
            font-weight: bold;
            color: #333;
        }

        .resume-container .step-form input,
        .resume-container .step-form textarea,
        .resume-container .step-form button {
            width: 100%;
            padding: 0.5rem;
            margin: 0.5rem 0 1rem 0;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-family: Arial, sans-serif;
            font-size: 1rem;
        }

        .resume-container .step-form textarea {
            min-height: 100px;
            resize: vertical;
        }

        .resume-container .step-form button {
            background-color: #0077cc;
            color: white;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s;
        }

            .resume-container .step-form button:hover {
                background-color: #005fa3;
            }

    .resume-container .cv-wrapper {
        display: none;
        font-family: Arial, sans-serif;
        line-height: 1.6;
        color: #333;
    }

        .resume-container .cv-wrapper h1 {
            text-align: center;
            text-transform: uppercase;
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: #0077cc;
        }

        .resume-container .cv-wrapper h2 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #333;
        }

        .resume-container .cv-wrapper h3 {
            text-transform: uppercase;
            border-bottom: 1px solid #ccc;
            padding-bottom: 0.25rem;
            margin: 1.5rem 0 0.5rem 0;
            font-size: 1.2rem;
            color: #444;
        }

        .resume-container .cv-wrapper p,
        .resume-container .cv-wrapper li {
            font-size: 1rem;
            margin-bottom: 0.5rem;
            color: #333;
        }

        .resume-container .cv-wrapper ul {
            margin-left: 1.5rem;
        }

        .resume-container .cv-wrapper li {
            list-style-type: disc;
        }

        .resume-container .cv-wrapper a {
            color: #0077cc;
            text-decoration: none;
        }

            .resume-container .cv-wrapper a:hover {
                text-decoration: underline;
            }

    .resume-container .cv-download-btn {
        display: none;
        text-align: center;
        margin: 2rem auto;
    }

        .resume-container .cv-download-btn button {
            background-color: #0077cc;
            color: white;
            padding: 0.5rem 1.5rem;
            border: none;
            border-radius: 5px;
            font-size: 1rem;
            cursor: pointer;
            font-family: Arial, sans-serif;
        }

            .resume-container .cv-download-btn button:hover {
                background-color: #005fa3;
            }

@media print {
    body * {
        visibility: hidden;
    }

    .resume-container .cv-wrapper,
    .resume-container .cv-wrapper * {
        visibility: visible;
    }

    .resume-container .cv-wrapper {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        background: white;
    }

    .resume-container .cv-download-btn {
        display: none !important;
    }
}*/

  /*  resume cover*/

  /*/thumbnail ///////*/
/* Updated Thumbnail Generator Styles */
/*.thumbnail-generator {
    font-family: 'Inter', sans-serif;*/ /* Match your site font */
    /*text-align: center;
    background: #fff;*/ /* Brighter background to match cards */
    /*padding: 25px;
    margin: 20px auto;
    max-width: 100%;*/ /* Better mobile responsiveness */
    /*width: 100%;
    border-radius: 12px;*/ /* Match your card radius */
    /*box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);*/ /* Match your card shadow */
    /*box-sizing: border-box;
}

    .thumbnail-generator h2 {
        margin-bottom: 20px;
        color: var(--text-color);*/ /* Use your color variable */
        /*font-size: 1.4rem;*/ /* Match your card heading size */
    /*}

    .thumbnail-generator input {
        width: 100%;
        padding: 12px;
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        font-size: 0.95rem;*/ /* Match your body text */
        /*box-sizing: border-box;
    }

    .thumbnail-generator button {
        width: 100%;
        padding: 12px;
        border: none;
        background: var(--primary-color);*/ /* Use your primary color */
        /*color: white;
        font-size: 0.95rem;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;*/ /* Match your button transitions */
        /*font-weight: 600;*/ /* Match your button style */
        /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/ /* Subtle shadow */
    /*}

        .thumbnail-generator button:hover {
            background: #1a73e8;*/ /* Darker shade of your primary color */
            /*transform: translateY(-2px);*/ /* Match your button hover effect */
            /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }*/

/* Thumbnail preview container */
/*.thumbnail-preview-container {
    margin-top: 25px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--card-shadow);*/ /* Match your card shadow */
    /*width: 100%;
    box-sizing: border-box;
}

    .thumbnail-preview-container img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        display: block;
        margin: 0 auto;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }*/

/* Download buttons */
/*.download-options {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

    .download-options a {
        display: inline-block;
        padding: 10px 15px;
        background: var(--secondary-color);*/ /* Use your secondary color */
        /*color: white;
        text-decoration: none;
        border-radius: 6px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        flex: 1;
        min-width: 120px;
        text-align: center;
        font-weight: 500;
    }

        .download-options a:hover {
            background: #3e8e41;*/ /* Darker shade of secondary */
            /*transform: translateY(-2px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }*/

/* Mobile adjustments */
/*@media (max-width: 768px) {
    .thumbnail-generator {
        padding: 20px 15px;
    }

    .download-options {
        flex-direction: column;
        gap: 8px;
    }

        .download-options a {
            width: 100%;
        }
}*/

/* Add this to your existing CSS */
/*.thumbnail-generator {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 20px auto;
}

.thumbnail-preview-container {
    max-width: 100%;
    overflow: hidden;
}*/

/* Fix for mobile navbar */
/*.navbar-collapse {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}*/

/* Add this to your existing thumbnail generator CSS */
/*.thumbnail-preview-container {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    padding: 15px;
    text-align: center;*/ /* Center everything inside */
    /*overflow: hidden;*/ /* Prevent any overflow */
/*}

    .thumbnail-preview-container img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;*/ /* Center the image */
        /*border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }*/

/* Update your download buttons styling */
/*.download-options {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

    .download-options a {
        display: inline-block;
        padding: 10px 15px;
        background: var(--secondary-color);*/ /* Using your green color */
        /*color: white !important;*/ /* Force white text */
        /*text-decoration: none;
        border-radius: 6px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        flex: 1;
        min-width: 120px;
        text-align: center;
        font-weight: 500;
        border: none;*/ /* Remove any default borders */
    /*}

        .download-options a:hover {
            background: #3e8e41;*/ /* Slightly darker green on hover */
            /*transform: translateY(-2px);
        }

@media (max-width: 768px) {
    .thumbnail-preview-container {
        padding: 10px;
    }

    .download-options {
        flex-direction: column;
    }

        .download-options a {
            width: 100%;
        }
}*/

/* Thumbnail Tool Container */
/*.thumbnail-tool {
    max-width: 100%;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}*/

/* Input Group */
/*.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.url-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.btn-fetch {
    background: var(--primary-color);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-fetch:hover {
        background: #1a73e8;
        transform: translateY(-2px);
    }*/

/* Thumbnail Result */
/*.thumbnail-result {
    width: 100%;
    text-align: center;
}

.thumbnail-wrapper {
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.thumbnail-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}*/

/* Download Buttons */
/*.download-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.download-btn {
    background: var(--secondary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

    .download-btn:hover {
        background: #3e8e41;
        transform: translateY(-2px);
    }*/

/* Mobile Responsiveness */
/*@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }

    .download-options {
        flex-direction: column;
    }

    .download-btn {
        width: 100%;
    }
}*/

/* New Download Buttons - Completely fresh styles */
/*.new-download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 25px;
    padding: 0 10px;
}

.dl-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 140px;
    flex: 1;
    border: 2px solid transparent;
    color: white !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}*/

/* HD Button */
/*.hd-btn {
    background-color: #4CAF50;*/ /* Green */
/*}

    .hd-btn:hover {
        background-color: #3e8e41;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }*/

/* SD Button */
/*.sd-btn {
    background-color: #2196F3;*/ /* Blue */
/*}

    .sd-btn:hover {
        background-color: #0b7dda;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }*/

/* Default Button */
/*.default-btn {
    background-color: #ff9800;*/ /* Orange */
/*}

    .default-btn:hover {
        background-color: #e68a00;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }*/

/* Active state for all buttons */
/*.dl-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}*/

/* Mobile responsiveness */
/*@media (max-width: 768px) {
    .new-download-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .dl-btn {
        width: 100%;
    }
}*/
/*.thumbnail-generator {

/*thumbnail////////////////*/

/*/texttospeech*/

/* General Styles */
/*.doc-conversion-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 400px;
    margin: 0 auto;
    text-align: center;
}

.text-center {
    text-align: center;
}

.text-input-area textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
}

.voice-selection {
    margin-top: 10px;
}

    .voice-selection label {
        font-size: 16px;
        margin-right: 10px;
    }

    .voice-selection select {
        padding: 5px;
        font-size: 16px;
        border-radius: 4px;
    }

.btn {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary {
    background-color: #007BFF;
    color: white;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

.btn-success {
    background-color: #28a745;
    color: white;
}

    .btn-success:hover {
        background-color: #218838;
    }

.progress-bar-container {
    margin-top: 20px;
}

.progress {
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

#progress {
    background-color: #007BFF;
    height: 20px;
    text-align: center;
    color: white;
    line-height: 20px;
}

.hidden {
    display: none;
}*/

/*/texttospeech*/

/*//New resume*//**/

/*//Till thead legend you know!! Wa tseba!!*/

:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --gray-light: #e2e8f0;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius: 0.375rem;
    --radius-lg: 0.5rem;
    --transition: all 0.2s ease-in-out;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f1f5f9;
    color: var(--dark);
    line-height: 1.6;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 0.75rem 1rem;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

    .navbar-brand img {
        margin-right: 10px;
        height: 36px;
    }

.nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    margin: 0 0.25rem;
}

    .nav-link:hover, .nav-link.active {
        color: var(--primary);
        background-color: #f1f5ff;
    }

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

/* Main Content */
.container {
    max-width: 1200px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

main {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin: 1.5rem auto;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

.card-header {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 1rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: translateY(-2px);
    }

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

    .btn-outline-primary:hover {
        background-color: var(--primary);
        color: white;
    }

/* Forms */
.form-control {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

    .form-control:focus {
        border-color: var(--primary-light);
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    }

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 1.5rem 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

    footer a {
        color: var(--gray-light);
        text-decoration: none;
        transition: var(--transition);
    }

        footer a:hover {
            color: white;
        }

/* Utility Classes */
.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow {
    box-shadow: var(--shadow);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

/* Tool Cards */
.tool-card {
    display: block;
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    margin-bottom: 1.5rem;
}

    .tool-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        color: inherit;
    }

    .tool-card i {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 1rem;
    }

    .tool-card h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .tool-card p {
        color: var(--gray);
        margin-bottom: 0;
    }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    main {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

        .navbar-brand img {
            height: 30px;
        }

    main {
        padding: 1.25rem;
        margin: 1rem auto;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    main {
        padding: 1rem;
        border-radius: 0;
    }

    .tool-card {
        padding: 1.25rem;
    }
}

/*Resume CSS **********************************************************/
/* RESUME BUILDER STYLES */
:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --gray-light: #e2e8f0;
    --radius: 0.375rem;
    --radius-lg: 0.5rem;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --transition: all 0.2s ease-in-out;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f1f5f9;
    color: var(--dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.resume-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.step-form {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

    .step-form h2 {
        color: var(--primary);
        font-size: 1.5rem;
        margin-bottom: 1rem;
        font-weight: 600;
        text-align: center;
    }

    .step-form input,
    .step-form textarea {
        width: 100%;
        padding: 0.75rem;
        margin-bottom: 1rem;
        border: 1px solid var(--gray-light);
        border-radius: var(--radius);
        font-size: 1rem;
        transition: var(--transition);
    }

        .step-form input:focus,
        .step-form textarea:focus {
            outline: none;
            border-color: var(--primary-light);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
        }

    .step-form textarea {
        min-height: 150px;
        resize: vertical;
    }

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.step-form button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

    .step-form button:first-child {
        background-color: white;
        color: var(--primary);
        border: 1px solid var(--primary);
    }

        .step-form button:first-child:hover {
            background-color: #f1f5ff;
        }

    .step-form button:last-child {
        background-color: var(--primary);
        color: white;
    }

        .step-form button:last-child:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }

.cv-download-btn {
    display: none;
    text-align: center;
    margin: 2rem 0;
}

    .cv-download-btn button {
        background-color: var(--secondary);
        color: white;
        padding: 0.75rem 2rem;
        border: none;
        border-radius: var(--radius);
        font-weight: 500;
        font-size: 1rem;
        cursor: pointer;
        transition: var(--transition);
    }

        .cv-download-btn button:hover {
            background-color: #0ea371;
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

.cv-wrapper {
    display: none;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 3rem;
    margin-top: 1.5rem;
}

    .cv-wrapper h1 {
        color: black;
        text-align: center;
        font-size: 2rem;
        margin-bottom: 1.5rem;
        margin-bottom: 0.25rem;
        font-weight: 700;
    }

    .cv-wrapper h2 {
        color: black;
        text-align: center;
        font-size: 1.5rem;
        margin-bottom: 2rem;
        font-weight: 600;
    }

    .cv-wrapper h3 {
        color: black;
        font-size: 1.25rem;
        margin: 1.25rem 0 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--gray-light);
        font-weight: 600;
    }

    .cv-wrapper p {
        margin-bottom: 0.75rem;
        line-height: 1.6;
    }

    .cv-wrapper ul {
        margin-left: 1.5rem;
    }

    .cv-wrapper li {
        margin-bottom: 0.5rem;
    }

.cv-wrapper a {
    color: black;
    text-decoration: none;
}


        .cv-wrapper a:hover {
            text-decoration: underline;
        }

@media print {
    body * {
        visibility: hidden;
    }

    .cv-wrapper, .cv-wrapper * {
        visibility: visible;
    }

    .cv-wrapper {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .cv-download-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .resume-container {
        padding: 1.5rem;
    }

    .step-form {
        padding: 1.5rem;
    }

    .cv-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .resume-container {
        padding: 1rem;
    }

    .step-form {
        padding: 1.25rem;
    }

    .button-group {
        flex-direction: column;
    }

    .cv-wrapper {
        padding: 1.5rem;
    }

        .cv-wrapper h1 {
            font-size: 1.75rem;
        }

        .cv-wrapper h2 {
            font-size: 1.25rem;
        }
}

.cv-wrapper {
    font-size: 0.9rem;
    color: black;
}

    .cv-wrapper h1 {
        color: black;
        text-align: center;
        font-size: 1.6rem;
        margin-bottom: 0.25rem !important;
        font-weight: 700;
    }

    .cv-wrapper h2 {
        color: black;
        text-align: center;
        font-size: 1.2rem;
        margin-bottom: 0.5rem !important;
        font-weight: 600;
    }

    .cv-wrapper section h3 {
        color: black;
        font-size: 1.05rem;
        margin: 1rem 0 0.25rem !important;
        padding-bottom: 0.25rem;
        border-bottom: 1px solid #ccc;
        font-weight: 600;
    }

    .cv-wrapper p,
    .cv-wrapper ul,
    .cv-wrapper li {
        color: black;
        font-size: 0.9rem;
        margin-bottom: 0.25rem !important;
        line-height: 1.4;
    }

    .cv-wrapper ul {
        margin-left: 1.25rem;
        padding-left: 0.25rem;
    }

    .cv-wrapper li {
        list-style-type: disc;
    }

    .cv-wrapper a {
        color: black;
        text-decoration: none;
    }

        .cv-wrapper a:hover {
            text-decoration: underline;
        }

@media print {
    body * {
        visibility: hidden;
    }

    .cv-wrapper, .cv-wrapper * {
        visibility: visible;
    }

    .cv-wrapper {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .cv-download-btn {
        display: none !important;
    }
}


.cv-wrapper {
    font-size: 0.9rem;
    color: black;
}

    .cv-wrapper h1 {
        color: black;
        text-align: center;
        font-size: 1.6rem;
        margin-bottom: 0.25rem !important;
        font-weight: 700;
    }

    .cv-wrapper h2 {
        color: black;
        text-align: center;
        font-size: 1.2rem;
        margin-bottom: 1.5rem !important;
        font-weight: 600;
        text-transform: uppercase;
    }

    .cv-wrapper section {
        margin-bottom: 1.5rem;
    }

        .cv-wrapper section h3 {
            color: black;
            font-size: 1.05rem;
            margin: 1rem 0 0.25rem !important;
            padding-bottom: 0.25rem;
            border-bottom: 1px solid #ccc;
            font-weight: 600;
        }

    .cv-wrapper p,
    .cv-wrapper ul,
    .cv-wrapper li {
        color: black;
        font-size: 0.9rem;
        margin-bottom: 0.25rem !important;
        line-height: 1.4;
    }

    .cv-wrapper ul {
        margin-left: 1.25rem;
        padding-left: 0.25rem;
    }

    .cv-wrapper li {
        list-style-type: disc;
    }

    .cv-wrapper a {
        color: black;
        text-decoration: none;
    }

        .cv-wrapper a:hover {
            text-decoration: underline;
        }

@media print {
    body * {
        visibility: hidden;
    }

    .cv-wrapper, .cv-wrapper * {
        visibility: visible;
    }

    .cv-wrapper {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .cv-download-btn {
        display: none !important;
    }

    @page {
        margin-bottom: 0;
        size: auto;
    }

    body::after {
        display: none; /* Hide footer */
    }
}

:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --gray-light: #e2e8f0;
    --radius: 0.375rem;
    --radius-lg: 0.5rem;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --transition: all 0.2s ease-in-out;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f1f5f9;
    color: var(--dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.resume-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.step-form {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

    .step-form h2 {
        color: var(--primary);
        font-size: 1.5rem;
        margin-bottom: 1rem;
        font-weight: 600;
        text-align: center;
    }

    .step-form input,
    .step-form textarea {
        width: 100%;
        padding: 0.75rem;
        margin-bottom: 1rem;
        border: 1px solid var(--gray-light);
        border-radius: var(--radius);
        font-size: 1rem;
        transition: var(--transition);
    }

        .step-form input:focus,
        .step-form textarea:focus {
            outline: none;
            border-color: var(--primary-light);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
        }

    .step-form textarea {
        min-height: 150px;
        resize: vertical;
    }

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.step-form button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

    .step-form button:first-child {
        background-color: white;
        color: var(--primary);
        border: 1px solid var(--primary);
    }

        .step-form button:first-child:hover {
            background-color: #f1f5ff;
        }

    .step-form button:last-child {
        background-color: var(--primary);
        color: white;
    }

        .step-form button:last-child:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }

.cv-download-btn {
    display: none;
    text-align: center;
    margin: 2rem 0;
    gap: 1rem;
}

    .cv-download-btn button {
        background-color: var(--secondary);
        color: white;
        padding: 0.75rem 2rem;
        border: none;
        border-radius: var(--radius);
        font-weight: 500;
        font-size: 1rem;
        cursor: pointer;
        transition: var(--transition);
    }

        .cv-download-btn button:hover {
            background-color: #0ea371;
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

.cv-wrapper {
    display: none;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 3rem;
    margin-top: 1.5rem;
    color: black;
}

    .cv-wrapper h1 {
        color: black;
        text-align: center;
        font-size: 1.6rem;
        margin-bottom: 0.25rem !important;
        font-weight: 700;
    }

    .cv-wrapper h2 {
        color: black;
        text-align: center;
        font-size: 1.2rem;
        margin-bottom: 1.5rem !important;
        font-weight: 600;
        text-transform: uppercase;
    }

    .cv-wrapper section {
        margin-bottom: 1.5rem;
    }

        .cv-wrapper section h3 {
            color: black;
            font-size: 1.05rem;
            margin: 1rem 0 0.25rem !important;
            padding-bottom: 0.25rem;
            border-bottom: 1px solid #ccc;
            font-weight: 600;
        }

    .cv-wrapper p,
    .cv-wrapper ul,
    .cv-wrapper li {
        color: black;
        font-size: 0.9rem;
        margin-bottom: 0.25rem !important;
        line-height: 1.4;
    }

    .cv-wrapper ul {
        margin-left: 1.25rem;
        padding-left: 0.25rem;
    }

    .cv-wrapper li {
        list-style-type: disc;
    }

    .cv-wrapper a {
        color: black;
        text-decoration: none;
    }

        .cv-wrapper a:hover {
            text-decoration: underline;
        }

@media print {
    body * {
        visibility: hidden;
    }

    .cv-wrapper, .cv-wrapper * {
        visibility: visible;
    }

    .cv-wrapper {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .cv-download-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .resume-container {
        padding: 1.5rem;
    }

    .step-form {
        padding: 1.5rem;
    }

    .cv-wrapper {
        padding: 2rem;
    }

    .cv-download-btn {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .resume-container {
        padding: 1rem;
    }

    .step-form {
        padding: 1.25rem;
    }

    .button-group {
        flex-direction: column;
    }

    .cv-wrapper {
        padding: 1.5rem;
    }

        .cv-wrapper h1 {
            font-size: 1.5rem;
        }

        .cv-wrapper h2 {
            font-size: 1.1rem;
        }
}


/*Last Last Last*/


body {
    font-family: 'Inter', sans-serif;
    background: #f1f5f9;
    padding: 2rem;
}

.resume-container {
    max-width: 800px;
    margin: auto;
}

.step-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .step-form h2 {
        margin-bottom: 1rem;
    }

    .step-form input,
    .step-form textarea {
        width: 100%;
        margin-bottom: 1rem;
        padding: 0.75rem;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

.button-group {
    display: flex;
    justify-content: space-between;
}

.cv-download-btn {
    display: none;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cv-wrapper {
    display: none;
    background: white;
    padding: 3rem;
    margin: 1.5rem 0 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

    .cv-wrapper h1,
    .cv-wrapper h2,
    .cv-wrapper h3 {
        margin-top: 1.5rem;
    }

.info-note {
    background: #e2f0fb;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #007bff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

    .info-note i {
        margin-right: 0.5rem;
        color: #007bff;
    }

ul {
    padding-left: 1.25rem;
}

@media print {
    .cv-download-btn {
        display: none !important;
    }
}





@media (max-width: 576px) {
    .resume-container {
        padding: 1rem;
        padding-top: 2rem; /* Added extra padding at top */
    }

    .step-form {
        padding: 1.25rem;
        margin-top: 1rem; /* Added margin to prevent overlap */
    }

        .step-form h2 {
            font-size: 1.3rem; /* Slightly reduced font size */
            padding-top: 0.5rem; /* Added padding */
            position: relative; /* For potential z-index adjustment */
            z-index: 1; /* Ensures text stays above other elements */
        }

    .button-group {
        flex-direction: column;
    }

    .cv-wrapper {
        padding: 1.5rem;
    }

        .cv-wrapper h1 {
            font-size: 1.5rem;
        }

        .cv-wrapper h2 {
            font-size: 1.1rem;
        }
}

/* Additional fix for very small screens */
@media (max-width: 400px) {
    .step-form h2 {
        font-size: 1.2rem; /* Further reduce font size if needed */
        word-break: keep-all; /* Prevent word breaking */
        white-space: normal; /* Ensure normal line wrapping */
    }
}



@media (max-width: 576px) {
    body {
        padding: 0.5rem; /* Reduced body padding */
        padding-bottom: 2rem; /* Extra bottom padding */
        min-height: 100vh; /* Ensure full viewport height */
        box-sizing: border-box; /* Include padding in height calc */
    }

    .resume-container {
        padding: 1rem;
        padding-top: 2rem;
        padding-bottom: 3rem; /* Added bottom buffer */
    }

    .step-form {
        padding: 1.25rem;
        margin: 1rem 0 2rem; /* Added bottom margin */
        position: relative;
    }

        .step-form h2 {
            font-size: 1.3rem;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }

    /* Bottom button group fixes */
    .button-group {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
        padding-bottom: 1rem; /* Bottom padding */
    }

    .step-form button {
        padding: 0.85rem; /* Slightly larger tap target */
    }

    /* CV preview specific fixes */
    .cv-wrapper {
        padding: 1.5rem;
        margin-bottom: 2rem; /* Bottom spacing */
    }

    /* Footer protection */
    .cv-download-btn {
        position: relative;
        z-index: 2;
        padding: 1rem 0 3rem; /* Top and bottom padding */
        margin-bottom: env(safe-area-inset-bottom); /* iPhone notch safety */
    }

    /* Input field adjustments */
    .step-form input,
    .step-form textarea {
        margin-bottom: 0.75rem; /* Tighter spacing */
    }
}

/* Extra protection for very small screens */
@media (max-width: 400px) {
    body {
        padding-bottom: 3rem; /* Larger bottom buffer */
    }

    .step-form {
        margin-bottom: 1.5rem;
    }

    .button-group {
        margin-top: 1rem;
    }

    /* Keyboard avoidance for iOS */
    @supports (-webkit-touch-callout: none) {
        body {
            padding-bottom: 5rem; /* Extra space for iOS toolbar */
        }
    }
}
/*Resume CSS *********************************************************/

/*Timer CSS **********************************************************************************/

.timer-container {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    max-width: 400px;
    margin: 2rem auto;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.timer-display {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.timer-inputs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

    .timer-inputs input {
        width: 100px;
        padding: 0.75rem;
        font-size: 1rem;
        border: 1px solid var(--gray-light);
        border-radius: var(--radius);
        transition: var(--transition);
        text-align: center;
    }

        .timer-inputs input:focus {
            outline: none;
            border-color: var(--primary-light);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
        }

.timer-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

    .timer-controls button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        font-weight: 500;
        border: none;
        border-radius: var(--radius);
        cursor: pointer;
        transition: var(--transition);
    }

#start-btn {
    background-color: var(--primary);
    color: white;
}

    #start-btn:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
    }

#pause-btn {
    background-color: #facc15; /* Tailwind yellow-400 */
    color: #1e293b;
}

    #pause-btn:hover {
        background-color: #eab308; /* Tailwind yellow-500 */
        transform: translateY(-2px);
    }

#reset-btn {
    background-color: var(--secondary);
    color: white;
}

    #reset-btn:hover {
        background-color: #0ea371;
        transform: translateY(-2px);
    }

@media (max-width: 480px) {
    .timer-inputs {
        flex-direction: column;
    }

        .timer-inputs input {
            width: 100%;
        }

    .timer-controls {
        flex-direction: column;
    }

        .timer-controls button {
            width: 100%;
        }
}

/*Timer CSS **********************************************************************************/

/*Document conv CSS *****************************************************************************/
.doc-conversion-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
    transition: var(--transition);
}

.file-upload-area {
    margin-bottom: 1.5rem;
}

.custom-file-label {
    display: inline-block;
    background-color: var(--gray-light);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--gray);
}

    .custom-file-label:hover {
        background-color: #e0e7ef;
        border-color: var(--primary-light);
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    }

#file-name {
    font-size: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
    }

.btn-success {
    background-color: var(--secondary);
    color: white;
}

    .btn-success:hover {
        background-color: #0ea371;
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

.progress-bar-container {
    margin-top: 1.5rem;
    width: 100%;
}

.progress {
    height: 1rem;
    background-color: var(--gray-light);
    border-radius: var(--radius);
    overflow: hidden;
}

#progress {
    height: 100%;
    background-color: var(--primary);
    color: white;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1rem;
    transition: width 0.3s ease;
}

#download-link-container {
    margin-top: 2rem;
}

/*Document conv CSS **********************************************************************************/

/*QR code legend CSS ************************************************************************************/
.qr-generator-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
    transition: var(--transition);
}

.qr-input-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.qr-input {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray);
    font-size: 1rem;
    width: 100%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .qr-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
        outline: none;
    }

.qr-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-box {
    padding: 1rem;
    background-color: var(--gray-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: inline-block;
}

.download-btn {
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
}

/*QR code legend CSS ********************************************************************************************/
.qr-generator-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
    transition: var(--transition);
}

.qr-input-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.qr-input {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray);
    font-size: 1rem;
    width: 100%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .qr-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
        outline: none;
    }

.qr-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-box {
    padding: 1rem;
    background-color: var(--gray-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: inline-block;
}

.download-btn {
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
}

/*QR code legend CSS ********************************************************************************************/

/*Image Compression CSS ********************************************************************************************/
/*.image-compressor-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 2rem auto;
    transition: var(--transition);
}

.file-upload-section {
    margin-bottom: 1.5rem;
    text-align: center;
}

.custom-file-upload {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px dashed var(--gray);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    color: var(--text);
    background-color: var(--gray-light);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .custom-file-upload:hover {
        background-color: var(--gray-lighter);
        border-color: var(--primary);
    }

    .custom-file-upload i {
        margin-right: 0.5rem;
    }

    .custom-file-upload input[type="file"] {
        display: none;
    }

.quality-section {
    margin-bottom: 1.5rem;
    text-align: center;
}

.quality-slider {
    width: 100%;
    margin-top: 0.5rem;
}

.file-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.info-item {
    display: flex;
    gap: 0.5rem;
}

.info-label {
    font-weight: 600;
    color: var(--text);
}

.max-dimension {
    margin-bottom: 1.5rem;
    text-align: center;
}

.dimension-input {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

    .dimension-input input {
        width: 100px;
        padding: 0.5rem;
        border-radius: var(--radius);
        border: 1px solid var(--gray);
        font-size: 1rem;
    }

.image-preview {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.preview-box {
    flex: 1 1 300px;
    text-align: center;
}

.preview-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.preview-canvas {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
}

.action-buttons {
    text-align: center;
    margin-top: 2rem;
}

.btn-compress,
.btn-download {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn-compress {
    background-color: var(--primary);
    color: white;
    border: none;
}

    .btn-compress:hover {
        background-color: var(--primary-dark);
    }

.btn-download {
    background-color: var(--primary-dark);
    color: white;
    margin-left: 1rem;
    margin-bottom: 0.5rem;
}

    .btn-download:hover {
        background-color: var(--primary-light);
    }*/
.image-compressor-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 2rem auto;
    transition: var(--transition);
    padding-bottom: 10rem; /* Adjust this based on footer height */
    padding-top: 6rem; /* If there's a fixed top menu */
}

.file-upload-section {
    margin-bottom: 1.5rem;
    text-align: center;
}

.custom-file-upload {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px dashed var(--gray);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    color: var(--text);
    background-color: var(--gray-light);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .custom-file-upload:hover {
        background-color: var(--gray-lighter);
        border-color: var(--primary);
    }

    .custom-file-upload i {
        margin-right: 0.5rem;
    }

    .custom-file-upload input[type="file"] {
        display: none;
    }

.quality-section {
    margin-bottom: 1.5rem;
    text-align: center;
}

.quality-slider {
    width: 100%;
    margin-top: 0.5rem;
}

.file-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.info-item {
    display: flex;
    gap: 0.5rem;
}

.info-label {
    font-weight: 600;
    color: var(--text);
}

.max-dimension {
    margin-bottom: 1.5rem;
    text-align: center;
}

.dimension-input {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

    .dimension-input input {
        width: 100px;
        padding: 0.5rem;
        border-radius: var(--radius);
        border: 1px solid var(--gray);
        font-size: 1rem;
    }

.image-preview {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.preview-box {
    flex: 1 1 300px;
    text-align: center;
    min-width: 0; /* Prevent flex item overflow */
}

.preview-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.preview-canvas {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
}

.action-buttons {
    text-align: center;
    margin-top: 2rem;
    padding-bottom: 1rem; /* Bottom padding */
}

.btn-compress,
.btn-download {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-decoration: none;
    margin: 0.25rem; /* Small gap for mobile */
}

.btn-compress {
    background-color: var(--primary);
    color: white;
    border: none;
}

    .btn-compress:hover {
        background-color: var(--primary-dark);
    }

.btn-download {
    background-color: var(--primary-dark);
    color: white;
    margin-left: 1rem;
}

    .btn-download:hover {
        background-color: var(--primary-light);
    }

/* Mobile Optimizations */
@media (max-width: 768px) {
    .image-compressor-container {
        padding: 1.5rem;
        margin: 1.5rem auto;
        border-radius: var(--radius);
    }

    .file-upload-section {
        margin-bottom: 1rem;
    }

    .custom-file-upload {
        padding: 0.85rem;
        width: 100%;
        box-sizing: border-box;
    }

    .dimension-input {
        flex-direction: column;
        gap: 0.75rem;
    }

        .dimension-input input {
            width: 100%;
            max-width: 150px;
        }

    .image-preview {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .preview-box {
        flex: 1 1 100%;
    }

    .action-buttons {
        margin-top: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-compress,
    .btn-download {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .image-compressor-container {
        padding: 1.25rem;
        margin: 1rem auto;
        padding-bottom: 2rem; /* Extra bottom padding */
    }

    body {
        padding-bottom: 3rem; /* Prevents bottom clipping */
    }

    .file-info {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin: 1rem 0;
    }

    /* iOS-specific fixes */
    @supports (-webkit-touch-callout: none) {
        .image-compressor-container {
            padding-bottom: max(2rem, env(safe-area-inset-bottom));
        }

        .action-buttons {
            padding-bottom: env(safe-area-inset-bottom);
        }
    }
}

/* Very small devices (phones, 400px and below) */
@media (max-width: 400px) {
    .image-compressor-container {
        padding: 1rem;
        margin: 0.75rem auto;
        padding-bottom: 5rem; /* Adjust this based on footer height */
        padding-top: 3rem; /* If there's a fixed top menu */
    }

    .btn-compress,
    .btn-download {
        padding: 0.85rem;
        font-size: 0.9rem;
    }

    .preview-label {
        font-size: 0.95rem;
    }
}
/*image compression CSS ********************************************************************************************/

/*Thumbnail CSS ********************************************************************************************************/

.thumbnail-tool {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 2rem auto;
    transition: var(--transition);
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.url-input {
    flex: 1 1 60%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray);
    font-size: 1rem;
    min-width: 250px;
}

.btn-fetch {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

    .btn-fetch:hover {
        background-color: var(--primary-dark);
    }

.thumbnail-result {
    margin-top: 2rem;
    text-align: center;
}

    .thumbnail-result.hidden {
        display: none;
    }

.preview-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

.thumbnail-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.thumbnail-img {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
}

.new-download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dl-btn {
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    color: white;
    transition: background-color 0.3s ease;
}

.hd-btn {
    background-color: var(--success);
}

    .hd-btn:hover {
        background-color: var(--success-dark);
    }

.sd-btn {
    background-color: var(--info);
}

    .sd-btn:hover {
        background-color: var(--info-dark);
    }

.default-btn {
    background-color: var(--warning);
    color: black;
}

    .default-btn:hover {
        background-color: var(--warning-dark);
    }

/* Mobile Optimization */
@media (max-width: 768px) {
    .thumbnail-tool {
        padding: 1.5rem;
        margin: 1.5rem auto;
        border-radius: var(--radius);
    }

    .input-group {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .url-input {
        flex: 1 1 100%;
        min-width: auto;
        width: 100%;
    }

    .btn-fetch {
        width: 100%;
        padding: 0.85rem;
    }

    .preview-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .thumbnail-wrapper {
        margin-bottom: 1rem;
    }

    .new-download-buttons {
        gap: 0.75rem;
    }

    .dl-btn {
        flex: 1 1 100%;
        padding: 0.85rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .thumbnail-tool {
        padding: 1.25rem;
        margin: 1rem auto;
        padding-bottom: 2rem; /* Extra bottom padding */
    }

    body {
        padding-bottom: 3rem; /* Prevents bottom clipping */
    }

    .preview-title {
        font-size: 1rem;
    }

    /* iOS-specific fixes */
    @supports (-webkit-touch-callout: none) {
        .thumbnail-tool {
            padding-bottom: max(2rem, env(safe-area-inset-bottom));
        }
    }
}

/* Very small devices (phones, 400px and below) */
@media (max-width: 400px) {
    .thumbnail-tool {
        padding: 1rem;
        margin: 0.75rem auto;
    }

    .btn-fetch, .dl-btn {
        font-size: 0.9rem;
    }
}







/*Thumbnail CSS *******************************************************************************************/

/*text Tool CSS ***********************************************************************************************/

.text-tool-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 2rem auto;
    transition: var(--transition);
}

.text-area {
    width: 100%;
    height: 200px;
    padding: 1rem;
    font-size: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray-light);
    resize: vertical;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.3s ease;
}

    .text-area:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(100, 149, 237, 0.2);
    }

.text-tool-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
    }

.results-container {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--gray-lightest);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    font-size: 1rem;
    color: var(--text);
}

/*text Tool CSS ***********************************************************************************************/

/*Life CSS *******************************************************************************************************/
/* Add this to the top of your CSS to set viewport properly */
html, body {
    width: 100%;
    overflow-x: hidden;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9f9f9;
    color: #222;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

/* Ensure container doesn't overflow */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem; /* reduce padding for smaller screens */
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    text-align: center;
        padding: 3rem 1rem;
    border-radius: 0 0 30px 30px;
}

/* Topic Section */
.topic-section {
    padding: 2rem 1rem;
    margin: 1rem auto;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background-color: #fff;
    width: 100%;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Adjust cards */
.card {
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    background-color: #fdfdfd;
    transition: transform 0.2s ease;
}

/* Responsive */
@media (min-width: 600px) {
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .topic-section h2 {
        font-size: 1.4rem;
    }

    .card h3 {
        font-size: 1.2rem;
    }
}

/*//Twooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo*/

/* Base Styles */
/*:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #f5f7fa;
    --dark-color: #333;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --danger-color: #e74c3c;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}
*/
/*.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
*/
/* Hero Section */
/*.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2980b9 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

    .hero-section h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .hero-section p {
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto 30px;
        opacity: 0.9;
    }*/

/* Button Styles */
/*.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

    .btn-primary:hover {
        background-color: transparent;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.btn-block {
    display: block;
    max-width: 200px;
    margin: 0 auto;
}*/

/* Topic Sections */
/*.topic-section {
    margin-bottom: 50px;
}

    .topic-section h2 {
        font-size: 1.8rem;
        color: var(--secondary-color);
        margin-bottom: 30px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--light-color);
    }*/

/* Card Grid */
/*.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}*/

/* Card Styles - Matching BMI Calculator Design */
/*.card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    }

    .card h3 {
        font-size: 1.4rem;
        color: var(--secondary-color);
        margin-top: 0;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .card p {
        color: var(--text-color);
        margin-bottom: 20px;
    }*/

    /* List Styles */
    /*.card ol {
        padding-left: 20px;
        margin: 0;
    }

        .card ol li {
            margin-bottom: 12px;
            padding-left: 10px;
        }

            .card ol li strong {
                color: var(--secondary-color);
            }*/

/* Category Tags */
/*.category-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.health-tag {
    background-color: rgba(46, 204, 113, 0.2);
    color: #27ae60;
}

.finance-tag {
    background-color: rgba(52, 152, 219, 0.2);
    color: #2980b9;
}

.tech-tag {
    background-color: rgba(155, 89, 182, 0.2);
    color: #8e44ad;
}

.self-improvement-tag {
    background-color: rgba(241, 196, 15, 0.2);
    color: #f39c12;
}

.travel-tag {
    background-color: rgba(231, 76, 60, 0.2);
    color: #c0392b;
}*/

/* Responsive Design */
/*@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }
}*/

/* Additional BMI-Styled Elements */
/*.info-box {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

    .info-box h4 {
        margin-top: 0;
        color: var(--secondary-color);
        font-size: 1.2rem;
    }

    .info-box ul {
        padding-left: 20px;
    }

        .info-box ul li {
            margin-bottom: 8px;
        }*/
/*Life CSS ********************************************************************************************************/

/*Weather CSS ********************************************************************************************************/


/*.weather-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    max-width: 320px;
    margin-bottom: 5.5rem;
}

    .weather-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }

.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.weather-location {
    font-weight: 600;
    font-size: 1.2rem;
    color: #2d3748;
    margin: 0;
}

.weather-temp {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.weather-icon {
    width: 64px;
    height: 64px;
}

.refresh-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #4a5568;
    transition: transform 0.3s;
    padding: 0.25rem;
}

    .refresh-btn:hover {
        transform: rotate(90deg);
    }

.weather-loading {
    opacity: 0.6;
    pointer-events: none;
}*/
/* Unit Toggle Styles */
/*.unit-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.unit-btn {
    border: none;
    font-weight: 600;
    padding: 0.25rem 1rem;
    transition: all 0.2s;
}

    .unit-btn.active {
        background: #0d6efd;
        color: white;
    }

    .unit-btn:not(.active) {
        background: transparent;
        color: #495057;
    }

    .unit-btn:first-child {
        border-radius: 50px 0 0 50px !important;
    }

    .unit-btn:last-child {
        border-radius: 0 50px 50px 0 !important;
    }*/

/* Weather Widget Container */
/*.weather-widget-container {
    min-height: calc(100vh - 300px);*/ /* Adjust 300px based on your header/footer height */
    /*padding-bottom: 80px;*/ /* Creates safe space above footer */
    /*position: relative;
}*/

/* Existing weather card styles (keep all your current styles) */
/*.weather-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    max-width: 320px;
    margin-bottom: 2rem;*/ /* Reduced from 5.5rem */
/*}*/

/* Unit Toggle Container - Updated Positioning */
/*.unit-toggle-wrapper {
    position: sticky;
    bottom: 20px;
    z-index: 10;
    margin-top: 2rem;
    padding-top: 1rem;
    background: linear-gradient(to top, white 50%, transparent);
}

.unit-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: inline-block;
    position: relative;
}*/

/* Footer Protection */
/*@media (max-height: 700px) {
    .weather-widget-container {
        min-height: 600px;
    }

    .unit-toggle-wrapper {
        position: static;
        margin-top: 3rem;
    }
}
body {
    padding-bottom: 80px;*/ /* Matches the unit toggle height */
/*}*/


    /* Base Dashboard Styles */
    .weather-dashboard {
        font-family: 'Inter', sans-serif;
        color: #333;
        max-width: 1400px;
        margin: 0 auto;
        padding: 20px;
    }

    .dashboard-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        gap: 20px;
        flex-wrap: wrap;
    }

    .search-container {
        flex-grow: 1;
        display: flex;
        max-width: 600px;
    }

    .search-input {
        border-radius: 50px 0 0 50px;
        padding: 12px 20px;
        border-right: none;
    }

    .search-btn {
        border-radius: 0 50px 50px 0;
        padding: 12px 25px;
    }

    .unit-toggle {
        display: flex;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50px;
        padding: 5px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .unit-btn {
        border: none;
        background: none;
        padding: 8px 15px;
        font-weight: 600;
        cursor: pointer;
        border-radius: 50px;
        transition: all 0.2s;
    }

        .unit-btn.active {
            background: #0d6efd;
            color: white;
        }
    /* Current Weather Panel */
    .dashboard-container {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }

    .current-weather-panel {
        flex: 1;
        min-width: 350px;
        background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

    .current-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

        .current-header h2 {
            margin: 0;
            font-size: 1.8rem;
            color: #2d3748;
        }

    .last-updated {
        font-size: 0.9rem;
        color: #6b7280;
    }

    .current-main {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 20px 0;
    }

    .primary-info {
        display: flex;
        flex-direction: column;
    }

    .temperature {
        font-size: 3.5rem;
        font-weight: 700;
        line-height: 1;
    }

    .condition {
        font-size: 1.2rem;
        color: #4b5563;
        margin-top: 5px;
    }

    .weather-icon {
        width: 100px;
        height: 100px;
    }

    .current-details {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        margin-top: 25px;
    }

    .detail-item {
        background: rgba(255, 255, 255, 0.7);
        padding: 12px;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .detail-item i {
            font-size: 1.2rem;
            color: #0d6efd;
            margin-bottom: 5px;
        }

        .detail-item span:last-child {
            font-weight: 600;
            margin-top: 3px;
        }
    /* Forecast Panels */
    .forecast-container {
        flex: 2;
        min-width: 350px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .forecast-panel {
        background: white;
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

        .forecast-panel h3 {
            margin-top: 0;
            margin-bottom: 15px;
            color: #2d3748;
            display: flex;
            align-items: center;
            gap: 10px;
        }

    .hourly-container {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .hourly-item {
        min-width: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
        background: rgba(245, 247, 250, 0.7);
        border-radius: 10px;
    }

    .daily-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .daily-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        background: rgba(245, 247, 250, 0.7);
        border-radius: 10px;
    }

    .aqi-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .aqi-item {
        display: flex;
        justify-content: space-between;
    }

    .aqi-value {
        font-weight: 600;
        padding: 3px 10px;
        border-radius: 50px;
    }
    /* Map Panel */
    .map-container {
        margin-top: 30px;
        background: white;
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    .map-placeholder {
        height: 300px;
        background: #f5f7fa;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 15px;
    }
    /* Responsive Adjustments */
    @media (max-width: 1200px) {
        .dashboard-container {
            flex-direction: column;
        }

        .current-details {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 768px) {
        .dashboard-header {
            flex-direction: column;
            align-items: stretch;
        }

        .search-container {
            max-width: 100%;
        }

        .current-details {
            grid-template-columns: repeat(2, 1fr);
        }

        .temperature {
            font-size: 3rem;
        }
    }

/* AQI Color Classes */
.aqi-value.good {
    background: #009966;
    color: white;
}

.aqi-value.moderate {
    background: #ffde33;
    color: #333;
}

.aqi-value.usg {
    background: #ff9933;
    color: white;
}

.aqi-value.unhealthy {
    background: #cc0033;
    color: white;
}

.aqi-value.very-unhealthy {
    background: #660099;
    color: white;
}

.aqi-value.hazardous {
    background: #7e0023;
    color: white;
}
.dashboard-container {
    overflow-x: auto;
}
.container {
    overflow: auto; /* or scroll */
}
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

/*//Addition ****u88*****************************************************/
/* Add these to your existing CSS */

/* 1. Prevent horizontal overflow on the entire page */
body {
    overflow-x: hidden;
    width: 100%;
}

/* 2. Adjust the weather dashboard container */
.weather-dashboard {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

/* 3. Fix the dashboard container layout */
.dashboard-container {
    flex-direction: column;
    width: 100%;
    min-width: 0; /* Important for flex children */
}

/* 4. Adjust current weather panel for mobile */
.current-weather-panel {
    min-width: 0; /* Override the 350px min-width */
    width: 100%;
    box-sizing: border-box;
}

/* 5. Make forecast container full width */
.forecast-container {
    min-width: 0;
    width: 100%;
}

/* 6. Adjust current details grid for mobile */
.current-details {
    grid-template-columns: repeat(2, 1fr);
}

/* 7. Improve hourly forecast scrolling */
.hourly-container {
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.hourly-item {
    min-width: 70px; /* Reduce from 80px */
    padding: 8px;
}

/* 8. Adjust search header for mobile */
.dashboard-header {
    flex-direction: column;
    gap: 15px;
}

.search-container {
    width: 100%;
}

/* 9. Make unit toggle full width on mobile */
.unit-toggle {
    width: 100%;
    justify-content: center;
}

/* 10. Temperature font size adjustment */
.temperature {
    font-size: 2.8rem;
}

/* 11. Weather icon size adjustment */
.weather-icon {
    width: 80px;
    height: 80px;
}

/* 12. Additional mobile-specific media query */
@media (max-width: 480px) {
    .current-main {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .current-details {
        grid-template-columns: 1fr;
    }

    .temperature {
        font-size: 2.5rem;
    }

    .search-input, .search-btn {
        padding: 10px 15px;
    }
}

/*Weather CSS ********************************************************************************************************************/

/*BMI Calculator CSS *****************************************************************************************************************/

/* Main Container Styling */
.bmi-calculator {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    color: #333;
}

/* Header Styling */
.bmi-header {
    text-align: center;
    margin-bottom: 25px;
}

    .bmi-header h2 {
        color: #2c3e50;
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .bmi-header p {
        color: #7f8c8d;
        font-size: 14px;
    }

/* Input Section Styling */
.input-group {
    margin-bottom: 20px;
}

    .input-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #2c3e50;
        font-size: 14px;
    }

    .input-group input {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.3s;
    }

        .input-group input:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
        }

.unit-toggle {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

    .unit-toggle button {
        background: none;
        border: 1px solid #ddd;
        padding: 6px 12px;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.3s;
    }

        .unit-toggle button:first-child {
            border-radius: 5px 0 0 5px;
        }

        .unit-toggle button:last-child {
            border-radius: 0 5px 5px 0;
        }

        .unit-toggle button.active {
            background: #3498db;
            color: white;
            border-color: #3498db;
        }

/* Button Styling */
.calculate-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
}

    .calculate-btn:hover {
        background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    }

/* Results Section Styling */
.results {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: none;
}

    .results h3 {
        margin-top: 0;
        color: #2c3e50;
        font-size: 18px;
    }

.bmi-value {
    font-size: 42px;
    font-weight: 700;
    margin: 15px 0;
}

.bmi-category {
    font-size: 18px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}

.bmi-scale {
    height: 10px;
    background: linear-gradient(to right, #3498db, #2ecc71, #f1c40f, #e74c3c);
    border-radius: 5px;
    margin-bottom: 15px;
    position: relative;
}

.bmi-marker {
    position: absolute;
    top: -5px;
    width: 4px;
    height: 20px;
    background: #2c3e50;
    transform: translateX(-50%);
}

.bmi-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #7f8c8d;
}

/* Info Section Styling */
.bmi-info {
    margin-top: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
}

    .bmi-info h4 {
        margin-top: 0;
        color: #2c3e50;
    }

    .bmi-info ul {
        padding-left: 20px;
        margin-bottom: 0;
    }

/* Responsive Design */
@media (max-width: 600px) {
    .bmi-calculator {
        padding: 15px;
    }
}

/*BMI Calculator CSS *****************************************************************************************************************************************/

























/* Prevent horizontal overflow on small screens */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Ensure containers don't exceed viewport width */
* {
    box-sizing: border-box;
    max-width: 100%;
}

/*Wholw site!! Dont touch form address after... **********************************************************/
body {
    padding-top: 70px; /* Adjust based on actual navbar height */
    padding-bottom: 100px; /* Adjust based on footer height */
    /*Rsume new SEO*/
    /* Intro Section (Top) */
    .resume-intro

{
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    padding: 1rem 1.5rem;
}

.resume-intro h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b; /* dark slate */
    margin-bottom: 0.75rem;
}

.resume-intro p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #475569; /* slate gray */
    margin: 0;
}

/* SEO Section (Bottom) */
.resume-seo {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem 1.5rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .resume-seo h2 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1e293b;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .resume-seo p {
        font-size: 1rem;
        line-height: 1.7;
        color: #475569;
        margin-bottom: 1.25rem;
    }

    .resume-seo ul {
        margin: 0 0 1.5rem 1.25rem;
        padding: 0;
        list-style: none;
    }

        .resume-seo ul li {
            position: relative;
            padding-left: 1.75rem;
            margin-bottom: 0.75rem;
            font-size: 1rem;
            line-height: 1.6;
            color: #334155;
        }

            .resume-seo ul li::before {
                content: "✔";
                position: absolute;
                left: 0;
                top: 0;
                color: #16a34a; /* green */
                font-weight: 600;
            }

    /* FAQ Section */
    .resume-seo .faq h3 {
        font-size: 1.125rem;
        font-weight: 600;
        color: #0f172a;
        margin-top: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .resume-seo .faq p {
        font-size: 0.95rem;
        color: #475569;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

/* Responsive */
@media (max-width: 640px) {
    .resume-intro h1 {
        font-size: 1.5rem;
    }

    .resume-intro p {
        font-size: 1rem;
    }

    .resume-seo {
        padding: 1.5rem 1rem;
    }

        .resume-seo h2 {
            font-size: 1.25rem;
        }
}

}





















/* Timer SEO styling */
.seo-top {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    text-align: center;
}

.seo-bottom {
    margin-top: 30px;
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    background-color: #fefefe;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

    .seo-bottom h2 {
        font-size: 20px;
        margin-bottom: 10px;
        color: #0073e6;
    }

    .seo-bottom h3 {
        font-size: 16px;
        margin-top: 15px;
        margin-bottom: 8px;
    }

    .seo-bottom ul {
        padding-left: 20px;
        margin: 10px 0;
    }

    .seo-bottom li {
        margin-bottom: 6px;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .seo-top {
        font-size: 13px;
    }

    .seo-bottom {
        font-size: 13px;
        padding: 15px;
    }

        .seo-bottom h2 {
            font-size: 18px;
        }

        .seo-bottom h3 {
            font-size: 15px;
        }
}












/* Document Converter SEO styling */
.seo-top {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    text-align: center;
}

.seo-bottom {
    margin-top: 30px;
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    background-color: #fefefe;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

    .seo-bottom h2 {
        font-size: 20px;
        margin-bottom: 10px;
        color: #0073e6;
    }

    .seo-bottom h3 {
        font-size: 16px;
        margin-top: 15px;
        margin-bottom: 8px;
    }

    .seo-bottom ul {
        padding-left: 20px;
        margin: 10px 0;
    }

    .seo-bottom li {
        margin-bottom: 6px;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .seo-top {
        font-size: 13px;
    }

    .seo-bottom {
        font-size: 13px;
        padding: 15px;
    }

        .seo-bottom h2 {
            font-size: 18px;
        }

        .seo-bottom h3 {
            font-size: 15px;
        }
}
























/* QR Code Generator SEO styling */
.seo-top {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    text-align: center;
}

.seo-bottom {
    margin-top: 30px;
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    background-color: #fefefe;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

    .seo-bottom h2 {
        font-size: 20px;
        margin-bottom: 10px;
        color: #0073e6;
    }

    .seo-bottom h3 {
        font-size: 16px;
        margin-top: 15px;
        margin-bottom: 8px;
    }

    .seo-bottom ul {
        padding-left: 20px;
        margin: 10px 0;
    }

    .seo-bottom li {
        margin-bottom: 6px;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .seo-top {
        font-size: 13px;
    }

    .seo-bottom {
        font-size: 13px;
        padding: 15px;
    }

        .seo-bottom h2 {
            font-size: 18px;
        }

        .seo-bottom h3 {
            font-size: 15px;
        }
}
























/* Image Compressor SEO styling */
.seo-top {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    text-align: center;
}

.seo-bottom {
    margin-top: 30px;
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    background-color: #fefefe;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

    .seo-bottom h2 {
        font-size: 20px;
        margin-bottom: 10px;
        color: #0073e6;
    }

    .seo-bottom h3 {
        font-size: 16px;
        margin-top: 15px;
        margin-bottom: 8px;
    }

    .seo-bottom ul {
        padding-left: 20px;
        margin: 10px 0;
    }

    .seo-bottom li {
        margin-bottom: 6px;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .seo-top {
        font-size: 13px;
    }

    .seo-bottom {
        font-size: 13px;
        padding: 15px;
    }

        .seo-bottom h2 {
            font-size: 18px;
        }

        .seo-bottom h3 {
            font-size: 15px;
        }
}























/* Thumbnail Downloader SEO styling */
.seo-top {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    text-align: center;
}

.seo-bottom {
    margin-top: 30px;
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    background-color: #fefefe;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

    .seo-bottom h2 {
        font-size: 20px;
        margin-bottom: 10px;
        color: #333; /* changed from red to neutral dark */
    }

    .seo-bottom h3 {
        font-size: 16px;
        margin-top: 15px;
        margin-bottom: 8px;
    }

    .seo-bottom ul {
        padding-left: 20px;
        margin: 10px 0;
    }

    .seo-bottom li {
        margin-bottom: 6px;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .seo-top {
        font-size: 13px;
    }

    .seo-bottom {
        font-size: 13px;
        padding: 15px;
    }

        .seo-bottom h2 {
            font-size: 18px;
        }

        .seo-bottom h3 {
            font-size: 15px;
        }
}

































.text-tool-container {
    max-width: 720px;
    margin: 40px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    font-family: 'Arial', sans-serif;
}

    .text-tool-container h2 {
        text-align: center;
        margin-bottom: 8px;
        font-size: 28px;
        font-weight: 600;
        color: #333;
    }

    .text-tool-container .tool-description {
        text-align: center;
        color: #666;
        font-size: 16px;
        margin-bottom: 25px;
    }

.text-area {
    width: 100%;
    min-height: 180px;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

    .text-area:focus {
        border-color: #2ecc71;
        outline: none;
    }

.text-tool-buttons {
    margin-top: 20px;
    text-align: right;
}

.btn {
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #2ecc71;
    color: #fff;
}

    .btn-primary:hover {
        background-color: #27ae60;
    }

.results-container {
    margin-top: 25px;
    background-color: #f8f8f8;
    padding: 18px;
    border-radius: 8px;
    min-height: 70px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    font-size: 16px;
    color: #333;
}
