* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
    color: #fff;
    min-height: 100vh;
    padding: 20px;
    background-attachment: fixed;
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 40vh;
}

/* Base Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #64b5f6, #1e88e5);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.5);
    background: linear-gradient(135deg, #1e88e5, #64b5f6);
}

.btn:active {
    transform: translateY(0);
}

.btn-success {
    background: linear-gradient(135deg, #43a047, #2e7d32);
    box-shadow: 0 4px 15px rgba(67, 160, 71, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #388e3c, #1b5e20);
    box-shadow: 0 6px 20px rgba(56, 142, 60, 0.5);
}

.btn-danger {
    background: linear-gradient(135deg, #e53935, #c62828);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.submit-btn:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.6s;
}

.submit-btn:hover:after {
    left: 140%;
}

.browse-btn {
    padding: 12px 30px;
}

/* Header */
header, .modern-header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}
.modern-header {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: visible;
    z-index: 1000;
}
 .modern-btn {
            display: inline-block;
            background: linear-gradient(135deg, #64b5f6, #1e88e5);
            color: white;
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
            border: none;
            cursor: pointer;
            font-size: 1rem;
            width: 100%;
            text-align: center;
        }

        .modern-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(30, 136, 229, 0.5);
            background: linear-gradient(135deg, #1e88e5, #64b5f6);
        }


header h1, .modern-header h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    background: linear-gradient(to right, #64b5f6, #f8f9fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.subtitle, .modern-header p {
    font-size: 1.4rem;
    opacity: 0.85;
    max-width: 800px;
    margin: 0 auto;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Navigation */
.modern-header {
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand h1 {
    font-size: 1.8rem;
}

.brand-icon {
    font-size: 2rem;
    color: #64b5f6;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: block;
}

.nav-link:hover {
    background: rgba(100, 181, 246, 0.2);
    transform: translateY(-3px);
}

.nav-link.active {
    background: rgba(100, 181, 246, 0.3);
    box-shadow: 0 0 15px rgba(100, 181, 246, 0.5);
}

.dropdown-btn {
    background: rgba(100, 181, 246, 0.2);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.dropdown-btn:hover {
    background: rgba(100, 181, 246, 0.3);
    transform: translateY(-3px);
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 520px;
    z-index: 1002;
    display: none;
    padding: 15px;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Input Fields */
.input-container {
    margin-bottom: 25px;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 500;
    color: #e0e0e0;
    font-size: 1.1rem;
}

.input-field {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(100, 181, 246, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: #64b5f6;
    box-shadow: 0 0 15px rgba(100, 181, 246, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.file-input-container {
    position: relative;
    margin-bottom: 30px;
}

.file-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.file-input-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(100, 181, 246, 0.4);
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(100, 181, 246, 0.05);
    cursor: pointer;
    position: relative;
}

.file-input-label:hover {
    background: rgba(100, 181, 246, 0.1);
    border-color: rgba(100, 181, 246, 0.7);
}

.file-input-label i {
    font-size: 3.5rem;
    color: #64b5f6;
    margin-bottom: 20px;
}

.file-input-text {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #e0e0e0;
}

#file-name {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #64b5f6;
    font-weight: 500;
}

/* Toolbar */
.toolbar {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    padding: 25px;
    width: 280px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.tool-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tool-section h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #64b5f6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tool-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #e0e0e0;
}

.tool-section input,
.tool-section select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(100, 181, 246, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-bottom: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.tool-section input:focus,
.tool-section select:focus {
    outline: none;
    border-color: #64b5f6;
    box-shadow: 0 0 10px rgba(100, 181, 246, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.tool-section select option {
    background: #1a2a6c;
    padding: 10px;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Main Content */
.main-content {
    display: flex;
    flex: 1;
    gap: 25px;
}

/* PDF Viewer */
.pdf-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pdf-viewer {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.controls {
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-controls,
.zoom-controls {
    display: flex;
    gap: 12px;
}

.page-info {
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 1.1rem;
}

#pdf-container {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: auto;
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
}

#konva-container {
    position: absolute;
    top: 0;
    left: 0;
}

/* Thumbnails */
.thumbnails-container {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.thumbnails-container h2 {
    margin-bottom: 20px;
    color: #64b5f6;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    max-height: 250px;
    overflow-y: auto;
    padding: 10px;
}

.thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 120px;
    object-fit: cover;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail:hover {
    transform: translateY(-5px);
    border-color: #4a90e2;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.thumbnail.active {
    border-color: #64b5f6;
    box-shadow: 0 0 15px rgba(100, 181, 246, 0.7);
}

/* Tool Grid */
.tool-grid {
    /* gap: 28px; */
    padding: 20px 0;
}
.tool-grid1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
    padding: 20px 0;
    max-height: calc(100vh - 150px); 
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: thin;
    scrollbar-color: #64b5f6 rgba(0, 0, 0, 0.3);
}
.tool-grid1::-webkit-scrollbar {
    width: 8px;
}

.tool-grid1::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

.tool-grid1::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #64b5f6, #1e88e5);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.tool-grid1::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1e88e5, #64b5f6);
    box-shadow: 0 3px 8px rgba(100, 181, 246, 0.5);
}

.tool-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tool-link:hover {
    background: rgba(100, 181, 246, 0.2);
    transform: translateX(5px);
}

.tool-link i {
    color: #64b5f6;
    width: 25px;
    text-align: center;
}

/* Card Design */
.modern-card {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.modern-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(100, 181, 246, 0.4);
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #64b5f6, #e53935, #64b5f6);
    z-index: -1;
    transition: height 0.4s ease;
}

.modern-card:hover::before {
    height: 100%;
}

.card-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(100, 181, 246, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 30px;
    color: #64b5f6;
    transition: all 0.3s ease;
}

.modern-card:hover .card-icon {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #f8f9fa;
    font-weight: 600;
}

.card-text {
    font-size: 1rem;
    margin-bottom: 25px;
    color: #e0e0e0;
    line-height: 1.6;

  
   
    
 
   
}

/* Footer */
footer, .modern-footer {
    text-align: center;
    padding: 25px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    margin-top: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.footer-signature {
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(to right, #64b5f6, #e53935);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #64b5f6;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px);
    background: rgba(100, 181, 246, 0.3);
    box-shadow: 0 5px 15px rgba(100, 181, 246, 0.4);
    color: #fff;
}

.shortcuts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.shortcut {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shortcut:hover {
    transform: translateY(-3px);
    background: rgba(100, 181, 246, 0.3);
    box-shadow: 0 5px 15px rgba(100, 181, 246, 0.4);
}

/* Status Bar */
.status-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    z-index: 1000;
    display: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Tool Counter */
.tool-counter {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.counter-number {
    font-weight: 700;
    font-size: 1.8rem;
    color: #64b5f6;
    display: inline-block;
    margin: 0 5px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.toolbar, .pdf-viewer, .thumbnails-container, footer, .modern-card {
    animation: fadeInUp 0.6s ease forwards;
}

.modern-card:nth-child(1) { animation-delay: 0.1s; }
.modern-card:nth-child(2) { animation-delay: 0.2s; }
.modern-card:nth-child(3) { animation-delay: 0.3s; }
.modern-card:nth-child(4) { animation-delay: 0.4s; }
.modern-card:nth-child(5) { animation-delay: 0.5s; }
.modern-card:nth-child(6) { animation-delay: 0.6s; }
.modern-card:nth-child(7) { animation-delay: 0.7s; }
.modern-card:nth-child(8) { animation-delay: 0.8s; }
.modern-card:nth-child(9) { animation-delay: 0.9s; }
.modern-card:nth-child(10) { animation-delay: 1.0s; }
.modern-card:nth-child(11) { animation-delay: 1.1s; }
.modern-card:nth-child(12) { animation-delay: 1.2s; }
.modern-card:nth-child(13) { animation-delay: 1.3s; }
.modern-card:nth-child(14) { animation-delay: 1.4s; }
.modern-card:nth-child(15) { animation-delay: 1.5s; }
.modern-card:nth-child(16) { animation-delay: 1.6s; }
.modern-card:nth-child(17) { animation-delay: 1.7s; }
.modern-card:nth-child(18) { animation-delay: 1.8s; }
.modern-card:nth-child(19) { animation-delay: 1.9s; }
.modern-card:nth-child(20) { animation-delay: 2.0s; }
.modern-card:nth-child(21) { animation-delay: 2.1s; }

/* Responsive Design */
@media (max-width: 1100px) {
    .main-content {
        flex-direction: column;
    }

    .toolbar {
        width: 100%;
        position: static;
    }

    .tool-section {
        display: flex;
        flex-direction: column;
    }

    .tool-grid {
        gap: 20px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .modern-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .mobile-nav {
        width: 100%;
        display: none;
    }

    .mobile-nav.active {
        display: block;
        animation: slideDown 0.4s ease;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .mobile-nav .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        min-width: 100%;
        margin-top: 10px;
        z-index: 10000;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    /* Other mobile adjustments */
    .controls {
        flex-direction: column;
        gap: 15px;
    }

    .nav-controls, .zoom-controls {
        justify-content: center;
        flex-wrap: wrap;
    }

    header h1, .modern-header h1 {
        font-size: 2.4rem;
    }

    .subtitle, .modern-header p {
        font-size: 1.1rem;
    }

    .tool-section h2 {
        font-size: 1.3rem;
    }

    .btn {
        min-width: auto;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    #thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .brand h1 {
        font-size: 1.5rem;
    }
    
    .tool-grid1 {
        grid-template-columns: 1fr;
        max-height: none;
    }
    
    .dropdown-content {
        position: relative;
        min-width: 100%;
    }
}

/* About Page Styles */
.rounded-circle {
  border-radius: 50% !important;
}

/* Contact Page Styles */
.contact-card {
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-10px);
}

/* Hire Page Styles */
.service-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Form Success/Error Messages */
.alert {
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.alert-success {
  background: rgba(67, 160, 71, 0.2);
  border: 1px solid #43a047;
}

.alert-error {
  background: rgba(229, 57, 53, 0.2);
  border: 1px solid #e53935;
}
/* Login/Signup Styles */
.login-card, .signup-card {
  max-width: 500px;
  margin: 0 auto;
}

.social-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-login-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.bg-google { background: #DB4437; }
.bg-facebook { background: #4267B2; }
.bg-github { background: #333; }

.password-strength {
  margin-top: 5px;
}

.progress {
  background: rgba(255, 255, 255, 0.1);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  transition: width 0.5s ease;
}

/* Alert Styles */
.alert {
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.alert-success {
  background: rgba(67, 160, 71, 0.2);
  color: #a5d6a7;
}

.alert-danger {
  background: rgba(229, 57, 53, 0.2);
  color: #ef9a9a;
}

.alert-info {
  background: rgba(30, 136, 229, 0.2);
  color: #90caf9;
}

/* Form Elements */
.form-check-input {
  margin-top: 0.3em;
}

.form-check-label {
  margin-left: 5px;
  color: #e0e0e0;
}

.text-primary {
  color: #64b5f6 !important;
}

.text-muted {
  color: #b0b0b0 !important;
}
/* Dashboard Styles */
.stat-card {
  display: flex;
  align-items: center;
  padding: 20px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  height: 100%;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.15);
  margin-right: 15px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #e0e0e0;
}

.activity-list {
  list-style: none;
  padding: 0;
}

.activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-primary { background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c); }
.bg-success { background: rgba(76, 175, 80, 0.3); }
.bg-info { background: rgba(33, 150, 243, 0.3); }

.table {
  color: #e0e0e0;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
}

.table th {
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table tr {
  transition: background 0.3s ease;
}

.table tr:hover {
  background: rgba(100, 181, 246, 0.15);
}
/* Profile Page Styles */
.image-upload-btn {
  position: absolute;
  bottom: 10px;
  right: 25%;
  background: rgba(100, 181, 246, 0.9);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.image-upload-btn:hover {
  transform: scale(1.1);
  background: #1e88e5;
}

.settings-nav .nav-link {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: #e0e0e0;
  border-radius: 10px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.settings-nav .nav-link:hover,
.settings-nav .nav-link.active {
  background: rgba(100, 181, 246, 0.2);
  color: #64b5f6;
}

.session-item {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 10px;
}

.session-item:hover {
  background: rgba(100, 181, 246, 0.1);
}

.premium-card {
  position: relative;
  border: 2px solid rgba(255, 193, 7, 0.5);
}

.premium-card .premium-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, #FFC107, #FF9800);
  color: #000;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.premium-card .btn.bg-warning {
  background: linear-gradient(135deg, #FFC107, #FF9800);
  color: #000;
}

.premium-card .btn.bg-warning:hover {
  background: linear-gradient(135deg, #FF9800, #FFC107);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.5);
}

/* Form Switches */
.form-check-input {
  width: 3em;
  height: 1.5em;
}

.form-check-input:checked {
  background-color: #64b5f6;
  border-color: #64b5f6;
}
/* Chat container styling */
    #chat-container {
        display: flex;
        flex-direction: column;
        height: 400px;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
        margin-bottom: 20px;
    }
    
    #chat-box {
        flex: 1;
        padding: 20px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    /* Message styling */
    .message {
        display: flex;
        max-width: 80%;
        animation: fadeIn 0.3s ease;
    }
    
    .user-message {
        align-self: flex-end;
        flex-direction: row-reverse;
        margin-left: auto;
    }
    
    .bot-message {
        align-self: flex-start;
        margin-right: auto;
    }
    
    .welcome-message {
        margin: 10px auto;
        max-width: 90%;
    }
    
    /* Avatar styling */
    .avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin: 0 10px;
    }
    
    .user-avatar {
        background: linear-gradient(135deg, #64b5f6, #1e88e5);
        color: white;
    }
    
    .bot-avatar {
        background: linear-gradient(135deg, #43a047, #2e7d32);
        color: white;
    }
    
    /* Bubble styling */
    .bubble {
        padding: 15px;
        border-radius: 18px;
        position: relative;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        max-width: 100%;
        word-wrap: break-word;
    }
    
    .user-bubble {
        background: linear-gradient(135deg, #64b5f6, #1e88e5);
        color: white;
        border-bottom-right-radius: 5px;
    }
    
    .bot-bubble {
        background: rgba(255, 255, 255, 0.1);
        color: #e0e0e0;
        border-bottom-left-radius: 5px;
    }
    
    .message-content {
        line-height: 1.5;
        font-size: 1rem;
    }
    
    .message-time {
        font-size: 0.7rem;
        text-align: right;
        opacity: 0.7;
        margin-top: 8px;
    }
    
    /* Input group styling */
    .input-group {
        display: flex;
        padding: 15px;
        background: rgba(0, 0, 0, 0.2);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .input-group .input-field {
        flex: 1;
        border-radius: 50px 0 0 50px;
        margin: 0;
        padding: 12px 20px;
        border-right: none;
    }
    
    .send-btn {
        background: linear-gradient(135deg, #64b5f6, #1e88e5);
        color: white;
        border: none;
        border-radius: 0 50px 50px 0;
        padding: 0 20px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .send-btn:hover {
        background: linear-gradient(135deg, #1e88e5, #64b5f6);
    }
    
    /* Scrollbar styling */
    #chat-box::-webkit-scrollbar {
        width: 8px;
    }
    
    #chat-box::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }
    
    #chat-box::-webkit-scrollbar-thumb {
        background: rgba(100, 181, 246, 0.5);
        border-radius: 10px;
    }
    
    #chat-box::-webkit-scrollbar-thumb:hover {
        background: rgba(100, 181, 246, 0.8);
    }
    
    /* Animation */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    /* Additional CSS classes for SEO integration - Add these to your existing styles.css */

/* Tool Introduction Section */
.tool-intro {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px 20px; /* Keep top padding, less bottom */
    text-align: center;
    animation: fadeInUp 0.6s ease forwards;
}

/* Heading */
.tool-intro h1 {
    font-size: 2.8rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    background: linear-gradient(to right, #64b5f6, #f8f9fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    font-weight: 700;
    margin-bottom: 15px; /* Reduced space below heading */
}

/* Subtitle */
.tool-intro .subtitle {
    font-size: 1.3rem;
    opacity: 0.85;
    max-width: 900px;
    margin: 0 auto 15px; /* Small bottom gap */
    color: #e0e0e0;
    line-height: 1.6;
}

/* Security badges row */
.tool-intro .security-badges {
    margin-top: 10px;
    margin-bottom: 0; /* Remove extra bottom space */
}

/* Remove last-child margin inside */
.tool-intro > *:last-child {
    margin-bottom: 0;
}



/* SEO Content Section */
.seo-content {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    margin-top: 30px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.seo-content h2 {
    color: #64b5f6;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.seo-content h3 {
    color: #f8f9fa;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 30px 0 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.seo-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.seo-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.seo-content li {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #e0e0e0;
    list-style-type: none;
    position: relative;
}

.seo-content li::before {
    content: '•';
    color: #64b5f6;
    font-weight: bold;
    position: absolute;
    left: -20px;
    font-size: 1.2rem;
}

.seo-content strong {
    color: #64b5f6;
    font-weight: 600;
}

/* FAQ Section Updates */
.faq-section {
    margin-top: 30px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.faq-section h2 {
    color: #64b5f6;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.faq-card {
    margin-bottom: 15px;
}

.faq-card .card-title {
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 10px;
    color: #f8f9fa;
}

.faq-card .card-text {
    text-align: left;
    margin-bottom: 0;
    color: #e0e0e0;
}

/* Hero Section Adjustments */
.hero .h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    background: linear-gradient(to right, #64b5f6, #f8f9fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.hero .subtitle {
    font-size: 1.2rem;
    max-width: 900px;
    line-height: 1.6;
    color: #e0e0e0;
    opacity: 0.9;
}

/* Container Override for Homepage */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .tool-intro h1 {
        font-size: 2.2rem;
    }
    
    .tool-intro .subtitle {
        font-size: 1.1rem;
    }
    
    .hero .h1 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .seo-content {
        padding: 30px 20px;
    }
    
    .seo-content h2 {
        font-size: 1.8rem;
    }
    
    .seo-content h3 {
        font-size: 1.4rem;
    }
    
    .seo-content p,
    .seo-content li {
        font-size: 1rem;
    }
}
/* New CSS for added elements */
.bg-light {
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
}

.security-badges .badge {
  font-size: 0.85rem;
  padding: 0.5em 0.8em;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  margin-bottom: 0.8rem;
}

.rating {
  color: #fdcc0d;
}

.user {
  font-size: 0.9rem;
  color: #6c757d;
}

.cta-box {
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .security-badges {
    flex-wrap: wrap;
  }
  
  .security-badges .badge {
    margin-bottom: 5px;
  }
}