/* Global Variables */
:root {
    --primary-color: #1a5d1a;
    /* Dark Green */
    --secondary-color: #fca311;
    /* Orange */
    --accent-color: #14213d;
    /* Dark Blue/Black for text/accents */
    --bg-body: #ffffff;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --gradient-1: linear-gradient(135deg, #1a5d1a 0%, #4ade80 100%);
    --gradient-2: linear-gradient(135deg, #fca311 0%, #fbbf24 100%);
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.highlight {
    color: var(--secondary-color);
}

.gradient-text {
    background: linear-gradient(to right, #1a5d1a 0%, #4ade80 50%, #1a5d1a 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
    position: relative;
}

/* Cursor style removed */

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}


/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subtitle {
    display: block;
    color: #fca311;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #014d40;
    margin: 0;
}

.section-title span {
    font-weight: 300;
    color: #1e293b;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-1);
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.6);
}

.btn-outline {
    background: transparent;
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--text-muted);
    margin-left: 1rem;
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(26, 93, 26, 0.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #fca311;
    /* Orange */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #014d40;
    /* Dark Green */
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #014d40;
}

.btn-contact {
    font-weight: 700;
    color: #014d40;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-contact:hover {
    color: #fca311;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1e293b;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 90% 10%, rgba(74, 222, 128, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(252, 163, 17, 0.08) 0%, transparent 40%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    border: 1px solid var(--text-main);
    color: var(--text-main);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideInLeft 1s ease-out forwards;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.hero-title {
    font-size: 3rem;
    /* Reduced from 4rem */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    opacity: 0;
    animation: slideInLeft 1s ease-out forwards 0.2s;
}

.text-part-1 {
    position: relative;
    color: #ff9f1c;
}

.text-part-1::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--primary-color);
    opacity: 0.3;
    z-index: -1;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    opacity: 0;
    animation: slideInLeft 1s ease-out forwards 0.4s;
}

.hero-buttons {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: slideInRight 1s ease-out forwards 0.8s;
}

