/* CSS Variables - DARK THEME WITH ORANGE */
:root {
    --primary: #FF6B35;
    --secondary: #FF8C42;
    --accent: #FFA047;
    --dark: #000000;
    --light: #1a1a1a;
    --gray: #888888;
    --success: #38b000;
    --orange: #FF6B35;
    --transition: all 0.3s ease;
    --shadow: 0 10px 20px rgba(0,0,0,0.3);
    --shadow-hover: 0 15px 30px rgba(0,0,0,0.5);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark);
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Global Background Glow Elements - Reduced Opacity */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    animation: floatBg 20s infinite ease-in-out alternate;
    opacity: 0.6; /* Reduced overall opacity for comfort */
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: rgba(255, 107, 53, 0.15); /* Restored to lower opacity */
    top: -10%;
    left: -10%;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(255, 160, 71, 0.12);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.glow-3 {
    width: 450px;
    height: 450px;
    background: rgba(255, 140, 66, 0.10);
    top: 40%;
    left: 50%;
    animation-delay: -10s;
}

.glow-4 {
    width: 400px;
    height: 400px;
    background: rgba(255, 107, 53, 0.10);
    bottom: 20%;
    left: -5%;
    animation-delay: -7s;
}

@keyframes floatBg {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(3%, 3%) scale(1.1);
    }
    100% {
        transform: translate(-3%, -3%) scale(0.9);
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
    background: transparent !important;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #cccccc;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: #FF6B35;
    color: black;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    min-width: 180px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    transform: translateY(0);
    text-align: center;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--secondary), var(--accent));
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 40px 0;
    transition: transform 0.3s ease;
}

