/* Base Styles */
:root {
    --primary-color: #ff3b30;
    --primary-dark: #e0352b;
    --primary-light: #ff5a50;
    --accent-color: #ff6b61;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #eeeeee;
    --border-color: #dddddd;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --vh: 1vh;
    /* Variable for mobile viewport height fix */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    /* Disable callout on iOS Safari */
}

/* iOS momentum scrolling for overflow elements */
.tool-container,
.tools-grid,
.about-content,
.contact-content {
    -webkit-overflow-scrolling: touch;
}

/* Prevent iOS text size adjustment */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    /* Remove tap highlight on mobile */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    overflow-x: hidden;
    /* Prevent horizontal scrolling on mobile */
}

/* Prevent body scroll when mobile menu is open */
body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    touch-action: manipulation;
    /* Improve touch responsiveness */
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tool-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.tool-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Navbar - Modern UI with hover animations */
.navbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.1);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-light);
    transition: all 0.3s ease;
}

.navbar:hover {
    box-shadow: 0 6px 16px rgba(255, 59, 48, 0.15);
}

/* Scrolled navbar style */
.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 16px rgba(255, 59, 48, 0.15);
    border-bottom: 1px solid var(--primary-light);
}

.navbar.scrolled .logo a {
    transform: scale(0.95);
}

.navbar.scrolled .nav-links a {
    font-size: 0.95rem;
    padding: 0.4rem 0;
}

.navbar.scrolled .nav-links a::after {
    height: 2px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    transition: transform 0.3s ease;
}



.logo a {
    position: relative;
    overflow: hidden;
}

.logo a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.logo a:hover::after {
    width: 100%;
}

.nav-links ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.alltools-right {
    margin-left: auto;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.nav-links a:hover i {
    transform: translateY(-2px);
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active i {
    color: var(--primary-color);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    margin-left: 0.25rem;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: 50vw;
    height: 40vh;
    overflow-y: auto;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    min-width: unset;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    margin-left: 0;
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) var(--bg-light);
}

.dropdown-menu::-webkit-scrollbar {
    width: 8px;
    background: var(--bg-light);
    border-radius: 8px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 8px;
    min-height: 30px;
    transition: background 0.3s;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.dropdown-menu::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.dropdown-section h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-section a {
    display: block;
    padding: 0.4rem 0;
    font-size: 0.72rem;
    color: var(--text-color);
    transition: all 0.2s ease;
    border-radius: var(--radius-sm);
    padding-left: 0.5rem;
    margin-bottom: 0.18rem;
}

.dropdown-section a:hover {
    color: var(--primary-color);
    background-color: var(--bg-light);
    transform: translateX(5px);
    padding-left: 0.75rem;
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        transform: none;
        min-width: auto;
        width: 100%;
        margin-top: 1rem;
        box-shadow: none;
        border: none;
        background: var(--bg-light);
        border-radius: var(--radius-md);
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        margin-left: 0;
    }

    .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        max-height: 1000px;
        margin-top: 1rem;
    }

    .dropdown-toggle.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .dropdown-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .dropdown-section a {
        font-size: 0.74rem;
        padding: 0.6rem 0.5rem;
    }
}

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 5px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.hamburger:hover {
    background-color: rgba(255, 59, 48, 0.1);
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Tools Section */
.tools-section {
    padding: 5rem 0;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-btn {
    padding: 0.5rem 1rem;
    background-color: var(--bg-light);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    touch-action: manipulation;
    /* Better touch response */
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.tool-card {
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.tool-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tool-card .btn {
    align-self: flex-start;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.about-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 1rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

.about-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ff6b6b, #4ecdc4);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(78, 205, 196, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-item .feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 193, 7, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 1rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.contact-form-container,
.contact-info-container {
    display: flex;
    flex-direction: column;
}

.contact-form-card,
.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 1.4rem 1.2rem 1.4rem 1.2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before,
.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ff6b6b, #4ecdc4);
}

.form-header,
.info-header {
    text-align: center;
    margin-bottom: 1.2rem;
}

.form-icon,
.info-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 6px 18px rgba(255, 107, 107, 0.22);
}

.form-header h3,
.info-header h3 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    color: var(--text-color);
    font-weight: 600;
}

.form-header p,
.info-header p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #adb5bd;
}

.contact-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-color);
    font-weight: 600;
}

.method-content p {
    color: var(--text-color);
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.method-note {
    font-size: 0.85rem;
    color: var(--text-light);
}

.contact-social {
    border-top: 1px solid #e9ecef;
    padding-top: 1.2rem;
}

.contact-social h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
}

