* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.02);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}


html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #e6f0d9;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    width: 1920px;
    height: 1080px;
    background: #e6f0d9;
    position: relative;
    overflow: visible;
    flex-shrink: 0;
    transform: scale(0.9);
    transform-origin: top center;
}

/* Background curved line - circular */
.container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1400px;
    height: 800px;
    border: 10px solid #64b5f6;
    border-radius: 50%;
    opacity: 0.5;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 38px;
    font-style: italic;
    color: #1976d2;
    font-weight: bold;
    z-index: 10;
    transition: all 0.3s ease;
    text-align: center;
    width: 90%;
}

h1:hover {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.circle-container {
    position: relative;
    width: 1400px;
    height: 800px;
    margin: 0 auto;
}

.image-item {
    position: absolute;
    width: 240px;
    text-align: center;
    transition: all 0.3s ease;
}

.image-item:hover {
    z-index: 10;
}

.image-link {
    display: block;
    width: 240px;
    height: auto;
    margin: 0 auto;
    margin-bottom: 0;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    line-height: 0;
}

.image-link img {
    width: 240px;
    height: auto;
    object-fit: contain;
    border: none;
    background: transparent;
    display: block;
    margin: 0;
    padding-bottom: 5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

/* Hover effect on image-item - affects both image and text */
.image-item:hover .image-link img,
.image-link:hover img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: #1976d2;
}

.image-item:hover .caption a,
.image-item:hover .caption-small a,
.image-link:hover ~ .caption a,
.caption:hover a,
.caption a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

.image-item .caption {
    background: transparent;
    padding: 0px 6px;
    border: none;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0px;
    margin-bottom: 0px;
    line-height: 1.2;
    font-size: 16px;
    font-weight: bold;
    font-style: italic;
    color: #333;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-item .caption span {
    display: inline;
    color: #333;
}

.linked-text {
    color: blue;
    text-decoration: underline;
    display: inline;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-item-link {
    color: inherit;
    text-decoration: none;
}

.image-item .caption a {
    color: blue;
    text-decoration: underline;
    display: inline;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.image-item .caption a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #1976d2;
    transition: width 0.3s ease;
}

.image-item .caption a:hover {
    color: #0d47a1;
    transform: translateY(-2px);
}

.image-item .caption a:hover::after {
    width: 100%;
}

.non-linked-text {
    color: #333;
}

.caption-small {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    font-style: italic;
    text-align: center;
    padding: 0px 6px;
    margin-top: 0px;
    line-height: 1.2;
    background: transparent;
}

.caption-small span {
    display: inline;
    color: #333;
}

.caption-small a {
    color: #1976d2;
    text-decoration: underline;
    display: inline;
    cursor: pointer;
}

.image-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Top Images - Picture6, Picture5 */
.top-1 {top: -5%;left: 30%;}
.top-2 {top: -5%;left: 51%;}

/* Left Side - Picture7 (top-left), Picture8 (neeche), Picture9 (bottom-left) */
.left-1 {top: 8%;left: 0%;}
.left-2 {top: 40%;left: -9%;}
.left-3 {top: 69%;left: 0%;}

/* Right Side - Picture4, Picture3, Picture2 */
.right-1 {top: 8%;left: 80%;}
.right-2 {top: 39%;left: 90%;}
.right-3 {top: 70%;left: 84%;}

/* Bottom - Picture10, Picture11, Picture12 */
.bottom-1 {top: 85%;left: 22%;}
.bottom-2 {top: 90%;left: 52%;transform: translateX(-50%);}
.bottom-3 {top: 85%;left: 63%;}

/* Center box */
.center-box {
    position: absolute;
    top: 35%;
    left: 20%;
    width: 200px;
    height: 120px;
    background: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.center-box a {
    text-decoration: underline;
    font-size: 18px;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.center-box a:hover {
    color: #0077cc;
    transform: translateX(5px);
    /* transform: scale(1.05); */
}

.center-box-text {
    display: block;
    color: #555;
    font-size: 16px;
    margin-bottom: 5px;
}

/* Center Images Section - Picture13, Picture14 (upar), Picture17, Picture15, Picture16 */
.center-images-section {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 4;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.center-images-section:hover {
    border-color: #1976d2;
    background: rgba(255, 255, 255, 0.15);
}

.center-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.center-image-item {
    background: transparent;
    border: none;
    padding: 0;
    text-align: center;
}

.center-image-item.single {
    width: 100%;
}

.center-image-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border: none;
    background: transparent;
    max-height: 120px;
    transition: all 0.4s ease;
}

.center-image-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.center-image-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.center-link {
    text-align: center;
    padding: 8px;
    background: transparent;
    border: none;
}

.center-link a {
    color: #333!important;
    text-decoration: underline;
    font-size: 17px;
    font-weight: bold;
    font-style: italic;
    cursor: pointer;
}

.center-link a:hover {
    color: #0077cc!important;

    opacity: 0.8;
}

/* Email at bottom */
.bottom-email {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.bottom-email a {
    color: blue;
    text-decoration: underline;
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
    cursor: pointer;
}

.caption-text {
    color: #333;
    font-size: 10px;
    padding: 3px;
    background: transparent;
}

.email {
    color: blue;
    text-decoration: underline;
    font-size: 15px;
    font-weight: bold;
    font-style: italic;
    display: block;
    padding: 3px;
    background: transparent;
    cursor: pointer;
}

/* Responsive Design - Exact Same Desktop Layout on All Screens */
@media screen and (max-width: 1920px) and (min-width: 1025px) {
    html, body {
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    body {
        align-items: flex-start;
        justify-content: center;
        padding: 0;
        margin: 0;
        min-height: 100vh;
    }
    
    .container {
        display: block;
        margin: 0 auto;
    }
}

/* Large Desktop - No scaling needed */
@media screen and (min-width: 1921px) {
    html, body {
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    body {
        min-height: 100vh;
    }
    
    .container {
        margin: 0 auto;
    }
}

/* Tablet - Scale to fit width */
@media screen and (max-width: 1024px) {
    html, body {
        height: auto;
        overflow-y: auto;
    }
    
    .container {
        transform: scale(0.477);
        transform-origin: top center;
        margin-bottom: calc(-1080px * (1 - 0.477));
    }
}

/* Mobile - Scale to fit width */
@media screen and (max-width: 768px) {
    html, body {
        height: auto;
        overflow-y: auto;
    }
    
    .container {
        transform: scale(0.36);
        transform-origin: top center;
        margin-bottom: calc(-1080px * (1 - 0.36));
    }
}

/* Small Mobile - Scale to fit width */
@media screen and (max-width: 480px) {
    html, body {
        height: auto;
        overflow-y: auto;
    }
    
    .container {
        transform: scale(0.225);
        transform-origin: top center;
        margin-bottom: calc(-1080px * (1 - 0.225));
    }
}
.image-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    padding: 6px;
}

.image-link img {
    width: 100%;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-link .caption {
    text-align: center;
    margin-top: 6px;
    font-weight: 500;
    transition: color 0.3s ease;
}


.image-link:hover img {
    transform: scale(1.05);
}

.image-link:hover .caption {
    color: #0077cc;
}
