/* ===== VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #ff5a5f; /* Vibrant red */
    --primary-dark: #e04347;
    --primary-light: #ff8a8e;
    --secondary-color: #8d6e63; /* Warm brown */
    --secondary-dark: #5f4339;
    --secondary-light: #be9c91;
    --accent-color: #00bcd4; /* Bright teal */
    --accent-dark: #008ba3;
    --accent-light: #62efff;
    --text-dark: #263238;
    --text-medium: #546e7a;
    --text-light: #b0bec5;
    --background-light: #ffffff;
    --background-off-white: #f5f5f5;
    --background-warm: #fff8e1;
    --background-gradient: linear-gradient(135deg, #fff8e1, #ffccbc);
    --success-color: #66bb6a;
    --error-color: #f44336;
    --warning-color: #ffa726;
    --info-color: #29b6f6;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-circle: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.1);
    --shadow-neon: 0 0 15px var(--accent-light);
    --shadow-glow: 0 0 20px rgba(255, 90, 95, 0.5);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background-light);
    background-image: radial-gradient(circle at top right, rgba(255, 90, 95, 0.05), transparent 400px),
                      radial-gradient(circle at bottom left, rgba(0, 188, 212, 0.05), transparent 400px);
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-fast), transform var(--transition-fast);
    position: relative;
}

a:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

h1 {
    font-size: 4rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 2.75rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
    z-index: 1;
}

.section-title::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--accent-light);
    border-radius: var(--border-radius-circle);
    opacity: 0.2;
    z-index: -1;
    top: -10px;
    left: -20px;
    animation: pulse 3s infinite alternate;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-sm);
}

.section-subtitle {
    color: var(--text-medium);
    font-size: 1.1rem;
    max-width: 600px;
    margin: var(--spacing-md) auto 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-bounce);
    border: none;
    font-family: var(--body-font);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md), 0 0 0 rgba(255, 90, 95, 0);
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 5px 15px rgba(255, 90, 95, 0.4);
}

.btn-secondary {
    background: linear-gradient(to right, var(--secondary-color), var(--secondary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: linear-gradient(to right, var(--secondary-dark), var(--secondary-color));
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 5px 15px rgba(141, 110, 99, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: inset 0 0 0 0 var(--primary-color);
}

.btn-outline:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-5px);
    box-shadow: inset 0 50px 0 0 var(--primary-color), var(--shadow-md);
}

.btn-accent {
    background: linear-gradient(to right, var(--accent-color), var(--accent-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    background: linear-gradient(to right, var(--accent-dark), var(--accent-color));
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 5px 15px rgba(0, 188, 212, 0.4);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    margin: var(--spacing-md) auto;
    z-index: 1000;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
    padding: var(--spacing-md) var(--spacing-lg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 0 0 50px 50px;
    clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 5% 100%);
    animation: headerGlow 3s infinite alternate;
}

.header.scrolled {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    box-shadow: var(--shadow-xl), 0 0 30px rgba(255, 255, 255, 0.4);
    margin: 0 auto;
    transform: translateX(-50%) scale(0.97);
    border-radius: 0 0 40px 40px;
    clip-path: polygon(0% 0%, 100% 0%, 93% 100%, 7% 100%);
}

@keyframes headerGlow {
    0% {
        box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: var(--shadow-xl), 0 0 40px rgba(255, 255, 255, 0.5);
    }
}

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

.logo a {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    transition: transform var(--transition-bounce);
}

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

.logo span {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-list {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-normal), transform var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: width var(--transition-normal);
    border-radius: var(--border-radius-sm);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all var(--transition-fast);
    background-color: var(--text-dark);
    border-radius: var(--border-radius-sm);
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: calc(var(--spacing-xxl) * 2) 0 var(--spacing-xxl);
    background: var(--background-gradient);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
    opacity: 0.5;
    border-radius: var(--border-radius-circle);
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.5;
    border-radius: var(--border-radius-circle);
    animation: float 6s ease-in-out infinite reverse;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    animation: fadeIn 1.5s ease-out;
    position: relative;
}

.hero-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(var(--shadow-lg));
    transition: transform var(--transition-slow);
    animation: float 6s ease-in-out infinite;
}

.hero-img:hover {
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.15));
}

.hero-wave {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
    border-radius: var(--border-radius-circle);
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 2px dashed var(--primary-color);
    border-radius: var(--border-radius-md);
    opacity: 0.5;
    z-index: -1;
    animation: rotate 15s linear infinite;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 2px dashed var(--accent-color);
    border-radius: var(--border-radius-md);
    opacity: 0.5;
    z-index: -1;
    animation: rotate 15s linear infinite reverse;
}

