:root {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --text-color: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.5);
    --bg-dark: #e0f7fa; /* Ocean blue light base */
    --bg-darker: #b2ebf2; /* Ocean blue light secondary */
    --text-dark: #006064; /* Dark teal for text on light bg */
}

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

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #e0f7fa 0%, #80deea 100%);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(224, 247, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 131, 143, 0.2);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px; /* Adjust based on navbar height */
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: #006064;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #006064;
    transition: 0.3s;
}

/* Sections */
section {
    padding: 5rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #006064; /* Updated color */
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.7), 0 0 20px rgba(0, 210, 255, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.5); /* Glow + Dark Shadow */
}

.section-title i {
    margin-right: 10px;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.7), 0 0 20px rgba(0, 210, 255, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.5); /* Icon Glow */
}

/* .section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto 0;
} */

/* Slider / Hero Section */
#home {
    height: 100vh;
    padding: 0;
}

/* Slider Container */
.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

/* Removed manual gradient block to let sections fade naturally */
/* .slider-container::after { ... } */

/* .slider-container::before { ... } */

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
    animation: kenBurns 20s infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

/* Glitch Effect */
.glitch-wrapper {
    margin-bottom: 2rem;
    text-align: center;
}

.glitch {
    font-size: 4rem; /* Adjusted for better fit */
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    color: #fff;
    /* Clearer text base state */
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    animation: clearGlitch 3s infinite;
}

.glitch span {
    position: absolute;
    top: 0;
    left: 0;
}

/* Clearer, more professional glitch animation with subtle blur */
@keyframes clearGlitch {
    0%, 90% {
        text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
        transform: translate(0);
        filter: blur(0);
    }
    91% {
        text-shadow: 2px 0 red, -2px 0 blue;
        transform: translate(1px, 0);
        filter: blur(0.5px); /* Subtle blur during glitch */
    }
    92% {
        text-shadow: -2px 0 red, 2px 0 blue;
        transform: translate(-1px, 0);
        filter: blur(0.5px);
    }
    93% {
        text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
        transform: translate(0);
        filter: blur(0);
    }
    98% {
        text-shadow: 1px 0 red, -1px 0 blue;
        filter: blur(0.8px); /* Slightly stronger blur */
    }
    99% {
        text-shadow: -1px 0 red, 1px 0 blue;
        filter: blur(0.8px);
    }
    100% {
        text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
        filter: blur(0);
    }
}

