/*
Theme Name: Franchisee management system
Author: Digiqlabs
Description: Digiqlabs.com
Version: 1.0
*/

/* Import Color Palette */
@import url('assets/css/colors.css');

/* CSS Variables */
:root {
    --fms-color-primary: #3b82f6;
    --fms-color-secondary: #64748b;
    --fms-color-accent: #8b5cf6;
    --fms-color-white: #ffffff;
    --fms-color-gray-dark: #1f2937;
    --fms-color-gray: #6b7280;
    --fms-color-gray-light: #f3f4f6;
    --fms-color-success: #10b981;
    --fms-color-warning: #f59e0b;
    --fms-color-error: #ef4444;
    --fms-color-info: #06b6d4;
}

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    color: var(--fms-color-gray-dark);
    background-color: var(--fms-color-white);
}

/* Fix WordPress admin bar spacing issues */
html {
    margin-top: 0 !important;
}

body.admin-bar {
    margin-top: 0;
}

/* Ensure admin bar doesn't push content down */
body.admin-bar #page {
    margin-top: 0;
    padding-top: 0;
}

/* Fix any WordPress default margins on admin bar */
#wpadminbar {
    position: fixed;
    top: 0;
    z-index: 99999;
}

/* Ensure no unwanted spacing between header and hero */
#page {
    margin: 0;
    padding: 0;
}

#masthead {
    margin: 0;
    padding: 0;
}

.site-header {
    margin: 0;
    padding: 0;
}

/* Main content area */
.site-main {
    margin: 0;
    padding: 0;
}

main {
    margin: 0;
    padding: 0;
}

/* Remove any default spacing from sections */
section {
    margin: 0;
}

/* Franchise Locator Styles */
.franchise-locator {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.locator-form {
    position: relative;
}

.locator-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.location-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.location-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.geolocation-btn,
.locator-submit-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.geolocation-btn {
    background: #6c757d;
    color: white;
}

.geolocation-btn:hover:not(:disabled) {
    background: #5a6268;
    transform: translateY(-1px);
}

.geolocation-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.locator-submit-btn {
    background: #007cba;
    color: white;
}

.locator-submit-btn:hover {
    background: #005a87;
    transform: translateY(-1px);
}

.geolocation-icon,
.submit-icon {
    font-size: 16px;
}

.locator-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 5px;
}

.suggestions-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* Business Opportunities Section */
.business-opportunities {
    margin: 3rem auto 2rem;
    padding: 3rem 1rem;
    max-width: 1200px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-family: 'Poppins', sans-serif;
}

.business-opportunities h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}

.business-opportunities h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    border-radius: 2px;
}

.opportunity-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default: 1 column for mobile */
    gap: 1.5rem;
    margin-top: 2rem;
}

.opportunity-category {
    background: #f8f9fa;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.opportunity-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
}

.opportunity-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    background: #ffffff;
}

.opportunity-category h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.opportunity-category ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.opportunity-category li {
    color: #555;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.opportunity-category li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.opportunity-category:hover li {
    color: #2c3e50;
}

.opportunity-category:hover li::before {
    transform: translateX(3px);
    color: #e74c3c;
}

.view-all {
    display: inline-flex;
    align-items: center;
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.view-all:hover,
.view-all:focus {
    color: #c0392b;
    border-bottom-color: #c0392b;
    transform: translateX(5px);
    outline: none;
}

.view-all:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3);
    border-radius: 4px;
}

/* =================================================================
   PROFESSIONAL FRANCHISE SEARCH FORM STYLES
   Dark Hero Section with Modern Tabbed Search Interface
   ================================================================= */

/* Import Professional Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ===============================
   MULTI-LEVEL HERO SECTION STYLES
   =============================== */

/* Level 1: Main Hero Background (Full-width rounded rectangle) */
.hero-section {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 20px 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Theme Customizer Background Image Support */
.hero-section.has-background-image {
    background-image: var(--hero-bg-image, none);
}

/* Responsive Background Images */
@media (max-width: 768px) {
    .hero-section.has-background-image {
        background-image: var(--hero-bg-image-mobile, var(--hero-bg-image, none));
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section.has-background-image {
        background-image: var(--hero-bg-image-tablet, var(--hero-bg-image, none));
    }
}

@media (min-width: 1025px) {
    .hero-section.has-background-image {
        background-image: var(--hero-bg-image-desktop, var(--hero-bg-image, none));
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    z-index: 1;
    transition: opacity 0.3s ease;
}

/* Background overlay for custom images */
.hero-section.has-background-image::before {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
}

/* Level 1: Main Hero Container (Semi-transparent rounded rectangle) */
.hero__main-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.5); /* 50% opacity semi-transparent background */
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hero Title Section */
.hero__title-section {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.95));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero__title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--fms-color-gray-dark);
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.hero__title-accent {
    color: var(--fms-color-accent);
    background: linear-gradient(135deg, var(--fms-color-primary), var(--fms-color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--fms-color-gray);
    font-weight: 500;
    margin: 0;
}

/* Level 2: Content Wrapper (Two horizontally aligned containers) */
.hero__content-wrapper {
    display: grid;
    grid-template-columns: 1fr 0.45fr;
    gap: 30px;
    align-items: start;
}

/* Level 2 → First Rectangle (75% width) */
.hero__primary-container {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Level 3 → Top: Search Container */
.hero__search-container {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero__search-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--fms-color-gray-dark);
    margin: 0 0 20px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero__search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero__search-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.hero__search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero__search-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--fms-color-gray-dark);
}

