/* --- VARIABLES & GENERAL STYLING --- */
:root {
    /* Mapped from "Deep Forest & Modern Gold" */
    --bg-color: #2F4F4F;            /* Dark Slate Gray - Previously #1a202c (dark blue-gray) */
    --text-color: #F8F8F8;          /* Light Gray / Off-White - Previously #e2e8f0 (light gray) */
    --primary-accent: #CC5500;      /* Burnt Orange / Terracotta - Previously #6366f1 (purple) */
    --secondary-accent: #D4AF37;    /* Muted Gold - Previously #818cf8 (lighter purple) */
    --sidebar-bg: #36454F;          /* Charcoal Gray (for deeper elements) - Previously #111827 (darker blue-gray) */

    /* Additional colors for specific hardcoded elements */
    --whatsapp-color: #25d366;      /* Keeping original WhatsApp green */
    --muted-text-color: #A0A0A0;    /* Adjusted from your #9ca3af and #a0a0a0 for muted text */
    --border-color: #2D3748;        /* Adjusted from your #2d3748 for borders */

    /* New variables for consistency in sections */
    --primary-dark-gray: var(--bg-color);
    --secondary-dark-gray: var(--sidebar-bg);
    --primary-text-light: var(--text-color);
    --faded-text-gray: var(--muted-text-color);
    --accent-burnt-orange: var(--primary-accent);
    --secondary-text-gold: var(--secondary-accent);
    --border-color-subtle: #4A5B64; /* A slightly lighter version of sidebar-bg/dark slate for subtle borders */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-left: 80px;
    padding-right: 60px;
}
/* === MOBILE HEADER DEFAULT HIDDEN === */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--sidebar-bg);
  color: var(--text-color);
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  z-index: 10001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mobile-logo img {
  height: 40px;
  width: auto;
}

.menu-toggle {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s;
}
.menu-toggle:hover {
  color: var(--primary-accent);
}

/* === MOBILE NAV MENU DEFAULT === */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: -100%;
  width: 250px;
  height: 100%;
  background-color: var(--sidebar-bg);
  padding-top: 80px;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.4);
  transition: left 0.4s ease-in-out;
  z-index: 10000;
  flex-direction: column;
  justify-content: space-between;
}
.mobile-nav.active {
  left: 0;
  display: flex;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  width: 100%;
}
.mobile-nav ul li a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.3s, color 0.3s;
}
.mobile-nav ul li a i {
  font-size: 1.3rem;
  margin-right: 15px;
  color: var(--primary-accent);
}
.mobile-nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--secondary-accent);
}
.mobile-nav ul li a:hover i {
  color: var(--secondary-accent);
}

.mobile-social-links {
  padding: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  border-top: 1px solid var(--border-color-subtle);
}
.mobile-social-links a {
  color: var(--muted-text-color);
  font-size: 1.5rem;
  transition: color 0.3s;
}
.mobile-social-links a:hover {
  color: var(--secondary-accent);
}

/* === MEDIA QUERIES === */

/* Show mobile header on screens ≤ 1024px */
@media screen and (max-width: 1024px) {
  .mobile-header {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.active {
    display: flex;
  }
}

/* Hide mobile header & nav on screens > 1024px */
@media screen and (min-width: 1025px) {
  .mobile-header,
  .mobile-nav {
    display: none !important;
  }
}

/* --- LEFT SIDEBAR --- */
.sidebar-left {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 80px;
    background-color: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 100;
}

/* UPDATED LOGO STYLE */
.logo {
    width: 80px;
    height: 80px;
    border-radius: 4px;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fits perfectly */
}

.sidebar-left ul {
    list-style: none;
    padding: 1.5rem 0;
    flex-grow: 1;
}

.sidebar-left ul li a {
    color: var(--muted-text-color); /* Changed from #9ca3af */
    font-size: 1.5rem;
    display: block;
    padding: 13px 0;
    transition: color 0.3s;
    text-align: center;
    position: relative;
}

.sidebar-left ul li a:hover,
.sidebar-left ul li a.active {
    color: var(--text-color);
}

/* --- TOOLTIP STYLE --- */
.sidebar-left ul li a::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 90px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-accent);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.sidebar-left ul li a:hover::after {
    opacity: 1;
    visibility: visible;
}

