/* ===================================
   KINERTY - CSS STYLESHEET
   A Kind IT for Liberty
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary-dark: #1a2f4d;
    --primary-blue: #2a4a7f;
    --accent-cyan: #4a9fd8;
    --accent-orange: #FF6B35;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1a2f4d 0%, #2a4a7f 50%, #4a9fd8 100%);
    --gradient-accent: linear-gradient(135deg, #4a9fd8 0%, #FF6B35 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(26, 47, 77, 0.9) 0%, rgba(42, 74, 127, 0.8) 100%);
    
    /* Typography */
    --font-display: 'Sora', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
}

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

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-smooth);
}

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

/* Section Styles */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: var(--gradient-accent);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--primary-dark);
    position: relative;
}

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

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

.cta-btn {
    padding: 12px 28px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.938rem;
    transition: var(--transition-smooth);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

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

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1571171637578-41bc2dd41cd2?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 47, 77, 0.92) 0%, rgba(42, 74, 127, 0.88) 50%, rgba(74, 159, 216, 0.85) 100%);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 2;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(74, 159, 216, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.3) 0%, transparent 50%);
}

#particlesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
}

.hero-logo-container {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-logo {
    max-width: 150px;
    margin: 0 auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(74, 159, 216, 0.5));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(74, 159, 216, 0.5));
    }
    100% {
        filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(74, 159, 216, 0.8));
    }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 4px;
    animation: fadeInUp 1s ease-out 0.2s both, textShine 4s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(74, 159, 216, 0.6);
}

@keyframes textShine {
    0%, 100% {
        text-shadow: 0 0 40px rgba(74, 159, 216, 0.6);
    }
    50% {
        text-shadow: 0 0 60px rgba(74, 159, 216, 0.9), 0 0 80px rgba(255, 107, 53, 0.3);
    }
}

.tagline {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    /* animation: fadeInUp 1s ease-out 0.4s both, pulse 2s ease-in-out infinite; */
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-primary,
.btn-secondary {
    padding: 16px 40px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.hero-cta .btn-primary {
    animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 107, 53, 0);
    }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    animation: fadeInUp 1s ease-out 1s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

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

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, transparent 100%);
}

/* ===================================
   WHATSAPP FLOAT BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    background: var(--off-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    animation: fadeInLeft 1s ease-out;
}

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

.about-description {
    font-size: 1.125rem;
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-description strong {
    color: var(--accent-orange);
    font-weight: 700;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--primary-dark);
}

.feature-item i {
    color: var(--accent-cyan);
    font-size: 1.25rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: fadeInRight 1s ease-out;
}

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

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

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    opacity: 0.3;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 24px;
    transition: var(--transition-bounce);
}

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

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.service-description {
    font-size: 1rem;
    color: var(--medium-gray);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.938rem;
    color: var(--dark-gray);
}

.service-list i {
    color: var(--accent-cyan);
    margin-top: 4px;
    flex-shrink: 0;
}

.service-image {
    margin-top: 24px;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.service-card:hover .service-image {
    opacity: 1;
    transform: scale(1.05);
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ===================================
   WHY KINERTY SECTION
   =================================== */
.why-kinerty {
    background: var(--gradient-primary);
    color: var(--white);
}

.why-kinerty .section-label {
    color: var(--accent-cyan);
}

.why-kinerty .section-title {
    color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.why-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    animation: fadeInUp 0.8s ease-out;
}

.why-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px;
    transition: var(--transition-bounce);
}

.why-card:hover .why-icon {
    transform: rotate(360deg);
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.why-card p {
    font-size: 0.938rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */
.portfolio {
    background: var(--off-white);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--white);
    color: var(--primary-dark);
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.938rem;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    animation: fadeInUp 0.8s ease-out;
}

.portfolio-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    text-align: center;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.938rem;
    margin-bottom: 20px;
    text-align: center;
}

.view-project {
    padding: 12px 28px;
    background: var(--accent-orange);
    color: var(--white);
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.view-project:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.portfolio-info {
    padding: 20px 0;
}

.project-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-cyan);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.portfolio-info h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* ===================================
   TECHNOLOGIES SECTION
   =================================== */
.technologies {
    background: var(--white);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.tech-category {
    background: var(--off-white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tech-category h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

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

.tech-item i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    transition: var(--transition-smooth);
}

.tech-item:hover i {
    color: var(--accent-orange);
    transform: scale(1.2);
}

.tech-item span {
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-weight: 500;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info {
    animation: fadeInLeft 1s ease-out;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--medium-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.contact-method:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.contact-details h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.contact-details a {
    color: var(--accent-cyan);
    font-size: 1.125rem;
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--accent-orange);
}

.contact-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-cta .btn-primary,
.contact-cta .btn-secondary {
    justify-content: center;
}

.contact-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: fadeInRight 1s ease-out;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-about p {
    color: var(--accent-cyan);
    font-family: var(--font-display);
    font-weight: 500;
    margin-bottom: 8px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.938rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-services h4,
.footer-social h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.938rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--accent-cyan);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom i {
    color: var(--accent-orange);
}

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

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .brand-name {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .nav-links,
    .cta-btn {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(26, 47, 77, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 30px;
        z-index: 999;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-links.active .nav-link {
        color: var(--white);
        font-size: 1.25rem;
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links.active .nav-link::after {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
    }
    
    .brand-name {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.125rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        gap: 30px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
    .brand-name {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Print Styles */
@media print {
    .navbar,
    .whatsapp-float,
    .scroll-indicator {
        display: none;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}
