@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #3b82f6;
    --secondary-color: #10b981;
    --dark-bg: #0f172a;
    --light-bg: #f9fafb;
    --dark-text: #1e293b;
    --light-text: #f1f5f9;
}

* {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

#root,
#__next {
    isolation: isolate;
}

img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none; /* optional: disables interaction */
}


body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    transition: background-color 0.3s ease;
}

.theme-toggle i {
    transition: color 0.3s;
}

.theme-toggle:hover i {
    color: var(--primary-color);
}

body {
    background-color: var(--light-bg);
    color: var(--dark-text);
}

body.dark {
    background-color: var(--dark-bg);
    color: var(--light-text);
}

/* Base animation style */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Fade directions */
.fade-up {
    transform: translateY(30px);
}

.fade-down {
    transform: translateY(-30px);
}

.fade-left {
    transform: translateX(-30px);
}

.fade-right {
    transform: translateX(30px);
}

/* When in view */
.visible {
    opacity: 1;
    transform: translate(0, 0);
}


/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    transition: background-color 0.3s;
    background-color: var(--light-bg);
}

.logo-hover {
    display: inline-block;
    transition: opacity 0.3s ease;
}


body.dark .header {
    background-color: var(--dark-bg);
    color: var(--light-text);
}


.nav-container {
    width: 100%;
    background-color: var(--light-bg);
    transition: background-color 0.3s ease;

    .nav-hold {
        max-width: 1200px;
        margin: 0 auto;
        padding: 1.5rem 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    @media (min-width: 300px) {
        .nav-hold {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1.5rem 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
    }

    @media (min-width: 1200px) {
        .nav-hold {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1.5rem 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
    }
}

body.dark .nav-container {
    background-color: var(--dark-bg);
}

.nav-links {
    display: none;

    .nav-link {
        text-decoration: none;
        color: var(--dark-text);
        transition: color 0.3s;
    }

    .nav-link:hover {
        color: var(--primary-color);
    }
}



body.dark .nav-link {
    color: var(--light-text);
}

body.dark .nav-link:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/*.nav-container.scrolled {*/
/*    box-shadow: 0 1px 20px #1e293b;*/
/*}*/

.nav-container.scrolled {
    box-shadow: 0 2px 20px rgba(30, 41, 59, 0.2);
}




/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
    display: none;
    transition: opacity 0.3s ease;
    /* optional fade of overlay */
}

.mobile-menu.active {
    display: block;
    /* Optional: fade in overlay */
    opacity: 1;
}

/* Sliding panel inside overlay */
.mobile-menu-content {
    background-color: white;
    height: 100%;
    width: 16rem;
    padding: 1.5rem;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    color: #1f2937;
    /* gray-800 */
    /* Keep above the overlay */
    position: relative;
    z-index: 50;
}

.mobile-menu-content.active {
    transform: translateX(0);
    opacity: 1;
}


/* Mobile menu header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-bracket {
    color: #3b82f6;
    /* Blue-500 */
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile nav links */
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: inherit;
    padding: 0.5rem 0;
}

/* Dark mode support (optional toggle) */
body.dark .header {
    background-color: #1f2937;
    /* dark bg */
    color: white;
}

body.dark .mobile-menu-content {
    background-color: #1f2937;
    color: white;
}


@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .mobile-menu-button {
        display: none;
    }
}





/* Hero Section */

/* Main hero section */
.hero-section {
    min-height: 90vh;
    padding: 5rem 1rem 1rem;
    /* pt-16 pb-24 px-4 */
    display: flex;
    align-items: center;
}

/* Container */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Flex layout for text and image */
.hero-content {
    display: flex;
    flex-direction: column-reverse;
}

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        align-items: center;
    }
}

/* Text section */
.hero-text {
    width: 100%;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .hero-text {
        width: 50%;
        margin-top: 0;
    }
}

/* Intro text */
.intro-heading {
    margin-bottom: 1rem;
}

.intro-greeting {
    color: var(--primary-color);
    font-weight: 600;
}

.intro-name {
    font-size: 2.25rem;
    /* text-4xl */
    font-weight: 700;
    margin-top: 0.5rem;
    line-height: 40px;
}

