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

:root {
    --primary-color: #2E5C8A;
    --primary-dark: #1E4A6B;
    --secondary-color: #4A7BB8;
    --accent-color: #3D6FA5;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7fa;
    --bg-dark: #1a2f47;
    --gradient-1: linear-gradient(135deg, #2E5C8A 0%, #4A7BB8 100%);
    --gradient-2: linear-gradient(135deg, #3D6FA5 0%, #5A8FC7 100%);
    --gradient-3: linear-gradient(135deg, #2E5C8A 0%, #1E4A6B 100%);
    --shadow-sm: 0 1px 2px 0 rgba(46, 92, 138, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(46, 92, 138, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(46, 92, 138, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(46, 92, 138, 0.25);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Image Protection Styles */
img {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    pointer-events: auto !important;
}

img::selection {
    background: transparent !important;
}

img::-moz-selection {
    background: transparent !important;
}

/* Prevent text selection on images */
img {
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(46, 92, 138, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-brand span {
    display: none;
}

.nav-logo {
    height: 75px;
    width: auto;
    display: block;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2E5C8A 0%, #4A7BB8 50%, #2E5C8A 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: visible;
    padding-top: 60px;
    padding-bottom: 1rem;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    margin-top: 0;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

/* Open Text Links Instead of Buttons */
.btn {
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1.1rem;
    padding: 0;
    border: none;
    background: none;
    position: relative;
}

.btn-primary {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary:hover {
    opacity: 0.8;
}

.btn-secondary {
    color: var(--text-primary);
    font-weight: 500;
    opacity: 0.8;
}

.btn-secondary:hover {
    opacity: 1;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-link {
    color: white;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.social-link:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Experience Section */
.experience {
    background: var(--bg-primary);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-1);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-date {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--bg-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Achievements Section */
.achievements {
    background: var(--bg-secondary);
}

/* Awards Gallery */
.awards-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.award-photo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    background: white;
    aspect-ratio: 3/4;
}

.award-photo:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.award-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    background: var(--bg-secondary);
}

.award-photo img:not([src]),
.award-photo img[src=""] {
    background: linear-gradient(135deg, #4A90E2 0%, #6BB6FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-photo img:not([src])::after,
.award-photo img[src=""]::after {
    content: '📷';
    font-size: 3rem;
    opacity: 0.5;
}

.award-photo:hover img {
    transform: scale(1.05);
}

.award-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.award-photo:hover .award-overlay {
    transform: translateY(0);
}

.award-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.award-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

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

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.achievement-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary-color);
}

.achievement-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.achievement-card p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.achievement-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1rem;
}

/* Skills Section */
.skills {
    background: var(--bg-primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.skill-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.skill-tag {
    background: var(--gradient-1);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Education Section */
.education {
    background: var(--bg-secondary);
}

.education-content {
    max-width: 600px;
    margin: 0 auto;
}

.education-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.education-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.education-icon svg {
    width: 64px;
    height: 64px;
    stroke: var(--primary-color);
}

.education-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.education-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: var(--bg-primary);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.contact-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

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

/* Footer */
.footer {
    background: #212529;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    color: white;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

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

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

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

.footer-links-list li {
    margin-bottom: 0.75rem;
}

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

.footer-links-list a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-contact-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: var(--primary-color);
}

.footer-cta-btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6BB6FF 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.4);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

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

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.4);
}

.footer-credit {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
    display: inline;
}

.footer-credit a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.footer-credit a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: auto;
        max-width: none;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .awards-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }

    .hero-content {
        padding: 1rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .achievement-card,
    .education-card {
        padding: 2rem 1.5rem;
    }
}

/* Legal Pages (Privacy Policy & Terms of Service) */
.legal-page {
    padding: 6rem 0 4rem;
    background: var(--bg-primary);
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-secondary);
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.legal-content ul {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.legal-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-secondary);
    text-align: center;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
    }
}

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

.about-content,
.timeline-item,
.achievement-card,
.skill-category,
.education-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.98) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 -8px 32px rgba(74, 144, 226, 0.2), 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: 1.75rem 2rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid var(--primary-color);
    max-width: 100%;
}

.cookie-consent.show {
    transform: translateY(0);
    animation: slideUpCookie 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpCookie {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-text::before {
    content: '🍪';
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cookie-text p {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 500;
}

.cookie-text p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.cookie-btn-accept {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3), 0 2px 4px rgba(74, 144, 226, 0.2);
}

.cookie-btn-accept::before {
    content: '✓';
    margin-right: 0.5rem;
}

.cookie-btn-accept:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4), 0 4px 8px rgba(74, 144, 226, 0.3);
}

.cookie-btn-accept:active {
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background: white;
    color: var(--text-secondary);
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cookie-btn-decline::before {
    content: '✕';
    margin-right: 0.5rem;
    opacity: 0.7;
}

.cookie-btn-decline:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 1.5rem 1.5rem;
        border-top-width: 2px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .cookie-text {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .cookie-text::before {
        font-size: 1.25rem;
        margin-top: 0.125rem;
    }

    .cookie-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .cookie-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        padding: 1.25rem 1.25rem;
    }
    
    .cookie-buttons {
        grid-template-columns: 1fr;
    }
    
    .cookie-text p {
        font-size: 0.875rem;
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 252, 255, 0.98) 100%);
    padding: 3rem 2.5rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 12px 32px rgba(46, 92, 138, 0.12), 
                0 6px 16px rgba(46, 92, 138, 0.08),
                0 0 0 1px rgba(46, 92, 138, 0.05);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 92, 138, 0.1) 0%, rgba(74, 123, 184, 0.05) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    border-radius: 50%;
    transform: scale(0.5);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(46, 92, 138, 0.08) 0%, 
        rgba(74, 123, 184, 0.06) 50%,
        rgba(61, 111, 165, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 50px;
}

.service-card:hover {
    box-shadow: 0 20px 50px rgba(46, 92, 138, 0.2), 
                0 10px 25px rgba(74, 123, 184, 0.15),
                0 0 30px rgba(46, 92, 138, 0.1);
    transform: translateY(-12px) scale(1.05) rotate(2deg);
    border-radius: 60px;
}

.service-card:hover::before {
    opacity: 1;
    transform: scale(1.2) rotate(45deg);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:nth-child(even):hover {
    transform: translateY(-12px) scale(1.05) rotate(-2deg);
}

.service-card:nth-child(odd) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 255, 0.95) 100%);
}

.service-card:nth-child(even) {
    background: linear-gradient(225deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 252, 255, 0.95) 100%);
}

.service-card.featured {
    border: none;
    box-shadow: 0 15px 40px rgba(46, 92, 138, 0.18), 
                0 8px 20px rgba(74, 123, 184, 0.12),
                0 0 0 2px rgba(46, 92, 138, 0.08);
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(250, 252, 255, 0.96) 50%,
        rgba(255, 255, 255, 0.98) 100%);
    border-radius: 55px;
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 15px 40px rgba(46, 92, 138, 0.18), 
                    0 8px 20px rgba(74, 123, 184, 0.12),
                    0 0 0 2px rgba(46, 92, 138, 0.08);
    }
    50% {
        box-shadow: 0 18px 45px rgba(46, 92, 138, 0.22), 
                    0 10px 25px rgba(74, 123, 184, 0.15),
                    0 0 0 3px rgba(46, 92, 138, 0.12);
    }
}

