/*
   MODIFIED RESPONSIVE VERSION
   Save this content as: styles/style.css
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg-primary-light: #F5F5F5;
    --bg-secondary-light: #FFFFFF;
    --text-primary-light: #111111;
    --text-secondary-light: #525252;
    --border-light: #E5E5E5;
    --accent-primary: #00A9FF;
    --accent-secondary: #00E1FF;
    --star-color: #FFC700;

    --bg-primary-dark: #0a0a0a;
    --bg-secondary-dark: #111111;
    --text-primary-dark: #f5f5f5;
    --text-secondary-dark: #a3a3a3;
    --border-dark: rgba(255, 255, 255, 0.1);
}

/* General Styling */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

body.light-mode {
    --bg-primary: var(--bg-primary-light);
    --bg-secondary: var(--bg-secondary-light);
    --text-primary: var(--text-primary-light);
    --text-secondary: var(--text-secondary-light);
    --border-color: var(--border-light);
}

body.dark-mode {
    --bg-primary: var(--bg-primary-dark);
    --bg-secondary: var(--bg-secondary-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --border-dark: rgba(255, 255, 255, 0.1);
    --border-color: var(--border-dark);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
}

img {
    max-width: 100%;
    height: auto;
}


/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.75s ease, visibility 0.75s ease;
    color: var(--accent-primary);
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.bike {
	display: block;
	margin: auto;
	width: 16em;
	height: auto;
    font-size: 16px; /* Set a base font size for the preloader bike */
}
.bike__body,
.bike__front,
.bike__handlebars,
.bike__pedals,
.bike__pedals-spin,
.bike__seat,
.bike__spokes,
.bike__spokes-spin,
.bike__tire {
	animation: bikeBody 3s ease-in-out infinite;
	stroke: var(--accent-primary);
	transition: stroke 0.3s;
}
.bike__front {
	animation-name: bikeFront;
}
.bike__handlebars {
	animation-name: bikeHandlebars;
}
.bike__pedals {
	animation-name: bikePedals;
}
.bike__pedals-spin {
	animation-name: bikePedalsSpin;
}
.bike__seat {
	animation-name: bikeSeat;
}
.bike__spokes,
.bike__tire {
	stroke: currentColor;
}
.bike__spokes {
	animation-name: bikeSpokes;
}
.bike__spokes-spin {
	animation-name: bikeSpokesSpin;
}
.bike__tire {
	animation-name: bikeTire;
}

/* Preloader Animations */
@keyframes bikeBody {
	from { stroke-dashoffset: 79; }
	33%, 67% { stroke-dashoffset: 0; }
	to { stroke-dashoffset: -79; }
}
@keyframes bikeFront {
	from { stroke-dashoffset: 19; }
	33%, 67% { stroke-dashoffset: 0; }
	to { stroke-dashoffset: -19; }
}
@keyframes bikeHandlebars {
	from { stroke-dashoffset: 10; }
	33%, 67% { stroke-dashoffset: 0; }
	to { stroke-dashoffset: -10; }
}
@keyframes bikePedals {
	from {
		animation-timing-function: ease-in;
		stroke-dashoffset: -25.133;
	}
	33%, 67% {
		animation-timing-function: ease-out;
		stroke-dashoffset: -21.991;
	}
	to { stroke-dashoffset: -25.133; }
}
@keyframes bikePedalsSpin {
	from { transform: rotate(0.1875turn); }
	to { transform: rotate(3.1875turn); }
}
@keyframes bikeSeat {
	from { stroke-dashoffset: 5; }
	33%, 67% { stroke-dashoffset: 0; }
	to { stroke-dashoffset: -5; }
}
@keyframes bikeSpokes {
	from {
		animation-timing-function: ease-in;
		stroke-dashoffset: -31.416;
	}
	33%, 67% {
		animation-timing-function: ease-out;
		stroke-dashoffset: -23.562;
	}
	to { stroke-dashoffset: -31.416; }
}
@keyframes bikeSpokesSpin {
	from { transform: rotate(0); }
	to { transform: rotate(3turn); }
}
@keyframes bikeTire {
	from {
		animation-timing-function: ease-in;
		stroke-dashoffset: 56.549;
		transform: rotate(0);
	}
	33% {
		stroke-dashoffset: 0;
		transform: rotate(0.33turn);
	}
	67% {
		animation-timing-function: ease-out;
		stroke-dashoffset: 0;
		transform: rotate(0.67turn);
	}
	to {
		stroke-dashoffset: -56.549;
		transform: rotate(1turn);
	}
}


.aurora-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.dark-mode .aurora {
    mix-blend-mode: screen;
    opacity: 0.4;
}

.aurora.one {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-primary), transparent 60%);
    animation: move-aurora-one 25s infinite alternate;
}

