@import url('https://fonts.googleapis.com/css?family=Poppins');

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Keyframe Animations for About Section */
@keyframes floatImage {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(109,67,0,0.1);
    }
    50% {
        box-shadow: 0 4px 20px rgba(247,200,115,0.4);
    }
}

body{
    width: 100%;
    background: linear-gradient(to right,rgb(255,255,255),rgb(254,215,173));
    min-height: 100vh;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

nav{
    width: 100%;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(to right,rgb(255,255,255),rgb(254,215,173));
    box-shadow: 0 2px 8px rgba(109,67,0,0.07);
}


.nav-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 1200px;
}


.logo{
    color: black;
    font-size: 2rem;
    font-weight: bolder;

}

.logo span{
color: rgb(109,67,0);
text-shadow: 0 0 10px rgb(109,67,0);
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    justify-content: center;
    align-items: center;
    gap: 6px;
    height: 40px;
    width: 40px;
    padding: 2px;
    background-color: transparent;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: black;
    transition: 0.3s ease;
    border-radius: 2px;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -8px);
}

.nav-container .links{
    display: flex;
    gap: 3rem;
    align-items: center;

}


.nav-container .links a{
    position: relative;
    font-size: 1.2rem;
    color: black !important;
    text-decoration: none;
    font-weight: 500;
    transform: 0.3s linear;
}

.nav-container .links a::before{
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: rgb(109,67,0);
    transition: 0.2s linear;
}


.nav-container .links a:hover::before{
    width: 100%;
}

.nav-container .contact-btn{
    background-color: transparent;
    padding: 5px 20px;
    border-radius: 20px;
    border: 2px solid rgb(109,67,0);
    transition: 0.2s linear;
}


.nav-container .contact-btn a{
    color: white;
    transition: 0.3s linear;

}

.nav-container .contact-btn:hover, .nav-container.contact-btn:hover a{
    background-color: rgb(109,67,0);
    color: white;
}

.nav-container.links a:hover{
    color: rgb(109,67,0);

}



section{
    width: 100%;
    min-height: 60vh;
    padding: 2rem ;
    margin-top: 80px;
    box-sizing: border-box;
}

.main-container{
    padding-top: 100px;
    width: 100% !important;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.main-container .image{
    z-index: -1;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-container .image img{
    width: 100%;
    max-width: 400px;
    padding-bottom: 2rem;
    border-radius: 50px;
}
.main-container .image img:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 16px 48px rgba(109,67,0,0.28), 0 3px 16px rgba(247,200,115,0.23);
}

.main-container .content{
    color: black;
    width: 50%;
    min-height: 200px;
}

.content h1{
    font-size: clamp(1rem,2rem + 5vw,3rem);
}

.content h1 span{
    color: rgb(109,67,0);
    text-shadow: 0 0 20px rgb(109,67,0);
}

.content .typewriter{
    font-weight: 600;
    font-size: clamp(1rem,1rem + 5vw,2rem);
}

.content .typewriter span{
    color: rgb(109,67,0);
    font-size: 2.5rem;
    text-shadow: 0 0 5px rgb(109,67,0);
    position: relative;
    transition: 0.3s linear;

}

.typewriter span::before{
    content: "Web Developer";
    animation: words 15s infinite;
}

.typewriter span::after{
    content: "";
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid black;
    animation: cursor 0.6s linear infinite;
}

@keyframes cursor {
    to{
    border-left:3px solid #b74b4b
    }
}

@keyframes words {
    0%, 50%{
    content: "Web Developer";
    }
    
    51%, 100%{
    content: "Youtuber";
    }
}
.content p{
    font-size: clamp(0.4rem,0.2rem + 9vw,1rem);
    margin: 10px 0;
}

.social-links i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid rgb(109,67,0);
    border-radius: 50%;
    color: rgb(109,67,0);
    margin: 5px 10px;
    font-size: 1rem;
    transition: 0.2s linear;
}

.social-links i:hover{
    scale: 1.3;
    color: white;
    background-color: rgb(109,67,0);
    filter: drop-shadow(0 0 10px rgb(109,67,0));
}