/* --- RIGHT SIDEBAR --- */
.sidebar-right {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: 100;
}

.sidebar-right a {
    color: var(--muted-text-color); /* Changed from #9ca3af */
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

.sidebar-right a:hover {
    color: var(--secondary-accent);
    transform: scale(1.2);
}

/* --- MAIN CONTENT --- */
.main-content {
    width: 100%;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Adjusted radial gradients to use new accent colors with transparency */
    background: radial-gradient(circle at top left, rgba(204, 85, 0, 0.2), transparent 40%),
                radial-gradient(circle at bottom right, rgba(212, 175, 55, 0.15), transparent 50%);
}

.hero-text h1 { font-size: 3.5rem; font-weight: bold; margin-bottom: 1rem; }
.hero-text h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    position: relative;
}
#typing-animation {
    color: var(--text-color);
    border-bottom: 4px solid var(--primary-accent);
}

/* UPDATED BUTTON STYLE */
.btn-cta {
    background-color: var(--primary-accent);
    color: var(--text-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-block;
    margin-top: 2.5rem;
}
.btn-cta:hover {
    background-color: var(--secondary-accent);
    transform: translateY(-3px);
}

/* --- WHATSAPP FLOAT ICON (Original location) --- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--whatsapp-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 100;
}

/* --- Responsive Styles (Original breakpoint) --- */
@media (max-width: 768px) {
    body { padding-left: 0; padding-right: 0; }
    .sidebar-left, .sidebar-right { display: none; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text h2 { font-size: 1.5rem; }
}
/* --- SERVICES SECTION ("What I Do") --- */
.services-section {
    padding: 6rem 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden; /* For doodle and gradient effects */
}

/* Adding the subtle right-side gradient from the sample */
.services-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 50%;
    height: 100%;
    /* Adjusted radial gradient to use new secondary accent color */
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    color: var(--secondary-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
/* Adding the underline from the sample */
.section-tag::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: var(--primary-accent);
    margin-left: 8px;
    vertical-align: middle;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--sidebar-bg);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: left;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-accent);
    margin-bottom: 1.5rem;
}
/* Making icons look like the sample */
.service-icon i {
    /* Adjusted background color to use primary-accent with transparency */
    background-color: rgba(204, 85, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
}

.service-title {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--muted-text-color);
    line-height: 1.8;
}

/* Doodle at the bottom right from the sample */
.section-doodle {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 100px;
    height: 50px;
    /* Adjusted SVG stroke to use new secondary accent color */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50'%3E%3Cpath d='M0,25 Q25,0 50,25 T100,25' stroke='%23D4AF37' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    opacity: 0.5;
}

/* --- Responsive for Services Section (Original breakpoints) --- */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 2rem;
    }
    /* ADDED FOR MOBILE */
    .services-section {
        padding: 4rem 1rem; /* Smaller padding */
    }
    .section-header {
        margin-bottom: 2rem;
    }
    .service-card {
        padding: 1.5rem; /* Smaller padding */
    }
    .section-doodle {
        width: 60px; /* Smaller doodle */
        height: 30px;
        bottom: 1rem;
        right: 1rem;
    }
}
/* Doodle at the bottom right with gradient */
.section-doodle {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 100px;
    height: 50px;
    /* Adjusted SVG gradient to use new primary and secondary accent colors */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50'%3e%3cdefs%3e%3clinearGradient id='swirlGradient' x1='0%25' y1='100%25' x2='100%25' y2='0%25'%3e%3cstop offset='0%25' style='stop-color:%23CC5500;' /%3e%3cstop offset='100%25' style='stop-color:%23D4AF37;' /%3e%3c/linearGradient%3e%3c/defs%3e%3cpath d='M0,25 Q25,0 50,25 T100,25' stroke='url(%23swirlGradient)' stroke-width='3' fill='none' stroke-linecap='round'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    opacity: 0.8;
}