.aurora.two {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-secondary), transparent 60%);
    animation: move-aurora-two 30s infinite alternate;
}

@keyframes move-aurora-one {
    0% { transform: translate(-20vw, -20vh); }
    100% { transform: translate(50vw, 70vh); }
}
@keyframes move-aurora-two {
    0% { transform: translate(60vw, 80vh); }
    100% { transform: translate(10vw, 0vh); }
}

.content-wrapper {
     display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Styling */
header {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    padding: 15px 40px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

body.light-mode header {
     background-color: rgba(255, 255, 255, 0.7);
}
body.dark-mode header {
     background-color: rgba(10, 10, 10, 0.7);
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1em;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-primary);
}

#theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
#theme-toggle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}
#theme-toggle svg {
    width: 20px;
    height: 20px;
}
.sun-icon { display: none; }
.moon-icon { display: block; }
body.dark-mode .sun-icon { display: block; }
body.dark-mode .moon-icon { display: none; }

section, .container {
     opacity: 0;
     transform: translateY(20px);
     transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible, .container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Main Container */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    padding: 80px 20px;
    box-sizing: border-box;
    flex-grow: 1;
}

.left-side {
    flex: 1;
    min-width: 300px;
    padding-right: 50px;
    box-sizing: border-box;
}

.greeting {
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 1.1em;
    margin-bottom: 10px;
    display: inline-block;
}

h1 {
    font-size: 4.5em;
    margin: 0;
    line-height: 1.1;
    color: var(--text-primary);
    font-weight: 800;
    text-shadow: 0 0 15px rgba(0, 169, 255, 0.2);
}

.highlight {
    color: var(--accent-primary);
}

h2 {
    font-size: 1.5em;
    font-weight: 400;
    margin: 20px 0 40px;
    color: var(--text-secondary);
    max-width: 500px;
}

.changing-text-container {
    color: var(--accent-primary);
    font-weight: 600;
}

.specialist-text {
    color: var(--text-secondary);
}

.testimonial {
    border-left: 4px solid var(--accent-primary);
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 8px;
    position: relative;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}
.testimonial p { margin: 0; line-height: 1.6; font-size: 1em; }
.client-name { margin-top: 15px; font-style: italic; font-size: 0.9em; text-align: right; }

.buttons { display: flex; gap: 20px; }
.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.primary-btn {
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent-primary));
    color: var(--bg-primary-dark);
    box-shadow: 0 4px 20px rgba(0, 225, 255, 0.2);
}
.primary-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 30px rgba(0, 225, 255, 0.3); }
.secondary-btn { background-color: transparent; color: var(--accent-primary); border: 2px solid var(--accent-primary); }
.secondary-btn:hover { background-color: var(--accent-primary); color: var(--bg-primary); }

.right-side {
    flex: 1;
    min-width: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}