.service-card.featured:hover {
    box-shadow: 0 25px 60px rgba(46, 92, 138, 0.25), 
                0 12px 30px rgba(74, 123, 184, 0.18),
                0 0 40px rgba(46, 92, 138, 0.15);
    transform: translateY(-15px) scale(1.08) rotate(3deg);
    border-radius: 65px;
    animation: none;
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border: none;
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(46, 92, 138, 0.3);
    transform: rotate(5deg);
    transition: all 0.3s ease;
    z-index: 10;
}

.service-card:hover .service-badge {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(46, 92, 138, 0.4);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 252, 255, 0.95) 100%);
    padding: 1.5rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(46, 92, 138, 0.1);
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(46, 92, 138, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0.8);
    z-index: -1;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(8deg);
}

.service-card:hover .service-icon::before {
    opacity: 1;
    transform: scale(1.2);
}

.service-card:nth-child(even):hover .service-icon {
    transform: scale(1.15) rotate(-8deg);
}

.service-card:nth-child(3):hover .service-icon {
    transform: scale(1.15) rotate(12deg);
}

.service-icon svg {
    width: 64px;
    height: 64px;
    stroke: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-pricing {
    margin: 1rem 0 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-main {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.service-features li {
    color: var(--text-primary);
    padding: 0.75rem 0;
    font-weight: 500;
    border-bottom: none;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.service-features li::before {
    content: '✨';
    position: absolute;
    left: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.service-features li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.service-features li:hover::before {
    opacity: 1;
    transform: rotate(15deg) scale(1.2);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-card .btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* Social Proof Section */
.social-proof {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.social-proof-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.clients-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.client-logo-placeholder {
    width: 150px;
    height: 100px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px dashed var(--bg-secondary);
}

.client-logo-placeholder.large {
    width: 200px;
    height: 120px;
    font-size: 1.2rem;
}

.client-logo-placeholder:hover {
    border-color: var(--primary-color);
    background: rgba(74, 144, 226, 0.05);
    transform: scale(1.05);
}

/* Clients Page */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.client-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 0;
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.15), 0 4px 8px rgba(74, 144, 226, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.client-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 16px 40px rgba(74, 144, 226, 0.25), 0 8px 16px rgba(74, 144, 226, 0.15);
    border-color: var(--primary-dark);
}

.client-logo {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.client-card:hover .client-logo {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.client-name {
    margin-top: 0;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.portfolio-item {
    background: var(--bg-primary);
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15), 0 0 0 1px rgba(74, 144, 226, 0.1);
}

.portfolio-item:hover {
    border-color: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.25), 0 0 0 2px rgba(74, 144, 226, 0.2);
    transform: translateY(-4px);
}

.portfolio-domain-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
}

.portfolio-domain-header span {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.portfolio-live-preview {
    height: 0;
    overflow: hidden;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--bg-secondary);
}

.portfolio-live-preview.active {
    height: 600px;
    border-bottom: 3px solid var(--primary-color);
}

.portfolio-live-preview iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
    background: white;
}

/* Booking Section */
.booking-section .portfolio-live-preview {
    height: 800px;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.booking-section .portfolio-live-preview iframe {
    height: 800px;
    pointer-events: none !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.booking-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    cursor: not-allowed;
    background: transparent;
    pointer-events: all;
}

.booking-overlay:hover {
    cursor: not-allowed;
}

.booking-iframe-container {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.portfolio-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 2px solid var(--bg-secondary);
    background: var(--bg-primary);
    border-radius: 0 0 8px 8px;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.portfolio-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.portfolio-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    align-self: flex-start;
}

.portfolio-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.portfolio-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.portfolio-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.portfolio-preview-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    display: inline-block;
}

.portfolio-preview-btn:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .portfolio-live-preview.active {
        height: 400px;
    }
    
    .portfolio-live-preview iframe {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2.5rem 2rem;
    }
    
    .clients-preview {
        gap: 2rem;
    }
    
    .client-logo-placeholder {
        width: 120px;
        height: 80px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .client-card {
        padding: 1.5rem;
    }
    
    .client-logo {
        max-height: 100px;
    }
    
    .client-name {
        font-size: 0.85rem;
        margin-top: 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    /* Homepage new sections responsive */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .service-card {
        padding: 2rem !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .process-steps {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .final-cta h2 {
        font-size: 2rem !important;
    }
    
    .final-cta p {
        font-size: 1.1rem !important;
    }
    
    .clients-preview {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .clients-preview > div[style*="width: 1px"] {
        display: none !important;
    }
    
    .feature-card {
        padding: 2rem 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 0.9rem !important;
    }
    
    .section-title {
        font-size: 2rem !important;
    }
    
    .section-subtitle {
        font-size: 1rem !important;
    }
    
    .process-step > div[style*="width: 80px"] {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
}

/* Booking Form Styles */
.booking-form-container {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 12px 32px rgba(46, 92, 138, 0.12), 
                0 6px 16px rgba(46, 92, 138, 0.08);
}

.booking-message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.6;
}

.booking-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.booking-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.booking-message.info {
    background: #dbeafe;
    color: #1e40af;
    border: 2px solid #3b82f6;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--bg-secondary);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 92, 138, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232E5C8A' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

.btn-submit {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(46, 92, 138, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 92, 138, 0.3);
}

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

@media (max-width: 768px) {
    .booking-form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .btn-submit {
        width: 100%;
    }
}
