/* 
* SKAB Digital Website
* Contents:
* 1. Reset & Base Styles
* 2. Typography
* 3. Layout & Container
* 4. UI Components
* 5. Background Elements
* 6. Header & Navigation
* 7. Hero Section
* 8. Services Section
* 9. About Section
* 10. Process Flow Section
* 11. Inspiration/Quote Section
* 12. Contact Section
* 13. Footer
* 14. iPhone Animation
* 15. Animations
* 16. Media Queries
*/

/* ===== 1. Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

:root {
    --primary: #5B21B6;
    --primary-light: #7C3AED;
    --secondary: #2563EB;
    --accent: #EC4899;
    --dark: #0F172A;
    --darker: #030712;
    --light: #E2E8F0;
    --white: #FFFFFF;
}

html,
body {
    background-color: var(--darker);
    color: var(--white);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ===== 2. Typography ===== */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--white), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--light);
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: var(--primary-light);
    transition: all 0.3s ease;
}

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

/* Override for buttons that are also links */
a.btn {
    color: var(--white);
    text-decoration: none;
}

a.btn:hover {
    color: var(--white);
}

/* ===== 3. Layout & Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 3rem;
}

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

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* ===== 4. UI Components ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    z-index: 1;
    cursor: pointer;
    text-align: center;
    border: none;
    color: var(--white);
    background: none;
}

.btn-primary {
    background-image: linear-gradient(45deg, 
        var(--primary),
        var(--secondary),
        var(--accent),
        var(--primary));
    background-size: 300% 300%;
    animation: gradient-shift 8s ease infinite;
    box-shadow: 0 4px 20px rgba(91, 33, 182, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(91, 33, 182, 0.6);
    animation: gradient-shift 2s ease infinite;
    color: var(--white);
}

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

.btn-primary:hover::before {
    animation: shine-effect 1s forwards;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(3, 7, 18, 0.5);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
    transform: translateY(-3px);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Add space between hCaptcha and submit button */
.h-captcha {
    margin-bottom: 25px;
}

#result {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    animation: fadeIn 0.3s ease;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: var(--white);
    display: none;
}

/* ===== 5. Background Elements ===== */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9Ii43NSIgc3RpdGNoVGlsZXM9InN0aXRjaCIgdHlwZT0iZnJhY3RhbE5vaXNlIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIiBmaWx0ZXI9InVybCgjYSkiIG9wYWNpdHk9Ii4wNSIvPjwvc3ZnPg==');
    pointer-events: none;
    z-index: 100;
    opacity: 0.4;
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -200px;
    right: -200px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -150px;
}

.circle-3 {
    width: 350px;
    height: 350px;
    background: var(--accent);
    top: 50%;
    right: -100px;
}

.gradient-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(110deg, rgba(15, 23, 42, 0.9), rgba(3, 7, 18, 0.95));
    z-index: -2;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--darker) 1px, transparent 1px),
        linear-gradient(90deg, var(--darker) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity:.05;
    z-index: -1;
}

/* ===== 6. Header & Navigation ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    background: rgba(3, 7, 18, 0.7);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: var(--white);
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 8px;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--light);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-light), var(--accent));
    transition: width 0.3s ease;
}

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

.language-toggle {
    display: flex;
    background-color: rgba(15, 23, 42, 0.8);
    border-radius: 12px;
    overflow: hidden;
}

.lang-option {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--light);
    transition: all 0.3s ease;
}

.lang-option.active {
    background: var(--primary-light);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    background-color: rgba(124, 58, 237, 0.2);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

/* ===== 7. Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 50%;
}

.hero-text h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeIn 1s ease-out forwards;
}

.hero-text p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-text .btn {
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 70vh;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    transition: all 0.5s ease;
}

/* Hero decorative elements */
.hero-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-dot {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(5px);
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
}