.image-container {
    width: 400px;
    height: 400px;
    border-radius: 1.5rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
body.light-mode .image-container {
     box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-container:hover {
     box-shadow: 0 0 40px rgba(0, 169, 255, 0.3);
}
.profile-image { width: 100%; height: 100%; border-radius: 1.5rem; object-fit: cover; }

/* General Section Styling */
.section {
    width: 90%;
    max-width: 1200px;
    padding: 80px 20px;
    box-sizing: border-box;
    margin-bottom: 60px;
}

.boxed-section {
    border-radius: 1.5rem;
    background-color: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

body.light-mode .boxed-section {
    background-color: rgba(255, 255, 255, 0.7);
}

.section-title { font-size: 2.8em; color: var(--text-primary); margin-bottom: 10px; text-align: center; }
.section-subtitle { font-size: 1.2em; color: var(--text-secondary); margin-bottom: 50px; text-align: center; max-width: 600px; margin-left: auto; margin-right: auto;}

.stats-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px;
}
.stat-item { text-align: center; flex: 1; min-width: 180px; }
.stat-number { font-size: 3em; font-weight: 700; color: var(--accent-primary); margin-bottom: 5px; }
.stat-description { font-size: 1.1em; color: var(--text-secondary); line-height: 1.4; }

.about-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}
.about-illustration { flex: 1; min-width: 300px; display: flex; justify-content: center; }
.about-illustration-img { max-width: 100%; height: auto; display: block; border-radius: 15px; }
.about-content { flex: 2; min-width: 400px; }
.about-content .tag { background-color: var(--bg-secondary);
    width: fit-content; margin: auto; color: var(--accent-primary); padding: 8px 20px; border-radius: 20px; font-size: 0.9em; font-weight: 600; margin-bottom: 15px; display: inline-block; }
.tab-navigation { display: flex; margin-bottom: 30px; flex-wrap: wrap; gap: 10px; border-bottom: 1px solid var(--border-color); }
.tab-button { padding: 10px 20px; border: none; background-color: transparent; color: var(--text-secondary); border-bottom: 2px solid transparent; font-size: 1.05em; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.tab-button:hover { color: var(--accent-primary); }
.tab-button.active { color: var(--accent-primary); border-bottom-color: var(--accent-primary); }
.tab-content { display: none; } .tab-content.active { display: block; }

#education .timeline { position: relative; padding: 20px 0 20px 20px; margin: 0; }
#education .timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background-color: var(--border-color); }
#education .timeline-item { margin-bottom: 30px; position: relative; padding-left: 30px; }
#education .timeline-item-content { background-color: var(--bg-primary); border: 1px solid var(--border-color); padding: 15px; border-radius: 10px; }
#education .timeline-item h4 { color: var(--text-primary); font-size: 1.2em; margin: 0 0 5px; }
#education .timeline-item p { color: var(--text-secondary); font-size: 0.9em; }
#education .timeline-item::after { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; background-color: var(--accent-primary); border: 2px solid var(--bg-primary); left: -6px; top: 5px; z-index: 1; }

#experience .experience-list { display: flex; flex-direction: column; gap: 20px; }
#experience .experience-item { background-color: var(--bg-primary); border-radius: 10px; border: 1px solid var(--border-color); padding: 25px; }
#experience .experience-content h4 { font-size: 1.4em; color: var(--text-primary); margin: 0 0 5px; }
#experience .experience-content .company-info { font-size: 0.95em; color: var(--text-secondary); }
#experience .experience-content .company-info span { font-weight: 600; color: var(--text-primary); }

#skills .skill-container { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tag { background-color: var(--bg-secondary); color: var(--text-secondary); padding: 8px 15px; border-radius: 20px; font-size: 0.9em; border: 1px solid var(--border-color); }

.service-cards-wrapper { position: relative; max-width: 900px; margin: 0 auto; }
.service-cards-container { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; padding: 20px 0; -ms-overflow-style: none; scrollbar-width: none; }
.service-cards-container::-webkit-scrollbar { display: none; }
.service-card { flex: 0 0 280px; border: 1px solid var(--border-color); border-radius: 10px; background-color: var(--bg-secondary); text-align: left; transition: transform 0.3s ease, border-color 0.3s ease; }
.service-card:hover { transform: translateY(-5px); border-color: var(--accent-primary); }
.service-card-image-wrapper { position: relative; width: 100%; height: 150px; }
.service-card img { width: 100%; height: 100%; object-fit: cover; }
.service-icon-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: none; /* Changed from flex to none to hide the icon */
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}
.service-icon-overlay svg { width: 24px; height: 24px; color: var(--accent-primary); }
.service-card-content { padding: 20px; }
.service-card-content h4 { font-size: 1.1em; margin: 0 0 10px; color: var(--text-primary); }
.service-card-content p { font-size: 0.9em; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.6; }
.service-card-content button { background-color: var(--bg-primary); border: 1px solid var(--border-color); color: var(--text-secondary); padding: 10px 15px; width: auto; font-weight: 600; border-radius: 8px; transition: all 0.3s ease; }
.service-card-content button:hover { background-color: var(--accent-primary); color: var(--bg-primary); border-color: var(--accent-primary); }
.service-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 50%; width: 45px; height: 45px; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.service-nav-btn:hover { background-color: var(--accent-primary); border-color: var(--accent-primary); }
.service-nav-btn svg { width: 24px; height: 24px; color: var(--text-primary); transition: color 0.3s ease; }
.service-nav-btn:hover svg { color: var(--bg-primary); }
.service-nav-btn.left { left: -55px; }
.service-nav-btn.right { right: -55px; }

/* Why Hire Me Section */
.why-hire-me-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}
.why-hire-me-section .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.why-hire-me-section .feature-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 30px;
    text-align: left;
    transition: all 0.3s ease;
}
.why-hire-me-section .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.why-hire-me-section .feature-icon {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.why-hire-me-section .feature-icon svg {
    width: 24px;
    height: 24px;
}
.why-hire-me-section .feature-icon img {
    width: 50px;
    height: 50px;
}
.why-hire-me-section .feature-title {
    font-size: 1.5em;
    color: var(--text-primary);
    margin: 0 0 10px;
}
.why-hire-me-section .feature-description {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Testimonial Section Styles */
.testimonial-section {
    text-align: center;
}
.testimonial-section .tag {
    background-color: var(--bg-secondary);
    color: var(--accent-primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    display: inline-block;
}
.testimonial-section .section-title {
    margin-top: 15px;
    margin-bottom: 40px;
}
.testimonial-card {
    max-width: 850px;
    margin: 0 auto;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 20px;
    position: relative;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
body.dark-mode .testimonial-card {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.quote-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-primary);
    color: var(--bg-secondary);
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 50%;
}
.testimonial-dynamic-content {
    transition: opacity 0.3s ease-in-out;
}
.testimonial-text {
    font-size: 1.2em;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 20px 0 20px;
    margin-bottom: 20px;
}
.stars {
    color: var(--star-color);
    font-size: 1.2em;
    margin-bottom: 25px;
}
.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
}
.author-info h4 {
    margin: 0;
    font-size: 1.1em;
    color: var(--text-primary);
}
.author-info p {
    margin: 0;
    font-size: 0.9em;
    color: var(--text-secondary);
}
.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.testimonial-nav-btn {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    transition: all 0.3s ease;
}
.testimonial-nav-btn:hover {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-secondary);
}

/* New Footer Styling */
.footer {
    width: 100%;
    padding: 60px 20px 30px 20px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-top: 40px;
    box-sizing: border-box;
}

.footer-grid {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    text-align: left;
}

.footer-logo-area h4 {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.footer-logo-area p {
    max-width: 300px;
    line-height: 1.6;
}

.footer-column h5 {
    font-size: 1.1em;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-primary);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-social-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85em;
}

/* Privacy Policy Page Styles */
.policy-container {
    max-width: 800px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 30px 40px;
    text-align: left;
}
.policy-container h1 {
    font-size: 2.5em;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: left;
}
.policy-container h2 {
    font-size: 1.8em;
    color: var(--text-primary);
    margin-top: 30px;
}
.policy-container p, .policy-container li {
    color: var(--text-secondary);
    line-height: 1.8;
}
.policy-container a {
    color: var(--accent-primary);
    text-decoration: none;
}
.policy-container a:hover {
    text-decoration: underline;
}

/* ==============================================
   MOBILE NAVIGATION & HAMBURGER MENU STYLES
   ============================================== */

/* Style for the container of header buttons */
.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Base style for the new menu toggle button */
#menu-toggle {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: none; /* Hidden on desktop */
    align-items: center;
    justify-content: center;
    z-index: 1001; /* Ensure it's on top */
}
#menu-toggle .close-icon {
    display: none;
}