/* General Body and Container Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Portfolio Section Styles */
.portfolio-section {
    padding: 80px 0;
    /* Adjusted radial gradients to use new heavy colors with transparency */
    background: radial-gradient(circle at top left, rgba(47, 79, 79, 0.3) 0%, transparent 50%),
                radial-gradient(circle at bottom right, rgba(54, 69, 79, 0.3) 0%, transparent 50%),
                var(--bg-color);
    position: relative;
    overflow: hidden;
}

/* Header Styles */
.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.header-left {
    max-width: 600px;
    margin-bottom: 20px;
}

.recent-work-text {
    color: var(--muted-text-color);
    font-size: 0.9em;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.portfolio-header h1 {
    font-size: 2.8em;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.header-right {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.stats-item {
    text-align: center;
}

.stats-item h2 {
    font-size: 2.5em;
    color: var(--primary-accent);
    margin: 0;
}

.stats-item p {
    font-size: 1em;
    color: var(--muted-text-color);
    margin: 0;
}

/* Projects Grid Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.project-item:hover {
    transform: translateY(-10px); /* Lift effect on hover */
}

.project-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-item img {
    width: 100%;
    height: 100%; /* Ensure images fill their container */
    display: block;
    object-fit: cover; /* Cover the area, cropping if necessary */
    transition: transform 0.4s ease-in-out;
}

.project-item:hover img {
    transform: scale(1.05); /* Slight zoom on image hover */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay - keeping as is for visual effect */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
}

.project-item:hover .overlay {
    opacity: 1; /* Show overlay on hover */
}

.overlay p {
    color: var(--text-color);
    font-size: 1.2em;
    text-align: center;
    margin: 0;
    transform: translateY(20px); /* Start slightly down */
    transition: transform 0.4s ease-in-out;
}

.project-item:hover .overlay p {
    transform: translateY(0); /* Move to center on hover */
}

/* See All Button Styles */
.see-all-button-container {
    text-align: center;
    margin-top: 40px;
}

.see-all-button {
    display: inline-block;
    background-color: var(--primary-accent);
    color: var(--text-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.see-all-button:hover {
    background-color: var(--secondary-accent);
    transform: translateY(-3px); /* Slight lift on hover */
}

/* Responsive Adjustments (Original and New for Portfolio) */
@media (max-width: 768px) {
    .portfolio-section {
        padding: 60px 20px; /* Reduced padding for mobile */
    }
    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px; /* Reduced margin */
    }

    .header-left {
        max-width: 100%; /* Full width */
        margin-bottom: 30px; /* Increased margin for spacing */
    }

    .portfolio-header h1 {
        font-size: 2.2em; /* Smaller font size */
    }

    .header-right {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .stats-item {
        text-align: left;
    }

    .stats-item h2 {
        font-size: 2em; /* Smaller font size */
    }

    .projects-grid {
        grid-template-columns: 1fr; /* Stack projects on very small screens */
        gap: 20px; /* Reduced gap */
    }

    .see-all-button-container {
        margin-top: 30px; /* Reduced margin */
    }
    .see-all-button {
        padding: 12px 30px;
        font-size: 1em;
    }
}
.about-section {
  padding: 80px 10%;
  /* Adjusted linear gradient to use new heavy background colors */
  background: linear-gradient(135deg, var(--sidebar-bg), var(--bg-color));
  color: var(--text-color);
  font-family: Arial, sans-serif;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.about-image .circle-bg {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  /* Adjusted linear gradient to use new accent colors */
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-image img {
  width: 90%;
  border-radius: 50%;
}

/* Right side text/content */
.about-content {
  flex: 1;
  min-width: 300px;
}

.subtitle {
  font-size: 18px;
  color: var(--primary-accent);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.subtitle span {
  color: var(--text-color);
}

.title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.3;
}

.description {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: var(--muted-text-color);
}

.skills-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 12px;
  transition: 0.3s;
}

.skill-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.skill-item i {
  font-size: 30px;
  color: var(--primary-accent);
}

.skill-item h4 {
  font-size: 18px;
  margin: 0;
}

.skill-item p {
  font-size: 14px;
  color: var(--muted-text-color);
  margin: 0;
}

/* Responsive (Original and New for About Section) */
@media (max-width: 992px) { /* This breakpoint already exists, extending it */
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-content {
    text-align: center;
  }
  /* NEW FOR MOBILE */
  .about-section {
    padding: 60px 20px; /* Reduced padding */
  }
  .about-image .circle-bg {
    width: 280px; /* Smaller image */
    height: 280px;
  }
  .title {
    font-size: 32px; /* Smaller title */
  }
  .description {
    font-size: 15px; /* Slightly smaller description */
  }
  .skill-item {
    justify-content: center; /* Center align items in skill box */
    padding: 12px 15px; /* Smaller padding */
    gap: 10px;
  }
  .skill-item h4 {
    font-size: 16px; /* Smaller font */
  }
  .skill-item p {
    font-size: 13px; /* Smaller font */
  }
}
.pricing-section {
  padding: 80px 10%;
  /* Adjusted linear gradient to use new heavy background colors */
  background: linear-gradient(135deg, var(--sidebar-bg), var(--bg-color));
  color: var(--text-color);
  font-family: Arial, sans-serif;
}

.pricing-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px;
}

/* Left Side */
.pricing-left {
  flex: 1;
  min-width: 300px;
}

.subtitle {
  color: var(--primary-accent);
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.3;
}

/* Discount Box */
.discount-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--sidebar-bg);
  padding: 20px 25px;
  border-radius: 12px;
  max-width: 380px;
}

.pricing-img {
  width: 80px;
  height: auto;
}

.discount-text p {
  font-size: 18px;
  color: var(--text-color);
}

.discount-text span {
  color: var(--primary-accent);
  font-weight: bold;
}

/* Right Side (Pricing Cards) */
.pricing-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px 30px 10px 30px;
  position: relative;
  transition: 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.pricing-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.price {
  font-size: 28px;
  color: var(--primary-accent);
  margin-bottom: 20px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.pricing-card ul li {
  margin-bottom: 10px;
  color: var(--muted-text-color);
  font-size: 15px;
}

.order-btn {
  background: var(--primary-accent);
  border: none;
  color: var(--text-color);
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.order-btn:hover {
  background: var(--secondary-accent);
}

.icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 30px;
  color: var(--text-color);
  opacity: 0.2;
}

/* Responsive (Original and New for Pricing) */
@media (max-width: 992px) { /* This breakpoint already exists, extending it */
  .pricing-container {
    flex-direction: column;
    text-align: center;
  }
  .discount-box {
    justify-content: center;
    max-width: 100%; /* Full width */
  }
  .pricing-right {
    align-items: center;
    width: 100%; /* Full width */
  }
  /* NEW FOR MOBILE */
  .pricing-section {
    padding: 60px 20px; /* Reduced padding */
  }
  .pricing-left {
    min-width: unset; /* Remove min-width constraint */
  }
  .title {
    font-size: 30px; /* Smaller title */
  }
  .discount-box {
    padding: 15px 20px; /* Smaller padding */
    flex-direction: column; /* Stack image and text */
    gap: 10px;
  }
  .pricing-img {
    width: 60px; /* Smaller image */
  }
  .discount-text p {
    font-size: 16px; /* Smaller font */
  }
  .pricing-card {
    width: 100%; /* Full width for cards */
    padding: 25px 25px 10px 25px; /* Smaller padding */
  }
  .pricing-card h3 {
    font-size: 18px; /* Smaller font */
  }
  .price {
    font-size: 24px; /* Smaller font */
  }
  .order-btn {
    padding: 10px 20px; /* Smaller button */
  }
}
.resume-section {
  width: 100%;
  max-width: 1100px;
  margin: 50px auto;
  font-family: "Poppins", sans-serif;
}

/* Tabs Navigation */
.tabs-navigation {
  display: flex;
  justify-content: center;
  background: var(--sidebar-bg);
  border-radius: 50px;
  padding: 5px;
  margin-bottom: 30px;
}

.tab {
  padding: 15px 35px;
  color: var(--muted-text-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50px;
}

.tab span {
  color: var(--primary-accent);
  font-weight: 700;
  margin-left: 5px;
}

.tab.active {
  /* Adjusted linear gradient to use new accent colors */
  background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
  color: var(--text-color);
  box-shadow: 0 4px 15px rgba(204, 85, 0, 0.4);
}

.tab:hover {
  color: var(--primary-accent);
}

/* Tabs Content */
.tabs-content {
  background: var(--sidebar-bg);
  border-radius: 15px;
  padding: 40px;
  border: 1px solid var(--border-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}/* Biography Grid */
.bio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 80px;
}

.bio-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color-subtle);
  padding-bottom: 10px;
}

.bio-item .label {
  color: var(--faded-text-gray);
  font-size: 0.9em;
  font-weight: 600;
}

.bio-item .value {
  color: var(--primary-text-light);
  font-weight: 500;
}

/* Education */
.education-grid {
  display: grid;
  gap: 25px;
}

.edu-item {
  border-left: 3px solid var(--accent-burnt-orange);
  padding-left: 20px;
}

.edu-item h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-text-light);
}

