/* Apple Liquid Glass Design System */
:root {
    /* Primary Palette - Apple Blue */
    --primary-color: #007AFF; /* Apple's signature blue */
    --primary-light: #5AC8FA; /* Light blue for highlights */
    --primary-dark: #0051D5; /* Darker blue for depth */

    /* Secondary Palette - Apple Orange */
    --secondary-color: #FF6B35; /* Apple's vibrant orange */
    --secondary-light: #FF8A65; /* Light orange for highlights */
    --secondary-dark: #E55A2B; /* Darker orange for emphasis */

    /* Accent Colors - Apple's Color Palette */
    --accent-purple: #AF52DE; /* Apple's purple */
    --accent-teal: #5AC8FA; /* Apple's teal */
    --accent-pink: #FF2D92; /* Apple's pink */

    /* Neutral Palette - Apple's Sophisticated Grays */
    --text-primary: #1D1D1F; /* Apple's dark gray for headings */
    --text-secondary: #86868B; /* Apple's medium gray for body text */
    --text-muted: #A1A1A6; /* Apple's light gray for subtle text */

    /* Background Colors - Apple's Clean Whites */
    --background-primary: #FBFBFD; /* Apple's off-white */
    --background-secondary: #F5F5F7; /* Apple's light gray */
    --background-tertiary: #FAFAFA; /* Apple's very light gray */

    /* Liquid Glass Elements */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    --glass-blur: 20px;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.15);

    /* Legacy support */
    --white-color: #FFFFFF;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Theme Colors - Apple Liquid Glass */
    --background-color: var(--background-primary);
    --text-color: var(--text-primary);
    --nav-background: var(--glass-bg);
    --section-background: var(--background-secondary);
    --card-background: var(--glass-bg);
    --card-shadow: var(--shadow-light);
    --input-background: var(--glass-bg);
    --input-border: var(--glass-border);
    --footer-background: var(--background-tertiary);
}

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

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

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Apple Liquid Glass Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.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 ease;
}

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

.btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 12px 40px var(--glass-shadow), 0 0 0 1px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn:active {
    transform: translateY(0px) scale(0.98);
    box-shadow: 0 4px 16px var(--glass-shadow);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Apple Liquid Glass Header */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--glass-shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    margin: 16px;
    will-change: transform, backdrop-filter;
    transform: translateY(0) !important; /* Ensure header is always visible by default */
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Enhanced Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 12px;
    justify-content: center;
}

.logo:hover {
    transform: translateY(-1px) scale(1.02);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:active {
    transform: translateY(0px) scale(0.98);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-icon {
    width: 36px;
    height: 36px;
    fill: var(--secondary-color);
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.05) rotate(3deg);
    filter: drop-shadow(0 4px 8px rgba(249, 115, 22, 0.2));
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:active .logo-icon {
    transform: scale(0.95) rotate(0deg);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Modern Navigation */
header nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

header nav ul li a {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.95rem;
    background: transparent;
    border: 1px solid transparent;
}

header nav ul li a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 8px 25px var(--glass-shadow);
    border-color: rgba(255, 255, 255, 0.3);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

header nav ul li a:active {
    transform: translateY(0px) scale(0.98);
    box-shadow: 0 4px 16px var(--glass-shadow);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Apple Liquid Glass Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%);
    z-index: 1;
    padding: 0 16px;
}

.hero {
    text-align: center;
    padding: 120px 40px 80px;
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 20px 40px var(--glass-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero:hover {
    transform: translateY(-2px) scale(1.005);
    box-shadow: 0 24px 48px var(--glass-shadow), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero h1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 32px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #858585;
}

.hero .btn {
    padding: 20px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 50%, var(--accent-pink) 100%);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero .btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.4);
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--secondary-color) 50%, var(--accent-purple) 100%);
}

#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Modern Section Styling */
section {
    padding: 100px 0;
    position: relative;
    z-index: 5;
    background: var(--background-primary);
}

section:nth-child(even) {
    background: var(--section-background);
}

