/* Reset and base styles */
:root {
    --color-primary: #A67D65;
    --color-primary-dark: #A67D65;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-background: #ffffff;
    --color-background-alt: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --max-width: 1200px;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    color: var(--color-text);
    background-color: #0F2226;
}


.open-sans-uniquifier {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
  }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

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

.nav-toggle {
    display: none;
}

/* Hero Section */
.hero {
    padding: calc(var(--header-height) + 4rem) 0 4rem;
    /* background: linear-gradient(to bottom right, #eef2ff, #ffffff); */
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    --color-primary: #A67D65;
}

.hero-title span {
    color: var(--color-primary);
}

.hero-text {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    --color-primary: #A67D65;
}

.hero-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #A69E8F;
    color: #0F2226;
}

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

.btn-secondary {
    border: 2px solid #A69E8F;
    color: #A69E8F;
}

.btn-secondary:hover {
    background-color: #eef2ff;
}

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

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--color-background);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #0F2226;
    margin: 1rem auto 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.about-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-card {
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    /* background-color: var(--color-background-alt); */
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    /* transition: transform 0.3s, box-shadow 0.3s; */
}

/* .project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
} */

.project-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--color-background);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Footer */
.footer {
    background-color: black;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a,
.social-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover,
.social-links a:hover {
    color: white;
}

.footer-links li:not(:last-child) {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    color: #9ca3af;
}

  .marquee {
    width: 100vw; /* Full width */
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: #0F2226;
    padding: 10px 0;
    margin-top: 4rem;
  }
  
  .marquee-inner {
    display: flex;  /* Use flex to align text properly */
    white-space: nowrap;
    font-size: 1rem; /* Increase size */
    font-family: "Open Sans", sans-serif;
    color: #fff;
    font-weight: bold;
    width: 200%; /* Twice the screen width */
    align-items: center;
    animation: shimmer 3s infinite linear;
}
    
  
  
.marquee-inner span {
    display: inline-block;
    padding-right: 2rem; /* Spacing between repeats */
    
}

 @keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: 100% 0; }
}

@keyframes fadeSlide {
    0% { opacity: 1; transform: translateX(0); }
    50% { opacity: 0; transform: translateX(50px); }
    100% { opacity: 1; transform: translateX(0); }
}

.sentimg {
    animation: fadeSlide 2s infinite;
}

.sentimg{
    width: 100%;
}


.contact{
    display: flex;
    flex-direction: row;
}


/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .hamburger {
        display: block;
        position: relative;
        width: 24px;
        height: 2px;
        background: var(--color-text);
        transition: all 0.3s;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: var(--color-text);
        transition: all 0.3s;
    }

    .hamburger::before {
        top: -6px;
    }

    .hamburger::after {
        bottom: -6px;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: var(--shadow-md);
        flex-direction: column;
        gap: 1rem;
    }

    .nav-list.active {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .sentimg{
        width: 60%;
    }

  

}


/* Tablet Adjustments */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        gap: 2rem;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .sentimg{
        width: 50%;
    }

}