.about-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.about-img:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: var(--shadow-xl);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-sm);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform var(--transition-normal);
}

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

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background-color: var(--background-off-white);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 90, 95, 0.1) 0%, transparent 70%);
    border-radius: var(--border-radius-circle);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    z-index: -1;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-circle);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: transform var(--transition-normal);
    box-shadow: 0 5px 15px rgba(255, 90, 95, 0.3);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ===== TEAM SECTION ===== */
.team-section {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.team-section::after {
    content: '';
    position: absolute;
    top: 50px;
    right: 50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
    border-radius: var(--border-radius-circle);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.team-member {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    z-index: -1;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius-circle);
    overflow: hidden;
    margin: 0 auto var(--spacing-md);
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(to right, var(--primary-color), var(--accent-color)) border-box;
    transition: transform var(--transition-normal);
}

.team-member:hover .member-image {
    transform: scale(1.05);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.team-member h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.3rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
}

.member-bio {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.member-social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.member-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-circle);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.member-social a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    background-color: var(--background-off-white);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 90, 95, 0.1) 0%, transparent 70%);
    border-radius: var(--border-radius-circle);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    z-index: -1;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(to right, var(--primary-color), var(--accent-color)) border-box;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-header {
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

.pricing-features {
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.pricing-feature {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.pricing-feature i {
    color: var(--success-color);
    margin-right: var(--spacing-sm);
}

.pricing-feature.disabled {
    color: var(--text-light);
}

.pricing-feature.disabled i {
    color: var(--text-light);
}

.pricing-cta {
    margin-top: var(--spacing-md);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0 var(--border-radius-lg) 0 var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* ===== BLOG SECTION ===== */
.blog-section {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.blog-section::after {
    content: '';
    position: absolute;
    top: 100px;
    left: 100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
    border-radius: var(--border-radius-circle);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.blog-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    z-index: -1;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: var(--spacing-lg);
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
}

.blog-date i {
    margin-right: var(--spacing-xs);
    color: var(--primary-color);
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.blog-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.blog-link i {
    margin-left: var(--spacing-xs);
    transition: transform var(--transition-normal);
}

.blog-link:hover i {
    transform: translateX(5px);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background-color: var(--background-off-white);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: 50px;
    right: 50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 90, 95, 0.1) 0%, transparent 70%);
    border-radius: var(--border-radius-circle);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    z-index: -1;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-circle);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.contact-icon i {
    font-size: 1.2rem;
    color: white;
}

.contact-details h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.contact-details p, .contact-details a {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: perspective(1000px) rotateX(0deg);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    z-index: -1;
}

.contact-form-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.contact-form-container:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    transform: perspective(1000px) rotateX(2deg);
}

.contact-form-container:hover::after {
    opacity: 1;
}

.contact-form {
    position: relative;
}

.contact-form h3 {
    margin-bottom: var(--spacing-lg);
    text-align: center;
    position: relative;
    display: inline-block;
}

/* Form field animation */
.form-field-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    z-index: 0;
}

.form-group:hover .form-field-animation,
.form-control:focus ~ .form-field-animation {
    transform: scaleX(1);
    opacity: 1;
}

/* Form progress bar */
.form-progress {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    overflow: hidden;
}

.form-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
    position: relative;
}

.form-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: wave 2s infinite linear;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    font-size: 0.95rem;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.form-label::after {
    content: '';
    position: absolute;
    width: 0;
    height: 8px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    bottom: 0;
    left: -5px;
    z-index: -1;
    opacity: 0.5;
    transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: var(--border-radius-sm);
}

.form-group:hover .form-label::after,
.form-control:focus + .form-label::after {
    width: 100%;
}

.form-group {
    margin-bottom: var(--spacing-md);
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    transition: transform 0.3s ease;
}

.form-group:hover {
    transform: translateY(-3px);
}

.form-group::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.form-group:hover::before {
    opacity: 0.05;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid transparent;
    border-radius: var(--border-radius-md);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    transform: perspective(1000px) translateZ(0);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 90, 95, 0.25);
    transform: perspective(1000px) translateZ(10px);
    background-color: rgba(255, 255, 255, 1);
}