.hero-circle-accent {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px dashed var(--primary-light);
    border-radius: 50%;
    top: 20%;
    right: 15%;
    z-index: 0;
    opacity: 0.2;
    animation: rotateAnimation 30s linear infinite;
}

.hero-circle-accent-2 {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px dashed var(--accent);
    border-radius: 50%;
    bottom: 30%;
    left: 10%;
    z-index: 0;
    opacity: 0.15;
    animation: rotateAnimation 20s linear infinite reverse;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}

.hero-grid-dot {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: var(--white);
    border-radius: 50%;
}

/* ===== 8. Services Section ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(124, 58, 237, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.service-card.visible {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(124, 58, 237, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(91, 33, 182, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover .service-icon {
    animation: pulseIcon 1.5s ease infinite;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.service-card h3:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    transition: width 0.4s ease;
}

.service-card:hover h3:after {
    width: 100%;
}

/* Apply staggered animations to service cards */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.3s; }
.service-card:nth-child(3) { animation-delay: 0.5s; }
.service-card:nth-child(4) { animation-delay: 0.7s; }
.service-card:nth-child(5) { animation-delay: 0.9s; }
.service-card:nth-child(6) { animation-delay: 1.1s; }

/* ===== 9. About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(91, 33, 182, 0.5), rgba(236, 72, 153, 0.5));
    z-index: 1;
}

.about-text {
    padding-left: 2rem;
    opacity: 0;
    position: relative;
}

.about-text.visible {
    opacity: 1;
}

.about-text h2 {
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
}

.about-text.visible h2 {
    animation: slideInRight 0.8s forwards ease-out;
}

.about-text p {
    opacity: 0;
    transition: transform 0.3s ease;
}

.about-text p:hover {
    transform: translateX(5px);
}

.about-text.visible p:nth-of-type(1) {
    animation: paragraphReveal 0.8s forwards ease-out;
    animation-delay: 0.4s;
}

.about-text.visible p:nth-of-type(2) {
    animation: paragraphReveal 0.8s forwards ease-out;
    animation-delay: 0.7s;
}

.about-text.visible p:nth-of-type(3) {
    animation: paragraphReveal 0.8s forwards ease-out;
    animation-delay: 1s;
}

/* ===== 10. Process Flow Section ===== */
.process-flow {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(9, 14, 35, 0.95), rgba(15, 23, 42, 0.98));
    overflow: hidden;
}

.process-flow .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.process-flow h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--white), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.flow-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 32px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-light), var(--accent));
    opacity: 0.5;
}

.flow-item {
    display: flex;
    gap: 2rem;
    position: relative;
    opacity: 0;
}

.flow-item.visible {
    animation: fadeInRight 0.6s ease forwards;
}

.flow-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(91, 33, 182, 0.3);
    position: relative;
}

.flow-content {
    flex-grow: 1;
    background: rgba(20, 30, 50, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
}

.flow-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(124, 58, 237, 0.3);
}

.flow-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

/* Apply staggered animations to flow items */
.flow-item:nth-child(1) { animation-delay: 0.1s; }
.flow-item:nth-child(2) { animation-delay: 0.3s; }
.flow-item:nth-child(3) { animation-delay: 0.5s; }
.flow-item:nth-child(4) { animation-delay: 0.7s; }
.flow-item:nth-child(5) { animation-delay: 0.9s; }

/* ===== 11. Inspiration/Quote Section ===== */
.inspiration {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.inspiration-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(43, 10, 98, 0.9), rgba(11, 36, 86, 0.9));
    background-size: 200% 200%;
    animation: gradientFloat 15s ease infinite;
    z-index: -1;
}

.inspiration-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.inspiration-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(91, 33, 182, 0.3);
    transition: all 0.3s ease;
    transform-origin: center;
}

.inspiration.visible .inspiration-icon {
    animation: iconRotate 6s ease-in-out infinite;
}

.inspiration-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(91, 33, 182, 0.5);
}

.inspiration-text {
    width: 100%;
}

