/* ===== CSS Variables ===== */
:root {
    --primary: #1616e8;
    --primary-dark: #121225;
    --primary-light: #2d05f8;
    --secondary: #330792;
    --dark: #088be9;
    --dark-light: #e31266;
    --light: #481487;
    --gray: #149781;
    --gray-light: #eaf2f7;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(7, 10, 215, 0.1);
    --shadow-lg: 0 20px 40px rgba(10, 154, 216, 0.15);
    --border-radius: 10px;
    --border-radius-sm: 5px;
}

/* ===== Global Styles ===== */   
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #000;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

section {
    padding: 100px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary);
    color: rgb(1, 7, 37);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: rgb(252, 252, 252);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Header & Navigation ===== */
header {
    box-shadow: 0 6px 18px rgba(37,211,102,0.18);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

header.scrolled {
    background-color: rgba(2, 2, 2, 0.98);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover:after {
    width: 100%;
}

/* Active nav link (scroll-spy) */
.nav-links a.active {
    color: var(--primary);
    font-weight: 700;
}

.nav-links a.active:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    z-index: 1001;
}

/* ===== Hero Section ===== */
.hero {
    padding-top: 150px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
  background: linear-gradient(135deg, rgba(12, 12, 12, 0.65) 0%, rgba(2, 25, 49, 0.65) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    line-height: 1.1;
}

.hero-role {
    font-size: 1.8rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.hero-btns .btn {
    margin-right: 15px;
    margin-bottom: 10px;
}

.hero-image {
    position: relative;
}

.image-container {
    position: relative;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 0;
}

.shape {
    position: absolute;
    background-color: var(--primary);
    opacity: 0.1;
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 100px;
    right: 30%;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 10%;
}

.code-snippet {
    background-color: var(--primary-dark);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.code-snippet pre {
    margin: 0;
    overflow-x: auto;
}

.code-snippet code {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #f8f9fa;
}

.code-keyword {
    color: #ff79c6;
}

.code-function {
    color: #50fa7b;
}

.code-comment {
    color: #6272a4;
}

.code-boolean {
    color: #bd93f9;
}
.hero-visual {
text-align: center;
}

.device-mockup {
position: relative;
display: inline-block;
width: 300px;
height: 500px;
background-color: white;
border-radius: 30px;
  border: 3px solid #636161;
  box-shadow: 0 0 25px rgba(244, 244, 250, 0.5);
  overflow: hidden;
/*box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);*/
/*border: 10px solid #01083a;*/
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #25D366, #128C7E, #3182ce);
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* video used as sticky background */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: -1;
    opacity: 0.55;
    pointer-events: none;
    filter: saturate(1.05) brightness(1.45) contrast(1.08);
    mix-blend-mode: screen;
    will-change: transform, filter;
    animation: bgPan 8s linear infinite;
}

@media (max-width: 768px) {
    /* Mobile: keep video fixed to viewport so it appears like desktop, but fit properly */
    .bg-video {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        min-height: 100dvh;
        min-width: 100%;
        object-fit: cover;
        object-position: center center;
        transform: none !important;
        /* stop heavy animations on mobile to avoid cropping issues */
        animation: none !important;
        opacity: 0.55;
        filter: saturate(1.02) brightness(1.25) contrast(1.05);
        mix-blend-mode: screen;
        z-index: -1;
        pointer-events: none;
    }

    /* Ensure hero content sits above the video */
    .hero {
        background: linear-gradient(135deg, rgba(12, 12, 12, 0.6) 0%, rgba(2, 25, 49, 0.6) 100%);
    }

    .hero-content {
        z-index: 3;
    }
}

/* mobile demo video inside mockup */
.mockup-screen .mobile-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes bgPan {
    0% {
        transform: scale(1) translateX(0) translateY(0);
    }
    50% {
        transform: scale(1.08) translateX(-6%) translateY(-2%);
    }
    100% {
        transform: scale(1) translateX(0) translateY(0);
    }
}

/* Dark card backgrounds and lighter text for visibility on black */
.service-item,
.problem-card,
.trust-item,
.project-card,
.pricing-card,
.contact-form,
.cta-card,
.review-card,
.project-info {
    background-color: #071018;
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.03);
}

.project-img {
    height: 220px;
    width: 100%;
    background-color: #041018;
    overflow: hidden;
    position: relative;
}

/* Links, primary buttons use WhatsApp green */
.btn {
    background-color: var(--primary);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

/* WhatsApp-specific styling for contact area */
.btn-whatsapp {
    background-color: #25D366 !important;
    color: #fff !important;
    border: none !important;
}

.btn-whatsapp:hover {
    background-color: #128C7E !important;
    transform: translateY(-2px);
}

.cta-card {
    border-left: 6px solid rgba(37,211,102,0.12);
}

.cta-icon {
    background-color: #075e3b;
    color: #fff !important;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Improve contrast of headings and general text */
h1,h2,h3,h4,p,li,a {
    color: var(--dark);
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-img {
    position: relative;
    align-self: start;
    transform: translateY(-10px);
}

.image-wrapper {
    position: relative;
}

.about-img img,
.about-photo {
    width: 320px;
    height: 435px;
    max-width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: block;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .about-img img,
    .about-photo {
        width: 100%;
        height: auto;
    }
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    z-index: 2;
}

.years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--gray);
}

.skills h4 {
    margin-bottom: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-tag {
    background-color: var(--gray-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

.skill-tag:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Services Section */
.services-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}

.service-item {
background-color: white;
border-radius: 12px;
padding: 30px;
text-align: center;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease;
}

.service-item:hover {
transform: translateY(-5px);
}

.service-icon {
font-size: 2.5rem;
color: #25D366;
margin-bottom: 20px;
}

.service-title {
font-size: 1.3rem;
margin-bottom: 10px;
}

.service-desc {
color: #4a5568;
}

/* Problems Section */
.problems-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
}

.problem-card {
background-color: white;
border-radius: 12px;
padding: 30px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease;
}

.problem-card:hover {
transform: translateY(-5px);
}

.problem-icon {
font-size: 2.5rem;
color: #25D366;
margin-bottom: 20px;
}

.problem-title {
font-size: 1.3rem;
margin-bottom: 10px;
}

.problem-desc {
color: #4a5568;
margin-bottom: 15px;
}

.solution {
background-color: #f0fff4;
padding: 15px;
border-radius: 8px;
font-size: 0.95rem;
border-left: 4px solid #25D366;
}

/* Trust Section */
.trust-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}

.trust-item {
background-color: white;
border-radius: 12px;
padding: 30px;
text-align: center;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.trust-item i {
font-size: 2.5rem;
color: #25D366;
margin-bottom: 20px;
}

.trust-item h3 {
font-size: 1.3rem;
margin-bottom: 10px;
}

.trust-item p {
color: #4a5568;
}

/* ===== Projects Section ===== */
.projects-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    padding: 10px 25px;
    margin: 0 5px 10px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.filter-btn.active{
    background-color: var(--primary);
    color: white;
}
.filter-btn:hover {
    background-color: var(--secondary);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.project-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-img {
    height: 220px;
    width: 100%;
    background-color: var(--gray-light);
    overflow: hidden;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(108, 99, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    color: white;
    font-weight: 600;
    padding: 12px 25px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.project-link:hover {
    background-color: white;
    color: var(--primary);
}

.project-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    margin-bottom: 0.8rem;
}

.project-info p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.project-tag {
    background-color: var(--gray-light);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.project-btn {
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.project-btn:first-child {
    background-color: var(--primary);
    color: white;
}

.project-btn:first-child:hover {
    background-color: var(--primary-dark);
}

.view-more {
    text-align: center;
}

/* Pricing Section */
.pricing-card {
background-color: white;
border-radius: 16px;
padding: 50px;
text-align: center;
max-width: 700px;
margin: 0 auto;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.pricing-title {
font-size: 2.2rem;
margin-bottom: 20px;
}

.price {
font-size: 1.8rem;
margin-bottom: 10px;
color: #4a5568;
}

.price-amount {
font-size: 3.5rem;
font-weight: 800;
color: #25D366;
}

.price-note {
color: #718096;
margin-bottom: 30px;
}

.price-features {
list-style: none;
margin-bottom: 40px;
text-align: left;
max-width: 400px;
margin-left: auto;
margin-right: auto;
}

.price-features li {
margin-bottom: 15px;
display: flex;
align-items: center;
}

.price-features i {
color: #25D366;
margin-right: 15px;
font-size: 1.2rem;
}

/* Contact Section */
.contact-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: start;
}

.contact-form {
background-color: white;
padding: 40px;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
margin-bottom: 25px;
}

.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 500;
color: #2d3748;
}

.form-group input,
.form-group textarea {
width: 100%;
padding: 14px;
border: 1px solid #e2e8f0;
border-radius: 8px;
font-family: 'Inter', sans-serif;
font-size: 1rem;
transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: #25D366;
}

.form-note {
text-align: center;
margin-top: 20px;
color: #718096;
font-size: 0.9rem;
}

.cta-card {
background-color: white;
padding: 40px;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
text-align: center;
}

.cta-card .cta-icon {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
}

.cta-title {
font-size: 1.8rem;
margin-bottom: 15px;
}

.cta-desc {
color: #4a5568;
margin-bottom: 30px;
}

.cta-note {
margin-top: 20px;
color: #718096;
font-size: 0.9rem;
}


/* ===== Footer ===== */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul {
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.newsletter-form input {
    flex-grow: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    font-family: 'Poppins', sans-serif;
}

.newsletter-form button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.copyright p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.copyright i {
    color: var(--secondary);
    margin: 0 5px;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .about-img {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: relative;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0 0 20px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    section {
        padding: 70px 0;
    }
    
    .hero {
        padding-top: 120px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-role {
        font-size: 1.4rem;
    }
    
    .hero-btns .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .code-snippet {
        padding: 20px;
    }
    
    .code-snippet code {
        font-size: 0.8rem;
    }
}