.form-control::placeholder {
    color: var(--text-light);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.form-control:focus::placeholder {
    opacity: 0.3;
    transform: translateX(10px);
}

/* Input field icon indicators */
.form-group::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.form-group:nth-child(1)::after {
    content: "\f007"; /* user icon */
}

.form-group:nth-child(2)::after {
    content: "\f0e0"; /* envelope icon */
}

.form-group:nth-child(3)::after {
    content: "\f02b"; /* tag icon */
}

.form-group:nth-child(4)::after {
    content: "\f075"; /* comment icon */
    top: 30px;
}

.form-group:hover::after {
    opacity: 0.5;
    right: 20px;
}

.form-control:focus + label::after {
    opacity: 1;
}

/* Animated validation indicators */
.form-control:valid {
    border-right: 5px solid var(--success-color);
}

.form-control:invalid:not(:placeholder-shown) {
    border-right: 5px solid var(--primary-color);
}

/* Special styling for textarea */
textarea.form-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
    background-image: linear-gradient(transparent, transparent calc(1.6em), rgba(0, 188, 212, 0.05) 0);
    background-size: 100% 1.6em;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), background-position 0.2s;
}

textarea.form-control:focus {
    background-position: 0 5px;
}

/* Submit button with adventure styling */
.form-submit {
    text-align: center;
    margin-top: var(--spacing-lg);
    position: relative;
    perspective: 1000px;
}

.contact-form button {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(255, 90, 95, 0.3);
    transform-style: preserve-3d;
}

.contact-form button:hover {
    transform: translateY(-5px) rotateX(10deg);
    box-shadow: 0 15px 30px rgba(255, 90, 95, 0.4);
}

.contact-form button:active {
    transform: translateY(2px);
    box-shadow: 0 5px 10px rgba(255, 90, 95, 0.4);
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.contact-form button:hover::before {
    transform: scale(1);
    opacity: 1;
}

/* Success message with animation */
.form-success {
    background-color: rgba(102, 187, 106, 0.1);
    color: var(--success-color);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    margin-top: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transform: translateY(20px);
    opacity: 0;
    animation: successMessage 0.5s forwards 0.2s;
    box-shadow: 0 10px 30px rgba(102, 187, 106, 0.2);
    border-left: 4px solid var(--success-color);
}

@keyframes successMessage {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-success i {
    font-size: 1.2rem;
    animation: successIcon 1s infinite alternate;
}

@keyframes successIcon {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.2);
    }
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, var(--text-dark) 0%, var(--text-dark) 100%);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent), var(--color-secondary), var(--color-primary));
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
    z-index: 1;
}

/* Row-based layout */
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-xl);
    position: relative;
    flex-wrap: wrap;
    padding: 0 var(--spacing-lg);
}

/* First row - Brand and social */
.footer-brand {
    flex: 0 0 60%;
    max-width: 60%;
}

/* Links row */
.footer-links-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-xl);
    position: relative;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--glass-border);
    margin: 0 var(--spacing-lg) var(--spacing-xl);
    box-shadow: var(--shadow-lg);
}

.footer-links-column {
    padding: var(--spacing-md);
    transition: transform var(--transition-normal);
}

.footer-links-column:hover {
    transform: translateY(-5px);
}

.footer-links-column h4 {
    color: var(--background-light);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-sm);
}

.footer-links-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links-column ul li a {
    color: var(--text-light);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: var(--spacing-xs) 0;
}

.footer-links-column ul li a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-normal);
}

.footer-links-column ul li a:hover {
    color: var(--primary-light);
    transform: translateX(8px);
    text-shadow: 0 0 8px rgba(255, 90, 95, 0.3);
}

.footer-links-column ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-links-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(var(--color-primary-rgb), 0.3), 
        rgba(var(--color-secondary-rgb), 0.3), 
        rgba(var(--color-accent-rgb), 0.3));
}

.footer-links-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(var(--color-accent-rgb), 0.3), 
        rgba(var(--color-secondary-rgb), 0.3), 
        rgba(var(--color-primary-rgb), 0.3));
}

.footer-links-column {
    flex: 1 1 200px;
    max-width: 250px;
}

.footer-logo {
    margin-bottom: var(--spacing-md);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-light);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.3);
    transition: var(--transition);
}

.footer-logo span {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
}

.footer-logo:hover {
    text-shadow: 0 0 15px rgba(var(--color-primary-rgb), 0.6);
    transform: scale(1.05);
}

.footer-logo:hover span {
    animation: shimmer 2s infinite linear;
    background-size: 200% 100%;
}

.footer-about {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    position: relative;
    padding-left: 10px;
    border-left: 2px solid transparent;
    transition: var(--transition);
}