.edu-item h4 {
  margin: 5px 0;
  font-size: 1em;
  color: var(--secondary-text-gold);
}

.edu-date {
  display: inline-block;
  margin: 5px 0 10px 0;
  padding: 3px 10px;
  background: rgba(204, 85, 0, 0.2);
  color: var(--accent-burnt-orange);
  border-radius: 12px;
  font-size: 0.85em;
}

.edu-item p {
  color: var(--faded-text-gray);
  font-size: 0.95em;
}

/* Skills */
.skills-list {
  display: grid;
  gap: 20px;
}
.skill-item {
  display: grid;
  grid-template-columns: 40px 1fr 1fr 60px;
  align-items: center;
  gap: 15px;
  color: var(--primary-text-light);
}
.skill-item img {
  width: 35px;
  height: 35px;
}
.skill-bar {
  background: var(--border-color-subtle);
  height: 8px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.skill-bar div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-burnt-orange), #ff8c00);
  transition: width 2s ease;
}
.percent {
  color: var(--accent-burnt-orange);
  font-weight: 600;
}

/* Education (flex version - if different from grid) */
/* Assuming this is an alternative layout, applying the same colors */
.education-flex {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}
/* Note: .edu-item is repeated, ensure it applies to the correct context. */
/* Using .education-flex > .edu-item to specifically target the flex version if needed */
.education-flex > .edu-item {
  flex: 1;
  border-left: 3px solid var(--accent-burnt-orange);
  padding-left: 20px;
  color: var(--primary-text-light);
}
.education-flex > .edu-item h3 {
  margin: 0;
  font-size: 1.2em;
}
.education-flex > .edu-item h4 {
  margin: 5px 0;
  color: var(--secondary-text-gold);
}
.education-flex > .edu-item .edu-date {
  display: inline-block;
  margin: 5px 0 10px;
  padding: 3px 10px;
  background: rgba(204, 85, 0, 0.2);
  color: var(--accent-burnt-orange);
  border-radius: 12px;
  font-size: 0.85em;
}
.education-flex > .edu-item p {
  color: var(--faded-text-gray);
  font-size: 0.95em;
}