.btn a {
    display: inline-block;
    padding: 8px 20px;
    width: 10%;
    height: 3vh;
    margin: 50px;
    background-color: rgb(109,67,0);
    color: white;
    border-radius: 10px;
    outline: none;
    font-size: 100%;
    font-weight: 700;
    border: none;
    transition: 0.2s linear;
}

.btn a:hover {
    scale: 1.1;
    color: rgb(109,67,0);
    border: 2px solid rgb(109,67,0);
    background-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 50px rgb(109,67,0);
}
.btn button a{
    color: #fff;
}


@media (max-width: 1200px) {
    
    html, body {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        box-sizing: border-box;
        overflow-x: clip !important;
        overflow-y: auto !important;
        position: relative;
        margin: 0 !important;
        padding: 0 !important;
        touch-action: pan-y;
    }

    .nav-container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
        justify-content: space-between !important;
    }
    
    /* Mobile Hamburger Menu */
    .hamburger {
        display: flex !important;
        margin-right: 1rem;
    }

    .logo span {
        margin-left: 2rem !important;
        font-size: 1.5rem;
    }

    .about-container,
    .project-container {
        width: 100% !important;
        margin: 0 !important;
        padding: 2rem 1.5rem !important;
        box-sizing: border-box;
    }

    nav .nav-container {
        flex-direction: row;
        justify-content: space-between !important;
        align-items: center;
        padding: 0 1rem;
        background-color: transparent;
    }

    /* Mobile Navigation Menu */
    .nav-container .links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(to right, rgb(255,255,255), rgb(254,215,173));
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        padding: 2rem 0;
        box-shadow: 0 2px 8px rgba(109,67,0,0.1);
        z-index: 999;
    }

    .nav-container .links.active {
        left: 0;
    }

    .nav-container .link {
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(109,67,0,0.1);
    }

    .nav-container .link:last-child {
        border-bottom: none;
    }

    .nav-container .contact-btn {
        background-color: transparent;
        border: none;
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(109,67,0,0.1);
        box-shadow: none !important;
    }

    .nav-container .contact-btn a {
        color: black;
        font-size: 1rem;
    }

    .nav-container .links a {
        position: relative;
        font-size: 1rem;
        color: black;
        text-decoration: none;
        font-weight: 500;
    }

    .nav-container .links a::before {
        position: absolute;
        content: "";
        bottom: -3px;
        left: 0;
        width: 0%;
        height: 3px;
        background-color: rgb(109,67,0);
        transition: 0.2s linear;
    }

    .nav-container .links a:hover::before {
        width: 100%;
    }

    .main-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 0 !important;
        justify-content: center;
    }
    
    .main-container .image {
        padding: 0;
        margin-bottom: 2rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .main-container .content {
        width: 100%;
        padding: 0;
        text-align: left;
    }
    
    .main-container .content h1 {
        padding: 0;
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: left;
    }

    .main-container .image img {
        width: 200px;
        height: 200px;
        object-fit: cover;
        border-radius: 50%;
    }
  
    .btn {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }

    .btn a {
        width: auto;
        height: auto;
        padding: 10px 30px;
        margin: 0;
    }
    .btn a {
        color: #fff;
    }
    .typewriter span::after {
        border-left: none !important;
        animation: none !important;
    }

    .content h1 {
        font-size: 2rem;
        text-align: left;
    }

    .content .typewriter {
        font-size: 1.2rem !important;
        text-align: left;
    }

    .content p {
        font-size: 1rem;
        text-align: left;
        margin: 1rem 0;
    }

    .social-links {
        justify-content: center;
    }

    /* Contact Section Mobile */
    .contact-section {
        padding: 2rem 1rem !important;
    }

    .container {
        display: flex !important;
        flex-direction: column !important;
    }

    .contact-info {
        border-radius: 0 !important;
    }

    .message-form {
        border-radius: 0 !important;
    }
}



