/* 
   Main Stylesheet for Sithum Batrow's Freelance Developer Website
   Author: AI Assistant
   Version: 1.0
*/

/* ===== VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #800000;
    --secondary-color: #000000;
    --accent-color: #008080;
    --text-light: #FFFFFF;
    --text-gray: #E0E0E0;
    --highlight-color: #FFD700;
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --card-bg: rgba(30, 30, 30, 0.7);
    --card-hover: rgba(40, 40, 40, 0.8);
    --overlay: rgba(0, 0, 0, 0.7);
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    --code-font: 'Fira Code', monospace;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 15px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Borders */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
    --border-radius-circle: 50%;
}

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

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

ul {
    list-style: none;
}

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

button, .btn {
    cursor: pointer;
    font-family: var(--heading-font);
    font-weight: 600;
}

section {
    padding: var(--section-padding);
    position: relative;
}

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

/* ===== BACKGROUND ANIMATION ===== */
.network-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--bg-darker);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition-fast);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #a00000;
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-fast);
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
}

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

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--highlight-color);
    transition: var(--transition-fast);
}

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

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-text h1 {
    margin-bottom: 10px;
    position: relative;
}

.hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--highlight-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 400px;
    border-radius: var(--border-radius-circle);
    border: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 50px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: var(--border-radius-circle);
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.social-links a i {
    font-size: 1.2rem;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--text-light);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip: rect(0, 0, 0, 0);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--highlight-color);
    animation: glitch-animation-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: 1px 0 var(--accent-color);
    animation: glitch-animation-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-animation-1 {
    0% {
        clip: rect(36px, 9999px, 9px, 0);
    }
    5% {
        clip: rect(85px, 9999px, 66px, 0);
    }
    10% {
        clip: rect(43px, 9999px, 98px, 0);
    }
    15% {
        clip: rect(59px, 9999px, 26px, 0);
    }
    20% {
        clip: rect(57px, 9999px, 67px, 0);
    }
    25% {
        clip: rect(81px, 9999px, 10px, 0);
    }
    30% {
        clip: rect(37px, 9999px, 82px, 0);
    }
    35% {
        clip: rect(51px, 9999px, 35px, 0);
    }
    40% {
        clip: rect(89px, 9999px, 4px, 0);
    }
    45% {
        clip: rect(8px, 9999px, 93px, 0);
    }
    50% {
        clip: rect(37px, 9999px, 36px, 0);
    }
    55% {
        clip: rect(70px, 9999px, 93px, 0);
    }
    60% {
        clip: rect(33px, 9999px, 97px, 0);
    }
    65% {
        clip: rect(94px, 9999px, 59px, 0);
    }
    70% {
        clip: rect(22px, 9999px, 76px, 0);
    }
    75% {
        clip: rect(67px, 9999px, 70px, 0);
    }
    80% {
        clip: rect(84px, 9999px, 15px, 0);
    }
    85% {
        clip: rect(72px, 9999px, 31px, 0);
    }
    90% {
        clip: rect(90px, 9999px, 56px, 0);
    }
    95% {
        clip: rect(60px, 9999px, 55px, 0);
    }
    100% {
        clip: rect(82px, 9999px, 24px, 0);
    }
}

@keyframes glitch-animation-2 {
    0% {
        clip: rect(96px, 9999px, 11px, 0);
    }
    5% {
        clip: rect(44px, 9999px, 33px, 0);
    }
    10% {
        clip: rect(9px, 9999px, 92px, 0);
    }
    15% {
        clip: rect(51px, 9999px, 75px, 0);
    }
    20% {
        clip: rect(23px, 9999px, 46px, 0);
    }
    25% {
        clip: rect(30px, 9999px, 7px, 0);
    }
    30% {
        clip: rect(98px, 9999px, 75px, 0);
    }
    35% {
        clip: rect(42px, 9999px, 20px, 0);
    }
    40% {
        clip: rect(87px, 9999px, 22px, 0);
    }
    45% {
        clip: rect(25px, 9999px, 5px, 0);
    }
    50% {
        clip: rect(5px, 9999px, 80px, 0);
    }
    55% {
        clip: rect(82px, 9999px, 71px, 0);
    }
    60% {
        clip: rect(31px, 9999px, 59px, 0);
    }
    65% {
        clip: rect(95px, 9999px, 63px, 0);
    }
    70% {
        clip: rect(5px, 9999px, 13px, 0);
    }
    75% {
        clip: rect(40px, 9999px, 41px, 0);
    }
    80% {
        clip: rect(16px, 9999px, 17px, 0);
    }
    85% {
        clip: rect(53px, 9999px, 25px, 0);
    }
    90% {
        clip: rect(70px, 9999px, 96px, 0);
    }
    95% {
        clip: rect(94px, 9999px, 49px, 0);
    }
    100% {
        clip: rect(11px, 9999px, 47px, 0);
    }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
    position: relative;
}

