/* Variables & Reset */
:root {
    --primary-color: #004b87; /* Trust Blue */
    --primary-dark: #00335c;
    --secondary-color: #8dc63f; /* Clean Green */
    --secondary-dark: #7ab22e;
    --text-dark: #1f2937;
    --text-light: #4b5563;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--bg-light); }
.section-padding { padding: 5rem 0; }
.relative { position: relative; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 0 var(--secondary-dark);
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px) translateZ(10px);
    box-shadow: 0 6px 0 var(--secondary-dark), var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 0 0 var(--secondary-dark);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-social a {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    transition: var(--transition);
}

.top-social a:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-contact .phone-number {
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
}

.top-contact .phone-number i {
    color: var(--secondary-color);
}

.top-bar .btn-outline {
    border-color: var(--white);
    color: var(--white);
}
.top-bar .btn-outline:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: rotateX(10deg) rotateY(10deg);
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transform: translateZ(30px);
    transform-origin: center;
}

.navbar .logo-img {
    transform: translateZ(30px) scale(2);
}

.footer-logo .logo-img {
    transform: translateZ(30px) scale(1.92);
    transform-origin: left center;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-shadow: 2px 2px 0px var(--primary-dark), 4px 4px 0px rgba(0,0,0,0.1);
    transform: translateZ(30px);
}

.logo-text {
    display: flex;
    flex-direction: column;
    transform: translateZ(20px);
}

.logo-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 1px 1px 0px var(--white), 2px 2px 0px rgba(0,0,0,0.05);
}

.logo-subtitle {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.02);
}

.nav-links {
    display: flex;
    gap: 2rem;
    perspective: 1000px;
}

.nav-link {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    padding: 0.5rem 0.25rem;
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link:hover {
    color: var(--secondary-color);
    transform: translateZ(15px) rotateX(10deg);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    transform: scaleX(0) translateZ(-5px);
    transition: var(--transition);
}

.nav-link:hover::before {
    transform: scaleX(1) translateZ(-5px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section 3D Updates */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
    perspective: 2000px;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.8);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 51, 92, 0.7) 0%, rgba(0, 75, 135, 0.4) 50%, transparent 100%);
    z-index: 0;
}

.hero-content {
    max-width: 600px;
    color: var(--white);
    position: relative;
    z-index: 10;
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge i {
    color: var(--secondary-color);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

/* About Section */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -140px;
    right: -160px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(141, 198, 63, 0.18) 0%, rgba(141, 198, 63, 0) 60%);
    pointer-events: none;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -180px;
    left: -200px;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(0, 75, 135, 0.10) 0%, rgba(0, 75, 135, 0) 60%);
    pointer-events: none;
}

.about-left,
.about-right {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-heading {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.about-heading h2 {
    font-size: 2.5rem;
    margin: 0;
}

.about-heading h2 span {
    color: var(--secondary-color);
}

.about-heading-rule {
    flex: 1;
    height: 14px;
    border-radius: 9999px;
    background-image: repeating-linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.08) 0,
        rgba(0, 0, 0, 0.08) 2px,
        rgba(0, 0, 0, 0) 2px,
        rgba(0, 0, 0, 0) 6px
    );
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-body p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.about-lead {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.2px;
}

.about-licence {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
    padding: 0.5rem 0.9rem;
    border-radius: 9999px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-weight: 700;
}

.about-features {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem;
}

.about-feature {
    background-color: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    backdrop-filter: blur(8px);
}

.about-feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(141, 198, 63, 0.7);
}

.about-feature-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--secondary-color);
    margin-bottom: 1rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.about-feature-icon i {
    font-size: 1.5rem;
}

.about-feature h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.75rem;
}

.about-feature p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    perspective: 2000px;
}

.service-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 0;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.service-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--bg-light);
}

.service-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.service-card:hover .service-media-img {
    transform: scale(1.04);
}