/* When menu is open, show close icon and hide hamburger */
body.menu-open #menu-toggle .close-icon {
    display: block;
}
body.menu-open #menu-toggle .hamburger-icon {
    display: none;
}
/* When menu is open on dark mode, the close button should be white */
body.menu-open.dark-mode #menu-toggle {
    color: var(--text-primary-dark);
}
body.menu-open.light-mode #menu-toggle {
    color: var(--text-primary-light);
}


/*
==============================================
RESPONSIVE STYLES (MEDIA QUERIES)
==============================================
*/

/* For Tablets and smaller desktops */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5em;
    }
    .section-title {
        font-size: 2.5em;
    }
    .container, .section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}


/* For smaller tablets and large phones */
@media (max-width: 900px) {
    header {
        position: relative; /* Un-stick header on mobile */
        justify-content: space-between;
        flex-direction: row;
        gap: 20px;
        padding: 15px 20px; /* Adjusted padding */
    }

    /* Styles for the mobile navigation panel */
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        
        /* Hide it by default */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }

    /* When menu is open, show the navigation */
    body.menu-open nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Make nav links vertical in the mobile menu */
    nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    nav ul li a {
        font-size: 1.5em; /* Make links bigger */
    }
    
    /* Prevent scrolling of the page when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Show the hamburger menu button on mobile */
    #menu-toggle {
        display: flex;
    }

    .container {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
        text-align: center;
    }
    
    .left-side {
        padding-right: 0;
    }
    
    .right-side {
        min-width: unset;
        width: 100%;
        max-width: 350px;
    }
    
    .image-container {
        width: 100%;
        height: auto;
    }
    
    .buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-section {
        flex-direction: column;
    }

    .about-content {
        min-width: unset;
        width: 100%;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-logo-area {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-logo-area p {
        margin-left: auto;
        margin-right: auto;
    }
}


/* For most mobile phones */
@media (max-width: 600px) {
    h1 {
        font-size: 2.8em;
    }
    h2 {
        font-size: 1.2em;
    }
    .section-title {
        font-size: 2.2em;
    }

    .container, .section {
        padding: 40px 15px;
    }

    .buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        box-sizing: border-box;
    }

    .stat-number {
        font-size: 2.5em;
    }

    .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 1.1em;
        min-height: 80px;
    }

    .service-nav-btn {
        display: none; /* On small screens, users can swipe */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo-area {
        grid-column: span 1;
    }
    .footer-contact-item {
        justify-content: center;
    }
    .footer-social-links {
        justify-content: center;
    }
    .policy-container {
        padding: 20px;
    }
    .policy-container h1 {
        font-size: 2em;
    }
}

/* =========================================
   FIX FOR LOTTIE ANIMATION IN DARK MODE
   ========================================= */
body.dark-mode #workflow-animation-container,
body.dark-mode #strategy-animation-container,
body.dark-mode #targeting-animation-container,
body.dark-mode #data-animation-container,
body.dark-mode #skills-animation-container,
body.dark-mode #roi-animation-container {
    filter: invert(1) hue-rotate(180deg);
}