/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    
    --text-color: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --body-bg: #ffffff;
    
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Typography */
    --h1-size: clamp(2.5rem, 5vw, 3.75rem);
    --h2-size: clamp(2rem, 4vw, 3rem);
    --h3-size: clamp(1.5rem, 3vw, 2rem);
    --h4-size: clamp(1.25rem, 2.5vw, 1.5rem);
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: clamp(4rem, 8vw, 6rem);
    --element-spacing: clamp(1rem, 3vw, 2rem);
    
    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== UTILITIES ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: var(--section-padding) 0;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: var(--h2-size);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section__description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

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

.btn--outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all var(--transition-smooth);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
}

.nav__logo {
    margin: 0px 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.nav__menu {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav__link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav__link:hover {
    color: var(--primary-color);
}

.nav__link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-smooth);
}

.nav__link:hover:after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__cta-btn {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

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

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 8rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    min-height: 80vh;
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: var(--h1-size);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

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

.hero__description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.stat__label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero__image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero__image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__icon {
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.1;
}

.hero__floating-cards {
    position: absolute;
    inset: 0;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 3s;
}

.card-4 {
    bottom: 10%;
    right: 15%;
    animation-delay: 4.5s;
}

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

.about__mission {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    margin: 2rem 0;
}

.about__subtitle {
    font-size: var(--h3-size);
    color: var(--text-color);
    margin-bottom: 1rem;
}

.about__text {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

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

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

.value {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-smooth);
}

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

.value i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value h4 {
    font-size: var(--h4-size);
    margin-bottom: 1rem;
    color: var(--text-color);
}

.value p {
    color: var(--text-light);
    line-height: 1.6;
}

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

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

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

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

.service__icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service__icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.service__title {
    font-size: var(--h3-size);
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service__description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

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

.service__features {
    list-style: none;
    margin-bottom: 2rem;
}

.service__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service__features i {
    color: var(--accent-color);
    font-size: 0.875rem;
}

.service__cta {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.service__cta:hover {
    gap: 0.5rem;
}

.service__cta:after {
    content: '→';
    margin-left: 0.25rem;
    transition: margin-left var(--transition-fast);
}

.service__cta:hover:after {
    margin-left: 0.5rem;
}

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

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

.portfolio__item {
    background: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
}

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

.portfolio__image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portfolio__icon {
    font-size: 4rem;
    color: var(--text-white);
    opacity: 0.8;
}

.portfolio__content {
    padding: 2rem;
}

.portfolio__title {
    font-size: var(--h3-size);
    margin-bottom: 1rem;
    color: var(--text-color);
}

.portfolio__description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

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

.portfolio__metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.metric {
    text-align: center;
}

.metric__number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.metric__label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.portfolio__tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-light);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.portfolio__cta {
    text-align: center;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--bg-light);
    position: relative;
}

.testimonials__slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.testimonial.active {
    display: block;
    opacity: 1;
}

.testimonial__content {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
}

.testimonial__quote {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial__quote i {
    font-size: 1.5rem;
    color: var(--text-white);
}

.testimonial__text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.author__name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.author__position {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.testimonial__rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.testimonial__rating i {
    color: var(--secondary-color);
}

.testimonials__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}

.testimonial__btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--bg-white);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
}

.testimonial__btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.testimonials__dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.dot.active {
    background: var(--primary-color);
}

/* ===== BLOG SECTION ===== */
.blog {
    background: var(--bg-white);
}

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

.blog__post {
    background: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
}

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

.post__image {
    height: 200px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post__icon {
    font-size: 4rem;
    color: var(--text-white);
    opacity: 0.8;
}

.post__content {
    padding: 2rem;
}

.post__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.post__date {
    color: var(--text-light);
}

.post__category {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.post__title a {
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--h4-size);
    font-weight: 600;
    line-height: 1.3;
    transition: color var(--transition-fast);
}

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

.post__excerpt {
    color: var(--text-light);
    margin: 1rem 0 1.5rem;
    line-height: 1.6;
}

.post__cta {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.post__cta:after {
    content: '→';
    margin-left: 0.25rem;
    transition: margin-left var(--transition-fast);
}

.post__cta:hover {
    gap: 0.5rem;
}

.post__cta:hover:after {
    margin-left: 0.5rem;
}

.blog__cta {
    text-align: center;
}

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

.contact__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact__subtitle {
    font-size: var(--h3-size);
    margin-bottom: 2rem;
    color: var(--text-color);
}

.contact__details {
    margin-bottom: 2rem;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact__item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact__item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.contact__item p {
    color: var(--text-light);
    line-height: 1.5;
}

.contact__social h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.social__links {
    display: flex;
    gap: 1rem;
}

.social__link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: all var(--transition-smooth);
}

.social__link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Form Styles */
.contact__form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.form__group {
    position: relative;
    margin-bottom: 2rem;
}

.form__input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    background: var(--bg-white);
    transition: all var(--transition-smooth);
}

.form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.875rem;
    color: var(--primary-color);
    background: var(--bg-white);
    padding: 0 0.25rem;
}

.form__label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-light);
    font-size: 1rem;
    pointer-events: none;
    transition: all var(--transition-smooth);
}

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

select.form__input {
    cursor: pointer;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 4rem 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer__logo-img {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: var(--gradient-primary);
}

.footer__description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: all var(--transition-smooth);
}

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

.footer__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 0.75rem;
}

.footer__link {
    color: #94a3b8;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--text-white);
}

.footer__template-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-smooth);
    margin-bottom: 1rem;
}

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

.footer__template-text {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.5;
}

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

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

.legal__link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.legal__link:hover {
    color: var(--text-white);
}

.footer__copyright {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width:999px) {
        #getTemplate{
        display: none;
    }
}
@media screen and (max-width: 768px) {
    /* Navigation */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        transition: right var(--transition-smooth);
        z-index: 100;
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .nav__link {
        font-size: 1.25rem;
    }
    
    .nav__close,
    .nav__toggle {
        display: block;
    }
    
    .nav__close {
        position: absolute;
        top: 2rem;
        right: 2rem;
    }
    
    .nav__actions {
        order: -1;
    }
    
    /* Hero */
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero__buttons {
        justify-content: center;
    }
    
    .hero__stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Services */
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    /* Portfolio */
    .portfolio__grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio__metrics {
        justify-content: center;
    }
    
    /* Contact */
    .contact__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer */
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal__list {
        justify-content: center;
    }
    #getTemplate{
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .floating-card {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .floating-card i {
        font-size: 1rem;
    }
    
    .service {
        padding: 2rem 1.5rem;
    }
    
    .testimonial__content {
        padding: 2rem 1.5rem;
    }
    
    .contact__form {
        padding: 2rem 1.5rem;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* ===== LOADING OPTIMIZATIONS ===== */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

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

/* Focus styles for keyboard navigation */
.btn:focus,
.nav__link:focus,
.form__input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-color: #000000;
        --text-light: #333333;
        --border-color: #000000;
    }
}