.social-link-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-link-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link-card i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.social-link-card span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* iOS specific input fixes */
@supports (-webkit-touch-callout: none) {

    input,
    textarea,
    select {
        font-size: 16px !important;
        /* Prevent auto-zoom on iOS */
    }

    /* Add extra bottom padding to avoid buttons being cut off by the home indicator */
    .tool-page,
    .footer {
        padding-bottom: env(safe-area-inset-bottom, 20px);
    }
}

/* Increase tap target size for form inputs on mobile */
@media (max-width: 768px) {

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        /* Prevent iOS zoom on input focus */
        padding: 0.85rem;
    }
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 50%;
    transition: var(--transition);
}

/* Increase social link tap size on mobile */
@media (max-width: 768px) {
    .social-link {
        width: 48px;
        height: 48px;
    }
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: relative;
    margin-top: 4rem;
}

.footer-wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer .container {
    position: relative;
    z-index: 2;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin: 0;
    color: white;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social .social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social .social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

.footer-links-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-links-group h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
    position: relative;
}

.footer-links-group h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-group li {
    margin-bottom: 0.8rem;
}

.footer-links-group a {
    color: #bdc3c7;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links-group a i {
    font-size: 0.9rem;
    width: 16px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-links-group a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links-group a:hover i {
    transform: scale(1.2);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 2rem 0;
}

.footer-bottom {
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom-links .separator {
    color: #7f8c8d;
    font-size: 0.8rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--bg-color);
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 1000px;
    border-radius: var(--radius-lg);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    padding: 8px;
    /* Increase tap target area */
}

.close-modal:hover {
    color: var(--primary-color);
}

/* Animation Classes */
.animate-fade {
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

.animate-fade-delay {
    opacity: 0;
    animation: fadeIn 0.8s 0.3s forwards;
}

.animate-fade-delay-2 {
    opacity: 0;
    animation: fadeIn 0.8s 0.6s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tool Page Common Styles */
.tool-page {
    padding: 2rem;
}

.tool-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tool-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tool-header p {
    color: var(--text-light);
}

.tool-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.tool-interface {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary-color);
}

.upload-area i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-area p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.upload-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.upload-btn:hover {
    background-color: var(--primary-dark);
}

.preview-area {
    display: none;
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.preview-area canvas {
    max-width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.tool-controls {
    display: none;
    margin-top: 2rem;
}

.control-group {
    margin-bottom: 1.5rem;
}

.control-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.control-group input[type="range"] {
    width: 100%;
    cursor: pointer;
}

/* Improve range sliders on mobile */
@media (max-width: 768px) {
    .control-group input[type="range"] {
        height: 28px;
        /* Larger tap target */
        -webkit-appearance: none;
        background: var(--bg-light);
        border-radius: 10px;
        outline: none;
    }

    .control-group input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 24px;
        height: 24px;
        background: var(--primary-color);
        border-radius: 50%;
        cursor: pointer;
    }

    .control-group input[type="range"]::-moz-range-thumb {
        width: 24px;
        height: 24px;
        background: var(--primary-color);
        border-radius: 50%;
        cursor: pointer;
        border: none;
    }
}

.control-group input[type="color"] {
    height: 40px;
    width: 40px;
    padding: 0;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.buttons-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.action-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
    min-width: 140px;
}

.secondary-btn {
    background-color: var(--bg-light);
    color: var(--text-color);
}

.action-btn:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.secondary-btn:hover {
    background-color: var(--bg-dark);
}

/* Processing Indicator Styles */
.processing-indicator {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: auto;
    padding: 25px;
    background-color: rgba(25, 25, 30, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.spinner:before,
.spinner:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #0db3e3;
}

.spinner:before {
    z-index: 10;
    animation: spin 1s infinite linear;
}

.spinner:after {
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.processing-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.processing-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
    opacity: 0.7;
    animation: dots 1.4s infinite ease-in-out both;
}

.processing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.processing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes dots {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.processing-indicator p {
    color: white;
    font-weight: 500;
    margin: 10px 0;
    text-align: center;
}

/* Tool Specific Styles */
.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.color-swatch:hover,
.color-swatch.active {
    transform: scale(1.1);
    border-color: var(--text-color);
}

.brush-sizes {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.brush-size {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.brush-size-sm {
    width: 10px;
    height: 10px;
    margin: auto 0;
}

.brush-size-md {
    width: 20px;
    height: 20px;
    margin: auto 0;
}

.brush-size-lg {
    width: 30px;
    height: 30px;
}

.brush-size:hover,
.brush-size.active {
    background-color: var(--primary-color);
}

.comparison-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

.comparison-slider-img {
    width: 100%;
    display: block;
}

.comparison-slider-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
}

.comparison-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: white;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.comparison-slider-handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

/* Tool Info Section */
.tool-info {
    padding: 3rem 0;
}

.info-content {
    margin-bottom: 3rem;
}

.info-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.step-text p {
    color: var(--text-light);
}

.tool-features ul {
    list-style: none;
}

.tool-features ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.tool-features ul li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

/* Fix for iOS 100vh issue */
.tool-page {
    min-height: calc(100vh - 70px);
    min-height: calc(var(--vh, 1vh) * 100 - 70px);
}

/* Mobile iOS scrolling fix */
@supports (-webkit-touch-callout: none) {

    .container,
    .tool-container,
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* Improved mobile canvas view */
.canvas-container {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-height: 60vh;
    margin: 0 auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background-color: rgba(0, 0, 0, 0.03);
    padding: 10px;
}

.canvas-container canvas {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Fade-in animation for visible elements */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Success message for downloads */
.download-message {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Processing Indicator Enhancement for From-JPG Tool */
#from-jpg-processing {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: auto;
    padding: 25px;
    background-color: rgba(25, 25, 30, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

#from-jpg-processing .spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border-width: 4px;
}

#from-jpg-processing p {
    margin: 15px 0;
    font-size: 16px;
}

#from-jpg-processing .processing-dots span {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.8);
    animation: dots 1.4s infinite ease-in-out both;
}

/* Stats Panel */
.stats-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background-color: rgba(25, 25, 30, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 4px;
}

.stat-item span:last-child {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

/* Toggle Switch */
.toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    margin: 10px 0;
}

.toggle-label input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    background-color: #ccc;
    border-radius: 34px;
    transition: .4s;
    margin-right: 12px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

input:checked+.toggle-slider {
    background-color: var(--primary-color);
}

input:focus+.toggle-slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked+.toggle-slider:before {
    transform: translateX(24px);
}

.toggle-text {
    font-size: 0.95rem;
    font-weight: 500;
}

.option-description {
    font-size: 0.8rem;
    margin-left: 62px;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 4px;
}

/* Image format converter specific styles */
#high-quality-toggle-container {
    margin: 15px 0;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Notification */
.notification {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* WhatsApp Community Icon */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-icon i {
    font-size: 28px;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-tooltip {
    position: absolute;
    right: 60px;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateX(10px);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.whatsapp-icon:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* FAQ Section Styles */
.faq-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s, transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
    position: relative;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px) scale(1.01);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: #000000;
    padding: 1.5rem 2.5rem 1.5rem 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
    position: relative;
    z-index: 2;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-toggle-icon {
    margin-left: 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
}

.faq-question .fa-chevron-up {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: #fcfcfc;
    color: var(--text-light);
    font-size: 1rem;
    padding: 0 2rem;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
    border-top: 1px solid #f1f1f1;
    will-change: max-height, opacity, padding;
}

.faq-item .faq-answer {
    padding-bottom: 1.5rem;
}

.faq-answer.open {
    max-height: 500px;
    opacity: 1;
    padding-top: 1rem;
    transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }

    .faq-list {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.2rem 2rem 1.2rem 1rem;
    }

    .faq-answer {
        font-size: 0.97rem;
        padding: 0 1.2rem;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 2rem 0;
    }

    .faq-question {
        font-size: 0.97rem;
        padding: 1rem 1.2rem 1rem 0.7rem;
    }

    .faq-answer {
        font-size: 0.95rem;
        padding: 0 0.7rem;
    }
}

@media (max-width: 900px) {
    .footer .container {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-links-section {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    .footer-links-group h4 {
        font-size: 1.05rem;
        margin-bottom: 1rem;
    }

    .footer-links-group a {
        font-size: 0.92rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer .container {
        padding: 1rem 0 0.5rem;
    }

    .footer-content {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .footer-links-section {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .footer-links-group {
        padding-left: 1.1rem;
    }

    .footer-links-group h4 {
        font-size: 0.98rem;
        margin-bottom: 0.7rem;
    }

    .footer-links-group a {
        font-size: 0.88rem;
        padding: 0.35rem 0;
    }

    .footer-social {
        gap: 0.5rem;
    }

    .footer-logo h3 {
        font-size: 1.1rem;
    }

    .footer-description {
        font-size: 0.92rem;
    }

    .footer-bottom {
        padding-top: 1rem;
    }

    .footer-bottom-links {
        gap: 0.5rem;
        font-size: 0.85rem;
    }
}