/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: #222;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: #d35400;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #a04000;
    /* text-decoration: underline; */
}

.major{
    font-size: 30px;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-size: 18px;
}

/* Header */
#header {
    background-color: black;
    color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    width: 300px;
    height: 100%;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#header header {
    margin-bottom: 2rem;
}

.image.avatar {
    display: block;
    margin: 0 auto 1.5rem;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
}

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

#logo a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

#logo a:hover {
    text-decoration: none;
}

/* Navigation */
#nav {
    margin-bottom: 2rem;
}

#nav ul {
    list-style: none;
}

#nav ul li {
    margin-bottom: 0.5rem;
}

#nav ul li a {
    display: block;
    padding: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    transition: all 0.3s ease;
}

#nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
}

/* Footer in Header */
#header footer {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    padding: 0 2rem;
}

.icons {
    list-style: none;
    display: flex;
    justify-content: center;
}

.icons li {
    margin: 0 0.5rem;
}

.icons a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.icons a i.fa,
.icons a i.fab,
.icons a i.fas,
.icons a i.far {
    font-size: 1.2rem;
    line-height: inherit;
}

.icon.brands:before {
    font-family: 'Font Awesome 5 Brands';
}

.icon:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* Main Content */
#main {
    margin-left: 300px;
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
}

/* Sections */
#one, #two, #three {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

/* Footer */
#footer {
    padding: 2rem 0;
    background-color: #f0f0f0;
    text-align: center;
    margin-left: 300px;
}

.copyright {
    list-style: none;
    display: flex;
    justify-content: center;
    font-size: 0.9rem;
    color: #777;
}

.copyright li {
    margin: 0 0.5rem;
}

/* Responsive */
@media screen and (max-width: 980px) {
    #header {
        position: relative;
        width: 100%;
        height: auto;
        padding-bottom: 1rem;
    }
    
    #header footer {
        position: relative;
        bottom: auto;
        margin-top: 2rem;
    }
    
    #main, #footer {
        margin-left: 0;
    }
}

@media screen and (max-width: 736px) {
    .container {
        padding: 1rem;
    }
    
    #one, #two, #three {
        padding: 2rem 0;
    }
}

html {
    scroll-behavior: smooth;
}

/* Contact Section Styling */
#contact {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

#contact h2 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 2rem;
    border-bottom: 2px solid #d35400;
    padding-bottom: 0.5rem;
    display: inline-block;
}

#contact form {
    margin-top: 1.5rem;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#contact input[type="text"]:focus,
#contact input[type="email"]:focus,
#contact textarea:focus {
    border-color: #d35400;
    box-shadow: 0 0 0 2px rgba(211, 84, 0, 0.2);
    outline: none;
}

#contact .actions {
    margin-top: 1rem;
    padding: 0;
    list-style: none;
}

#contact input[type="submit"] {
    background-color: #d35400;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

#contact input[type="submit"]:hover {
    background-color: #a04000;
}

#formResponse {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
}

#formResponse .success-message {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #3c763d;
}

#formResponse .error-message {
    background-color: #f2dede;
    color: #a94442;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #a94442;
}

@media screen and (max-width: 736px) {
    #contact {
        padding: 1.5rem;
    }
    
    #contact h2 {
        font-size: 1.5rem;
    }
}