.inspiration-message {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--white);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    opacity: 0;
}

.inspiration.visible .inspiration-message {
    animation: quoteAppear 1s ease forwards;
    animation-delay: 0.3s;
}

.inspiration-message::before,
.inspiration-message::after {
    content: '"';
    position: absolute;
    font-size: 4rem;
    color: rgba(124, 58, 237, 0.2);
    font-family: serif;
    line-height: 1;
}

.inspiration-message::before {
    top: -0.5rem;
    left: -1.5rem;
}

.inspiration-message::after {
    bottom: -2rem;
    right: -1.5rem;
}

.inspiration.visible .inspiration-message::before,
.inspiration.visible .inspiration-message::after {
    animation: quoteMarkPulse 3s ease-in-out infinite;
}

.inspiration-line {
    width: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-light), var(--accent));
    margin: 0 auto 1.5rem;
    opacity: 0;
}

.inspiration.visible .inspiration-line {
    animation: lineGrow 1.2s ease forwards;
    animation-delay: 0.8s;
}

.inspiration-author {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
}

.inspiration.visible .inspiration-author {
    animation: authorReveal 1s ease forwards;
    animation-delay: 1.2s;
}

/* ===== 12. Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info {
    text-align: center;
}

.contact-info h3 {
    margin-bottom: 2.5rem;
    text-align: center;
}

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

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 1.8rem;
    transition: transform 0.3s ease;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(91, 33, 182, 0.3);
    margin-bottom: 0.5rem;
}

.contact-detail:hover .contact-icon {
    animation: iconPulse 1.2s infinite ease-in-out;
}

.contact-detail > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-detail a {
    color: var(--white);
    transition: all 0.3s ease;
}

.contact-detail a:hover {
    color: var(--white);
    opacity: 0.8;
}

.contact-form {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

/* ===== 13. Footer ===== */
footer {
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(10px);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

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

.footer-logo {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.2);
    position: relative;
    overflow: hidden;
}

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

.social-link:hover {
    transform: translateY(-3px);
}

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

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-light), var(--accent));
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--light);
    transition: all 0.3s ease;
    display: inline-block;
}

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

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    color: var(--light);
}

/* ===== 14. iPhone Animation ===== */
.iphone-device {
    position: relative;
    width: 280px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 50px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        inset 0 -3px 0 rgba(0, 0, 0, 0.2);
    padding: 15px;
    border: 1px solid #333;
    animation: floatPhone 8s ease-in-out infinite;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.iphone-device::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
    z-index: 10;
}

.iphone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0F172A, #111827);
    background-size: 200% 200%;
    border-radius: 40px;
    overflow: hidden;
    animation: screenGlow 8s infinite;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #1a1a1a;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 2;
}

.iphone-notch::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3),
        inset 0 0 2px rgba(0, 255, 255, 0.2);
}

.iphone-screen-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 40px 15px 15px;
    display: flex;
    flex-direction: column;
    color: white;
    z-index: 1;
}

.iphone-time {
    font-size: 64px;
    font-weight: 300;
    margin-bottom: 10px;
    text-align: center;
    opacity: 0;
    animation: screenContent 8s infinite;
}

.iphone-date {
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: screenContent 8s infinite 0.2s;
}

.iphone-notification {
    margin: 15px auto;
    width: 90%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: screenContent 8s infinite 0.3s, notificationPulse 2s infinite 1s;
}

.iphone-notification-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.iphone-notification-body {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.iphone-apps-wrapper {
    margin-top: auto;
    margin-bottom: 40px;
}

.iphone-apps-row {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    gap: 16px;
}

.iphone-app {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

.iphone-app:nth-child(1) {
    animation: screenContent 8s infinite 0.4s;
}

.iphone-app:nth-child(2) {
    animation: screenContent 8s infinite 0.6s;
}

.iphone-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 120px;
    height: 5px;
    background: white;
    border-radius: 3px;
    animation: homeIndicatorPulse 2s infinite;
    cursor: pointer;
}

.iphone-home-indicator:hover {
    transform: scale(1.1);
    opacity: 1;
}

.iphone-home-indicator.swiping {
    animation: homeIndicatorSwipe 0.5s forwards;
}

.iphone-screen-content.swiping {
    animation: screenTransition 0.8s forwards;
}

.iphone-design-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F172A, #111827);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(100%);
    z-index: 3;
    padding: 40px 15px 15px;
}