@media (min-width: 300px) {
    .intro-name {
        font-size: 3rem;
        /* md:text-5xl */
        line-height: 35px;
    }
}

@media (min-width: 768px) {
    .intro-name {
        font-size: 3rem;
        /* md:text-5xl */
        line-height: 30px;
    }
}

@media (min-width: 1024px) {
    .intro-name {
        font-size: 3.75rem;
        /* lg:text-6xl */
        line-height: 40px;
    }
}

.intro-title {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .intro-title {
        font-size: 1.875rem;
    }
}

.intro-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.typing-animation::after {
    content: '|';
    animation: blink 1s step-start infinite;
    margin-left: 4px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}


/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #2563eb;
    /* Slightly darker blue */
}

.btn-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Image section */
.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-image {
        width: 50%;
    }
}

.image-wrapper {
    position: relative;
}

.profile-pic {
    width: 16rem;
    height: 16rem;
    border: 4px solid var(--primary-color);
    border-radius: 9999px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .profile-pic {
        width: 20rem;
        height: 20rem;
    }
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    display: block;
}

/* Code icon badge */
.code-icon {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.code-icon i {
    font-size: 1.5rem;
}


.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-secondary {
    transition: transform 0.2s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
}


/* About section */

/* About Section */
.about-section {
    padding: 6rem 1rem;
    background-color: #f9fafb;
    background-color: #e2f0ff;
    background-color: #dfecf9f7;
    color: #1e293b;
    transition: background-color 0.3s, color 0.3s;
}

body.dark .about-section {
    background-color: #1e293b;
    color: #f1f5f9;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
}

.about-underline {
    width: 6rem;
    height: 4px;
    background-color: #3b82f6;
    margin: 1rem auto 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        align-items: center;
    }
}

.about-text {
    flex: 3;
    padding-right: 0;
}

@media (min-width: 768px) {
    .about-text {
        padding-right: 2rem;
    }
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    color: #3b82f6;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.social-link i {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.social-link:hover {
    color: #1d4ed8;
}

/* Skills Grid */
.about-skills {
    flex: 2;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, color 0.3s;
}

body.dark .skills-grid {
    background-color: #334155;
    color: #f1f5f9;
}

.skill-item {
    text-align: center;
    padding: 1rem;
}

.skill-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.skill-icon.php {
    background-color: #dbeafe;
    color: #3b82f6;
}

body.dark .skill-icon.php {
    background-color: #1e40af;
    color: #93c5fd;
}

.skill-icon.js {
    background-color: #fef3c7;
    color: #f59e0b;
}

body.dark .skill-icon.js {
    background-color: #78350f;
    color: #fde68a;
}

.skill-icon.html {
    background-color: #fee2e2;
    color: #ef4444;
}

body.dark .skill-icon.html {
    background-color: #7f1d1d;
    color: #fca5a5;
}

.skill-icon.css {
    background-color: #dbeafe;
    color: #3b82f6;
}

body.dark .skill-icon.css {
    background-color: #1e40af;
    color: #93c5fd;
}

.skill-item h3 {
    font-weight: 600;
    font-size: 1rem;
}



/* Skill Section */

/* Section Styling */
.skills-section {
    padding: 6rem 1rem;
    background-color: var(--light-bg);
    color: var(--dark-text);
}

body.dark .skills-section {
    background-color: var(--dark-bg);
    color: var(--light-text);
}

/* Container */
.skills-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.skills-header {
    text-align: center;
    margin-bottom: 4rem;
}

.skills-title {
    font-size: 2rem;
    font-weight: 700;
}

.skills-underline {
    width: 6rem;
    height: 4px;
    background-color: var(--primary-color);
    margin: 1rem auto 0;
}

/* Grid */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Skill Item */
.skill-item {
    margin-bottom: 2rem;
}

.skill-label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.skill-bar {
    height: 10px;
    background-color: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    border-radius: 999px;
    transition: width 1s ease-in-out;
}

.skill-progress {
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 1.5s ease-in-out;
}

/* Animation on scroll classes (already provided earlier) */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-right {
    transform: translateX(30px);
}