.hero__search-select {
    padding: 12px 15px;
    border: 2px solid var(--fms-color-gray-light);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--fms-color-gray-dark);
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero__search-select:focus {
    outline: none;
    border-color: var(--fms-color-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.hero__search-button {
    width: 100%;
    background: var(--fms-color-primary);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero__search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero__search-button i {
    margin-right: 10px;
}

.hero__search-info {
    background: rgba(102, 126, 234, 0.1);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--fms-color-primary);
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--fms-color-gray-dark);
}

/* Level 3 → Bottom: CTA Container */
.hero__cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hero__cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 25px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 100px;
}

.hero__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.hero__cta-button--primary {
    background: var(--fms-color-primary);
    color: white;
}

.hero__cta-button--secondary {
    background: var(--fms-color-gray-dark);
    color: white;
}

.hero__cta-button i {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.hero__cta-button span {
    display: block;
    margin-bottom: 5px;
}

.hero__cta-button small {
    font-size: 0.75rem;
    opacity: 0.9;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

/* Level 2 → Second Rectangle (35% width) - Expert Card */
.hero__secondary-container {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    height: fit-content;
}

.hero__expert-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero__expert-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    border: 4px solid var(--fms-color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero__expert-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--fms-color-gray-dark);
    text-align: center;
    margin: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero__expert-description {
    font-size: 0.95rem;
    color: var(--fms-color-gray);
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

.hero__expert-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero__expert-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero__expert-field--flex {
    flex: 1;
}

.hero__expert-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--fms-color-gray-dark);
}

.hero__expert-radio-group {
    display: flex;
    gap: 15px;
}

.hero__expert-radio {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--fms-color-gray-dark);
    cursor: pointer;
}

.hero__expert-radio input[type="radio"] {
    margin-right: 6px;
    accent-color: var(--fms-color-primary);
}

.hero__expert-input,
.hero__expert-textarea {
    padding: 12px 15px;
    border: 2px solid var(--fms-color-gray-light);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--fms-color-gray-dark);
    background: white;
    transition: all 0.3s ease;
}