.about-container h1{
    color: rgb(109,67,0);
  font-size: 2.5rem;
  text-align: center;
}
.about-container p{
    padding-right: 0;
    padding-left: 0;
    text-align: center;
    font-size: 1.4rem;
}

    .about-flex-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: start;
    margin: 2rem auto;
    max-width: 1000px;
    padding: 0;
    box-sizing: border-box;
}

.about-flex-row .about-flex {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0.4rem;
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(109,67,0,0.08);
    border: 1px solid rgba(109,67,0,0.05);
    cursor: pointer;
}

.about-flex-row .about-flex:hover {
    background: #fffbea;
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(109,67,0,0.12);
    border-color: rgba(247,200,115,0.3);
}

.about-flex-row img {
    width: 40px;
    height: 30px;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    padding: 9px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(109,67,0,0.1);
    object-fit: contain;
    animation: floatImage 3s ease-in-out infinite, glowPulse 2.5s ease-in-out infinite;
}

.about-flex-row .about-flex:hover img {
    transform: scale(1.2) rotateY(10deg);
    box-shadow: 0 8px 20px rgba(247,200,115,0.5);
    animation: floatImage 2s ease-in-out infinite;
}

.about-flex-row h3 {
    margin-top: 1.2rem;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: rgb(109,67,0);
    text-align: center;
    font-weight: 600;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}


@media screen and (max-width: 1200px) {

    .about-container h1 {
        font-size: 1.7rem;
        margin-bottom: 2.5rem;
        margin-top: 2rem;
    }
    .about-container p {
        font-size: 1rem;
        padding: 0 ;
    }
    .about-flex-row {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .about-flex-row .about-flex {
        padding: 0.7rem;
    }
    
    .about-flex-row img {
        width: 40px;
        height: 20px;
        padding: 0.6rem;
        border-radius: 10px;
    }
    
    .about-flex-row h3 {
        font-size: 0.85rem;
        margin-top: 0.8rem;
    }

    .about-flex-row .about-flex:hover {
        transform: translateY(-8px);
    }
}

/* Dark Mode  */
#dark-mode-toggle {
  position: fixed;
  bottom: 90px;
  right: 30px;
  z-index: 9999;
  background: #fff;
  color: #6d4300;
  border: 2px solid #6d4300;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(109,67,0,0.07);
  transition: background 0.3s, color 0.3s;
}
#dark-mode-toggle:hover {
  background: #6d4300;
  color: #fff;
}

/* Scroll-to-Top Button */
#scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background: #fff;
  color: #6d4300;
  border: 2px solid #6d4300;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(109,67,0,0.07);
  display: none;
  transition: background 0.3s, color 0.3s;
}
#scroll-to-top:hover {
  background: #6d4300;
  color: #fff;
}

/* Dark Mode Styles */
body.dark-mode {
  background: linear-gradient(to right,#232323,#3a2c0a);
  color: #fff;
}
body.dark-mode nav,
body.dark-mode footer {
  background: linear-gradient(to right,#232323,#3a2c0a);
  color: #fff;
}
body.dark-mode .logo span,
body.dark-mode .project-container h1,
body.dark-mode .side-1 h1,
body.dark-mode .side-2 h3,
body.dark-mode .side-1 h2 a,
body.dark-mode .content h1 span,
body.dark-mode .content .typewriter span,
body.dark-mode .about-flex-row h3 {
  color: #fff;
}
body.dark-mode .social-links a i {
  color: #fff;
}
body.dark-mode .about-container h1{
    color: #f7c873;
}
body.dark-mode .projects-list,
body.dark-mode .about-flex-row img {
  background: #232323;
  color: #fff;
  box-shadow: 0 2px 8px #f7c87333;
}
body.dark-mode .nav-container .links a,
body.dark-mode .nav-container .contact-btn a,
body.dark-mode .btn a {
  color: #fff !important;
}
body.dark-mode .btn a {
  background: rgb(109,67,0);
  border: 2px solid #f7c873;
}
body.dark-mode .btn a:hover {
  background: #f7c873;
  color: #232323 !important;
  border: 2px solid #232323;
}
body.dark-mode #dark-mode-toggle,
body.dark-mode #scroll-to-top {
  background: #232323;
  color: #f7c873;
  border-color: #f7c873;
}
body.dark-mode #dark-mode-toggle:hover,
body.dark-mode #scroll-to-top:hover {
  background: #f7c873;
  color: #232323;
}

