:root {
    --bg-light: #ffffff;
    --bg-lighter: #f8f9fa;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --accent-blue: #007bff;
    --accent-blue-hover: #0056b3;
    --accent-glow: rgba(0, 123, 255, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    padding: 0 5%;
    display: flex;
    justify-content: center;
    background: transparent;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.08));
    z-index: 1000;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: -2;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 10;
}

/* Thick curved background for logo */
.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100vw;
    width: calc(100vw + 260px);
    height: 125px;
    background: #ffffff;
    border-bottom-right-radius: 35px;
    z-index: -1;
}

/* The smooth concave swoosh connecting thick and thin parts */
.logo::after {
    content: '';
    position: absolute;
    top: 70px;
    left: 260px;
    width: 45px;
    height: 45px;
    background: radial-gradient(circle at 100% 100%, transparent 45px, #ffffff 46px);
    z-index: -1;
}

.logo img {
    height: 250px;
    margin-top: -35px;
    margin-bottom: -70px;
    margin-left: -55px;
    max-width: none;
    object-fit: contain;
    transform: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-blue);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    gap: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background: var(--bg-lighter);
    color: var(--accent-blue);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-bg-collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    height: 100%;
}

.hero-bg-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 0;
    min-width: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Slightly stronger white to ensure text readability against 8 noisy images */
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #111827;
}

.highlight {
    color: var(--accent-blue);
}

.hero p {
    font-size: 1.2rem;
    color: #374151;
    margin-bottom: 2rem;
    font-weight: 500;
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--accent-blue);
    margin-left: 5px;
    animation: blink 1s infinite;
}

.cursor.typing {
    animation: none;
}

@keyframes blink {
    0%  { background-color: var(--accent-blue); }
    49% { background-color: var(--accent-blue); }
    50% { background-color: transparent; }
    99% { background-color: transparent; }
    100% { background-color: var(--accent-blue); }
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn.primary {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn.primary:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn.wp-btn-hero {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn.wp-btn-hero:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* General Sections */
.section {
    padding: 100px 5%;
    scroll-margin-top: 110px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    color: #111827;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 2px;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* About */
.about {
    background: var(--bg-lighter);
}

.about-text.glass {
    padding: 4rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text.glass p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.8;
}

.about-text.glass p:last-child {
    margin-bottom: 0;
}

/* Services */
.service-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-row-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    height: 400px;
}

.service-row-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-row:hover .service-row-img img {
    transform: scale(1.05);
}

.service-row-content {
    flex: 1;
    padding: 3rem;
}

.service-row-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #111827;
}

.service-row-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn.outline {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
    box-shadow: none;
    padding: 0.8rem 2rem;
}

.btn.outline:hover {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 8px 25px var(--accent-glow);
}

/* References */
.references {
    background: var(--bg-lighter);
}

.marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-content img {
    height: 100px;
    width: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.marquee-content img:hover {
    transform: scale(1.1);
}

.marquee-content img[src*="Turquoise-logo"] {
    transform: scale(1.8);
}

.marquee-content img[src*="Turquoise-logo"]:hover {
    transform: scale(2);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 2rem)); }
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.contact-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #111827;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.icon-wrapper {
    width: 55px;
    height: 55px;
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.2rem;
    color: var(--accent-blue);
    margin-bottom: 0.3rem;
}

.info-text p, .info-text a {
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.info-text a:hover {
    color: var(--accent-blue);
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
    padding: 10px;
}

.contact-map iframe {
    border-radius: 15px;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: var(--bg-lighter);
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        height: 75px;
        background: #ffffff !important;
        box-shadow: none !important;
        border-bottom: none !important;
    }

    .navbar::before {
        display: none;
    }
    
    .logo::before {
        display: block;
        height: 110px;
        width: calc(100vw + 130px);
        left: -100vw;
        border-bottom-right-radius: 25px;
        background: #ffffff;
        z-index: -1;
    }

    .logo::after {
        display: block;
        top: 75px;
        left: 130px;
        width: 35px;
        height: 35px;
        background: radial-gradient(circle at 100% 100%, transparent 35px, #ffffff 36px);
        z-index: -1;
    }
    
    .logo img {
        height: 205px;
        margin-top: -25px;
        margin-bottom: -45px;
        margin-left: -30px;
    }

    .hero-bg-collage {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .hero h1 {
        font-size: 2rem;
        padding-top: 60px;
    }

    .section {
        padding: 30px 5%;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .about {
        padding-top: 40px;
        margin-top: -30px;
        position: relative;
        z-index: 5;
    }

    .about-text.glass {
        padding: 2.5rem 1.2rem;
    }

    .about-text.glass p {
        text-align: center !important;
        font-size: 1.05rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: -400px;
        left: 0;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        transition: all 0.4s ease;
        opacity: 0;
        visibility: hidden;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 15px 20px -10px rgba(0,0,0,0.1); /* Removed top shadow spread */
        z-index: 990;
    }

    nav ul.active {
        top: 75px;
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        padding-top: 0.5rem;
        flex-direction: column;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
    }

    .service-row, .service-row.reverse {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .service-row:last-child, .service-row.reverse:last-child {
        margin-bottom: 0 !important;
    }
    
    .service-row-img {
        width: 100%;
        height: 300px;
    }
    
    .service-row-content {
        padding: 1.5rem 1.2rem;
    }

    .service-row-content h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .service-row-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    .services .service-row-content p:nth-of-type(1) {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .services .service-row-content p:nth-of-type(2) {
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .contact-info > p {
        margin-bottom: 2rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .service-header {
        padding: 80px 5% 30px;
    }

    .service-header h1 {
        font-size: 2rem;
    }

    .service-detail-content {
        padding: 30px 5%;
    }
}

/* Service Detail Pages */
.service-header {
    background-color: var(--bg-lighter);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 5% 60px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.service-header > * {
    position: relative;
    z-index: 2;
}

.service-header h1 {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.service-header p {
    font-size: 1.2rem;
    color: #374151;
    font-weight: 500;
}

.service-detail-content {
    padding: 60px 5%;
}

.service-detail-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.gallery-section {
    padding: 0 5%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Fix Link Cards */
a.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

@media (max-width: 768px) {
    .service-header {
        padding: 140px 5% 30px !important;
    }

    .service-header h1 {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }

    .service-detail-content {
        padding: 30px 5% !important;
    }
}

@media (min-width: 769px) {
    .mobile-only-btn {
        display: none !important;
    }
}
