/* Global Styles */
:root {
    /* Category Colors - More Vibrant */
    --image-tools-color: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    --seo-tools-color: linear-gradient(135deg, #A8E6CF 0%, #3D84A8 100%);
    --developer-tools-color: linear-gradient(135deg, #6C63FF 0%, #3F3D56 100%);
    --text-tools-color: linear-gradient(135deg, #FF9A9E 0%, #FAD0C4 100%);
    --unit-converters-color: linear-gradient(135deg, #84FAB0 0%, #8FD3F4 100%);
    --data-tools-color: linear-gradient(135deg, #5EE7DF 0%, #B490CA 100%);
    --security-tools-color: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
    --social-tools-color: linear-gradient(135deg, #43E97B 0%, #38F9D7 100%);
    --misc-tools-color: linear-gradient(135deg, #FAD961 0%, #F76B1C 100%);
    
    /* Common Colors */
    --primary-color: #4F46E5;
    --primary-dark: #4338CA;
    --secondary-color: #7C3AED;
    --accent-color: #EC4899;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --dark-color: #111827;
    --light-color: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --text-color: #374151;
    --light-text: #6B7280;
    --background-color: #F9FAFB;
    --card-background: #FFFFFF;
    --border-color: #E5E7EB;
    --background-light: #F3F4F6;
    --white: #ffffff;
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Global Header Styles */
.header {
    background: #002244;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Premium navbar styling from index.html */
.navbar {
    background: #002244 !important; /* Added from index.html */
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Added from index.html */
}

/* Added from index.html */
.navbar-brand h1 {
    color: #ffffff;
}

.navbar-brand {
    color: #ffffff !important;
    text-decoration: none;
}

.navbar-brand i {
    color: #00b4d8;
}

.navbar-brand span {
    color: #ffffff; /* Kept from style.css (correct for first span) */
}

.navbar-brand span:last-child {
    color: #00b4d8;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #00b4d8 !important;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
}

/* Added from index.html */
.nav-link.active {
    color: #00b4d8 !important;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Search Container Styles */
.search-container {
    max-width: 400px;
    width: 100%;
    position: relative;
    margin: 0 20px;
}

.search-container .input-group {
    width: 100%;
}

.search-container input {
    border-radius: 4px 0 0 4px;
    border: 1px solid #ddd;
    padding: 8px 15px;
    height: 42px;
    font-size: 14px;
    background: #fff;
}

.search-container button {
    border-radius: 0 4px 4px 0;
    height: 42px;
    width: 42px;
    padding: 0;
    background: #00b4d8;
    border-color: #00b4d8;
}

.search-container button:hover {
    background: #0096c7;
    border-color: #0096c7;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1050;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: none;
}

.search-results.show {
    display: block;
}

.search-result-item {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background: #f8f9fa;
    text-decoration: none;
}

/* Style for keyboard-selected item */
.search-result-item.selected {
    background-color: #e9ecef; /* Slightly darker than hover */
}

/* Style for highlighted text within search results */
.search-result-item .tool-name strong {
    font-weight: 700; /* Make it bolder */
    color: var(--primary-color); /* Use primary color for highlight */
}

/* Added from index.html */
.search-results.show {
    display: block;
}

/* Added from index.html */
.search-result-item {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

/* Added from index.html */
.search-result-item:last-child {
    border-bottom: none;
}

/* Added from index.html */
.search-result-item:hover {
    background: #f8f9fa;
    text-decoration: none;
}

/* Added from index.html */
.dropdown-menu {
    background: #ffffff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 8px 0;
    margin-top: 10px; /* Added from index.html */
    z-index: 1060; /* Added from index.html */
}

/* Added from index.html */
.dropdown-item {
    padding: 8px 20px;
    color: #002244;
    transition: all 0.2s ease;
    font-weight: 500; /* Added from index.html */
}

/* Added from index.html */
.dropdown-item:hover {
    background: #f0f9ff;
    color: #00b4d8;
}

/* Added from index.html */
.navbar > .container {
    position: relative;
}

/* Added from index.html */
.navbar-collapse {
    justify-content: space-between;
    align-items: center;
}

/* Added from index.html */
.navbar-nav {
    margin-left: 20px;
}

/* Added from index.html */
.nav-item {
    margin: 0 5px;
}


/* Footer Styles */
.footer {
    background: #002244;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-brand a {
    text-decoration: none;
}

.footer h5 {
    color: #00b4d8;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #00b4d8;
}

.social-links {
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #00b4d8;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    position: relative;
    overflow: hidden;
    color: white;
    min-height: calc(100vh - 80px); /* Adjust based on header height */
    display: flex;
    align-items: center;
}

.hero-section .mt-4 { /* Container for buttons */
    position: relative; /* Establish stacking context */
    z-index: 1; /* Ensure buttons are above pseudo-element */
}

.hero-section::before {
    content: '';
    position: absolute;
    z-index: -1; /* Push pseudo-element to the background */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 10%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 10%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-image {
    animation: float-slow 8s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

/* How to Use Section */
.step-card {
    padding: 2rem;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    border-radius: 50%;
    color: var(--primary-color);
}

/* Category Cards - Professional Style */
.category-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    min-height: 340px;
    max-height: 380px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
    background: var(--primary-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.category-card:hover::before {
    opacity: 1;
}

/* Category-specific hover colors */
.category-card[data-category="image-tools"]:hover::before {
    background: #4ECDC4;
}

.category-card[data-category="text-tools"]:hover::before {
    background: #6C63FF;
}

.category-card[data-category="developer-tools"]:hover::before {
    background: #FF6B6B;
}

.category-card[data-category="seo-tools"]:hover::before {
    background: #A8E6CF;
}

.category-card[data-category="social-tools"]:hover::before {
    background: #43E97B;
}

.category-card[data-category="data-tools"]:hover::before {
    background: #5EE7DF;
}

.category-card[data-category="security-tools"]:hover::before {
    background: #F093FB;
}

.category-card[data-category="unit-converters"]:hover::before {
    background: #FAD961;
}

.category-card[data-category="misc-tools"]:hover::before {
    background: #FF9A9E;
}

.category-card[data-category="calculators"]:hover::before {
    background: #5EE7DF;
}

.category-card-link {
    text-decoration: none !important;
    color: inherit;
}

.category-card-link:hover {
    text-decoration: none !important;
    color: inherit;
}

.category-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

/* Category-specific solid colors */
.category-card[data-category="image-tools"] .category-icon {
    background: #4ECDC4;
    color: white;
}

.category-card[data-category="text-tools"] .category-icon {
    background: #6C63FF;
    color: white;
}

.category-card[data-category="developer-tools"] .category-icon {
    background: #FF6B6B;
    color: white;
}

.category-card[data-category="seo-tools"] .category-icon {
    background: #A8E6CF;
    color: #2D3436;
}

.category-card[data-category="social-tools"] .category-icon {
    background: #43E97B;
    color: white;
}

.category-card[data-category="data-tools"] .category-icon {
    background: #5EE7DF;
    color: #2D3436;
}

.category-card[data-category="security-tools"] .category-icon {
    background: #F093FB;
    color: white;
}

.category-card[data-category="unit-converters"] .category-icon {
    background: #FAD961;
    color: #2D3436;
}

.category-card[data-category="misc-tools"] .category-icon {
    background: #FF9A9E;
    color: white;
}

.category-card[data-category="calculators"] .category-icon {
    background: #5EE7DF;
    color: #2D3436;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.category-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Stats Styling */
.category-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
}

.category-stats .stat-item {
    text-align: center;
    padding: 0.5rem;
    width: 33.333%;
}

.category-stats .stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.category-stats .stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    font-weight: 500;
}

/* Responsive Design */
@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }
    
    .category-card {
        min-height: 360px;
        max-height: 400px;
    }
}

/* Ensure Font Awesome X icon renders correctly */
.footer .social-link .fa-x-twitter {
    font-family: "Font Awesome 6 Brands", sans-serif !important; /* Ensure correct font family */
    font-weight: 400 !important; /* Standard weight for FA Brands */
}

/* Footer MailerLite Form Adjustments */
.footer #mlb2-24309929.ml-form-embedContainer .ml-form-embedWrapper {
    background-color: transparent; /* Ensure background matches footer */
    padding: 0; /* Remove default padding */
    margin-top: 1rem; /* Add some space above the form */
}

.footer #mlb2-24309929 .ml-form-embedBody {
    padding: 0; /* Remove body padding */
}

.footer #mlb2-24309929 .ml-form-embedContent h4 {
    font-size: 1.1rem; /* Slightly smaller title */
    margin-bottom: 0.5rem;
    color: #ffffff; /* Ensure title is white */
}

.footer #mlb2-24309929 .ml-form-embedContent p {
    font-size: 0.9rem; /* Slightly smaller text */
    margin-bottom: 1rem;
    color: #e0e0e0; /* Ensure text is light */
}

/* --- Start Footer MailerLite Form Adjustments (Increased Specificity) --- */

/* Target the specific form container within the footer */
.footer #mlb2-24309929 .ml-form-formContent.horozintalForm .ml-form-horizontalRow {
    display: flex !important; /* Use !important to ensure override */
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    align-items: stretch; /* Align items vertically */
}

.footer #mlb2-24309929 .ml-form-formContent.horozintalForm .ml-form-horizontalRow .ml-input-horizontal {
    flex-grow: 1 !important;
    width: auto !important;
    float: none !important;
    padding-right: 0 !important;
    margin-bottom: 0 !important;
}

.footer #mlb2-24309929 .ml-form-formContent.horozintalForm .ml-form-horizontalRow .ml-button-horizontal {
    flex-shrink: 0 !important;
    width: auto !important;
    float: none !important;
}

/* Ensure the horizontal fields container takes full width */
.footer #mlb2-24309929 .horizontal-fields {
    width: 100% !important;
}

/* Hide the separate mobile button provided by MailerLite */
.footer #mlb2-24309929 .ml-mobileButton-horizontal {
    display: none !important;
}

/* Ensure the main button within the horizontal row is always visible */
.footer #mlb2-24309929 .ml-form-formContent.horozintalForm .ml-button-horizontal {
    display: block !important;
}

/* Adjust input and button heights/padding to match Bootstrap */
.footer #mlb2-24309929 input[type="email"].form-control {
    height: calc(1.5em + .75rem + 2px) !important;
    padding: .375rem .75rem !important;
    font-size: 1rem !important;
    margin-bottom: 0 !important; /* Remove any potential bottom margin */
}