/* NEW MOBILE RESPONSIVE RULES FOR RESUME SECTION */
@media (max-width: 768px) {
    .resume-section {
        margin: 30px 0; /* Adjust margin for mobile */
        padding: 0 20px; /* Add horizontal padding */
    }

    .tabs-navigation {
        flex-direction: column; /* Stack tabs vertically */
        border-radius: 10px; /* Less rounded for stacked tabs */
        padding: 0;
        margin-bottom: 20px;
    }

    .tab {
        padding: 12px 20px; /* Smaller padding for tabs */
        border-radius: 8px; /* Slightly rounded */
        margin: 5px; /* Space between stacked tabs */
        text-align: center;
    }
    .tab.active {
        box-shadow: none; /* Remove shadow to look cleaner when stacked */
    }

    .tabs-content {
        padding: 20px; /* Reduced padding */
    }

    .bio-grid {
        grid-template-columns: 1fr; /* Stack bio items */
        gap: 20px; /* Reduced gap */
    }

    .bio-item {
        flex-direction: column; /* Stack label and value */
        align-items: flex-start;
        border-bottom: none; /* Remove border between stacked items */
        padding-bottom: 0;
    }
    .bio-item .label {
        margin-bottom: 5px; /* Space between label and value */
    }

    .edu-item {
        padding-left: 10px; /* Smaller left padding */
    }
    .edu-item h3 {
        font-size: 1.1em; /* Smaller font */
    }
    .edu-item h4 {
        font-size: 0.9em; /* Smaller font */
    }
    .edu-date {
        font-size: 0.8em; /* Smaller font */
    }
    .edu-item p {
        font-size: 0.9em; /* Smaller font */
    }

    .skills-list {
        gap: 15px; /* Reduced gap */
    }
    .skill-item {
        grid-template-columns: 30px 1fr 1fr 50px; /* Adjust grid for smaller screen */
        gap: 10px; /* Reduced gap */
    }
    .skill-item img {
        width: 25px; /* Smaller icon */
        height: 25px;
    }
    .percent {
        font-size: 0.9em; /* Smaller font */
    }

    .education-flex { /* If this is used, apply similar adjustments */
        flex-direction: column;
        gap: 20px;
    }
    .education-flex > .edu-item {
        padding-left: 10px;
    }
}


