﻿.toc-section {
    background: #ffffff;
}

.toc-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

.toc-left {
    flex: 1;
    min-width: 320px;
}

.toc-right {
    flex: 1;
    min-width: 340px;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

    .toc-right img {
        width: 100%;
        height: auto;
        object-fit: cover;
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    }

.orange-circle {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: #ff8c00;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.92;
}



.toc-item {
    display: flex;
    align-items: flex-start;
}

.toc-number {
    min-width: 45px;
    height: 45px;
    background: linear-gradient(to right, #4dabf7, #0d6efd);
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.18);
}

.toc-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.6rem 0;
    color: #222;
}

.toc-content p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.underline {
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #0d6efd 0%, #e9ecef 100%);
    margin: 1rem 0;
}

@media (max-width: 991px) {
    .toc-container {
        flex-direction: column;
        gap: 50px;
    }

    .toc-right {
        max-width: 480px;
    }

    .orange-circle {
        width: 160px;
        height: 160px;
        bottom: -30px;
        right: -30px;
    }
}

@media (max-width: 576px) {
 
    .toc-number {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        min-width: 60px;
    }

    .toc-content h3 {
        font-size: 1.35rem;
    }
}

.gallery-collage {
    position: relative;
    width: 100%;
    height: 520px; /* Adjust height as needed */
    max-width: 520px;
    margin: 0 auto;
    padding: 20px;
}

.gallery-item {
    position: absolute;
    border: 8px solid #fff;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 20px 45px rgba(0,0,0,0.29);

}

    .gallery-item:hover {
        transform: scale(1.05);
        z-index: 10;
        box-shadow: 0 20px 45px rgba(0,0,0,0.25);
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Positioning of the 4 photos - similar to your example layout */
.item-1 {
    top: 0;
    left: 0;
    width: 40%;
    height: 36%;
    z-index: 2;
}
.item-2 {
    top: -7%;
    right: 12%;
    width: 45%;
    height: 45%;
    z-index: 3;
}
.item-3 {
    bottom: 8%;
    left: -1%;
    width: 48%;
    height: 52%;
    z-index: 1;
}

.item-4 {
    bottom: 9%;
    right: -11%;
    width: 59%;
    height: 50%;
    z-index: 4;
}
/* Replace orange circle with a softer accent (or keep orange) */
.accent-circle {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #ff8c00, #ffb347);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.85;
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.35);
}
/* Responsive adjustments */
@media (max-width: 991px) {
    .gallery-collage {
        height: 480px;
        max-width: 480px;
    }

    .accent-circle {
        width: 180px;
        height: 180px;
        bottom: -40px;
        right: -40px;
    }
}
@media (max-width: 576px) {
    .gallery-collage {
        height: 420px;
    }

    .gallery-item {
        border-width: 6px;
    }

    .item-1 {
        width: 70%;
        height: 65%;
    }

    .item-2 {
        width: 55%;
        height: 50%;
        top: 5%;
    }

    .item-3 {
        width: 52%;
        height: 48%;
        bottom: 0;
    }

    .item-4 {
        width: 58%;
        height: 55%;
        bottom: 5%;
    }
}
.gallery-item {
    position: absolute;
    border: 8px solid transparent; /* important: transparent base */
    background: linear-gradient(#fff, #fff) padding-box, /* inner white background */
    linear-gradient(135deg, #a5d8ff, #4dabf7, #a5d8ff) border-box; /* gradient border */
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .gallery-item:hover {
        transform: scale(1.05);
        z-index: 10;
        box-shadow: 0 20px 45px rgba(0,0,0,0.25);
        /* optional: stronger gradient on hover */
        background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #4dabf7, #1c7ed6, #4dabf7) border-box;
    }
   

.webdev-offerings-left-panel {
    flex: 1 1 45%;                  /* Takes ~45% width */
    min-width: 400px;
}


.webdev-offerings-service-item {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 1.6rem;
}


.webdev-offerings-service-desc {
    font-size: 1rem;              /* Increased paragraph font size */
    font-weight: 400;
    line-height: 1.55;
    color: #222;
    margin: 0;
    padding-top: 0.8rem;            /* Better vertical alignment with number */
}


/* On smaller screens — stack vertically */
@media (max-width: 992px) {
    .webdev-offerings-container {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 50px;
        padding: 60px 15px;
    }

    .webdev-offerings-left-panel,
    .webdev-offerings-right-panel {
        flex: 1 1 100%;
    }

    .webdev-offerings-service-number {
        min-width: 80px;
        height: 80px;
        font-size: 2.4rem;
    }

    .webdev-offerings-service-desc {
        font-size: 1.35rem;
    }
}

@media (min-width: 1700px) {
    .webdev-offerings-service-number {
        font-size: 3rem;
        -webkit-text-stroke: 5px #133198;
    }
}
.webdev-offerings-left-panel {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    align-content: center;
    padding-top:30px !important;
}