.footer #mlb2-24309929 .ml-button-horizontal button {
    padding: .375rem 1rem !important; /* Slightly more padding for button text */
    font-size: 1rem !important;
    line-height: 1.5 !important;
    height: calc(1.5em + .75rem + 2px) !important;
    white-space: nowrap; /* Prevent button text wrapping */
}
/* --- End Footer MailerLite Form Adjustments --- */

@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .category-card {
        min-height: 320px;
        max-height: 380px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .category-card {
        min-height: 300px;
        max-height: 360px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .category-card {
        min-height: 280px;
        max-height: none;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Global Typography Improvements */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-900);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* Counter Section */
.counters-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.counters-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 30%);
    opacity: 0.6;
}

.counter-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: countUp 0.6s ease-out backwards;
}

.counter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.counter-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.counter-title {
    font-size: 1rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Counter Animation */
@keyframes countUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay */
.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#4F46E5 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    opacity: 0.05;
}

/* Enhanced Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--feature-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card:hover::before {
    opacity: 1;
}

/* Enhanced Feature Icons with Vibrant Gradients */
.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    font-size: 2.5rem;
    color: white;
    position: relative;
    transition: all 0.3s ease;
    background: var(--feature-gradient);
    box-shadow: var(--feature-shadow);
}

/* Lightning Fast Icon */
.feature-card:nth-child(1) {
    --feature-gradient: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    --feature-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

/* Secure & Private Icon */
.feature-card:nth-child(2) {
    --feature-gradient: linear-gradient(135deg, #6C63FF, #3F3D56);
    --feature-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
}

/* Regular Updates Icon */
.feature-card:nth-child(3) {
    --feature-gradient: linear-gradient(135deg, #84FAB0, #8FD3F4);
    --feature-shadow: 0 8px 20px rgba(132, 250, 176, 0.3);
}

/* Mobile Friendly Icon */
.feature-card:nth-child(4) {
    --feature-gradient: linear-gradient(135deg, #F093FB, #F5576C);
    --feature-shadow: 0 8px 20px rgba(240, 147, 251, 0.3);
}

/* Community Driven Icon */
.feature-card:nth-child(5) {
    --feature-gradient: linear-gradient(135deg, #A8E6CF, #3D84A8);
    --feature-shadow: 0 8px 20px rgba(168, 230, 207, 0.3);
}

/* 24/7 Availability Icon */
.feature-card:nth-child(6) {
    --feature-gradient: linear-gradient(135deg, #FAD961, #F76B1C);
    --feature-shadow: 0 8px 20px rgba(250, 217, 97, 0.3);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1.25rem 0;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Add shimmer effect on hover */
.feature-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.feature-card:hover .feature-icon::after {
    animation: shimmer 1.5s infinite;
    opacity: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-150%) rotate(45deg);
    }
    100% {
        transform: translateX(150%) rotate(45deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        border-radius: 20px;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 1rem;
    }
}

/* Section Title Styling */
.features-section .section-title {
    color: var(--gray-900);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.features-section .section-subtitle {
    color: var(--gray-600);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.testimonials-slider {
    position: relative;
    width: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease-in-out;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

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

.testimonial-rating {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.testimonial-rating i {
    color: #FFD700;
    margin: 0 2px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    color: var(--gray-700);
    padding: 0 2rem;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 4rem;
    position: absolute;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-text::before {
    left: -1rem;
    top: -1rem;
}

.testimonial-text::after {
    right: -1rem;
    bottom: -2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .author-image img {
    transform: scale(1.1);
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
    font-weight: 600;
}

.author-info p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Slider Navigation */
.testimonials-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.slider-dots {
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .testimonial-text::before,
    .testimonial-text::after {
        font-size: 3rem;
    }

    .author-image {
        width: 60px;
        height: 60px;
    }

    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .author-info {
        text-align: center;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Global Layout Adjustments */
main {
    flex: 1;
    width: 100%;
    overflow-x: hidden;
}

/* Section Spacing Adjustments */
section {
    padding: 4rem 0;
    width: 100%;
}

/* Container Width Adjustments */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Grid Spacing Adjustments */
.row {
    margin-right: -1rem;
    margin-left: -1rem;
}

.col-md-6, .col-lg-4 {
    padding-right: 1rem;
    padding-left: 1rem;
}

/* Category Cards Grid */
.categories-section .row {
    margin: -1rem;
}

.categories-section [class*="col-"] {
    padding: 1rem;
}

/* Feature Cards Grid */
.features-section .row {
    margin: -1rem;
}

.features-section [class*="col-"] {
    padding: 1rem;
}

/* Why Choose Our Tools Section */
.why-choose-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234F46E5' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

/* Stats Grid Styles */
.why-choose-stats {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.why-choose-stats:hover {
    transform: translateY(-5px);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.stat-icon::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon::after {
    width: 50px;
    height: 50px;
    background: rgba(79, 70, 229, 0.2);
}

.stat-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stat-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.4;
}

/* Benefits Styles */
.why-choose-benefits {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.benefit-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* Innovation Styles */
.why-choose-innovation {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.innovation-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    position: relative;
}

.innovation-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
}

.innovation-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.innovation-content p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.innovation-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.innovation-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--gray-700);
    font-size: 1rem;
}

.innovation-list li i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.why-choose-innovation .btn {
    padding: 1rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.why-choose-innovation .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.why-choose-innovation .btn i {
    transition: transform 0.3s ease;
}

.why-choose-innovation .btn:hover i {
    transform: translateX(5px);
}

/* Footer Styles Extracted from footer.html */
.footer {
    background: #002244; /* From footer tag */
    color: #ffffff; /* From footer tag */
}
.footer .footer-brand .brand-logo i {
    color: #00b4d8; /* From i tag */
}
.footer .footer-brand .brand-logo span:first-of-type {
    color: #ffffff; /* From span tag */
}
.footer .footer-brand .brand-logo span:last-of-type {
    color: #00b4d8; /* From span tag */
}
.footer .brand-description {
    color: #e0e0e0; /* From p tags */
}
.footer .brand-description a {
    color: #00b4d8; /* From a tag */
    text-decoration: none; /* From a tag */
}
.footer .social-link {
    color: #ffffff; /* From a tags */
    background: rgba(255,255,255,0.1); /* From a tags */
    padding: 10px; /* From a tags */
    border-radius: 50%; /* From a tags */
    margin-right: 10px; /* From a tags */
    transition: all 0.3s ease; /* From a tags */
}
.footer .footer-title {
    color: #00b4d8; /* From h5 tags */
    margin-bottom: 20px; /* From h5 tags */
}
.footer .footer-links {
    list-style: none; /* From ul tags */
    padding: 0; /* From ul tags */
}
.footer .footer-links li a {
    color: #e0e0e0; /* From a tags */
    text-decoration: none; /* From a tags */
    display: block; /* From a tags */
    padding: 5px 0; /* From a tags */
    transition: all 0.3s ease; /* From a tags */
}
.footer .footer-contact {
    list-style: none; /* From ul tag */
    padding: 0; /* From ul tag */
}
.footer .footer-contact li {
    margin-bottom: 15px; /* From li tags */
}
.footer .footer-contact li i {
    color: #00b4d8; /* From i tags */
    width: 20px; /* From i tags */
}
.footer .footer-contact li span {
    color: #e0e0e0; /* From span tags */
    margin-left: 10px; /* From span tags */
}
.footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); /* From div tag */
    padding-top: 20px; /* From div tag */
}
.footer .footer-bottom p {
    color: #e0e0e0; /* From p tag */
}
.footer .footer-badges .badge {
    background: rgba(255,255,255,0.1); /* From span tags */
    color: #e0e0e0; /* From span tags */
    margin-right: 10px; /* From span tags */
}
.footer .footer-badges .badge i {
    color: #00b4d8; /* From i tags */
}

/* Hero section specific button style */
.btn-hero-outline {
    border-width: 2px !important; /* Make border more visible */
    border-color: rgba(255, 255, 255, 0.75) !important; /* White border with some transparency */
    color: white !important; /* Ensure text is white */
}
.btn-hero-outline:hover {
    background-color: rgba(255, 255, 255, 0.1) !important; /* Subtle background on hover */
    color: white !important;
    border-color: white !important; /* Solid white border on hover */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .why-choose-stats,
    .why-choose-benefits,
    .why-choose-innovation {
        margin-bottom: 2rem;
    }

    .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 4rem 0;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
}

.stat-item {
        padding: 1.25rem;
    }

    .benefit-item {
        padding: 1.25rem;
    }

    .innovation-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .innovation-list {
        text-align: center;
    }

    .innovation-list li {
        justify-content: center;
    }
}