body.dark-mode .hamburger span {
  background-color: white;
}

body.dark-mode .about-flex-row .about-flex {
  background: #232323;
  border-color: rgba(247,200,115,0.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

body.dark-mode .about-flex-row .about-flex:hover {
  background: #2a2a2a;
  border-color: rgba(247,200,115,0.2);
  box-shadow: 0 12px 25px rgba(247,200,115,0.1);
}

body.dark-mode .about-flex-row img {
  background: rgb(109,67,0);
  box-shadow: 0 4px 12px rgba(247,200,115,0.15);
}

body.dark-mode .about-flex-row h3 {
  color: #f7c873;
}

body.dark-mode .project-card {
  background: #232323;
  border-color: rgba(247,200,115,0.1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

body.dark-mode .project-card:hover {
  box-shadow: 0 20px 60px rgba(247,200,115,0.2);
}

body.dark-mode .project-content h3 {
  color: #f7c873;
}

body.dark-mode .project-content p {
  color: #ddd;
}

body.dark-mode .tech-stack span {
  background: #f7c873;
  color: #232323;
  font-weight: 600;
}

body.dark-mode .code-btn {
  color: #f7c873;
  border-color: #f7c873;
}

body.dark-mode .code-btn:hover {
  background: #f7c873;
  color: #232323;
  box-shadow: 0 5px 15px rgba(247,200,115,0.4);
}

body.dark-mode .view-btn {
  background: #f7c873;
  color: #232323;
  border-color: #f7c873;
}

body.dark-mode .view-btn:hover {
  background: transparent;
  color: #f7c873;
  box-shadow: 0 5px 15px rgba(247,200,115,0.4);
}

.project-container {
    padding: 2rem;
}

.project-container h1 {
    padding-top: 60px;
    text-align: center;
    color: rgb(109,67,0) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.project-container h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 100px;
    height: 4px;
    background: rgb(109,67,0);
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Projects Grid Layout */
.projects-grid {
    margin: 0 auto;
    padding: 3rem 2rem;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    box-sizing: border-box;
}

/* Project Card */
.project-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    transition: all 0.4s ease;
    border-radius: 20px;
    border: 2px solid rgba(109,67,0,0.1);
}

.project-card:hover {
    box-shadow: 0 20px 60px rgba(109,67,0,0.15);
    transform: translateY(-5px);
}

/* Keep consistent layout for all cards */
.project-card:nth-child(even) {
    grid-template-columns: 1fr;
}

.project-card:nth-child(even) .project-image {
    order: unset;
}

.project-card:nth-child(even) .project-content {
    order: unset;
}

/* Project Image */
.project-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-image img {
    width: 100%;
    max-width: 280px;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(109,67,0,0.15);
    transition: all 0.4s ease;
}

.project-image img:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(109,67,0,0.2);
}

/* Project Content */
.project-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.project-content h3 {
    font-size: 2rem;
    color: rgb(109,67,0);
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.project-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 1.5rem 0;
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.tech-stack span {
    color: #222;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Project Links */
.project-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.project-links a {
    padding: 0.8rem 1.8rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.code-btn {
    background: transparent;
    color: rgb(109,67,0);
    border: 2px solid rgb(109,67,0);
}

.code-btn:hover {
    background: rgb(109,67,0);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(109,67,0,0.3);
}

.view-btn {
    color: rgb(109,67,0);
    border: 2px solid rgb(109,67,0);
}

.view-btn:hover {
    background: white;
    color: rgb(109,67,0);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(109,67,0,0.3);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .projects-grid {
        padding: 2rem 1rem;
        gap: 2rem;
        grid-template-columns: 1fr;
    }

    .project-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .project-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .project-card:nth-child(even) .project-image {
        order: unset;
    }

    .project-card:nth-child(even) .project-content {
        order: unset;
    }

    .project-image img {
        width: 100%;
        max-width: 250px;
        height: 250px;
    }

    .project-content h3 {
        font-size: 1.5rem;
    }

    .project-content p {
        font-size: 1rem;
    }

    .project-links {
        flex-wrap: wrap;
    }

    .project-links a {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 1200px) {
    .project-container {
        padding: 1rem;
    }
    
    .project-container h1 {
        font-size: 1.8rem;
        padding-bottom: 20px;
    }
    
    .list {
        margin: 2.2rem;
        padding-top: 1rem;
        gap: 1.3rem;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .projects-list {
        padding: 1rem;
    }
    
    .projects-list h2 {
        font-size: 1.2rem;
    }
    
    .projects-list p {
        font-size: 1rem;
    }
    
    .projects-list img {
        height: 200px;
        width: 80%;
    }
    
    .more-info-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}

/* Contact Section Styles */
.contact-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f7c873 100%);
    min-height: 100vh;
    margin-top: 0;
    box-sizing: border-box;
}

.contact-header {
    text-align: center;
    margin: 2rem auto 2.5rem auto;
    padding: 1.5rem 1rem 1.2rem 1rem;
    color: #3a2c0a;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(58,44,10,0.08);
    max-width: 500px;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
}

.contact-header b {
    color: #f7a600;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.contact-header p {
    margin: 0;
    line-height: 1.4;
}

.container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(79,70,229,0.08);
    display: flex;
    flex-wrap: wrap;
    max-width: 900px;
    width: 100%;
    margin: 2rem auto;
    overflow: hidden;
    box-sizing: border-box;
}

.contact-info {
    flex: 1 1 250px;
    background: linear-gradient(135deg, #f7c873 0%, #f7a600 100%);
    color: #3a2c0a;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    min-width: 200px;
}

.contact-info h2 {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: #3a2c0a;
}

.contact-info p, .contact-info a {
    color: #3a2c0a;
    font-size: 1.1rem;
    margin: 0.2rem 0;
    text-decoration: none;
}

.contact-info i {
    margin-right: 0.7rem;
    color: #3a2c0a;
}

.contact-info .social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.2rem;
}

.contact-info .social-links a {
    color: #3a2c0a;
    font-size: 1.5rem;
    transition: color 0.2s, transform 0.2s;
}

.contact-info .social-links a:hover {
    color: #f7a600;
    transform: scale(1.2);
}

.message-form {
    flex: 2 1 350px;
    padding: 2.5rem 2rem;
    background: #fffbea;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.message-form h1 {
    margin-bottom: 1.5rem;
    color: #f7c873;
    font-size: 2rem;
    font-weight: 700;
}

.message-form form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    color: #3a2c0a;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.message-form input, .message-form textarea {
    padding: 0.9rem 1rem;
    width: 80%;
    border: 1px solid #f7c873;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    color: #3a2c0a;
    resize: none;
    transition: border 0.2s;
}

.message-form input:focus, .message-form textarea:focus {
    border: 1.5px solid #f7a600;
    outline: none;
    box-shadow: 0 0 5px rgba(247,166,0,0.2);
}

.message-form button {
    background: linear-gradient(90deg, #f7a600 0%, #f7c873 100%);
    color: #3a2c0a;
    border: none;
    border-radius: 8px;
    width: 80%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin: 1.5rem 2rem;
}

.message-form button:hover {
    background: linear-gradient(90deg, #f7c873 0%, #f7a600 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.03);
}

#form-success-message {
    color: #3a2c0a;
    background: #f7c873;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    margin-top: 1.5rem;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 500;
    box-shadow: 0 2px 8px #3a2c0a;
}

.form-success-icon {
    color: #4bb543;
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

@media (max-width: 800px) {
    .contact-section {
        padding: 2rem 1rem !important;
        min-height: auto;
    }

    .contact-header {
        font-size: 2rem;
        margin: 1.5rem ;
        padding: 1rem;
    }

    .container {
        flex-direction: column;
        border-radius: 0;
        box-shadow: none;
    }

    .contact-info, .message-form {
        border-radius: 0;
        padding: 2rem 3rem;
        flex: 1 1 auto;
        width: 95%;
    }

    .contact-info h2, .message-form h1 {
        font-size: 1.5rem;
    }

    .contact-info p, .contact-info a {
        font-size: 1rem;
    }

    .message-form button {
        padding: 0.8rem;
        font-size: 1rem;
    }
}

@media (max-width: 500px) {
    .contact-header {
        font-size: 1.3rem;
    }

    .contact-info h2, .message-form h1 {
        font-size: 1.3rem;
    }

    .contact-info, .message-form {
        padding: 1.2rem 0.5rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .message-form input, .message-form textarea {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }

    .input-group label {
        font-size: 0.85rem;
    }
}

/* Dark Mode Contact Section */
body.dark-mode .contact-section {
    background: linear-gradient(135deg, #232323 0%, #3a2c0a 100%);
}

body.dark-mode .contact-header {
    color: #f7c873;
}

body.dark-mode .contact-header b {
    color: #fff;
}

body.dark-mode .container {
    background: #232323;
    color: #fff;
}

body.dark-mode .contact-info {
    background: linear-gradient(135deg, #3a2c0a 0%, #2a1f07 100%);
    color: #f7c873;
}

body.dark-mode .contact-info h2,
body.dark-mode .contact-info p,
body.dark-mode .contact-info a {
    color: #f7c873;
}

body.dark-mode .contact-info i {
    color: #f7c873;
}

body.dark-mode .message-form {
    background: #1a1a1a;
}

body.dark-mode .message-form h1 {
    color: #f7c873;
}

body.dark-mode .message-form input,
body.dark-mode .message-form textarea {
    background: #232323;
    color: #fff;
    border-color: #3a2c0a;
}

body.dark-mode .message-form input::placeholder,
body.dark-mode .message-form textarea::placeholder {
    color: #999;
}

body.dark-mode .input-group label {
    color: #f7c873;
}

body.dark-mode .message-form button {
    background: linear-gradient(90deg, #3a2c0a 0%, #2a1f07 100%);
    color: #f7c873;
    border: 1px solid #f7c873;
}

body.dark-mode .message-form button:hover {
    background: linear-gradient(90deg, #2a1f07 0%, #3a2c0a 100%);
    color: #fff;
}

body.dark-mode #form-success-message {
    background: #3a2c0a;
    color: #f7c873;
    border: 1px solid #f7c873;
}

footer {
    width: 100%;
    height: 45vh;
    overflow: hidden;
    color: #3a2c0a;
    padding: 2rem 0 7rem 0;
    margin-top: 2rem;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -2px 16px rgba(247,200,115,0.13);
    font-family: 'Poppins', Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
}

.side-1, .side-2 {
    flex: 1 1 300px;
    padding: 1rem;
    text-align: center;
}

.side-1 h1, .side-2 h3 {
    color: rgb(109,67,0);
    margin-bottom: 1rem;
}

.side-1 p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.side-1 h2 a {
    color: black;
    text-decoration: none;
    font-size: 1rem;
}

.side-2 {
    text-align: center;
}

.side-2 .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 60px;
}

.side-2 .social-links a {
    color: #3a2c0a;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.side-2 .social-links a:hover {
    color: #f7a600;
}
@media (max-width: 1200px) {
    footer{
        height: 35vh;
    }
    .side-1 h1, .side-2 h3 {
    color: rgb(109,67,0);
}
.side-1 h1{
    font-size: 1.5rem;
}
.side-1 p {
    font-size: 0.8rem;
}
    .side-2 {
        text-align: center;
        justify-content: center;
        margin-top: 1px !important;
    }
    .side-2 .social-links {
        justify-content: center;
        margin-bottom: 150px;
        gap: 0;
        margin-left: 2.5rem;
    }
    .side-2 .social-links a {
        font-size: 0.7rem !important;
        
    }
}
