/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


::selection {
    background-color: #39FF14;
    color: #FF6600;
}

::-moz-selection {
    background-color: #39FF14;
    color: #FF6600;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    position: absolute;
    top: 30px;
    left: 30px;
}

.header-content h1 a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    margin: 0;
    text-decoration: none;
    display: block;
}

.header-content h1 a:hover {
    color: #000000;
}

.header-right {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    gap: 30px;
}

.header-right span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
}

.header-right span a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    text-decoration: none;
}

.header-right span a:hover {
    color: #000000;
}

.intro-text {
    margin-top: 200px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

/* Project header */
.project-header {
    margin-top: 100px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.project-header p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    margin: 0;
}

.link-icon {
    margin-left: 1px;
    vertical-align: middle;
    width: 13px;
    height: 13px;
    transform: translateY(-1px);
}

/* Project description */
.project-description {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.project-description p {
    font-family: 'EB Garamond', serif;
    font-size: 30px;
    font-weight: 400;
    color: #000000;
    margin: 0;
    line-height: 1.4;
}

/* Project description solution */
.project-description-solution {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.project-description-solution p {
    font-family: 'EB Garamond', serif;
    font-size: 30px;
    font-weight: 400;
    color: #000000;
    margin: 0;
    line-height: 1.4;
}

.project-description-solution {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.project-description-solution p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.project-description-solution p:first-child {
    margin-bottom: 0;
}

.project-description-solution p[style*="text-indent"] {
    margin-bottom: 0;
}

.intro-text p {
    font-family: 'EB Garamond', serif;
    font-size: 70px;
    line-height: 75px;
    color: #000000;
    margin: 0;
    font-weight: 400;
}

.semi-bold {
    font-weight: 600;
}

.italic {
    font-style: italic;
    font-weight: 400;
}

.hero-image {
    margin-top: 200px;
    text-align: center;
    position: relative;
}

.project-button {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    height: 28px;
    background: white;
    border: 0.5px solid #EBEBEB;
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #000000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease-out, opacity 0.2s ease-out;
    opacity: 0;
    pointer-events: none;
}

.button-text {
    margin-right: 10px;
}

.button-arrow {
    width: 8px;
    text-align: center;
    font-size: 11px;
}

.hero-image:first-of-type {
    margin-top: 0px;
}

.hero-image:not(:first-of-type) {
    margin-top: 150px;
}

.hero-image img {
    max-width: 900px;
    width: 100%;
    height: auto;
}

/* Homepage specific - add pointer cursor only on homepage */
body:not(.mogulrecruiter-page) .hero-image img {
    cursor: pointer;
}

.project-info {
    margin-top: 5px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0;
}

@media (max-width: 960px) {
    .project-info {
        max-width: calc(100vw - 60px);
        margin-left: 30px;
        margin-right: 30px;
    }
}

.project-left,
.project-center,
.project-right {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    position: absolute;
}

.project-left {
    left: 0;
}

.project-center {
    left: 50%;
    transform: translateX(-50%);
}

.project-right {
    right: 0;
    text-decoration: underline;
}

.project-right a {
    color: #000000 !important;
    text-decoration: underline;
}

.about-section {
    margin-top: 200px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* Mogul recruiter page specific - move first about section up by 100px */
.mogulrecruiter-page .about-section:first-of-type {
    margin-top: 0px !important;
}

/* Alternative selector for the specific section */
.mogulrecruiter-page .project-description + .about-section {
    margin-top: 0px !important;
}

/* Aina page specific - consistent spacing between image sections */
.aina-page .hero-image:not(:first-of-type) {
    margin-top: 200px;
}

.aina-page .project-info {
    margin-bottom: 50px;
}

/* Aina page specific - more spacing before responsibilities/results section */
.aina-page .about-section {
    margin-top: 300px;
}

@media (max-width: 960px) {
    .intro-text {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 0 30px;
    }
    
    .project-header {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 0 30px;
    }
    
    .project-description {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 0 30px;
    }
    
    .project-description-solution {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 0 30px;
    }
    
    .hero-image {
        padding: 0 30px;
    }
    
    .about-section {
        padding: 0 30px;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        gap: 50px;
    }
    
    .about-left {
        flex: 1;
        min-width: 0;
    }
    
    .about-right {
        flex: 1;
        min-width: 0;
    }
}

.water-container {
    position: relative;
    overflow: hidden;
}

.water-container img {
    width: 100%;
    height: auto;
    display: block;
}

.drawing-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    border-radius: 8px;
    overflow: hidden;
    cursor: url('images/paintbrush.svg') 0 24, auto;
}

#jason-image {
    cursor: url('images/paintbrush.svg') 0 24, auto;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.drawing-path {
    fill: none;
    stroke: #39FF14;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.8;
}

.redo-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.redo-icon.visible {
    display: flex;
}

.redo-icon svg {
    width: 16px;
    height: 16px;
    color: #333;
}

.about-left img {
    width: 100%;
    height: auto;
}

.about-left {
    width: 425px;
    flex-shrink: 0;
}

.about-left h2 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 0 0;
}

.about-left p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.about-left p:last-child {
    margin-bottom: 0;
}

.about-right {
    width: 425px;
    flex-shrink: 0;
}

.about-right h2 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 0 0;
}

.about-right p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.about-right p:last-child {
    margin-bottom: 0;
}

.about-right {
    width: 425px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.about-right img {
    width: 100%;
    height: auto;
    max-width: 100%;
    transition: transform 0.3s ease-in-out;
    position: relative;
}

.image-pagination {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #000000;
    text-align: left;
    margin-top: 2px;
}

.strikethrough {
    text-decoration: line-through;
}

/* Main content */
main {
    margin-top: 0;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: #ffd700;
    color: #333;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* About section */
.about {
    padding: 80px 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.about p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

/* Services section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.contact-form button {
    background: #667eea;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #5a6fd8;
}

/* Footer */
footer {
    margin-top: 200px;
    margin-bottom: 20px;
    margin-left: 30px;
    margin-right: 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-column {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #000000;
    line-height: 1.3;
}

.footer-column div {
    margin-bottom: 0px;
}

.footer-column div:last-child {
    margin-bottom: 0;
}

.footer-column a {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #000000;
    text-decoration: none;
}

.footer-column a:hover {
    color: #000000;
}

.underline a {
    text-decoration: underline;
}

.footer-right {
    text-align: right;
}

.underline {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 960px) {
    .intro-text {
        padding: 0 30px;
    }
    
    .hero-image {
        padding: 0 30px;
    }
    
    .about-section {
        padding: 0 30px !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 768px) {
    .intro-text p {
        font-size: 50px;
        line-height: 60px;
    }
    
    .hero-image,
    .hero-image:first-of-type,
    .hero-image:not(:first-of-type) {
        margin-top: 100px !important;
    }
    
    .about-section {
        flex-direction: column;
        gap: 30px;
        margin-top: 100px;
    }
    
    /* Aina page specific - reduce spacing on mobile for responsibilities section */
    .aina-page .about-section {
        margin-top: 50px !important;
    }
    
    footer {
        margin-top: 100px;
    }
    
    .about-left,
    .about-right {
        width: 100% !important;
        min-width: auto;
    }
    
    .project-info {
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }
    
    .project-left,
    .project-center,
    .project-right {
        position: static !important;
        text-align: left;
    }
    
    .project-center {
        left: auto !important;
        transform: none !important;
    }
    
    .hero-image img {
        max-width: 100%;
    }
}

    @media (max-width: 600px) {
        .project-button {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        
        footer {
            margin-bottom: 5px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            align-items: start;
        }
        
        .footer-column:nth-child(1) {
            order: 3;
            margin-bottom: 20px;
        }
        
        .footer-column:nth-child(2) {
            order: 2;
            text-align: right;
        }
        
        .footer-column:nth-child(3) {
            order: 1;
            margin-bottom: 20px;
        }
        
        .footer-column:nth-child(4) {
            order: 4;
        }
    }