.underline::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background-color: var(--highlight-color);
    top: 0;
    left: 0;
    animation: underline-animation 2s infinite;
}

@keyframes underline-animation {
    0% {
        left: 0;
    }
    50% {
        left: 40px;
    }
    100% {
        left: 0;
    }
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

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

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--highlight-color);
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-cta {
    margin-top: 30px;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0.1;
    z-index: -1;
    transition: var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background-color: var(--card-hover);
}

.service-card:hover::before {
    opacity: 0.2;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.service-features {
    margin-bottom: 20px;
}

.service-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-gray);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--highlight-color);
}

.service-link {
    display: inline-block;
    font-weight: 600;
    color: var(--highlight-color);
    transition: var(--transition-fast);
}

.service-link:hover {
    transform: translateX(5px);
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===== SKILLS SECTION ===== */
.skills {
    background-color: var(--bg-dark);
}

.skills-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.skills-category {
    margin-bottom: 20px;
}

.skills-category h3 {
    margin-bottom: 20px;
    color: var(--highlight-color);
    position: relative;
    padding-left: 15px;
}

.skills-category h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--highlight-color);
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-bar {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skill-progress {
    width: 100%;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--highlight-color) 100%);
    border-radius: var(--border-radius-sm);
    transition: width 1.5s ease;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.skill-tag:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

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

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.portfolio-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    transition: var(--transition-medium);
    background-color: var(--card-bg);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

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

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    margin-bottom: 10px;
}

.portfolio-info p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.portfolio-tags span {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
}

.portfolio-links {
    display: flex;
    gap: 10px;
}

.portfolio-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== PROCESS SECTION ===== */
.process {
    background-color: var(--bg-dark);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    position: relative;
    transition: var(--transition-medium);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.process-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.process-icon {
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin-bottom: 20px;
}

.process-step h3 {
    margin-bottom: 15px;
}

.process-step p {
    color: var(--text-gray);
}

/* ===== PRICING SECTION ===== */
.pricing {
    background-color: var(--bg-darker);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pricing-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-medium);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border: 2px solid var(--highlight-color);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: var(--highlight-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.pricing-price {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 5px;
    align-self: flex-start;
    margin-top: 10px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-gray);
    margin-left: 5px;
    align-self: flex-end;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.custom-quote {
    text-align: center;
    padding: 40px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
}

.custom-quote h3 {
    margin-bottom: 15px;
}

.custom-quote p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    transition: var(--transition-fast);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    font-size: 2rem;
    color: var(--highlight-color);
    margin-bottom: 15px;
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-gray);
}

.contact-availability {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 25px;
}

.availability-status {
    color: #4CAF50;
    font-weight: 600;
}

.contact-form-container {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:nth-child(3),
.form-group:nth-child(4),
.form-group:nth-child(5),
.contact-form button {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    color: var(--text-light);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--highlight-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--bg-darker);
    padding: 80px 0 30px;
}

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

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

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

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

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

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

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.footer-social .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-circle);
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.footer-social .social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--highlight-color);
    transform: translateY(-5px);
}

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media screen and (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-top: 40px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-darker);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        transition: var(--transition-medium);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
        width: 100%;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .hero {
        height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-image img {
        max-width: 250px;
    }
    
    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social .social-icons {
        justify-content: center;
    }
}
