/* ==========================================================================
   FODEK WEBSITE STYLES - ENHANCED UI/UX
   Brand Colors: Turquoise Blue (#17A2B8), Orange/Yellow (#FFA500), Dark Green (#2E8B57)
   ========================================================================== */

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

:root {
    /* Brand Colors */
    --primary-color: #17A2B8;      /* Turquoise Blue */
    --secondary-color: #FFA500;     /* Orange/Yellow */
    --accent-color: #2E8B57;       /* Dark Green */
    
    /* Supporting Colors */
    --dark-color: #2C3E50;
    --light-color: #F8F9FA;
    --white: #FFFFFF;
    --gray-100: #F1F3F4;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-600: #6C757D;
    --gray-800: #495057;
    --success-color: #28A745;
    --warning-color: #FFC107;
    --error-color: #DC3545;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Borders & Shadows */
    --border-radius: 12px;
    --border-radius-large: 20px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --box-shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Enhanced Selection Styling */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white);
}

/* Improved Focus Styles */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 10001;
    transition: width 0.3s ease;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

/* ==========================================================================
   ENHANCED HEADER & NAVIGATION
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.logo:hover .logo-text::after {
    transform: scaleX(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--light-color);
    border-radius: 8px;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.nav-link:hover::before {
    opacity: 1;
}

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

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.admin-link {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    color: var(--white) !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: var(--border-radius) !important;
    transition: var(--transition) !important;
    font-weight: 600 !important;
    box-shadow: var(--box-shadow-soft);
    position: relative;
    overflow: hidden;
}

.admin-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.admin-link:hover::before {
    left: 100%;
}

.admin-link:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--box-shadow-hover) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.hamburger:hover {
    background: var(--light-color);
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   ENHANCED HERO SECTION
   ========================================================================== */

.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.1), rgba(46, 139, 87, 0.1));
    transform: rotate(-15deg);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Enhanced Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: var(--box-shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    backdrop-filter: blur(10px);
}

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

/* CTA Button with pulse effect */
.btn-cta {
    background: linear-gradient(135deg, var(--secondary-color), #FF8C00);
    color: var(--white);
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.3);
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px rgba(255, 165, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 165, 0, 0.5); }
    100% { box-shadow: 0 0 20px rgba(255, 165, 0, 0.3); }
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-shape {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, 
        rgba(23, 162, 184, 0.2), 
        rgba(255, 165, 0, 0.2), 
        rgba(46, 139, 87, 0.2));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape 8s ease-in-out infinite;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-shape::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    animation: morphShapeInner 8s ease-in-out infinite reverse;
}

.hero-shape-icon {
    font-size: 4rem;
    color: var(--primary-color);
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg);
    }
    25% {
        border-radius: 70% 30% 50% 50% / 30% 60% 70% 40%;
        transform: rotate(90deg);
    }
    50% {
        border-radius: 50% 50% 30% 70% / 60% 40% 30% 70%;
        transform: rotate(180deg);
    }
    75% {
        border-radius: 40% 60% 70% 30% / 70% 30% 50% 50%;
        transform: rotate(270deg);
    }
}

@keyframes morphShapeInner {
    0%, 100% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    25% {
        border-radius: 30% 70% 50% 50% / 70% 40% 30% 60%;
    }
    50% {
        border-radius: 50% 50% 70% 30% / 40% 60% 70% 30%;
    }
    75% {
        border-radius: 60% 40% 30% 70% / 30% 70% 50% 50%;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   ENHANCED SECTIONS
   ========================================================================== */

.about, .services, .clients, .contact {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
}

.section-description {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Enhanced About Section */
.about {
    background: linear-gradient(135deg, var(--light-color) 0%, rgba(248, 249, 250, 0.5) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.about-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.about-item:hover::before {
    transform: scaleX(1);
}

.about-item:hover {
    transform: translateY(-15px);
    box-shadow: var(--box-shadow-hover);
}

.about-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-icon::before {
    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: var(--transition);
}

.about-item:hover .about-icon::before {
    animation: shimmer 0.8s ease-out;
}

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

.about-icon i {
    font-size: 2.2rem;
    color: var(--white);
    z-index: 2;
}

.about-item h3 {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.about-item p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Enhanced Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:nth-child(2)::before {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.service-card:nth-child(3)::before {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.service-card:nth-child(4)::before {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition);
    position: relative;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Enhanced Clients Section */
.clients {
    background: linear-gradient(135deg, var(--light-color) 0%, rgba(248, 249, 250, 0.5) 100%);
}

.clients-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.client-featured {
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.client-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.client-featured:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.client-card {
    padding: 3rem;
}

.client-logo {
    margin-bottom: 2rem;
}

.client-name {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.client-card h3 {
    font-family: var(--font-primary);
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.client-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.client-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    background: transparent;
}

.client-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.clients-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: var(--box-shadow-hover);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 1rem;
}

/* Enhanced Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: var(--border-radius-large);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.contact-item:hover {
    background: var(--white);
    box-shadow: var(--box-shadow);
    transform: translateY(-5px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 1.6rem;
    color: var(--white);
}

.contact-item h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.contact-item p {
    color: var(--gray-600);
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 1.2rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(23, 162, 184, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Validation Styles */
.form-group.error input,
.form-group.error textarea {
    border-color: var(--error-color);
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.form-group.success input,
.form-group.success textarea {
    border-color: var(--success-color);
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.1);
}

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* ==========================================================================
   ENHANCED FOOTER
   ========================================================================== */

.footer {
    background: linear-gradient(135deg, var(--dark-color), #34495e);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--gray-300);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-section h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 600;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 1rem;
}

.footer-section ul li a::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-600);
}

.footer-copyright {
    color: var(--gray-300);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background: var(--gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: scale(0);
    transition: var(--transition);
    border-radius: 50%;
}

.footer-social a:hover::before {
    transform: scale(1);
}

.footer-social a i {
    position: relative;
    z-index: 2;
}

.footer-social a:hover {
    transform: translateY(-5px);
}

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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--box-shadow);
        padding: 2rem 0;
        border-top: 1px solid var(--gray-200);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-shape {
        width: 300px;
        height: 300px;
    }
    
    .hero-shape-icon {
        font-size: 3rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .container {
        padding: 0 15px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero-shape {
        width: 250px;
        height: 250px;
    }

    .about-item,
    .service-card {
        padding: 2rem 1.5rem;
    }

    .client-card {
        padding: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden { display: none; }
.visible { display: block; }

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   NOTIFICATION STYLES
   ========================================================================== */

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--success-color);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-hover);
    z-index: 10000;
    transform: translateX(400px);
    transition: var(--transition);
    max-width: 400px;
    min-width: 300px;
}

.notification.notification-error {
    background: var(--error-color);
}

.notification.notification-warning {
    background: var(--warning-color);
}

.notification.notification-info {
    background: var(--primary-color);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.2rem;
    margin-left: auto;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .header,
    .scroll-top,
    .notification {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 18pt;
        color: #000;
    }
}