.hero__expert-input:focus,
.hero__expert-textarea:focus {
    outline: none;
    border-color: var(--fms-color-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.hero__expert-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.hero__expert-button {
    background: var(--fms-color-accent);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero__expert-button:hover {
    background: var(--fms-color-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero__expert-button i {
    margin-right: 8px;
}

.hero__expert-contact {
    font-size: 0.8rem;
    color: var(--fms-color-gray);
    text-align: center;
    padding: 15px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    line-height: 1.4;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

/* Tablet Landscape */
@media (max-width: 1200px) {
    .hero__main-container {
        max-width: 100%;
        padding: 40px 30px;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__content-wrapper {
        gap: 25px;
    }
    
    .hero__search-fields {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
    }
}

/* Tablet Portrait */
@media (max-width: 1024px) {
    .hero__content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero__title {
        font-size: 2.2rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
    
    .hero__cta-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero__cta-button {
        min-height: 80px;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero__main-container {
        padding: 30px 20px;
        border-radius: 16px;
        margin: 20px;
    }
    
    .hero__title-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .hero__title {
        font-size: 1.8rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .hero__primary-container,
    .hero__secondary-container {
        padding: 20px;
    }
    
    .hero__search-container {
        padding: 20px;
    }
    
    .hero__search-fields {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .hero__cta-container {
        gap: 12px;
    }
    
    .hero__cta-button {
        padding: 16px 20px;
        font-size: 0.9rem;
        min-height: 70px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .hero__main-container {
        margin: 10px;
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .hero__title {
        font-size: 1.6rem;
    }
    
    .hero__title-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .hero__primary-container,
    .hero__secondary-container {
        padding: 15px;
    }
    
    .hero__search-container {
        padding: 15px;
    }
    
    .hero__search-title {
        font-size: 1.2rem;
    }
    
    .hero__cta-button {
        padding: 14px 16px;
        font-size: 0.85rem;
        min-height: 60px;
    }
    
    .hero__expert-avatar {
        width: 60px;
        height: 60px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero__main-container {
        margin: 5px;
        padding: 15px 10px;
    }
    
    .hero__title {
        font-size: 1.4rem;
    }
    
    .hero__search-button,
    .hero__cta-button {
        font-size: 0.8rem;
    }
}

/* Investor Signup Page Specific Styles */
.investor-signup-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.investor-message {
    position: relative;
    overflow: hidden;
}

.investor-message--error {
    animation: slideInFromTop 0.5s ease-out;
}

.investor-message--success {
    animation: slideInFromTop 0.5s ease-out;
}

.investor-message--info {
    animation: slideInFromTop 0.5s ease-out;
}

.investor-message--warning {
    animation: slideInFromTop 0.5s ease-out;
}

/* Ensure investor page styles don't affect other pages */
.investor-signup-page .investor-message,
.investor-thank-you-page .investor-message {
    position: relative;
    overflow: hidden;
}

/* Add subtle pulse animation for success messages */
.investor-thank-you-page .investor-message--success {
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.1);
    }
    50% {
        box-shadow: 0 4px 20px rgba(40, 167, 69, 0.2);
    }
}

/* Responsive improvements for investor pages */
@media (max-width: 768px) {
    .investor-signup-page .container,
    .investor-thank-you-page .container {
        padding: 0 15px;
    }
    
    .investor-signup-page h1,
    .investor-thank-you-page h1 {
        font-size: 2rem;
    }
    
    .investor-message {
        padding: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .investor-message h3 {
        font-size: 1.1rem !important;
    }
}

/* Form validation styling */
.investor-signup-page .hero__expert-input:invalid {
    border-color: #dc3545;
}

.investor-signup-page .hero__expert-input:valid {
    border-color: #28a745;
}

/* Loading animation for form submission */
.investor-signup-page .hero__expert-button:active {
    transform: scale(0.98);
}

/* Custom select styling for investor form */
.investor-signup-page select.hero__expert-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23007cba' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

/* ===================================
   FOOTER STYLES
   =================================== */

.site-footer {
    margin-top: 60px !important;
    color: var(--fms-color-white) !important;
}

/* Footer Main Section */
.footer-main {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f172a 100%) !important;
    background-color: #1a1a2e !important; /* Fallback color */
    position: relative !important;
    overflow: hidden !important;
    min-height: 400px !important; /* Ensure minimum height */
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
}

/* Footer Top Section */
.footer-top {
    padding: 60px 0 40px !important;
}

.footer-columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    gap: 40px !important;
    align-items: start !important;
}

.footer-column {
    animation: fadeInUp 0.6s ease-out;
}

.footer-column:nth-child(2) { animation-delay: 0.1s; }
.footer-column:nth-child(3) { animation-delay: 0.2s; }
.footer-column:nth-child(4) { animation-delay: 0.3s; }

/* Footer Headings */
.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--fms-color-white);
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--fms-color-primary), var(--fms-color-accent));
    border-radius: 2px;
}

/* Company Column */
.footer-company .footer-logo {
    color: var(--fms-color-white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-company .footer-logo:hover {
    color: var(--fms-color-accent);
    transform: translateY(-2px);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Social Media */
.footer-social {
    margin-top: 25px;
}

.footer-social-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--fms-color-white);
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--fms-color-white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link i {
    font-size: 18px !important;
    line-height: 1 !important;
    display: block !important;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link.facebook:hover { background: #3b5998; }
.social-link.twitter:hover { background: #1da1f2; }
.social-link.linkedin:hover { background: #0077b5; }
.social-link.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.youtube:hover { background: #ff0000; }

/* Footer Menu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-menu a:hover {
    color: var(--fms-color-accent);
    transform: translateX(5px);
}

.footer-menu a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--fms-color-accent);
    transition: width 0.3s ease;
}

.footer-menu a:hover::before {
    width: 8px;
}

/* Contact Info */
.contact-info {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-item i {
    width: 20px;
    color: var(--fms-color-accent);
    margin-right: 12px;
    font-size: 1rem !important;
    flex-shrink: 0;
    display: block !important;
    line-height: 1 !important;
}

/* Newsletter */
.footer-newsletter {
    margin-top: 25px;
}

.newsletter-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--fms-color-white);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.newsletter-form {
    margin-top: 15px;
}

.newsletter-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--fms-color-accent);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.newsletter-input-group input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    background: transparent;
    color: var(--fms-color-white);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    padding: 12px 18px;
    background: linear-gradient(135deg, var(--fms-color-primary), var(--fms-color-accent));
    border: none;
    color: var(--fms-color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn i {
    font-size: 14px !important;
    line-height: 1 !important;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, var(--fms-color-accent), var(--fms-color-primary));
    transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    backdrop-filter: blur(10px);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.copyright a {
    color: var(--fms-color-white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--fms-color-accent);
}

/* Legal Links */
.legal-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--fms-color-accent);
}

.powered-by p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.powered-by a {
    color: var(--fms-color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.powered-by a:hover {
    color: var(--fms-color-white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-top {
        padding: 50px 0 30px;
    }
}

@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-top {
        padding: 40px 0 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .newsletter-btn {
        border-radius: 0 0 12px 12px;
    }
}

@media (max-width: 480px) {
    .footer-top {
        padding: 30px 0 20px;
    }
    
    .footer-columns {
        gap: 30px;
    }
    
    .footer-heading {
        font-size: 1.1rem;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .footer-main {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #000000 100%);
    }
    
    .footer-bottom {
        background: rgba(0, 0, 0, 0.5);
    }
}