.hero-image-bg {
    position: absolute;
    width: 110%;
    height: 110%;
    background: #fdf6e3;
    /* Beige/Light background */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: -1;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.floating-badge {
    position: absolute;
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-soft);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    color: var(--text-main);
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

.flutter-badge {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.flutter-badge i {
    color: #fca311;
}

.node-badge {
    bottom: 20%;
    left: 10%;
    animation-delay: 1.5s;
}

.node-badge i {
    color: #1a5d1a;
}

.image-wrapper {
    width: 380px;
    height: 480px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-img {
    font-size: 10rem;
    color: #cbd5e1;
    opacity: 0.5;
}

.status-badge {
    position: absolute;
    bottom: 20px;
    left: 25%;
    right: 25%;
    margin-bottom: 0;
    width: auto;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 10px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-soft);
    border: none;
    font-weight: 600;
    color: var(--text-main);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.status-badge .dot {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.abstract-shape {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    filter: blur(90px);
    opacity: 0.2;
    z-index: 1;
    border-radius: 50%;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8fafc;
}

.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.services-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    flex: 1 1 calc(33.333% - 1.4rem);
    min-width: 280px;
    max-width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .service-card {
        flex: 1 1 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .service-card {
        flex: 1 1 100%;
    }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    /* Rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1);
}

/* Service Card Themes */
.theme-green-light {
    background: #e8f5e9;
    color: #2e7d32;
}

.theme-orange-light {
    background: #fff3e0;
    color: #f57c00;
}

.theme-mint-light {
    background: #e0f2f1;
    color: #00897b;
}

.theme-blue-light {
    background: #e3f2fd;
    color: #1e88e5;
}

.theme-purple-light {
    background: #f3e5f5;
    color: #8e24aa;
}

.theme-pink-light {
    background: #fce4ec;
    color: #d81b60;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.learn-more {
    font-weight: 700;
    color: #1a5d1a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    font-size: 0.95rem;
}

.learn-more:hover {
    gap: 12px;
}


/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-wrapper-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: #e2e8f0;
    position: relative;
    border: 10px solid #fff;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-img-circle {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.placeholder-img-circle {
    font-size: 8rem;
    color: #cbd5e1;
    opacity: 0.5;
}

.about-text .section-subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.about-text .description {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
}

/* Portfolio Section */
.project-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.project-header {
    height: 180px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 2rem;
    text-align: center;
    overflow: hidden;
}

.project-header i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.project-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
}

.overlay-circle {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.project-header::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

/* Themes */
.theme-blue .project-header {
    background: #64b5f6;
}

.theme-blue .category,
.theme-blue .btn-details {
    color: #1e88e5;
}

.theme-blue .btn-details {
    border-color: #1e88e5;
}

.theme-blue .btn-details:hover {
    background: #1e88e5;
}

.theme-orange .project-header {
    background: #ffb74d;
}

.theme-orange .category,
.theme-orange .btn-details {
    color: #f57c00;
}

.theme-orange .btn-details {
    border-color: #f57c00;
}

.theme-orange .btn-details:hover {
    background: #f57c00;
}

.theme-green .project-header {
    background: #668d7a;
}

.theme-green .category,
.theme-green .btn-details {
    color: #3a6351;
}

.theme-green .btn-details {
    border-color: #3a6351;
}

.theme-green .btn-details:hover {
    background: #3a6351;
}

.theme-purple .project-header {
    background: #9575cd;
}

.theme-purple .category,
.theme-purple .btn-details {
    color: #5e35b1;
}

.theme-purple .btn-details {
    border-color: #5e35b1;
}

.theme-purple .btn-details:hover {
    background: #5e35b1;
}

.theme-pink .project-header {
    background: #f06292;
}

.theme-pink .category,
.theme-pink .btn-details {
    color: #c2185b;
}

.theme-pink .btn-details {
    border-color: #ec407a;
}

/* Adjusted border color for contrast */
.theme-pink .btn-details:hover {
    background: #c2185b;
}

.theme-teal .project-header {
    background: #26a69a;
}

.theme-teal .category,
.theme-teal .btn-details {
    color: #00695c;
}

.theme-teal .btn-details {
    border-color: #00695c;
}

.theme-teal .btn-details:hover {
    background: #00695c;
}

.project-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.project-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tags span {
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    border: 2px solid;
    /* Color defined in themes */
    width: fit-content;
    transition: all 0.3s ease;
}

.btn-details:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background: #ffffff;
}

.section-header .subtitle {
    color: #fca311;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e293b;
    line-height: 1.2;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-pill {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    border-radius: 100px;
    /* Pill shape */
    width: 100px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.skill-pill i {
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.text-icon {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    border: 1px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.percentage {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.skill-name {
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
    margin: 0;
}

/* End of Skills Section */

/* End of Skills Section */
/* Removed as SVG handles structure */

/* FAQ Section */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg-card);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.accordion-header i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.accordion-body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-body {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.info-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.info-item p {
    font-weight: 600;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

input,
select,
textarea {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    gap: 10px;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background: #144514;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 93, 26, 0.2);
}

.btn-outline {
    border-color: var(--text-main);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    background: var(--text-main);
    color: #ffffff;
    transform: translateY(-2px);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(26, 93, 26, 0.1);
}

/* Footer */
footer {
    padding: 2rem 0;
    background: #0b1120;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 5rem;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .btn-contact.desktop-only {
        display: none;
    }

    .hero-content,
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text h1,
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-text p,
    .hero-buttons,
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    /* .hero-image order removed to keep text first */

    .contact-info {
        text-align: center;
    }


    .info-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .info-item i {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 2rem;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: 0.3s ease-in-out;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-links .mobile-only {
        display: block;
        margin-top: 1rem;
        padding: 10px 20px;
        background: #fca311;
        color: white;
        border-radius: 5px;
    }

    .hamburger {
        display: block;
    }

    .hero-text h1,
    .hero-title {
        font-size: 2rem;
    }

    .contact-wrapper {
        padding: 1.5rem;
    }

    section {
        padding: 60px 0;
    }

    .image-wrapper {
        width: 300px;
        height: 380px;
    }

    .image-wrapper-circle {
        width: 250px;
        height: 250px;
    }

    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .floating-badge {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .skills-grid {
        gap: 1.5rem;
    }

    .skill-pill {
        width: 80px;
        height: 130px;
        padding: 15px 0;
    }

    .skill-pill i {
        font-size: 2rem;
    }

    .text-icon {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }

    .section-title,
    .section-header h2 {
        font-size: 1.8rem;
    }

    .contact-info h2 {
        font-size: 1.6rem;
    }

    /* Override class-specific vertical padding */
    .services,
    .portfolio,
    .skills,
    .about,
    .contact,
    .faq {
        padding: 60px 0;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* Utilities */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scroll-animate {
    opacity: 0;
}

.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

.slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.zoom-in {
    animation: zoomIn 0.6s ease-out forwards;
}

/* Base state for animated sections */
section {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease-out;
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Hero should be visible by default */
.hero {
    opacity: 1;
    transform: none;
}