/* Section container ko center me lane ke liye */
.testimonial-section {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
  background: var(--primary-dark-gray);
  color: var(--primary-text-light);
}

/* Testimonial box */
.testimonial-container {
  text-align: center;
  max-width: 700px;
  width: 100%;
  padding: 40px;
  background: var(--secondary-dark-gray);
  border-radius: 15px;
}

/* Heading */
.testimonial-container h3 {
  color: var(--secondary-text-gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.testimonial-container h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-text-light);
}

/* Testimonials */
.testimonial {
  display: none;
  font-size: 16px;
  line-height: 1.6;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.6s ease-in-out;
}

.testimonial p {
  margin-bottom: 20px;
  color: var(--faded-text-gray);
}

.testimonial h4 {
  font-weight: bold;
  margin: 5px 0;
  color: var(--primary-text-light);
}

.testimonial span {
  color: var(--accent-burnt-orange);
  font-size: 14px;
}

/* Navigation buttons */
.nav-buttons {
  margin-top: 20px;
}

.nav-btn {
  cursor: pointer;
  font-size: 16px;
  background: var(--accent-burnt-orange);
  color: var(--primary-text-light);
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 25px;
  transition: 0.3s ease;
}

.nav-btn:hover {
  background: #E66F1C;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* NEW MOBILE RESPONSIVE RULES FOR TESTIMONIAL SECTION */
@media (max-width: 768px) {
    .testimonial-section {
        padding: 60px 20px; /* Reduced padding */
    }
    .testimonial-container {
        padding: 30px 20px; /* Reduced padding */
    }
    .testimonial-container h2 {
        font-size: 24px; /* Smaller heading */
    }
    .testimonial p {
        font-size: 15px; /* Smaller paragraph text */
    }
    .nav-btn {
        padding: 8px 15px; /* Smaller buttons */
        font-size: 14px;
        margin: 0 5px; /* Smaller margin between buttons */
    }
}


/* Freelance Section */
.freelance-section {
  background: var(--primary-dark-gray);
  padding: 80px 20px;
}

.freelance-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.freelance-image img {
  width: 300px;
  max-width: 100%;
}

.freelance-content {
  flex: 1;
  color: var(--primary-text-light);
}

.freelance-content h2 {
  font-size: 36px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 25px;
}

.freelance-content .highlight {
  color: var(--primary-text-light);
  border-bottom: 4px solid var(--accent-burnt-orange);
}

.freelance-content .btn {
  display: inline-block;
  background: var(--accent-burnt-orange);
  color: var(--primary-text-light);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  transition: background 0.3s;
}

.freelance-content .btn:hover {
  background: #E66F1C;
}

/* Responsive (Original and New for Freelance) */
@media (max-width: 768px) {
  .freelance-section {
    padding: 60px 20px; /* Reduced padding */
  }
  .freelance-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .freelance-image {
    margin-bottom: 20px;
  }
  .freelance-image img {
    width: 250px; /* Smaller image */
  }

  .freelance-content h2 {
    font-size: 28px; /* Smaller heading */
    margin-bottom: 20px;
  }
  .freelance-content .btn {
    padding: 12px 24px; /* Smaller button */
    font-size: 0.95em;
  }
}

/* Certificate Section */
.certificate-section {
  background: var(--secondary-dark-gray);
  padding: 80px 20px;
  color: var(--primary-text-light);
}

.certificate-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.certificate-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.certificate-item.reverse {
  flex-direction: row-reverse;
}

.certificate-text {
  flex: 1;
}

.certificate-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  border-left: 5px solid var(--accent-burnt-orange);
  padding-left: 15px;
}