.service-media-icon {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
    background-color: var(--primary-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.service-media-icon i {
    font-size: 1.35rem;
}

.service-content {
    padding: 2rem 2rem 2.25rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--secondary-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 0.9rem;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Rotation System */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tagline {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.split-content p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-list li i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.feature-list li strong {
    color: var(--primary-color);
}

.image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 8px solid var(--white);
    transform: scale(0.9);
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6rem 0;
    background-image: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.portfolio-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3.5rem;
}

.portfolio-kicker {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.portfolio-title {
    font-size: 3.25rem;
    line-height: 1.05;
    margin: 0;
    color: var(--primary-dark);
}

.portfolio-title-accent {
    color: var(--secondary-color);
    font-style: italic;
    font-weight: 800;
}

.portfolio-feature {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 0;
}

.portfolio-feature-image {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.portfolio-feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-feature-card {
    background-color: var(--white);
    border-radius: 1.25rem;
    padding: 2.75rem 2.75rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.06);
    margin-left: -140px;
    z-index: 2;
}

.portfolio-feature-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.portfolio-feature-card p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

.portfolio-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    border-radius: 0.75rem;
    background-color: var(--primary-dark);
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.portfolio-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.portfolio-thumbs {
    margin-top: 2.25rem;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.portfolio-thumb {
    border: 2px solid transparent;
    border-radius: 0.75rem;
    padding: 0;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.portfolio-thumb:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.portfolio-thumb.is-active {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.cta-section h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--white);
    color: var(--text-light);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo .logo-title {
    color: var(--white);
}

.footer-logo .logo-subtitle {
    color: #cbd5e1;
}

.brand-col p {
    margin-top: 2.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}


.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info li i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    perspective: 2000px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
    transform-style: preserve-3d;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(141, 198, 63, 0.4);
    transform: translateZ(30px);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-rating {
    color: #fbbf24; /* Gold star */
    margin-bottom: 2rem;
    display: flex;
    gap: 0.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bg-light);
    box-shadow: var(--shadow-sm);
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-light);
    display: block;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes premium-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Premium reveal nuances */
.service-card.animate-on-scroll {
    transform: translateY(30px) scale(0.985);
}

.service-card.animate-on-scroll.is-visible {
    transform: translateY(0) scale(1);
}

.service-media-icon {
    animation: premium-float 4.5s ease-in-out infinite;
}

.portfolio-feature.animate-on-scroll .portfolio-feature-image {
    transform: translateY(18px) scale(0.99);
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-feature.animate-on-scroll .portfolio-feature-card {
    transform: translateX(24px);
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-feature.is-visible .portfolio-feature-image,
.portfolio-feature.is-visible .portfolio-feature-card {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 1;
}

.about-left.animate-on-scroll .about-feature {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-left.is-visible .about-feature {
    opacity: 1;
    transform: translateY(0);
}

.about-left.is-visible .about-feature:nth-child(1) { transition-delay: 0.05s; }
.about-left.is-visible .about-feature:nth-child(2) { transition-delay: 0.12s; }
.about-left.is-visible .about-feature:nth-child(3) { transition-delay: 0.19s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .service-media-icon { animation: none; }
    .service-card:hover .service-media-img { transform: none; }
    .portfolio-thumb,
    .portfolio-cta,
    .btn,
    .nav-link,
    .service-link,
    .service-card,
    .testimonial-card {
        transition: none;
    }
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-title {
        font-size: 2.75rem;
    }

    .portfolio-feature {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-feature-card {
        margin-left: 0;
    }

    .portfolio-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1025px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .top-contact .btn {
        display: none;
    }

    .navbar {
        position: relative;
        padding: 0.75rem 0;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 0.5rem;
        margin-top: 0.75rem;
        border-radius: 1rem;
        border: 1px solid var(--border-color);
        overflow: hidden;
        box-shadow: var(--shadow-lg);
        backdrop-filter: blur(10px);
    }

    @keyframes navDrop {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .nav-links.active {
        display: flex;
        animation: navDrop 0.22s ease-out;
    }
    
    .nav-link {
        padding: 0.95rem 1.25rem;
        width: 100%;
        display: block;
        border-radius: 0.75rem;
    }

    .nav-link:hover {
        transform: none;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero {
        min-height: 75vh;
        padding: 3rem 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .trust-badges {
        justify-content: center;
        gap: 0.75rem;
    }

    .badge {
        background-color: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        padding: 0.5rem 0.75rem;
        border-radius: 9999px;
    }

    .about-heading {
        gap: 1rem;
    }

    .about-heading h2 {
        font-size: 2.1rem;
    }

    .about-heading-rule {
        display: none;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .portfolio-title {
        font-size: 2.25rem;
    }

    .portfolio-feature-card {
        padding: 2rem;
        margin-top: -22px;
    }

    .portfolio-thumbs {
        display: flex;
        overflow-x: auto;
        gap: 0.75rem;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .portfolio-thumb {
        flex: 0 0 58%;
        scroll-snap-align: start;
    }

    .portfolio-thumb img {
        aspect-ratio: 4 / 3;
    }

    .portfolio-thumbs::-webkit-scrollbar {
        height: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-media {
        aspect-ratio: 16 / 11;
    }

    .service-media-icon {
        width: 52px;
        height: 52px;
        left: 1rem;
        bottom: 1rem;
    }

    .service-content {
        padding: 1.6rem 1.5rem 1.85rem;
    }

    .testimonial-card {
        padding: 2.25rem 1.5rem;
        border-radius: 1.25rem;
    }

    .quote-icon {
        left: 1.5rem;
    }

    .cta-section {
        padding: 4.5rem 0;
    }

    .cta-section h2 {
        font-size: 2.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .footer {
        padding: 4rem 0 1.5rem;
    }

    .brand-col {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-logo .logo-img {
        transform-origin: center;
    }

    .brand-col p {
        margin-left: auto;
        margin-right: auto;
        max-width: 38ch;
    }

    .social-links {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.15rem;
    }

    .portfolio-title {
        font-size: 2rem;
    }

    .service-content {
        padding: 1.4rem 1.25rem 1.65rem;
    }
}