.fade-left {
    transform: translateX(-30px);
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Global reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent overflow on grid and columns */
.skills-grid,
.skills-column {
    overflow-x: hidden;
    min-width: 0;
}


/* Remove translate on small screens */
@media (max-width: 768px) {

    .fade-right,
    .fade-left {
        transform: none;
    }
}

/* Optional: prevent entire page scroll */
body {
    overflow-x: hidden;
}


/* Project Cards */
/* Section layout */
.projects-section {
    padding: 6rem 1rem;
    background-color: #f9fafb;
    background-color: #dfecf9f7;
}

body.dark .projects-section {
    background-color: #1f2937;
}

/* Container */
.projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.projects-header {
    text-align: center;
    margin-bottom: 4rem;
}

.projects-title {
    font-size: 2rem;
    font-weight: bold;
    color: #111827;
}

body.dark .projects-title {
    color: #f9fafb;
}

.projects-underline {
    width: 6rem;
    height: 4px;
    background-color: #3b82f6;
    margin: 1rem auto 0;
}

/* Grid layout */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card */
.project-card {
    background-color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

body.dark .project-card {
    background-color: #374151;
}

/* Image */
.project-image-container {
    position: relative;
    height: 14rem;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(59, 130, 246, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-image-container:hover .project-overlay {
    opacity: 1;
}

/* Content */
.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #111827;
}

body.dark .project-title {
    color: #f9fafb;
}

/* Project Tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* PHP */
.tag-php {
    background-color: #dbeafe;
    color: #1e40af;
}

body.dark .tag-php {
    background-color: #1e3a8a;
    color: #e0f2fe;
}

/* JavaScript */
.tag-js {
    background-color: #fef9c3;
    color: #92400e;
}

body.dark .tag-js {
    background-color: #78350f;
    color: #fde68a;
}

/* SQL */
.tag-sql {
    background-color: #dcfce7;
    color: #065f46;
}

body.dark .tag-sql {
    background-color: #064e3b;
    color: #bbf7d0;
}

/* API */
.tag-api {
    background-color: #e0f2fe;
    color: #0369a1;
}

body.dark .tag-api {
    background-color: #082f49;
    color: #bae6fd;
}

/* AJAX */
.tag-ajax {
    background-color: #ede9fe;
    color: #6b21a8;
}

body.dark .tag-ajax {
    background-color: #4c1d95;
    color: #ddd6fe;
}

/* Bootstrap */
.tag-bootstrap {
    background-color: #f0f9ff;
    color: #0d6efd;
}

body.dark .tag-bootstrap {
    background-color: #031633;
    color: #93c5fd;
}

/* CSS */
.tag-css {
    background-color: #dbeafe;
    color: #1d4ed8;
}

body.dark .tag-css {
    background-color: #1e3a8a;
    color: #c7d2fe;
}

/* Buttons */
.project-links {
    display: flex;
    gap: 1rem;
}

.btn {
    flex: 1;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-secondary {
    border: 2px solid #3b82f6;
    color: #3b82f6;
    background: transparent;
}

.btn-secondary:hover {
    background-color: #3b82f6;
    color: white;
}

/* Footer CTA */
.projects-footer {
    text-align: center;
    margin-top: 3rem;
}

.view-more {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-more i {
    margin-left: 0.5rem;
}

.view-more:hover {
    background-color: #3b82f6;
    color: white;
}


/* Testimony section */

/* Section layout */
/* Section layout */
.testimonials-section {
    padding: 6rem 1rem;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-title {
    font-size: 2rem;
    font-weight: bold;
    color: #111827;
}

body.dark .testimonials-title {
    color: #f9fafb;
}

.testimonials-underline {
    width: 6rem;
    height: 4px;
    background-color: #3b82f6;
    margin: 1rem auto 0;
}

/* Slider Wrapper */
.testimonials-slider-wrapper {
    position: relative;
    width: 100%;
}

/* Slider Container */
.testimonials-slider-container {
    overflow: hidden;
    position: relative;
}

/* Slider */
.testimonials-slider {
    display: flex;
    align-items: center;
    transition: transform 0.6s ease;
    will-change: transform;
}

/* Slide */
.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 1rem;
    transform: scale(0.85);
    opacity: 0.5;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.testimonial-slide.active {
    transform: scale(1);
    opacity: 1;
    z-index: 2;
}

@media (min-width: 768px) {
    .testimonial-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-slide {
        flex: 0 0 33.3333%;
    }
}

/* Card */
.testimonial-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

body.dark .testimonial-card {
    background-color: #374151;
}

/* Card Header */
.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    overflow: hidden;
    margin-right: 1rem;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Client Info */
.testimonial-name {
    font-weight: bold;
    color: #111827;
}

body.dark .testimonial-name {
    color: #f9fafb;
}

.testimonial-role {
    font-size: 0.875rem;
    color: #6b7280;
}

body.dark .testimonial-role {
    color: #d1d5db;
}

/* Text */
.testimonial-text {
    margin-bottom: 1rem;
    color: #111827;
}

body.dark .testimonial-text {
    color: #f9fafb;
}

/* Stars */
.testimonial-stars {
    color: #facc15;
    display: flex;
}

/* Navigation buttons */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background-color: #3b82f6;
    color: white;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.testimonial-nav:focus {
    outline: none;
}

.testimonial-nav.prev {
    left: 0.5rem;
}

.testimonial-nav.next {
    right: 0.5rem;
}

/* Dots */
.testimonial-dots-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: #d1d5db;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

body.dark .testimonial-dot {
    background-color: #4b5563;
}

.testimonial-dot:focus {
    outline: none;
}

.testimonial-dot.active {
    background-color: #3b82f6;
}

body.dark .testimonial-dot.active {
    background-color: #60a5fa; /* A lighter blue for better contrast */
}


/* Contact us */

/* Section Layout */
.contact-section {
    padding: 6rem 1rem;
    background-color: #f9fafb;
    background-color: #dfecf9f7;
}

body.dark .contact-section {
    background-color: #1f2937;
}

/* Container */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-title {
    font-size: 2rem;
    font-weight: bold;
    color: #111827;
}

body.dark .contact-title {
    color: #f9fafb;
}

.contact-underline {
    width: 6rem;
    height: 4px;
    background-color: #3b82f6;
    margin: 1rem auto 0;
}

/* Content Layout */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-content {
        flex-direction: row;
    }
}

/* Info Card */
.contact-info {
    flex: 1;
}

.info-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

body.dark .info-card {
    background-color: #374151;
}

/* Info Titles and Text */
.info-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #111827;
}

body.dark .info-title {
    color: #f9fafb;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 3rem;
    height: 3rem;
    background-color: #dbeafe;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    margin-right: 1rem;
    flex-shrink: 0;
}

body.dark .info-icon {
    background-color: #1e3a8a;
}

.info-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #111827;
}

body.dark .info-label {
    color: #f9fafb;
}

.info-text {
    color: #111827;
}

body.dark .info-text {
    color: #f9fafb;
}

/* Social Icons */
.info-social {
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #dbeafe;
    border-radius: 9999px;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
}

body.dark .social-icons a {
    background-color: #1e3a8a;
}

.social-icons a:hover {
    background-color: #3b82f6;
    color: white;
}

/* Form Card */
.contact-form-container {
    flex: 1;
}

.form-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

body.dark .form-card {
    background-color: #374151;
}

/* Form Elements */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #111827;
}

body.dark .contact-form label {
    color: #f9fafb;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
    background-color: #ffffff;
    color: #111827;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3b82f6;
}

body.dark .contact-form input,
body.dark .contact-form textarea {
    background-color: #1f2937;
    border-color: #4b5563;
    color: #f9fafb;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #2563eb;
}

/* Loading + Message */
.hidden {
    display: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #d1fae5;
    color: #065f46;
}



/* Footer */

/* Footer Styles */
.footer {
    padding: 3rem 1rem;
    background-color: #111827;
    color: white;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Layout */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}

/* Branding */
.footer-brand {
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
}

.logo-symbol {
    color: #3b82f6;
}

.footer-tagline {
    margin-top: 0.5rem;
    color: #9ca3af;
}

/* Links */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3b82f6;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .footer-social {
        margin-top: 0;
    }
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #4b5563;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

/* Bottom Section */
.footer-bottom {
    border-top: 1px solid #1f2937;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}