
.hero-fullscreen {
    position: relative;
    width: 100%; 
    height: 75vh; 
    overflow: hidden;
}

/* --- Background and Animation --- */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transform: scale(1);
    transition: transform 50s ease-out; 
    animation: zoom-in-out 50s linear infinite alternate;
}

@keyframes zoom-in-out {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); } /* Zoom in slowly */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 2;
}

/* --- Content Styling (Left-Center Alignment) --- */
.hero-content {
    position: absolute;
    top: 50%;
    left: 10%; 
    transform: translateY(-50%); 
    max-width: 600px; 
    color: #ffffff;
    z-index: 3;
    text-align: left;
}

.hero-heading {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}




.team-section-container{
    padding: 50px 30px; 
}
.team-section-container h1{
    font-size: 2.5rem;
    text-align: center;
}

.card-container {
            display: flex;
            flex-wrap: wrap; /* Allows cards to wrap to the next line on small screens */
            gap: 30px; /* Spacing between cards */
            justify-content: center; /* Centers the row of cards */
            max-width: 1300px; /* Maximum width for the container */
            width: 100%;
            padding: 30px 0;
        }

        /* Card Styling - The 3D Context */
        .card {
            width: 300px;
            height: 400px;
            position: relative;
            /* CRITICAL: Sets the 3D context for the page-flip rotation */
            transform: perspective(2000px); 
            transform-style: preserve-3d;
            background: #fff;
            border-radius: 12px; /* Added rounded corners */
            overflow: visible; 
            transition: 0.8s ease-out;
            /* Initial box shadow to simulate a thickness or page curl effect */
            box-shadow: inset 100px 0 10px rgba(0, 0, 0, .1), 0 10px 20px rgba(0, 0, 0, 0.253);
        }

        .card:hover {
            /* Slight lift and change in shadow on hover */
            transform: perspective(2000px) translateY(-5px);
            box-shadow: inset 20px 0 50px rgba(0, 0, 0, .2), 0 30px 80px rgba(0, 0, 0, .4);
        }

        /* Top Edge (simulating book spine/thickness) */
        

        /* Image Box - The Flipping Page */
        .card .imgBox {
            width: 100%;
            height: 100%;
            position: relative;
            /* The point around which the image rotates (left edge) */
            transform-origin: left;
            /* Animation for the page flip */
            transition: 1s cubic-bezier(.15, 1.7, .84, .58);
            /* border-radius: 12px; */
            overflow: hidden;
        }

        .card:hover .imgBox {
            /* Rotation on hover to "flip the page" */
            transform: rotateY(-130deg);
        }

        .card .imgBox img {
            height: 100%;
            width: 100%;
            object-fit: cover;
            border-radius:0 17px 17px 0;
        }

        /* Back Content (Details) */
        .card .details {
            position: absolute;
            top: 0;
            left: 0;
            box-sizing: border-box;
            padding: 30px;
            /* Sent behind the imgBox (the flipping page) */
            z-index: -1; 
            width: 100%;
            height: 100%;
            color: #333;
            background-color: #fff;
            border-radius:0 17px 17px 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between; /* Pushes social media to the bottom */
        }

        .card .details h2 {
            margin-top: 0;
            color: #d46a6a; /* Matched title color */
            font-size: 1.5rem;
            margin-bottom: 15px;
        }

        /* Social Media Styling */
        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-icons a {
            display: inline-flex;
            width: 40px;
            height: 40px;
            background: #ccc;
            border-radius: 50%;
            color: #fff;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            font-size: 1.2rem;
            transition: 0.3s;
            position: relative; /* For icon positioning */
        }

        /* Facebook Icon - Simple 'f' */
        .social-icons a.facebook {
            background-color: #3b5998;
        }
        .social-icons a.facebook::before {
            content: '\f09a'; /* Font Awesome 'f' - requires font awesome link or local font */
            font-family: 'Font Awesome 5 Brands'; /* Placeholder */
            font-weight: 900;
            font-size: 1.5rem;
            line-height: 1; /* Center vertically */
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        /* Instagram Icon - Gradient Circle with inner 'camera' or simplified 'dot' */
        .social-icons a.instagram {
            background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
        }
        .social-icons a.instagram::before {
            content: '\f16d'; /* Font Awesome 'instagram' icon */
            font-family: 'Font Awesome 5 Brands'; /* Placeholder */
            font-weight: 900;
            font-size: 1.5rem;
            line-height: 1;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        /* X (Twitter) Icon - Simple 'X' */
        .social-icons a.x-icon {
            background-color: #000;
        }
        .social-icons a.x-icon::before {
            content: '\f099'; /* Font Awesome 'twitter' icon (now X) */
            font-family: 'Font Awesome 5 Brands'; /* Placeholder */
            font-weight: 900;
            font-size: 1.2rem;
            line-height: 1;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }






         :root {
            
            --overlay-color: rgba(0, 0, 0, 0.45);
        }

       

        .new-style {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 40px 20px 50px 20px;
            background-color: #f0f8f8;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

        .service-section {
            max-width: 1200px;
            width: 100%;
            text-align: center;
        }

        .section-title {
            font-size: 2.5em;
            color: #1a1a1a;
        }

        .section-para{
            font-size: 1.1rem;
            max-width: 1000px;
            margin: 30px auto;
        }

        .content-container {
            display: flex;
            gap: 30px;
            align-items: stretch;
            text-align: left;
        }

        .image-container {
            flex: 1;
            width: 350px;
            height: 570px;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s;
        }

        .image-container:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        .service-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: all 0.3s ease-in-out;
        }

        .services-grid-3x3 {
            flex: 2;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }

        .color-card {
            height: 180px;
            border-radius: 5px;
            overflow: hidden;
            position: relative;
            color: #ffffff; 
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            background-size: cover;
            background-position: center;
            transition: transform 0.2s;
            cursor: pointer; 
            display: flex; /* Added for vertical centering of text */
            align-items: center; /* Added for vertical centering of text */
            justify-content: center; /* Added for horizontal centering of text */
        }

        .color-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        .card-content {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 15px;
            background-color: var(--overlay-color);
        }

        /* Removed .color-card i styling as icons are removed */
        /* .color-card i {
            font-size: 2.8em;
            margin-bottom: 10px;
        } */

        .card-heading {
            font-size: 1.2em; /* Slightly larger for better visibility without icon */
            font-weight: 600;
            text-transform: uppercase;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
            text-align: center;
        }

        /* Styles for background images remain */
        .color-card.red { background-image: url(images/Team-random-1.jpg); }
        .color-card.copper-orange { background-image: url(images/Team-random-2.jpg); }
        .color-card.yellow-gold { background-image: url(images/Team-random-3.jpg); }
        .color-card.green { background-image: url(images/Team-random-4.jpg); }
        .color-card.blue { background-image: url(images/Team-random-5.jpg); }
        .color-card.purple-lavender { background-image: url(images/Team-random-6.jpg); }
        .color-card.pink-rose { background-image: url(images/Team-random-7.jpg); }
        .color-card.silver-grey { background-image: url(images/Team-random-8.jpg); }
        .color-card.multicolor { background-image: url(images/Team-random-9.jpg); }

        /* Styles for individual icon colors are no longer needed as icons are removed */
        /* .icon-red { color: var(--color-red); }
        .icon-orange { color: var(--color-orange); }
        .icon-yellow { color: var(--color-yellow); }
        .icon-green { color: var(--color-green); }
        .icon-blue { color: var(--color-blue); }
        .icon-purple { color: var(--color-purple); }
        .icon-pink { color: var(--color-pink); }
        .icon-grey { color: var(--color-grey); }
        .icon-multicolor { color: #FFD700; } */

        /* Lightbox specific styles for name display */
        .lightbox-content-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            max-width: 90%;
            max-height: 90%;
        }

        .lightbox-name {
            color: white;
            font-size: 1.5em;
            margin-top: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
            text-transform: capitalize;
        }

        /* --- MEDIA QUERIES --- */
        @media (max-width: 992px) {
            .content-container {
                flex-direction: column;
                gap: 20px;
            }

            .image-container {
                width: 100%;
                max-width: unset;
                min-height: 300px;
            }

            .services-grid-3x3 {
                grid-template-columns: repeat(2, 1fr);
            }

            .card {
            width: 100%;
        }
            
        }

        @media (max-width: 576px) {
            .services-grid-3x3 {
                grid-template-columns: 1fr;
            }
        }