.footer-about:hover {
    border-left: 2px solid var(--color-primary);
    padding-left: 15px;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary-dark);
    color: var(--color-light);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--color-primary);
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 8px 16px rgba(var(--color-primary-rgb), 0.4);
}

.footer-social a:hover::before {
    opacity: 1;
}

.footer-social a i {
    transition: var(--transition);
}

.footer-social a:hover i {
    transform: scale(1.2);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--color-light);
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.5s ease;
}

.footer-widget:hover .footer-title::after {
    width: 100%;
}

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

.footer-links li {
    margin-bottom: var(--spacing-xs);
    position: relative;
}

.footer-links a {
    color: var(--color-gray-light);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    padding-left: 0;
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(10px);
    text-shadow: 0 0 8px rgba(var(--color-primary-rgb), 0.3);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -15px;
}

/* Newsletter row */
.newsletter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
    background: rgba(var(--color-dark-rgb), 0.6);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin: var(--spacing-xl) var(--spacing-lg);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.newsletter-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(var(--color-primary-rgb), 0.1), 
        rgba(var(--color-secondary-rgb), 0.1));
    z-index: -1;
}

.newsletter-row::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(var(--color-primary-rgb), 0.05) 0%, 
        transparent 70%);
    opacity: 0.5;
    z-index: -1;
    animation: pulse 15s infinite alternate;
}

.newsletter-content {
    flex: 0 0 40%;
    max-width: 40%;
}

.newsletter-title {
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
    background: linear-gradient(90deg, var(--color-light), var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.newsletter-form-container {
    flex: 0 0 55%;
    max-width: 55%;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.newsletter-form {
    display: flex;
    margin-top: var(--spacing-md);
    position: relative;
    perspective: 1000px;
    gap: var(--spacing-sm);
}

.newsletter-input-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    z-index: 2;
    transition: all 0.3s ease;
}

.newsletter-input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: none;
    background-color: rgba(var(--color-dark-rgb), 0.3);
    color: var(--color-light);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 5px 15px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transform-origin: left center;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.newsletter-input:focus {
    outline: none;
    transform: translateY(-3px) rotateY(-5deg);
    box-shadow: inset 0 0 0 1px rgba(var(--color-primary-rgb), 0.5), 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(var(--color-dark-rgb), 0.4);
}

.newsletter-input:focus ~ .input-icon {
    color: var(--color-secondary);
    transform: translateY(-50%) scale(1.2);
}

.newsletter-input-focus {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
}

.newsletter-input:focus + .newsletter-input-focus {
    transform: scaleX(1);
    box-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.5);
}

.input-animation-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.pulse-element {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
    opacity: 0;
    background: radial-gradient(circle, 
        rgba(var(--color-primary-rgb), 0.3) 0%, 
        transparent 70%);
    transition: opacity 0.3s ease;
}

.glow-element {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(var(--color-primary-rgb), 0.8) 0%, 
        transparent 70%);
    filter: blur(5px);
    opacity: 0;
    transition: all 0.5s ease;
}

.newsletter-input:focus ~ .input-animation-elements .pulse-element {
    opacity: 1;
    animation: pulse 2s infinite;
}

.newsletter-input:focus ~ .input-animation-elements .glow-element {
    opacity: 0.7;
    animation: moveGlow 3s infinite alternate;
}

@keyframes moveGlow {
    0% {
        left: 10%;
        top: 50%;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        left: 90%;
        top: 50%;
        transform: translate(-50%, -50%) scale(1.5);
    }
    100% {
        left: 50%;
        top: 20%;
        transform: translate(-50%, -50%) scale(1);
    }
}

.newsletter-btn {
    border-radius: var(--border-radius-md);
    padding: 0 25px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 8px 20px rgba(var(--color-primary-rgb), 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform-origin: right center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    min-height: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-light);
    text-transform: uppercase;
}

.btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.newsletter-btn .btn-text {
    transition: transform 0.3s ease;
}