header.hidden {
    transform: translateY(-100%);
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0 auto;
    max-width: 665px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 8px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links li:not(:last-child) {
    border-right: 1px solid rgba(255, 107, 53, 0.3);
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 12px 25px;
    display: block;
    text-align: center;
    background: transparent;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.hire-btn-container {
    margin-left: 0 !important;
    background: var(--primary);
    border-radius: 50px;
    margin: 0 5px !important;
    transition: var(--transition);
    border: none;
}

.hire-btn-container:hover {
    transform: translateY(-3px);
    background: var(--primary);
}

.hire-btn {
    background: transparent !important;
    color: black !important;
    border-radius: 50px;
    padding: 7px 20px !important;
    margin: 0 !important;
    border: none !important;
    font-weight: 700;
}

.hire-btn:hover {
    background: transparent !important;
    transform: none;
    box-shadow: none;
    color: white !important;
}

.nav-links a::after, .nav-links a::before {
    display: none;
}

.hamburger {
    display: none;
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: transparent;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.hero .container.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    z-index: 2;
    position: relative;
    height: 100%;
    padding-top: 120px;
}

.hero-content {
    flex: 0 0 60%;
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 20px;
    margin-top: 0;
    font-size: 2rem;
    line-height: 1.2;
    color: #ffffff;
}

.typing-container {
    height: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible; /* Prevents text clipping */
}

.hero p {
    margin-bottom: 25px;
    font-size: 1rem;
    color: #cccccc;
}

.typing-container h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin: 0;
    font-weight: 900; /* Made Bolder */
    white-space: nowrap; /* Prevent line break */
}

.typed-text {
    font-weight: 900; /* Made Bolder */
    color: var(--primary);
    font-size: 3.5rem;
    white-space: nowrap; /* Prevent line break */
}

.cursor {
    display: inline-block;
    background-color: var(--primary);
    margin-left: 0.1rem;
    width: 4px;
    animation: blink 1s infinite;
}

.cursor.typing {
    animation: none;
}

@keyframes blink {
    0%  { background-color: var(--primary); }
    49% { background-color: var(--primary); }
    50% { background-color: transparent; }
    99% { background-color: transparent; }
    100% { background-color: var(--primary); }
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Round Hero Image */
.hero-image-container {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
    border: 4px solid var(--primary);
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
    margin: 0 auto;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 0 60px rgba(255, 107, 53, 0.5);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Service Background Elements - ORIGINAL BRAND COLORS */
.service-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.service-element {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.service-element i {
    font-size: 2.5rem;
}

/* Applied Original Icon Colors */
.service-element:nth-child(1) { color: #FF007F; filter: drop-shadow(0 0 5px rgba(255,0,127,0.3)); top: 15%; left: 10%; animation: floatFade 12s infinite ease-in-out; animation-delay: 0s; transform: scale(1); } /* Pen Nib */
.service-element:nth-child(2) { color: #95BF47; filter: drop-shadow(0 0 5px rgba(149,191,71,0.3)); top: 20%; right: 15%; animation: floatFade 14s infinite ease-in-out; animation-delay: 4s; font-size: 1.8rem; filter: blur(1px); } /* Shopify Green */
.service-element:nth-child(3) { color: #FF0000; filter: drop-shadow(0 0 5px rgba(255,0,0,0.3)); top: 45%; left: 5%; animation: floatFade 13s infinite ease-in-out; animation-delay: 2s; transform: scale(0.9); } /* Video Red */
.service-element:nth-child(4) { color: #FF9900; filter: drop-shadow(0 0 5px rgba(255,153,0,0.3)); top: 50%; right: 8%; animation: floatFade 15s infinite ease-in-out; animation-delay: 7s; } /* Vector Orange */
.service-element:nth-child(5) { color: #00A1FF; filter: drop-shadow(0 0 5px rgba(0,161,255,0.3)); bottom: 15%; left: 15%; animation: floatFade 11s infinite ease-in-out; animation-delay: 5s; font-size: 3rem; } /* Image Blue */
.service-element:nth-child(6) { color: #FFD700; filter: drop-shadow(0 0 5px rgba(255,215,0,0.3)); bottom: 20%; right: 12%; animation: floatFade 16s infinite ease-in-out; animation-delay: 1s; filter: blur(2px); } /* Star Gold */
.service-element:nth-child(7) { color: #FF0000; filter: drop-shadow(0 0 5px rgba(255,0,0,0.3)); top: 10%; left: 50%; animation: floatFade 18s infinite ease-in-out; animation-delay: 9s; transform: scale(0.8); } /* Adobe Red */
.service-element:nth-child(8) { color: #4CAF50; filter: drop-shadow(0 0 5px rgba(76,175,80,0.3)); bottom: 10%; left: 60%; animation: floatFade 14s infinite ease-in-out; animation-delay: 3s; } /* Cart Green */
.service-element:nth-child(9) { color: #9C27B0; filter: drop-shadow(0 0 5px rgba(156,39,176,0.3)); top: 35%; right: 25%; animation: floatFade 17s infinite ease-in-out; animation-delay: 11s; opacity: 0; font-size: 1.5rem; } /* Magic Purple */
.service-element:nth-child(10) { color: #00BCD4; filter: drop-shadow(0 0 5px rgba(0,188,212,0.3)); bottom: 40%; left: 20%; animation: floatFade 13s infinite ease-in-out; animation-delay: 6s; filter: blur(1px); } /* Layer Cyan */

@keyframes floatFade {
    0% { transform: translateY(20px) rotate(-10deg); opacity: 0; }
    20% { opacity: 0.25; transform: translateY(0px) rotate(0deg); } /* Slightly higher icon opacity */
    50% { transform: translateY(-20px) rotate(10deg); opacity: 0.25; }
    80% { opacity: 0.25; }
    100% { transform: translateY(-40px) rotate(20deg); opacity: 0; }
}

/* Sections Configuration */
.stats {
    background: transparent;
    color: white;
    text-align: center;
    padding: 80px 0;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    padding: 30px 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0) rotateX(0);
    transform-style: preserve-3d;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.stat-item:hover {
    transform: translateY(-15px) rotateX(10deg);
    background: rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #cccccc;
}

.services {
    background: transparent;
    transform-style: preserve-3d;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0) rotateX(0);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px) rotateY(5deg) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-card p {
    color: #cccccc;
}

.skills {
    background: transparent;
    transform-style: preserve-3d;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0) rotateX(0);
    transform-style: preserve-3d;
    border: 0.5px solid var(--primary);
}

.skill-category:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.skill-list {
    list-style: none;
}

.skill-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #cccccc;
}

.skill-list i {
    color: var(--success);
    margin-right: 10px;
    font-size: 1.2rem;
}

.experience {
    background: transparent;
    color: white;
    transform-style: preserve-3d;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 10px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0) rotateX(0);
    transform-style: preserve-3d;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.timeline-content:hover {
    transform: translateY(-10px) rotateY(5deg);
    background: rgba(255, 255, 255, 0.08);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -12px;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.timeline-content p {
    color: #cccccc;
}

.portfolio {
    background: transparent;
    padding: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 56.25%;
    box-shadow: none;
    border-radius: 0;
    border: none;
    cursor: pointer;
}

.portfolio-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Portfolio Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.8);
    border: 2px solid var(--primary);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 45px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    z-index: 100000;
}

.lightbox-close:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--primary);
    color: black;
    box-shadow: 0 0 15px var(--primary);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.reviews {
    background: transparent;
    overflow: hidden;
    position: relative;
    padding: 100px 0 20px;
}

.reviews h2 {
    margin-bottom: 10px;
}

.reviews-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews h3 {
    font-size: 2rem;
}

.reviews-content {
    flex: 1;
    padding-right: 50px;
    text-align: left;
}

.reviews-carousel {
    flex: 1;
    position: relative;
    height: 500px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.review-card {
    position: absolute;
    width: 320px;
    height: 370px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    transform: translateX(100px) scale(0.8);
}

.review-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 3;
}

.review-card.prev {
    opacity: 0.6;
    transform: translateX(-80px) scale(0.85);
    z-index: 2;
}

.review-card.next {
    opacity: 0.6;
    transform: translateX(80px) scale(0.85);
    z-index: 2;
}

.review-card.far {
    opacity: 0.3;
    transform: translateX(-160px) scale(0.7);
    z-index: 1;
}

.review-card.far-next {
    opacity: 0.3;
    transform: translateX(160px) scale(0.7);
    z-index: 1;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid #FF6B35;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-info h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: #ffffff;
}

.review-info p {
    color: #FF6B35;
    margin: 0;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #cccccc;
}

.review-rating {
    color: #FF6B35;
}

.review-btn {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact {
    background: transparent;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--primary);
}

.contact-item a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-item div {
    color: #cccccc;
}

.iframe-container {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 0;
    box-shadow: var(--shadow);
    overflow: hidden;
    width: 90%;
    height: 540px;
    position: relative;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    overflow: hidden !important;
    pointer-events: auto;
    -webkit-overflow-scrolling: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.iframe-container iframe::-webkit-scrollbar {
    display: none;
}

footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 50px 0 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-logo span {
    color: var(--primary);
}

.footer-about p {
    color: #cccccc;
}

.footer-links h4, .footer-services h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: #ffffff;
}

.footer-links h4::after, .footer-services h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-links ul, .footer-services ul {
    list-style: none;
}

.footer-links li, .footer-services li {
    margin-bottom: 10px;
}

.footer-links a, .footer-services a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover, .footer-services a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.copyright {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888888;
}

/* ========================================================= */
/* Responsive Design */
/* ========================================================= */

@media (max-width: 1200px) {
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item::after {
        left: 18px;
    }
    .timeline-item:nth-child(even)::after {
        left: 18px;
    }
    .iframe-container {
        height: 520px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        width: 95%;
        max-width: 900px;
    }
    .nav-links a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .hero .container.hero-split {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 100px;
    }
    .hero-content {
        margin: 0 auto;
        max-width: 100%;
    }
    .typing-container, .hero-btns {
        justify-content: center;
    }
    .hero-image-container {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .hero-image-wrapper {
        width: 250px;
        height: 250px;
        transform: none;
    }
    .hero-image-wrapper:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
        transition: transform 0.3s ease;
    }
    header.hidden {
        transform: translateX(-100%);
    }
    
/* Glow Adjustments for Mobile - Top Left & Bottom Right */
    .bg-glow {
        filter: blur(60px); /* ব্লার একটু কমানো হয়েছে যাতে রং ছড়িয়ে না যায় */
        opacity: 1; /* মোবাইলের জন্য অপাসিটি ফুল করে দেওয়া হলো */
    }
    .glow-1 {
        width: 250px; height: 250px;
        top: 5%; 
        left: -5%;
        background: rgba(255, 107, 53, 0.4); /* কালারের আলফা/ঘনত্ব বাড়ানো হলো */
    }
    .glow-2 {
        width: 200px; height: 200px;
        bottom: 5%; 
        right: -5%;
        top: auto; left: auto;
        background: rgba(255, 160, 71, 0.4); /* কালারের আলফা/ঘনত্ব বাড়ানো হলো */
    }
    .glow-3, .glow-4 {
        display: none; /* Hide middle glows so center is black */
    }

    .navbar {
        justify-content: flex-start;
        max-width: 100%;
        position: relative;
    }
    .nav-links {
        flex-direction: column;
        width: 200px;
        border-radius: 15px;
        padding: 15px 0;
        align-items: flex-start;
        position: fixed;
        left: -220px;
        top: 80px;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1000;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 107, 53, 0.3);
        box-shadow: 0 5px 20px rgba(0,0,0,0.5);
        margin-left: 0;
    }
    .nav-links.active {
        left: 20px;
    }
    .nav-links::before {
        display: none;
    }
    .nav-links li {
        width: 100%;
        margin: 0 !important;
        position: relative;
    }
    .nav-links li:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    }
    .nav-links a {
        padding: 7px 15px !important;
        font-size: 0.9rem;
        text-align: center;
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 3px auto !important;
    }
    .nav-links a::before {
        content: '';
        width: 6px;
        height: 6px;
        background: var(--primary);
        border-radius: 50%;
        margin-right: 10px;
        transition: var(--transition);
    }
    .nav-links a:hover::before {
        background: var(--secondary);
        transform: scale(1.2);
    }
    .hire-btn-container {
        margin: 0 !important;
        background: transparent;
        border-radius: 0;
        margin: auto 0px !important;
    }
    .hire-btn-container:hover {
        transform: none;
        background: transparent;
    }
    .hire-btn {
        background: var(--primary) !important;
        color: black !important;
        border-radius: 50px;
        padding: 6px 12px !important;
        margin: 10px auto !important;
        width: calc(50% - 40px);
        text-align: center;
        font-weight: 700;
        font-size: 0.8rem;
        min-width: auto;
    }
    .hire-btn:hover {
        background: var(--primary) !important;
        color: white !important;
    }
    .hamburger {
        display: flex !important;
        position: fixed;
        left: 25px;
        top: 25px;
        z-index: 1001;
        background: var(--primary);
        border: none;
        border-radius: 5px;
        width: 40px;
        height: 40px;
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        transition: var(--transition);
    }
    .hamburger span {
        display: block;
        width: 20px;
        height: 2px;
        background: black;
        transition: var(--transition);
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        height: auto;
        padding: 50px 0 80px;
    }
    /* Fixed mobile top space and image */
    .hero .container.hero-split {
        padding-top: 40px; /* Highly Reduced top space */
        gap: 15px;
    }
    .hero-image-wrapper {
        width: 180px; /* Reduced image size on mobile */
        height: 180px;
    }
    .hero h1 {
        font-size: 1.8rem;
        margin-top: 0px;
    }
    .typing-container h1 {
        font-size: 1.6rem;
    }
    .typed-text {
        font-size: 1.6rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 60px 0;
    }
    h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews h3 {
        font-size: 1.5rem;
    }
    .reviews-container {
        flex-direction: column;
    }
    .reviews-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    .review-card {
        width: 280px;
        padding: 25px;
    }
    .reviews-carousel {
        height: 550px;
        padding-bottom: 40px;
        overflow: visible;
        margin-top: 20px;
    }
    .review-btn {
        justify-content: center;
        margin-bottom: 130px;
    }
    .reviews .container {
        padding-bottom: 150px;
    }
    
    .lightbox-prev {
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .lightbox-next {
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px 0;
    }
    .navbar {
        justify-content: flex-start;
    }
    .nav-links {
        width: 180px;
        left: -200px;
        top: 70px;
    }
    .nav-links.active {
        left: 10px;
    }
    .nav-links a {
        padding: 10px 20px !important;
        font-size: 0.8rem;
    }
    .hire-btn {
        padding: 4px 10px !important;
        font-size: 0.75rem;
        margin: 8px auto !important;
        width: 50%;
    }
    .hamburger {
        left: 20px;
        top: 20px;
        width: 35px;
        height: 35px;
    }
    .hamburger span {
        width: 18px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    section {
        padding: 60px 0;
    }
    
    .stats {
        padding: 50px 0;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .stat-item {
        padding: 15px 10px;
        border-radius: 10px;
    }
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
    .stat-text {
        font-size: 0.8rem;
    }
            
    .services-grid, .skills-container, .contact-container {
        grid-template-columns: 1fr;
    }
    
    /* Fixed extra small mobile space, image and font sizes to prevent line break */
    .hero .container.hero-split {
        padding-top: 15px; /* Extremely Reduced top space */
        gap: 10px;
    }
    .hero-image-wrapper {
        width: 150px; /* Smallest image for small phones */
        height: 150px;
    }
    .hero h1 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    .typing-container h1 {
        font-size: 2.1rem; 
        white-space: nowrap;
    }
    .typed-text {
        font-size: 2.1rem; 
        white-space: nowrap;
    }
    .hero p {
        font-size: 0.95rem;
    }
    .hero-btns {
        display: flex;
        gap: 10px;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        flex-wrap: wrap;
    }
    .hero-btns .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
        width: 50%;
    }
    
    .service-card, .skill-category {
        padding: 20px;
    }
    .iframe-container {
        height: 520px;
        width: auto;
    }
    .service-element i {
        font-size: 1.5rem !important;
    }
    .service-element:nth-child(1) { left: 5%; }
    .service-element:nth-child(2) { right: 5%; }
    
    .copyright p {
        font-size: 0.8rem;
    }
    .reviews h3 {
        font-size: 1.3rem;
    }
    .reviews-carousel {
        height: 580px;
        padding-bottom: 50px;
        margin-top: 25px;
    }
    .review-card {
        width: 260px;
        padding: 20px;
    }
    .review-btn {
        margin-bottom: 130px;
    }
    .reviews .container {
        padding-bottom: 140px;
    }
}