:root {
    --bg-color: #050505;
    --surface-color: #0f0f0f;
    --accent-color: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.07);
    --neon-blue: #00f2ff;
    --neon-purple: #bc13fe;
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor used */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.page-3d {
    width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Custom Cursor --- */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000; /* Higher than everything */
    will-change: transform;
    top: 0;
    left: 0;
    transform: translate3d(0, 0, 0); /* No Z-depth to avoid offset */
    opacity: 1;
    display: block;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    top: 0;
    left: 0;
    transform: translate3d(0, 0, 0);
    opacity: 1;
    display: block;
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-fast);
}

nav.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

.hire-btn {
    background: var(--accent-color);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.hire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

/* --- Mobile Menu Button --- */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.menu-btn .bar,
.menu-btn::before,
.menu-btn::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s ease;
}

.menu-btn.open .bar {
    opacity: 0;
}

.menu-btn.open::before {
    transform: translateY(8px) rotate(45deg);
}

.menu-btn.open::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    top: -50%;
    left: -50%;
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/dark-matter.png');
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    transform-style: preserve-3d;
    animation: hero3D 1.5s ease-out forwards;
    padding-top: 10rem;
    padding-bottom: 5rem;
}

@keyframes hero3D {
    0% { transform: translateZ(-200px) rotateX(20deg); opacity: 0; }
    100% { transform: translateZ(0) rotateX(0); opacity: 1; }
}

.badge {
    display: inline-flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.pulse {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn.primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn.secondary {
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    background: var(--glass-bg);
}

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

/* --- Services --- */
.services {
    padding: 8rem 0;
    background: var(--surface-color);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
}

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

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: var(--transition-slow);
    text-align: left;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-color);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.service-card i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Free Offers --- */
.free-offers {
    padding: 6rem 0;
    position: relative;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
}

.offer-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
}

.offer-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.1);
}

.offer-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(90deg, var(--neon-blue), var(--accent-color));
    color: #000;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-card h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.offer-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.offer-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group-inline {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

@media (min-width: 769px) {
    .form-group-inline {
        flex-direction: row;
    }
}

.form-group-inline input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-group-inline input:focus {
    border-color: var(--neon-blue);
    outline: none;
    background: rgba(255, 255, 255, 0.05);
}

.btn.small-btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    text-align: center;
}

.success-message {
    display: none;
    align-items: center;
    gap: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    animation: fadeIn 0.5s ease forwards;
}

.success-message i {
    color: #10b981;
    font-size: 1.5rem;
}

.success-message p {
    margin: 0;
    font-size: 0.85rem;
    color: #10b981;
}

/* --- Portfolio --- */
.portfolio {
    padding: 8rem 0;
    background: var(--surface-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.portfolio-card {
    background: var(--bg-color);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
}

.portfolio-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.03);
}

.portfolio-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

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

.portfolio-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.project-btns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
}

.btn.mini {
    padding: 0.55rem 0.2rem;
    font-size: 0.75rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn.secondary.mini {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn.secondary.mini:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-primary);
}

/* --- Pricing --- */
.pricing {
    padding: 8rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.02);
}

.pricing-card.popular {
    border: 2px solid var(--accent-color);
    background: rgba(59, 130, 246, 0.02);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.08);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 1rem 0;
    font-family: 'Outfit', sans-serif;
}

.price-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    color: #10b981;
    font-size: 0.9rem;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
}

/* --- Why Choose Me --- */
.why-choose-me {
    padding: 8rem 0;
    background: var(--surface-color);
}

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

.why-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: left;
    transition: var(--transition-slow);
}

.why-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
}

.why-card i {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    display: inline-block;
}

.text-gradient {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Testimonials --- */
.testimonials {
    padding: 8rem 0;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem 3rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.05);
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(59, 130, 246, 0.3);
    margin-bottom: 1.5rem;
}

.testimonial-card h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.testimonial-card p strong {
    color: var(--text-primary);
}

/* --- Stats Section --- */
.stats-section {
    padding: 5rem 0;
    background: var(--surface-color);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item-new {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--neon-blue), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* --- Skills --- */
.skills {
    padding: 8rem 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2.5rem;
    text-align: center;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-fast);
}

.skill-item i {
    font-size: 3rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.skill-item:hover i {
    color: var(--accent-color);
    transform: translateY(-5px);
    filter: drop-shadow(0 0 15px var(--accent-glow));
}

.skill-item:hover span {
    color: var(--text-primary);
}

/* --- FAQ Accordion --- */
.faq {
    padding: 8rem 0;
    background: var(--surface-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(255,255,255,0.15);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.04);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Contact Section --- */
.contact {
    padding: 8rem 0;
}

.contact-box {
    background: linear-gradient(145deg, var(--surface-color), #0d0d0d);
    padding: 4.5rem 4rem;
    border-radius: 40px;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.contact-box h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-box p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.20fr;
    gap: 4rem;
    text-align: left;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.response-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.contact-item-new {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 1.2rem 1.8rem;
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-item-new i {
    font-size: 1.6rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.contact-item-new .label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.contact-item-new .value {
    display: block;
    font-size: 1.05rem;
    color: white;
    font-weight: 600;
}

.contact-item-new:hover {
    transform: translateY(-3px);
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.contact-item-new.whatsapp:hover {
    border-color: #25d366;
    background: rgba(37, 211, 102, 0.03);
}

.contact-item-new.whatsapp:hover i {
    color: #25d366;
}

.contact-item-new.linkedin:hover {
    border-color: #0077b5;
    background: rgba(0, 119, 181, 0.03);
}

.contact-item-new.linkedin:hover i {
    color: #0077b5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

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

/* --- Footer --- */
footer {
    padding: 3rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-top: 1px solid var(--glass-border);
}

/* --- Case Study Modal --- */
.cs-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cs-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.cs-modal-content {
    background: linear-gradient(145deg, #0f0f0f, #070707);
    border: 1px solid var(--accent-glow);
    padding: 3.5rem;
    width: 90%;
    max-width: 650px;
    border-radius: 28px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 30px rgba(59, 130, 246, 0.1);
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs-modal.show .cs-modal-content {
    transform: translateY(0);
}

.cs-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: var(--text-secondary);
    font-size: 2.2rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cs-close-btn:hover {
    color: white;
}

.cs-modal-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
    background: linear-gradient(90deg, white, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cs-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    text-align: left;
}

.cs-section {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cs-sec-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
}

.cs-sec-title i {
    color: var(--accent-color);
}

.cs-section p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
}

.cs-modal-footer {
    margin-top: 2.5rem;
    display: flex;
    justify-content: flex-end;
}

.modal-cta-btn {
    padding: 0.75rem 1.8rem;
    font-size: 0.9rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

/* --- Responsive Layouts --- */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-box {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .nav-links {
        display: none;
    }
    .menu-btn {
        display: flex;
    }
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }
    .services {
        padding: 5rem 0;
    }
    .portfolio {
        padding: 5rem 0;
    }
    .pricing {
        padding: 5rem 0;
    }
    .why-choose-me {
        padding: 5rem 0;
    }
    .faq {
        padding: 5rem 0;
    }
    .contact {
        padding: 5rem 0;
    }
    .cs-modal-content {
        padding: 2.5rem 1.8rem;
    }
    .pricing-card.popular {
        transform: none !important;
    }
}

/* Scroll Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

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