.newsletter-btn .btn-icon {
    position: absolute;
    right: 20px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.newsletter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.newsletter-btn:hover {
    transform: translateY(-3px) rotateY(5deg);
    box-shadow: 0 8px 20px rgba(var(--color-primary-rgb), 0.5);
}

.newsletter-btn:hover .btn-text {
    transform: translateX(-10px);
}

.newsletter-btn:hover .btn-icon {
    opacity: 1;
    transform: translateX(0);
}

.newsletter-btn:hover::before {
    transform: translateY(0);
}

.newsletter-btn.sending {
    animation: pulse 1.2s infinite;
    pointer-events: none;
}

.newsletter-btn.sending .btn-text {
    opacity: 0;
}

.newsletter-btn.sending .btn-icon {
    opacity: 1;
    transform: translateX(0) scale(1.2);
    animation: fly 1.2s forwards;
}

@keyframes fly {
    0% {
        transform: translateX(0) scale(1);
    }
    20% {
        transform: translateX(-10px) scale(1.2);
    }
    100% {
        transform: translateX(100px) scale(0.5);
        opacity: 0;
    }
}

.newsletter-success {
    margin-top: var(--spacing-sm);
    color: var(--color-success);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-success.show {
    opacity: 1;
    transform: translateY(0);
}

.newsletter-success .checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--color-success), #4CAF50);
    border-radius: 50%;
    color: white;
    font-size: 12px;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.newsletter-success .checkmark i {
    transform: scale(0.8);
}

.footer-bottom {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--color-dark-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    transition: width 0.5s ease;
}

.footer:hover .footer-bottom::before {
    width: 80%;
}

.copyright p {
    position: relative;
    display: inline-block;
}

.copyright p::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.copyright:hover p::after {
    width: 100%;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-bottom-links a, .footer-link-hover {
    color: var(--color-gray-light);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    padding: 3px 0;
    overflow: hidden;
}

.footer-bottom-links a::after, .footer-link-hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.footer-bottom-links a::before, .footer-link-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.1), rgba(var(--color-secondary-rgb), 0.1));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
    border-radius: 4px;
}

.footer-bottom-links a:hover, .footer-link-hover:hover {
    color: var(--color-primary);
    text-shadow: 0 0 8px rgba(var(--color-primary-rgb), 0.3);
    padding: 3px 8px;
    transform: translateY(-2px);
}

.footer-bottom-links a:hover::after, .footer-link-hover:hover::after {
    width: 100%;
}

.footer-bottom-links a:hover::before, .footer-link-hover:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.highlight {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0.7);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.highlight:hover {
    text-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.4);
}

.highlight:hover::after {
    transform: scaleX(1);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-circle);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

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

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 90, 95, 0.3);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes borderGlow {
    0% {
        box-shadow: 0 0 5px rgba(255, 90, 95, 0.5);
        border-color: var(--primary-light);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 90, 95, 0.8), 0 0 30px rgba(0, 188, 212, 0.4);
        border-color: var(--accent-color);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 90, 95, 0.5);
        border-color: var(--primary-light);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes wave {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    50% { border-color: transparent }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content,
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-features {
        justify-content: center;
    }
    
    .feature {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: var(--shadow-md);
        padding: var(--spacing-lg);
        transition: all var(--transition-normal);
        z-index: 999;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        top: 70px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .pricing-grid,
    .services-grid,
    .team-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===== COPYRIGHT SECTION ===== */
.footer-bottom {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    animation: shimmerLine 3s infinite linear;
}

@keyframes shimmerLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-copyright span {
    color: var(--primary-light);
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.footer-bottom-links a {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width var(--transition-normal);
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

/* ===== GLASS MORPHISM EFFECTS ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ===== CUSTOM CURSOR ===== */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 90, 95, 0.5);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}

.custom-cursor.active {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 188, 212, 0.3);
}

/* ===== LEAD GENERATION ELEMENTS ===== */
.lead-capture-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-xl);
    z-index: 998;
    max-width: 350px;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--glass-border);
}

.lead-capture-popup.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.lead-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.lead-popup-title {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.lead-popup-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-medium);
    transition: color var(--transition-fast);
}

.lead-popup-close:hover {
    color: var(--primary-color);
}

.lead-popup-content p {
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
    color: var(--text-medium);
}

.lead-popup-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.lead-popup-input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--text-light);
    border-radius: var(--border-radius-md);
    font-family: var(--body-font);
    font-size: 0.95rem;
}

.lead-popup-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.lead-popup-submit {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    padding: 0.75rem 1rem;
    font-family: var(--body-font);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.lead-popup-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 90, 95, 0.3);
}

/* ===== FLOATING ELEMENTS ===== */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    opacity: 0.1;
    z-index: -1;
    animation: float 10s infinite ease-in-out;
}

.floating-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-2 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.floating-3 {
    width: 80px;
    height: 80px;
    bottom: 15%;
    left: 10%;
    animation-delay: 4s;
}

.floating-4 {
    width: 120px;
    height: 120px;
    bottom: 10%;
    right: 5%;
    animation-delay: 6s;
}