
:root {
    --primary: #4a6fa5;
    --secondary: #166088;
    --accent: #4fc3a1;
    --text: #333;
    --bg: #f8f9fa;
    --card-bg: #fff;
    --header-bg: linear-gradient(135deg, #4a6fa5 0%, #166088 100%);
}

.dark-mode {
    --primary: #6b8cbc;
    --secondary: #3a7a9c;
    --accent: #5fd3b1;
    --text: #f0f0f0;
    --bg: #1a1a1a;
    --card-bg: #2d2d2d;
    --header-bg: linear-gradient(135deg, #2c3e50 0%, #1a3a4a 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: var(--header-bg);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #d1e7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s;
    position: relative;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1516387938699-a93567ec168e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1471&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #d1e7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: #3dbd99;
}

/* Tools Section */
.tools-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    margin: 10px auto 0;
    border-radius: 2px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tool-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}


.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tool-card-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.5rem;
    text-align: center;
}
.tool-card-header {

    background: linear-gradient(135deg, 
            #4a6fa5 0%, 
            #6b5b95 25%, 
            #111369 50%, 
            #4b8f5a 75%, 
            #6717a4 100%);
        background-size: 400% 400%;
        color: white;
        padding: 1rem 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        position: sticky;
        top: 0;
        z-index: 100;
        animation: gradientShift 15s ease infinite;
}

.tool-card-header i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tool-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tool-card-body {
    padding: 1.5rem;
}

.tool-card-body p {
    margin-bottom: 1.5rem;
}

.tool-link {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.tool-link:hover {
    background-color: var(--secondary);
}

/* Tool Pages */
.tool-page {
    padding: 3rem 0;
}

.tool-container {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tool-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-align: center;
}

.input-output-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .input-output-container {
        grid-template-columns: 1fr;
    }
}

.text-area-container {
    position: relative;
}

.text-area-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.text-area {
    width: 100%;
    height: 200px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    resize: vertical;
    background-color: var(--card-bg);
    color: var(--text);
}

.language-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.language-selector select {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: var(--card-bg);
    color: var(--text);
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-accent {
    background-color: var(--accent);
    color: white;
}

.btn-accent:hover {
    background-color: #3dbd99;
}

.suggestions {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text);
}

.suggestion {
    cursor: pointer;
    margin-right: 5px;
    color: var(--primary);
    display: inline-block;
    padding: 3px 8px;
    background-color: rgba(74, 111, 165, 0.1);
    border-radius: 3px;
    margin-bottom: 5px;
}

.suggestion:hover {
    background-color: rgba(74, 111, 165, 0.2);
}

.result-container {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    background-color: rgba(74, 111, 165, 0.05);
    border-left: 4px solid var(--primary);
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: rgba(74, 111, 165, 0.05);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 1rem;
}

.mission-vision {
    margin-top: 2rem;
}

.mission-vision h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Stats Section */
.stats-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}
.stats-section {

    background: linear-gradient(135deg, 
            #4a6fa5 0%, 
            #6b5b95 25%, 
            #111369 50%, 
            #4b8f5a 75%, 
            #6717a4 100%);
        background-size: 400% 400%;
        color: white;
        padding: 1rem 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        position: sticky;
        top: 0;
        z-index: 100;
        animation: gradientShift 15s ease infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #2d2d2d;
    color: #f0f0f0;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.footer-column p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #f0f0f0;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
}

.toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.toggle-btn:hover {
    background-color: var(--secondary);
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    nav ul {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        display: none;
    }

    nav ul.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* edited */

    /* Gradient Text Utility */
    /* .gradient-text {
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
    } */
    
    /* Header Styles */
    header {
        background: linear-gradient(135deg, 
            #4a6fa5 0%, 
            #6b5b95 25%, 
            #111369 50%, 
            #4b8f5a 75%, 
            #6717a4 100%);
        background-size: 400% 400%;
        color: white;
        padding: 1rem 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        position: sticky;
        top: 0;
        z-index: 100;
        animation: gradientShift 15s ease infinite;
    }

    @keyframes gradientShift {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* max-width: 1800px; */
        margin: 0 auto;
        padding: 0 20px;
    }
   

    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .logo img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.8rem;
        font-weight: 700;
        background: linear-gradient(to right, 
            #fff 0%, 
            #d1e7ff 50%, 
            #a8d0ff 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    nav ul {
        display: flex;
        list-style: none;
        gap: 20px;
        margin: 0;
        padding: 0;
    }
   
    nav a {
        text-decoration: none;
        font-weight: 700;
        font-size: 1.1rem;
        padding: 8px 15px;
        border-radius: 30px;
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    

    nav a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.4), 
            transparent);
        transition: all 0.6s ease;
    }

    nav a:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    nav a:hover::before {
        left: 100%;
    }

    /* Menu item specific gradients */
    #copywriter-link {
        background: linear-gradient(135deg, 
            rgba(106, 176, 76, 0.8) 0%, 
            rgba(106, 176, 76, 0.5) 100%);
    }

    #spell-checker-link {
        background: linear-gradient(135deg, 
            rgba(66, 165, 245, 0.8) 0%, 
            rgba(66, 165, 245, 0.5) 100%);
    }

    #text-summarization-link {
        background: linear-gradient(135deg, 
            rgba(244, 143, 177, 0.8) 0%, 
            rgba(244, 143, 177, 0.5) 100%);
    }

    #translation-link {
        background: linear-gradient(135deg, 
            rgba(255, 193, 7, 0.8) 0%, 
            rgba(255, 193, 7, 0.5) 100%);
    }

    #grammar-checker-link {
        background: linear-gradient(135deg, 
            rgba(156, 39, 176, 0.8) 0%, 
            rgba(156, 39, 176, 0.5) 100%);
    }

    #phara-prasing-link {
        background: linear-gradient(135deg, 
            rgba(233, 30, 99, 0.8) 0%, 
            rgba(233, 30, 99, 0.5) 100%);
    }

    /* Menu text gradients */
    nav a span {
        background: linear-gradient(to right, 
            #ffffff 0%, 
            #e0f7fa 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        display: inline-block;
    }

    /* Mobile menu button */
    .mobile-menu-btn {
        display: none;
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 5px 10px;
        border-radius: 5px;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    /* Responsive styles */
    @media (max-width: 992px) {
        nav ul {
            gap: 10px;
        }
        nav a {
            padding: 8px 12px;
            font-size: 1rem;
        }
    }

    @media (max-width: 768px) {
        .header-content {
            flex-direction: row;
            justify-content: space-between;
        }
        
        nav ul {
            display: none;
            position: absolute;
            top: 70px;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, 
                #4a6fa5 0%, 
                #6b5b95 25%, 
                #d64161 50%);
            flex-direction: column;
            padding: 20px;
            gap: 15px;
            z-index: 99;
        }
        
        nav ul.active {
            display: flex;
        }
        
        nav a {
            display: block;
            text-align: center;
            border-radius: 5px;
        }
        
        .mobile-menu-btn {
            display: block;
        }
    }