/* Ensure Services section has proper background */
.services {
    background: var(--background-primary);
    position: relative;
    z-index: 10;
    padding-top: 140px; /* Increased padding to ensure title is completely visible */
    margin-top: -60px; /* Compensate for the padding to maintain visual spacing */
}

/* Ensure main content blocks the canvas */
main {
    background: var(--background-primary);
    position: relative;
    z-index: 5;
}

section h2 {
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-pink));
    border-radius: 2px;
}

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

.service-item {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 8px 32px var(--glass-shadow);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-pink));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 40px var(--glass-shadow), 0 0 0 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:active {
    transform: translateY(-2px) scale(0.99);
    box-shadow: 0 8px 24px var(--glass-shadow);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover::before {
    transform: translateX(0);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.service-item p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Enhanced Portfolio Section */
.portfolio {
    background: var(--background-primary);
    position: relative;
    z-index: 10;
    padding-top: 140px; /* Increased padding to ensure title is completely visible */
    margin-top: -60px; /* Compensate for the padding to maintain visual spacing */
}

.portfolio-categories {
    margin-bottom: 60px;
    text-align: center;
}

.category-tabs {
    display: inline-flex;
    background: var(--background-tertiary);
    border-radius: 50px;
    padding: 8px;
    gap: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.category-tab {
    background: transparent;
    border: none;
    padding: 14px 28px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 25px;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.category-tab:hover::before,
.category-tab.active::before {
    transform: scale(1);
}

.category-tab:hover,
.category-tab.active {
    color: white;
    transform: translateY(-1px) scale(1.02);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-tab:active {
    transform: translateY(0px) scale(0.98);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.portfolio-item {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px var(--glass-shadow);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 50px var(--glass-shadow), 0 0 0 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:active {
    transform: translateY(-3px) scale(0.99);
    box-shadow: 0 12px 30px var(--glass-shadow);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Project Collage */
.project-collage {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--background-tertiary) 100%);
}

.collage-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.collage-image:hover img {
    transform: scale(1.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.collage-image:active img {
    transform: scale(0.98);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.collage-image:hover .image-overlay {
    opacity: 1;
}

.more-photos-indicator {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 16px 24px;
    border-radius: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.collage-image:hover .more-photos-indicator {
    transform: translateY(0) scale(1.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.collage-image:active .more-photos-indicator {
    transform: translateY(2px) scale(0.98);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.photos-count {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.photos-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Enhanced Project Info */
.project-info {
    padding: 32px;
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.project-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    flex: 1;
}

.project-type {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.client-badge {
    background: linear-gradient(135deg, var(--accent-teal), #0d9488);
    color: white;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.demo-badge {
    background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.project-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Enhanced Portfolio Actions */
.portfolio-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.portfolio-actions .btn {
    flex: 1;
    min-width: 160px;
    text-align: center;
    font-size: 0.95rem;
    padding: 14px 24px;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--white-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

/* Enhanced About Section */
.about {
    background: var(--section-background);
    text-align: center;
    padding-top: 140px; /* Increased padding to ensure title is completely visible */
    margin-top: -60px; /* Compensate for the padding to maintain visual spacing */
}

.about p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Enhanced Contact Section */
.contact {
    background: var(--section-background);
    position: relative;
    overflow: hidden;
    padding-top: 140px; /* Increased padding to ensure title is completely visible */
    margin-top: -60px; /* Compensate for the padding to maintain visual spacing */
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0.3;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

/* Enhanced Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 8px 32px var(--glass-shadow);
    border: 1px solid var(--glass-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-pink));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 32px var(--glass-shadow), 0 0 0 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:active {
    transform: translateY(-1px) scale(0.99);
    box-shadow: 0 6px 20px var(--glass-shadow);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover::before {
    transform: translateX(0);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: white;
    stroke-width: 2.5;
}

.contact-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contact-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-card a:hover {
    color: var(--secondary-color);
    transform: translateY(-1px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card a:active {
    transform: translateY(0px);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.response-time {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 8px;
    display: block;
}

/* Enhanced Contact Form */
.contact-form-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 40px var(--glass-shadow);
    border: 1px solid var(--glass-border);
    position: relative;
    //display: none;
}

.form-progress {
    height: 6px;
    background: var(--background-tertiary);
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-pink));
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.form-group {
    position: relative;
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea,
.form-group.has-error .form-select {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.has-success .form-input,
.form-group.has-success .form-textarea {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.required {
    color: var(--secondary-color);
    margin-left: 4px;
}

.input-wrapper,
.textarea-wrapper {
    position: relative;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 18px 24px;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    font-size: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    box-shadow: 0 4px 16px var(--glass-shadow);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px var(--glass-shadow), 0 0 0 2px rgba(0, 122, 255, 0.15);
    transform: translateY(-1px) scale(1.005);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
    transition: opacity 0.3s ease;
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
    opacity: 0.7;
}

.input-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.input-icon.success svg {
    color: var(--accent-teal);
    stroke-width: 3;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    padding-right: 80px;
}

.char-count {
    position: absolute;
    bottom: 20px;
    right: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--card-background);
    padding: 4px 8px;
    border-radius: 6px;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 20px center;
    background-repeat: no-repeat;
    background-size: 20px;
}

.checkbox-group {
    margin-bottom: 40px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.checkbox-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.error-message::before {
    content: '⚠';
    font-size: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 20px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    color: var(--text-primary);
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 12px 40px var(--glass-shadow), 0 0 0 1px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.submit-btn:active {
    transform: translateY(0px) scale(0.98);
    box-shadow: 0 4px 16px var(--glass-shadow);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.submit-btn.loading {
    background: var(--text-muted) !important;
}

.btn-text,
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.spinner {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

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

/* Enhanced Success/Error Messages */
.success-message,
.error-message-global {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-radius: 16px;
    margin-top: 32px;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-message {
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: var(--accent-teal);
}

.error-message-global {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.message-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-icon.success {
    background: var(--accent-teal);
}

.message-icon.error {
    background: #ef4444;
}

.message-icon svg {
    width: 28px;
    height: 28px;
    color: white;
    stroke-width: 2.5;
}

.message-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.message-content p {
    margin: 0;
    opacity: 0.9;
}

/* Enhanced Animations */
.animate-in {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.slide-in-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.slide-in-right {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notification Banner */
.notification-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -8px 32px var(--glass-shadow);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 16px 0;
    /* Ensure it stays fixed even on mobile */
    position: fixed !important;
}

.notification-banner.show {
    transform: translateY(0);
}

.notification-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 20px;
}

.notification-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

.notification-icon {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

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

.notification-btn {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.notification-btn .btn-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.notification-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.notification-btn:hover .btn-icon {
    transform: translateX(2px);
}

.notification-btn:active {
    transform: translateY(0);
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.notification-close svg {
    width: 16px;
    height: 16px;
}

/* Responsive design for notification banner */
@media (max-width: 768px) {
    .notification-banner .container {
        flex-direction: column;
        gap: 12px;
    }

    .notification-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .notification-text {
        flex-direction: column;
        gap: 8px;
    }

    .notification-btn {
        width: 100%;
        text-align: center;
    }
}

/* Apple Liquid Glass Footer */
footer {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    color: var(--text-color);
    text-align: center;
    padding: 40px 0;
    font-size: 0.95rem;
    position: relative;
    z-index: 5;
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -8px 32px var(--glass-shadow);
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-left: 20px;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--secondary-color);
    transform: translateY(-1px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

footer a:active {
    transform: translateY(0px);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Photo Modal */
.photo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
}

.modal-content {
    position: relative;
    z-index: 10001;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-controls {
    position: fixed;
    top: 30px;
    left: 30px;
    display: flex;
    gap: 16px;
    z-index: 10002;
}

.modal-btn {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-btn:active {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0.95);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.close-btn:hover {
    background: rgba(239, 68, 68, 0.8);
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(30, 58, 138, 0.8);
}

.modal-image-container {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalImage {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    section {
        padding: 80px 0;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: -0.01em;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .hero .btn {
        padding: 18px 36px;
        font-size: 1rem;
    }

    header nav {
        padding: 16px 0;
    }

    header nav ul {
        gap: 6px;
    }

    header nav ul li a {
        padding: 10px 16px;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-info {
        order: 2;
    }

    .contact-form-wrapper {
        order: 1;
    }

    .services .service-grid,
    .portfolio .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .portfolio-actions {
        flex-direction: column;
        gap: 12px;
    }

    .portfolio-actions .btn {
        min-width: auto;
        width: 100%;
    }

    .modal-controls {
        top: 20px;
        left: 20px;
        gap: 12px;
    }

    .modal-btn {
        width: 48px;
        height: 48px;
    }

    .modal-btn svg {
        width: 20px;
        height: 20px;
    }
}

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

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 80px 0 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    header nav {
        padding: 12px 0;
    }

    header nav ul li a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .contact-form-wrapper {
        padding: 24px 20px;
    }

    .modal-controls {
        top: 15px;
        left: 15px;
        gap: 8px;
    }

    .modal-btn {
        width: 44px;
        height: 44px;
    }

    .modal-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Large screens optimization */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    header nav {
        max-width: 1400px;
    }

    .hero {
        max-width: 1000px;
    }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    header nav {
        max-width: 1600px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
.btn:focus,
.form-input:focus,
.form-textarea:focus,
.form-select:focus,
.category-tab:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --shadow-light: rgba(0, 0, 0, 0.3);
        --shadow-medium: rgba(0, 0, 0, 0.5);
        --shadow-dark: rgba(0, 0, 0, 0.7);
    }
}

/* Privacy Policy Page Styles */
.privacy-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%);
}

/* Privacy Hero Section */
.privacy-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.privacy-header {
    text-align: center;
    position: relative;
    z-index: 2;
}

.privacy-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-top: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    font-style: italic;
}

.privacy-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.8;
}

.effective-date,
.last-updated {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Privacy Content Section */
.privacy-content {
    padding: 80px 0;
    background: var(--background-primary);
}

.privacy-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

/* Privacy Navigation */
.privacy-nav {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.nav-sticky {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.nav-sticky h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

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

.nav-sticky ul li {
    margin-bottom: 0.5rem;
}

.nav-sticky ul li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
}

.nav-sticky ul li a:hover {
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.nav-sticky ul li a.active {
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 500;
}

/* Privacy Main Content */
.privacy-main {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.privacy-section {
    margin-bottom: 4rem;
    scroll-margin-top: 120px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--background-secondary);
}

.section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.section-icon svg {
    width: 24px;
    height: 24px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.privacy-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

/* Info Grid for Information Collection */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background: var(--background-secondary);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow-medium);
    border-color: var(--primary-color);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Privacy Lists */
.privacy-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.privacy-list li {
    position: relative;
    padding: 0.75rem 0 0.75rem 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--background-secondary);
}

.privacy-list li:last-child {
    border-bottom: none;
}

.privacy-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--background-tertiary) 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Responsive Design for Privacy Page */
@media (max-width: 1024px) {
    .privacy-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .privacy-nav {
        position: static;
        order: 2;
    }

    .nav-sticky {
        position: sticky;
        top: 80px;
    }

    .privacy-main {
        padding: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 100px 0 60px;
    }

    .privacy-content {
        padding: 60px 0;
    }

    .privacy-main {
        padding: 1.5rem;
    }

    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .privacy-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .privacy-hero {
        padding: 80px 0 40px;
    }

    .privacy-content {
        padding: 40px 0;
    }

    .privacy-main {
        padding: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .privacy-section p {
        font-size: 1rem;
    }

    .info-card {
        padding: 1rem;
    }

    .card-icon {
        width: 48px;
        height: 48px;
    }

    .card-icon svg {
        width: 24px;
        height: 24px;
    }
}