.iphone-design-screen.active {
    animation: newScreenAppear 0.8s forwards;
    animation-delay: 0.3s;
}

.skab-app-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.skab-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 10px;
    font-weight: bold;
    font-size: 14px;
    color: white;
}

.skab-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.skab-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.design-preview {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 10px 0;
    padding: 10px;
    overflow: hidden;
    position: relative;
}

.wireframe-element {
    background: rgba(124, 58, 237, 0.2);
    border: 1px dashed rgba(124, 58, 237, 0.5);
    border-radius: 5px;
    margin-bottom: 8px;
}

.wireframe-header {
    height: 40px;
    width: 100%;
}

.wireframe-hero {
    height: 80px;
    width: 100%;
}

.wireframe-content {
    display: flex;
    gap: 8px;
}

.wireframe-sidebar {
    width: 30%;
    height: 120px;
}

.wireframe-main {
    width: 70%;
    height: 120px;
}

.design-tools {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.design-tool {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.design-tool svg {
    width: 24px;
    height: 24px;
    color: white;
}

.iphone-button {
    position: absolute;
    background: #333;
    border-radius: 2px;
    z-index: 11;
}

.iphone-button-volume-up {
    left: -3px;
    top: 100px;
    width: 3px;
    height: 40px;
}

.iphone-button-volume-down {
    left: -3px;
    top: 160px;
    width: 3px;
    height: 40px;
}

.iphone-button-power {
    right: -3px;
    top: 120px;
    width: 3px;
    height: 60px;
}

.iphone-button-silent {
    left: -3px;
    top: 50px;
    width: 3px;
    height: 20px;
}

/* ===== 15. Animations ===== */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes shine-effect {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

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

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

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

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes paragraphReveal {
    0% {
        opacity: 0;
        transform: translateY(15px);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes iconRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(5deg) scale(1.05);
    }
    50% {
        transform: rotate(0deg) scale(1.1);
    }
    75% {
        transform: rotate(-5deg) scale(1.05);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes quoteAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes lineGrow {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 80px;
        opacity: 1;
    }
}

@keyframes authorReveal {
    0% {
        opacity: 0;
        transform: translateY(10px);
        letter-spacing: 0;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 1px;
    }
}

@keyframes quoteMarkPulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.2);
    }
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(91, 33, 182, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 15px 35px rgba(91, 33, 182, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(91, 33, 182, 0.3);
    }
}

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

@keyframes gradientFloat {
    0% {
        background-position: 0% 50%;
        opacity: 0.8;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.95;
    }
    100% {
        background-position: 0% 50%;
        opacity: 0.8;
    }
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(91, 33, 182, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 25px rgba(91, 33, 182, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(91, 33, 182, 0.3);
    }
}

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

/* iPhone Animation Keyframes */
@keyframes floatPhone {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(0.5deg);
    }
    50% {
        transform: translateY(0) rotate(-0.5deg);
    }
    75% {
        transform: translateY(10px) rotate(0deg);
    }
}

@keyframes screenGlow {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 15px 2px rgba(124, 58, 237, 0.3);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 25px 5px rgba(236, 72, 153, 0.5);
    }
    100% {
        background-position: 0% 50%;
        box-shadow: 0 0 15px 2px rgba(124, 58, 237, 0.3);
    }
}

@keyframes screenContent {
    0%, 100% {
        opacity: 0;
        transform: translateY(10px);
    }
    10%, 90% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes notificationPulse {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@keyframes homeIndicatorPulse {
    0%, 20%, 100% {
        opacity: 0.8;
        transform: translateY(0) scale(1);
    }
    10% {
        opacity: 1;
        transform: translateY(0) scale(1.1);
    }
}

@keyframes homeIndicatorSwipe {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-30px);
        opacity: 0;
    }
}

@keyframes screenTransition {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes newScreenAppear {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }
    25% {
        transform: translateY(-10px) rotate(-2deg);
    }
    50% {
        transform: translateY(0) rotate(0);
    }
    75% {
        transform: translateY(10px) rotate(2deg);
    }
}

/* ===== 16. Media Queries ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px 40px;
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 900;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(124, 58, 237, 0.2);
    }

    .nav-container.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 10px 0;
        width: 100%;
        display: block;
        text-align: center;
        border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    }

    .nav-links a:hover {
        background: rgba(124, 58, 237, 0.1);
    }

    .language-toggle {
        margin: 15px auto;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-btn svg path {
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active {
        background-color: rgba(124, 58, 237, 0.3);
    }

    /* Hero section mobile adjustments */
    .hero {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .hero-content {
        width: 100%;
        margin-bottom: 50px;
    }

    .hero-text {
        text-align: center;
        margin-top: 20px;
    }

    .hero-text h1 {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .hero-text .btn {
        display: table;
        margin: 0 auto;
    }

    .hero-visual {
        position: relative;
        transform: none;
        right: auto;
        top: auto;
        width: 100%;
        height: 500px;
        opacity: 1;
        pointer-events: auto;
        z-index: 2;
        display: flex;
        justify-content: center;
        order: 2;
    }

    .iphone-device {
        transform: scale(0.8) rotate(0deg) !important;
        margin-left: 0 !important;
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .hero .container .hero-visual {
        margin: 0 auto;
    }

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

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

    .inspiration-message {
        font-size: 1.5rem;
    }
}

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

    h1 {
        font-size: 3rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero {
        padding-top: 130px;
    }

    .hero-text {
        margin-top: 30px;
    }

    .iphone-device {
        transform: scale(0.7) rotate(0deg) !important;
    }

    .hero-visual {
        height: 450px;
    }

    .flow-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 32px;
    }

    .flow-icon {
        position: absolute;
        top: 0;
        left: 0;
        width: 48px;
        height: 48px;
    }

    .flow-timeline::before {
        left: 24px;
    }

    .flow-content {
        width: 100%;
        margin-top: 1.5rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-links a:hover {
        transform: none;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-text {
        margin-top: 40px;
    }

    .hero-text p {
        max-width: 100%;
    }

    .iphone-device {
        transform: scale(0.6) rotate(0deg) !important;
    }

    .hero-visual {
        height: 400px;
    }

    .contact-form {
        padding: 2rem;
    }

    .inspiration-message {
        font-size: 1.25rem;
    }

    .footer-content {
        gap: 2rem;
    }
}



.map-container {
    width: 100%;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.map-wrapper {
    width: 100%;
    height: 450px;
    position: relative;
}

@media screen and (max-width: 768px) {
    .map-wrapper {
        height: 350px;
    }
}

/* When using the map in the contact grid layout, add these styles */
.contact-grid {
    grid-template-rows: auto auto;
}

.map-container.full-width {
    grid-column: 1 / -1; /* Makes the map span all columns */
    margin-bottom: 2rem;
}


.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: floatAnimation 6s ease-in-out infinite; /* Apply the floating animation */
}


/* Update the about-visual::before to go behind the image */
.about-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(91, 33, 182, 0.5), rgba(236, 72, 153, 0.5));
    z-index: 1; /* Lower z-index so it stays behind the image */
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: floatAnimation 6s ease-in-out infinite; /* Apply the floating animation */
    position: relative;
    z-index: 2; /* Place the image above the overlay */
}