/* =================================
   VARIABLES & RESET
   ================================= */

:root {
    /* Colors */
    --primary-color: #1e3a5f;
    --secondary-color: #3d5a80;
    --accent-color: #ee6c4d;
    --gradient-1: linear-gradient(135deg, #1e3a5f 0%, #3d5a80 100%);
    --gradient-2: linear-gradient(135deg, #ee6c4d 0%, #ff8a73 100%);
    --gradient-3: linear-gradient(135deg, #293241 0%, #3d5a80 100%);
    
    /* Neutrals */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #98c1d9;
    --dark-gray: #293241;
    --black: #0a0e27;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 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);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* =================================
   GLOBAL STYLES
   ================================= */

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #ff8566);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(238, 108, 77, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.7;
    background: url('../images/subtle-pattern.svg') center center / cover fixed;
    overflow-x: hidden;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
    border-radius: 4px;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* =================================
   UTILITIES
   ================================= */

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff8566 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(238, 108, 77, 0.4);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 25px rgba(238, 108, 77, 0.5);
    background: linear-gradient(135deg, #ff8566 0%, var(--accent-color) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--black);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

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

/* =================================
   NAVIGATION
   ================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #1e3a5f;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem var(--spacing-md);
}

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

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-link {
    font-weight: 500;
    color: var(--white);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width var(--transition-normal);
}

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

.cta-nav {
    background: transparent;
    color: var(--white);
    border: 1px solid transparent;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* =================================
   HERO SECTION
   ================================= */

.hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #215a8d url('../images/hero-bg.svg') center center / cover no-repeat;
    overflow: hidden;
    padding: 8rem 0 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.4) 0%, rgba(33, 90, 141, 0.2) 100%);
    z-index: 0;
    animation: gradientShift 15s ease infinite;
}

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

.hero-overlay {
    display: none;
}

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

.hero-subtitle {
    display: inline-block;
    color: var(--gray);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-sm);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
    font-weight: 700;
    max-width: 900px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    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: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
    text-decoration: none;
    transition: color var(--transition-normal);
    z-index: 10;
}

.scroll-indicator:hover {
    color: var(--white);
}

@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-arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: translateX(-50%) rotate(45deg);
}

/* =================================
   SERVICES SECTION
   ================================= */

.services {
    padding: var(--spacing-xl) 0;
    background: url('../images/subtle-pattern.svg') center center / cover no-repeat;
    position: relative;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: var(--transition-normal);
}

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

.service-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: var(--gradient-2);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 700;
}

/* =================================
   WELCOME SECTION
   ================================= */

.welcome {
    padding: var(--spacing-xl) 0;
    background: url('../images/subtle-pattern.svg') center center / cover no-repeat;
    position: relative;
}

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

.welcome-content {
    padding: var(--spacing-md);
}

.welcome-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #2c3e50;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    font-weight: 400;
}

.brand-name {
    display: block;
    font-weight: 700;
    color: #1e3a5f;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-top: 0.25rem;
}

.welcome-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #2c3e50;
}

.laptop-mockup {
    position: relative;
    text-align: center;
}

.laptop-mockup img {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* =================================
   ABOUT SECTION (PROFILE)
   ================================= */

.about-grid-profile {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.section-title-simple {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--black);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.about-text-profile {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(61, 90, 128, 0.1));
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(30, 58, 95, 0.2);
    transition: all var(--transition-normal);
}

.skill-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.about-image-profile {
    text-align: center;
}

.about-image-profile img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* =================================
   SERVICES SECTION (SIMPLIFIED)
   ================================= */

.section-title-center {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--black);
    margin-bottom: var(--spacing-xl);
    font-weight: 700;
    text-align: center;
}

.services-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.service-card-simple {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 58, 95, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(238, 108, 77, 0.05), transparent);
    transition: left 0.6s;
}

.service-card-simple:hover::before {
    left: 100%;
}

.service-card-simple:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 30px rgba(30, 58, 95, 0.15);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 1);
}

.service-icon-simple {
    width: 70px;
    height: 70px;
    background: transparent;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.service-icon-simple svg {
    width: 35px;
    height: 35px;
    color: var(--primary-color);
}

.service-title-simple {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--spacing-sm);
}

.service-description-simple {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-description-simple em {
    font-style: italic;
}

/* =================================
   ABOUT SECTION
   ================================= */

.about {
    padding: var(--spacing-xl) 0;
    background: url('../images/subtle-pattern.svg') center center / cover no-repeat;
    position: relative;
}

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

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--gradient-2);
    border-radius: var(--radius-xl);
    opacity: 0.2;
    z-index: -1;
}

.about-content {
    padding: var(--spacing-md);
}

.about-text {
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--secondary-color);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.feature-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-2);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 0.25rem;
}

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

/* =================================
   PORTFOLIO SECTION
   ================================= */

.portfolio {
    padding: var(--spacing-xl) 0;
    background: url('../images/subtle-pattern.svg') center center / cover no-repeat;
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(238, 108, 77, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
}

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

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(30, 58, 95, 0.2);
}

.portfolio-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9), rgba(61, 90, 128, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder svg {
    width: 80px;
    height: 80px;
    color: rgba(255, 255, 255, 0.5);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.95), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
    opacity: 0;
    transition: var(--transition-normal);
}

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

.portfolio-info {
    color: var(--white);
}

.portfolio-category {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-description {
    font-size: 0.95rem;
    color: var(--gray);
}

/* =================================
   CONTACT SECTION
   ================================= */

.contact {
    padding: var(--spacing-xl) 0;
    background: url('../images/subtle-pattern.svg') center center / cover no-repeat;
    position: relative;
}

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

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: var(--spacing-md);
}

.contact-info p {
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-method {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-method h4 {
    color: var(--black);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-method a,
.contact-method p {
    color: var(--accent-color);
    font-weight: 500;
}

.contact-method a:hover {
    text-decoration: underline;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-1);
    color: var(--white);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-normal);
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--white);
}

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

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* =================================
   FOOTER
   ================================= */

.footer {
    background: var(--gradient-3);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-logo img {
    height: 50px;
    filter: none;
}

.footer-description {
    color: var(--gray);
    line-height: 1.7;
}

.footer-section h4 {
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray);
    transition: var(--transition-fast);
}

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

.footer-links li {
    color: var(--gray);
}

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

.footer-bottom p {
    color: var(--gray);
}

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

.footer-legal a {
    color: var(--gray);
    font-size: 0.9rem;
}

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

/* =================================
   SCROLL TO TOP
   ================================= */

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

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

.scroll-top svg {
    width: 24px;
    height: 24px;
}

/* =================================
   ANIMATIONS (AOS placeholders)
   ================================= */

[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

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

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-normal);
    }

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

    .nav-link {
        width: 100%;
        padding: var(--spacing-sm) 0;
    }

    .hero {
        padding: 6rem 0 3rem;
        min-height: 50vh;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .services-grid,
    .services-grid-simple,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

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

    .about-image {
        order: 2;
    }

    .about-content,
    .about-content-profile {
        order: 1;
    }

    .about-image-profile {
        order: 2;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .stat-item {
        width: 100%;
    }
}

/* =================================
   LOADING ANIMATION
   ================================= */

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

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}