/* Typewriter Effect */
.typewriter-text {
    color: #e0f7fa;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: 20px;
    min-height: 1.6em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.cursor {
    display: inline-block;
    width: 2px;
    background-color: var(--primary-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* About Section */
#about {
    background-color: var(--bg-dark);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    color: var(--text-dark);
}

.about-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.about-intro h3 {
    color: #00838f;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 131, 143, 0.2);
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.highlight-box p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Founder Section */
.founder-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.4);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.founder-image {
    flex: 0 0 300px;
}

.founder-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.founder-text h3 {
    color: #00838f;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #006064;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
}

blockquote {
    font-style: italic;
    color: #00838f;
    border-left: 4px solid #00bcd4;
    padding-left: 1rem;
    margin-top: 1rem;
    font-weight: 600;
}

/* Team Section */
.team-title {
    text-align: center;
    color: #00838f;
    font-size: 2rem;
    margin-bottom: 3rem;
}

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

.team-card {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.team-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 20px rgba(0, 131, 143, 0.1);
}

.team-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h4 {
    color: #00838f;
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.role {
    display: block;
    color: #006064;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.team-info p {
    font-size: 0.95rem;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .founder-section {
        flex-direction: column;
        text-align: center;
    }
    
    .founder-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
    }
    
    blockquote {
        border-left: none;
        border-top: 4px solid #00bcd4;
        padding-top: 1rem;
        padding-left: 0;
    }
}

/* Services Section */
#services {
    background: linear-gradient(to bottom, rgba(178, 235, 242, 0) 0%, #b2ebf2 300px); /* Longer fade distance */
    position: relative;
    overflow: hidden;
    margin-top: -300px; /* Increased overlap */
    padding-top: 350px; /* Increased padding */
    z-index: 2; /* Sit on top of slider */
}

.bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: floatUp linear forwards;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.sparkle {
    position: absolute;
    background: white;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle linear infinite;
    opacity: 0;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes twinkle {
    0% { transform: scale(0) rotate(0deg); opacity: 0; }
    50% { transform: scale(1) rotate(180deg); opacity: 0.8; }
    100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

.services-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.services-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
    width: 100%;
    text-align: center;
}

.services-text {
    width: 100%;
    max-width: 800px;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.services-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px;
}

.services-image img {
    width: 100%;
    max-width: 700px; /* Increased width to make it bigger */
    height: 350px;    /* Fixed medium height */
    object-fit: cover; /* Ensures image fills box without distortion */
    border-radius: 10px;
    /* Shadow black pink edges */
    box-shadow: 
        -5px -5px 15px rgba(255, 20, 147, 0.6), /* Pink shadow top-left */
        5px 5px 15px rgba(0, 0, 0, 0.8),      /* Black shadow bottom-right */
        0 0 20px rgba(255, 105, 180, 0.4);    /* Soft pink glow */
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: glow 3s infinite alternate;
    transition: opacity 0.5s ease-in-out; /* For slideshow fade */
}

.image-caption {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
    font-weight: bold;
    animation: textGlow 3s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 40px rgba(0, 210, 255, 0.8), 0 0 60px rgba(0, 210, 255, 0.2);
        transform: scale(1.02);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
        opacity: 0.8;
    }
    100% {
        text-shadow: 0 0 20px rgba(0, 210, 255, 1), 0 0 30px rgba(0, 210, 255, 0.6);
        opacity: 1;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 3rem;
}

/* Service Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* Reduced top margin */
    padding: 2rem;
    border: 1px solid #888;
    width: 90%; 
    max-width: 800px;
    max-height: 85vh; /* Limit height */
    overflow-y: auto; /* Enable scrolling */
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    position: relative;
    animation: modalFadeIn 0.3s;
    color: #333;
}

/* Responsive Modal Adjustments */
@media (max-width: 600px) {
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
    .modal-header h2 {
        font-size: 1.5rem;
    }
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #00838f;
    text-decoration: none;
    cursor: pointer;
}

.modal-header h2 {
    color: #00838f;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.modal-body h3 {
    color: #006064;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #555;
}

.modal-body ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.modal-body ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #444;
}

.modal-body ul li:last-child {
    border-bottom: none;
}

.modal-body ul li::before {
    content: "•";
    color: #00838f;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}

.addon-price {
    font-weight: bold;
    color: #00838f;
    float: right;
}

.service-card {
    background: rgba(255, 255, 255, 0.4);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--primary-color);
    box-shadow: 0 8px 15px rgba(0, 210, 255, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00838f; /* Darker teal for icons */
}

.service-card h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.services-cta {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    width: 100%;
}

.services-cta a {
    color: #00838f;
    text-decoration: none;
    font-weight: bold;
}

.services-cta a:hover {
    text-decoration: underline;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000; /* Ensure it's above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 2px 2px 10px #666;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Responsive adjustments for Services */
@media (max-width: 768px) {
    .services-intro {
        flex-direction: column-reverse; /* Text on top, image on bottom usually, but maybe image on top? Let's keep text top for intro */
        flex-direction: column;
    }
    
    .services-image img {
        width: 100%;
        max-width: 400px;
    }
}

/* Contact Section */
#contact {
    background-image: url('images/slider/a-professional-studio-portrait-of-a-woma_RmzuszJ1TRqjrvzGxNlB-Q_cMldNPQjQ1i6is-WtufWmQ.png'); /* Fallback or static bg */
    background-size: cover;
    background-position: center;
    position: relative;
    background-attachment: fixed;
    padding-top: 10rem; /* Add extra padding to account for the curve */
}

.curve-divider {
    position: absolute;
    top: -1px; /* Overlap slightly to avoid gaps */
    left: 0;
    width: 100%;
    height: 150px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path fill="%23b2ebf2" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(224, 247, 250, 0.8), rgba(0, 96, 100, 0.6));
    z-index: 0;
}

.contact-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Order Form (Refined) */
.order-form-container {
    background: rgba(255, 255, 255, 0.7);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 100, 120, 0.2);
}

.order-form h2 {
    margin-bottom: 2rem;
    text-align: center;
    color: #00838f;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid rgba(0, 131, 143, 0.2);
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    font-size: 1rem;
    font-family: inherit; /* Ensure inputs use the site's font */
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 210, 255, 0.4);
}

/* Footer */
footer {
    background: #006064;
    padding: 2rem;
    text-align: center;
    color: #e0f7fa;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.social-links {
    margin-bottom: 1.5rem;
}

.social-links a {
    color: #e0f7fa;
    font-size: 1.8rem;
    margin: 0 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

footer p {
    font-size: 0.9rem;
}

.message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.message.success {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid #2ecc71;
    color: #2ecc71;
    display: block;
}

.message.error {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    color: #e74c3c;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(224, 247, 250, 0.98);
        flex-direction: column;
        padding: 2rem 0;
        text-align: center;
        align-items: center; /* Center items horizontally in flex column */
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1.5rem 0;
        margin-left: 0; /* Reset global margin to ensure perfect centering */
    }

    .hamburger {
        display: flex;
    }

    .glitch {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 4rem 1rem;
    }
}

/* Trusted By Section (Integrated) */
.trusted-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Ensure it stays above bubbles */
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.logo-item {
    flex: 0 1 180px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    padding: 15px;
    background: rgba(255, 255, 255, 0.25); /* More transparent to blend with services bg */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    backdrop-filter: blur(5px);
}

.logo-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2); /* Adjust brightness for better visibility on blue */
    opacity: 0.8;
    transition: all 0.4s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.3);
    border-color: #fff;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logos-grid {
        gap: 1.5rem;
    }
    .logo-item {
        flex: 0 1 130px;
        height: 80px;
        padding: 10px;
    }
}
