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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background: #fff;
    font-size: 14px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 80px;
}

.header {
    border-bottom: 3px solid #000;
    padding-bottom: 40px;
    margin-bottom: 80px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.header-left {
    flex: 1;
}

.header h1 {
    font-size: 52px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 8px;
    text-transform: uppercase;
    line-height: 1;
}

.header h2 {
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: #333;
}

.header h3 {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 20px;
}

.contact-info {
    text-align: right;
    font-size: 13px;
    line-height: 1.8;
    margin-top: 10px;
}

.contact-info div {
    margin-bottom: 3px;
}

.credentials-content {
    background: #f8f8f8;
    padding: 20px;
    margin: 40px 0 60px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.credential-item {
    text-align: center;
}

.credential-item strong {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
}

.main-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.about {
    background: #fafafa;
    padding: 40px;
    border-left: 4px solid #333;
}

.about h3 {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.about p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: justify;
    color: #222;
}

.skills {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.skills h4 {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.skills-grid {
    display: grid;
    gap: 15px;
}

.skill-category {
    font-size: 12px;
}

.skill-category strong {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    color: #444;
}

.skill-category span {
    color: #666;
    line-height: 1.5;
}

.portfolio-section {
    display: grid;
    gap: 60px;
}

.section-header {
    grid-column: 1 / -1;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.section-header h4 {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.portfolio-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.portfolio-item:last-child {
    border-bottom: none;
}

.portfolio-text h5 {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.portfolio-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    font-size: 12px;
    color: #666;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-item strong {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    color: #444;
    font-size: 11px;
}

.project-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #111;
}

.portfolio-text p {
    font-size: 13px;
    line-height: 1.8;
    text-align: justify;
    color: #333;
}

.portfolio-image {
    background: #f5f5f5;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #333;
}

.gis-section {
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.gis-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

.gis-text h5 {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.gis-projects {
    margin-top: 25px;
}

.gis-project {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 2px solid #333;
}

.gis-project strong {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    color: #111;
    line-height: 1.4;
}

.gis-project p {
    font-size: 12px;
    line-height: 1.7;
    color: #555;
}

.gis-images {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 25px;
}

.gis-image {
    background: #f5f5f5;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
    border: 1px solid #e0e0e0;
    position: relative;
}

.gis-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #333;
}

.thesis-section {
    margin-top: 100px;
    padding: 60px;
    background: #fafafa;
    border: 2px solid #333;
    position: relative;
}

.thesis-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.thesis-title h3 {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.thesis-meta {
    text-align: right;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.thesis-meta strong {
    display: block;
    color: #333;
    margin-bottom: 4px;
}

.thesis-content {
    font-size: 14px;
    line-height: 2;
    text-align: justify;
    color: #222;
}

.thesis-content::first-letter {
    font-size: 48px;
    font-weight: bold;
    float: left;
    line-height: 1;
    margin-right: 8px;
    margin-top: -8px;
}

/* Read More Link */
.read-more-container {
    text-align: right;
    margin-top: 30px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: #333;
}

.read-more-link .arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.read-more-link:hover .arrow {
    transform: translateX(3px);
}

/* Thesis Page Specific Styles */
.thesis-nav {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #000;
}

.back-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.back-link:hover .back-arrow {
    transform: translateX(-3px);
}

.thesis-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 0;
    border-bottom: 3px solid #000;
    margin-bottom: 80px;
}

.thesis-page-title h1 {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    line-height: 1.1;
}

.thesis-page-title h2 {
    font-size: 24px;
    font-weight: normal;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #333;
}

.thesis-subtitle {
    font-size: 16px;
    color: #666;
    font-style: italic;
}

.thesis-meta-info {
    text-align: right;
    display: grid;
    gap: 15px;
}

.thesis-meta-info .meta-item {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.thesis-meta-info .meta-item strong {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
    color: #333;
}

.thesis-meta-info .meta-item span {
    font-size: 13px;
    color: #666;
}

.thesis-main {
    display: grid;
    gap: 60px;
}

.research-question {
    margin-bottom: 30px;
}

.research-question h4 {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #333;
}

.research-question ul {
    margin-left: 20px;
    margin-top: 15px;
}

.research-question li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.methodology-approach,
.methodology-methods {
    margin-bottom: 30px;
}

.methodology-methods h4 {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #333;
}

.method-item {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 2px solid #333;
}

.method-item strong {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #111;
}

/* Contact Form */
.contact-section {
    margin-top: 100px;
    padding: 60px;
    background: #fff;
    border: 2px solid #333;
    position: relative;
}

.contact-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.contact-header h3 {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-header p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.contact-form {
    display: grid;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

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

.form-group label {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    background: #fafafa;
    font-size: 13px;
    font-family: Arial, sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.submit-btn {
    background: #333;
    color: #fff;
    padding: 15px 40px;
    border: none;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    justify-self: start;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #000;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border: 2px solid #fff;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.lightbox-close:hover {
    color: #ccc;
}

.lightbox-caption {
    color: #fff;
    font-size: 14px;
    margin-top: 15px;
    padding: 0 20px;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.footer {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 3px solid #000;
    text-align: center;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 50px 60px;
    }
    
    .main-content {
        grid-template-columns: 280px 1fr;
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 40px;
    }
    
    .header-top {
        flex-direction: column;
    }
    
    .contact-info {
        text-align: left;
        margin-top: 20px;
    }
    
    .credentials-content {
        flex-direction: column;
        gap: 15px;
        margin: 40px 0 60px;
        padding: 20px;
    }
    
    .credential-item {
        text-align: left;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .portfolio-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gis-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .thesis-section {
        padding: 40px;
    }

    .contact-section {
        padding: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .thesis-page-header {
        flex-direction: column;
        gap: 30px;
    }
    
    .thesis-meta-info {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 30px;
    }
    
    .header h1 {
        font-size: 40px;
        letter-spacing: 2px;
    }
    
    .header h3 {
        font-size: 26px;
    }
    
    .thesis-section {
        padding: 30px;
    }
    
    .thesis-content::first-letter {
        font-size: 36px;
    }

    .contact-section {
        padding: 30px;
        margin-top: 60px;
    }

    .thesis-page-title h1 {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .thesis-page-title h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 32px;
        letter-spacing: 1px;
    }
    
    .header h2 {
        font-size: 14px;
    }
    
    .header h3 {
        font-size: 22px;
    }
    
    .about {
        padding: 25px;
    }
    
    .thesis-section {
        padding: 25px;
        margin-top: 60px;
    }

    .contact-section {
        padding: 25px;
    }
}