.certificate-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--faded-text-gray);
}

.certificate-image img {
  width: 350px;
  max-width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.certificate-image img:hover {
  transform: scale(1.05);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.9);
  text-align: center;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: var(--primary-text-light);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive (Original and New for Certificate) */
@media (max-width: 768px) {
  .certificate-section {
    padding: 60px 20px; /* Reduced padding */
  }
  .certificate-container {
    gap: 60px; /* Reduced gap */
  }
  .certificate-item, .certificate-item.reverse {
    flex-direction: column;
    text-align: center;
    gap: 30px; /* Reduced gap */
  }

  .certificate-text h2 {
    text-align: center;
    border-left: none;
    border-bottom: 3px solid var(--accent-burnt-orange);
    padding-left: 0;
    padding-bottom: 10px;
    font-size: 26px; /* Smaller heading */
  }
  .certificate-text p {
    font-size: 15px; /* Smaller paragraph */
  }

  .certificate-image img {
    width: 100%; /* Full width for image */
    max-width: 300px; /* Max width to not be too huge */
  }

  .modal-content {
    max-width: 90%; /* Wider modal on mobile */
    max-height: 90%;
  }
  .close {
    top: 20px;
    right: 20px;
    font-size: 30px; /* Smaller close button */
  }
}

/* Contact Section */
.contact-section {
  background: var(--primary-dark-gray);
  padding: 80px 20px;
  color: var(--primary-text-light);
}

.contact-wrapper {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.contact-left, .contact-right {
  flex: 1;
}

.section-title {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: var(--secondary-text-gold);
}

.section-desc {
  color: var(--faded-text-gray);
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-info .info-item {
  margin-bottom: 20px;
}

.info-item h4 {
  color: var(--accent-burnt-orange);
  margin-bottom: 5px;
}

.info-item p a,
.info-item p {
  color: var(--primary-text-light);
  text-decoration: none;
  font-size: 1em;
}

.contact-right {
  background: var(--secondary-dark-gray);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}

.form-title {
  font-size: 1.4em;
  margin-bottom: 20px;
  color: var(--secondary-text-gold);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid var(--border-color-subtle);
  border-radius: 8px;
  background: var(--primary-dark-gray);
  color: var(--primary-text-light);
  font-size: 1em;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-burnt-orange);
}

.btn-submit {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--accent-burnt-orange), #ff8c00);
  color: var(--primary-text-light);
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  opacity: 0.9;
}
/* --- Floating WhatsApp Icon (Adjusted for responsiveness) --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* --- Floating Big Shield (Adjusted for responsiveness) --- */
.floating-big-shield {
  position: fixed;
  right: 0px;
  bottom: 0px;
  height: 60vh;
  width: auto;
  max-width: 50vw;
  border-radius: 0;
  z-index: 9998;
  object-fit: contain;
  transform-origin: bottom right;
  transform: perspective(1000px) rotateX(10deg) rotateY(-5deg);
  transition: transform .3s ease-in-out;
}

/* Optional: Slight hover effect for the shield too */
.floating-big-shield:hover {
  transform: perspective(1000px) rotateX(8deg) rotateY(-3deg) scale(1.01);
}

/* RESPONSIVE CSS FOR MOBILE VIEW (max-width: 768px) */
@media (max-width: 768px) {
    /* General Body Adjustments (from original CSS, re-iterated for clarity) */
    body {
        padding-left: 20px; /* Add some default padding back for content on mobile */
        padding-right: 20px;
    }

    /* Sidebars: Already handled by your original CSS. */
    .sidebar-left, .sidebar-right {
        display: none;
    }

    /* Main Content: Ensure it fills width when sidebars are gone */
    .main-content {
        padding-left: 0;
        padding-right: 0;
    }

    /* Hero Section: Already handled by your original CSS. */
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text h2 {
        font-size: 1.5rem;
    }

    /* Floating WhatsApp Button - Smaller on mobile */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }

    /* Floating Shield - Hide entirely on small screens */


    /* Contact Section Mobile Adjustments */
    .contact-section {
        padding: 60px 20px; /* Reduced padding */
    }
    .contact-wrapper {
        flex-direction: column; /* Stack left and right sections */
        gap: 30px; /* Reduced gap */
        align-items: center; /* Center items when stacked */
    }
    .contact-left, .contact-right {
        width: 100%; /* Full width for stacked items */
        text-align: center; /* Center text */
    }
    .section-title {
        font-size: 1.8em; /* Smaller title */
        margin-bottom: 10px;
    }
    .section-desc {
        font-size: 0.95em; /* Smaller description */
        margin-bottom: 20px;
    }
    .contact-info .info-item {
        margin-bottom: 15px;
    }
    .info-item h4 {
        font-size: 1.1em; /* Smaller font */
    }
    .info-item p a,
    .info-item p {
        font-size: 0.95em; /* Smaller font */
    }
    .contact-right {
        padding: 20px; /* Reduced padding */
    }
    .form-title {
        font-size: 1.2em; /* Smaller form title */
    }
    .contact-form input,
    .contact-form textarea {
        padding: 10px; /* Smaller padding in inputs */
        font-size: 0.95em;
    }
    .btn-submit {
        padding: 10px; /* Smaller button */
        font-size: 0.95em;
    }
}

/* Tablet breakpoint for shield if desired, as mentioned previously */
@media (min-width: 769px) and (max-width: 992px) {
    .floating-big-shield {
        height: 40vh; /* Smaller for tablets */
        max-width: 40vw;
        display: block; /* Ensure it's visible if hidden by a smaller breakpoint */
    }
}

