/* --- Global Styles & Variables --- */
:root {
    --bg-black: #121212;
    --bg-dark-grey: #1a1a1a;
    --primary-purple: #4a0e69;
    --accent-orange: #ff6f00;
    --text-light: #e0e0e0;
    --text-grey: #a0a0a0;
    --text-headings: #ffffff;
    --font-main: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-black);
    color: var(--text-light);
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--text-headings);
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff9a4d;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--accent-orange);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 900;
}

.section-title.left-align {
    text-align: left;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2a2a2a;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-placeholder {
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--text-headings);
    letter-spacing: -1px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin: 0 20px;
}

.main-nav ul li a {
    color: var(--text-grey);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--text-headings);
}

.main-nav ul li a:hover:after,
.main-nav ul li a.active:after {
    width: 100%;
}


/* --- Buttons --- */
.cta-button {
    background-color: var(--accent-orange);
    color: var(--bg-black);
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #ff9a4d;
    color: var(--bg-black);
    transform: translateY(-2px);
}


/* --- Hero Slideshow --- */
.hero-slideshow {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out forwards;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.slide-content .cta-button {
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-dot.active {
    background-color: var(--accent-orange);
}

/* --- Short Hero Slideshow for Inner Pages --- */
.hero-slideshow.short {
    height: 60vh;
    min-height: 500px;
    max-height: 600px;
}

.hero-slideshow.short .slide-content h1 {
    font-size: 3rem;
}

/* --- Page Hero (for About page etc.) --- */
.page-hero {
    padding: 180px 0 100px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}
.page-hero p {
    font-size: 1.2rem;
    color: var(--text-grey);
    max-width: 600px;
    margin: 0 auto;
}


/* --- General Content Sections (Cards, Grids) --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(74, 14, 105, 0.3);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-orange);
}

.learn-more {
    font-weight: 700;
    margin-top: 20px;
    display: inline-block;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #2a2a2a;
    border: 2px dashed var(--primary-purple);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-grey);
    overflow: hidden;
}


/* --- TABS FOR SERVICES PAGE --- */
.tabs-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #2a2a2a;
}
.tab-link {
    padding: 15px 30px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-grey);
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}
.tab-link:hover { color: var(--text-light); }
.tab-link.active {
    color: var(--accent-orange);
    font-weight: 700;
}
.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-orange);
}
.tab-pane {
    display: none;
    animation: fadeIn 0.6s ease;
}
.tab-pane.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.tab-content-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: flex-start;
}
.service-image-placeholder {
    width: 100%;
    height: auto;
    min-height: 300px;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-grey);
    position: sticky;
    top: 120px;
    overflow: hidden;
}
.service-description h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--accent-orange);
}

/* --- ABOUT PAGE SPECIFICS --- */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}
.value-item h4 {
    font-size: 1.5rem;
    color: var(--accent-orange);
    margin-bottom: 10px;
}

/* --- INSIGHTS PAGE --- */
.article-card {
    background-color: var(--bg-dark-grey);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}
.article-image-placeholder {
    height: 200px;
    background-color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-grey);
    overflow: hidden;
}
.article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.article-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.article-content p {
    color: var(--text-grey);
    flex-grow: 1;
}
.article-content .learn-more {
    cursor: pointer;
}
.article-category {
    color: var(--accent-orange);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* --- Universal Image Placeholder Styling */
.image-placeholder img,
.service-image-placeholder img,
.article-image-placeholder img,
.team-member-photo img,
.client-avatar-placeholder img,
.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* --- TESTIMONIAL SLIDER --- */
.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark-grey);
    border-radius: 8px;
    border-left: 5px solid var(--primary-purple);
    padding: 0 50px;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 50px 20px;
    text-align: center;
}

.quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 30px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-details strong {
    display: block;
    color: var(--text-headings);
}

.client-details span {
    color: var(--text-grey);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: var(--accent-orange);
    color: var(--bg-black);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}


/* --- MODAL STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background-color: var(--bg-dark-grey);
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-grey);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}
.modal-body #modal-title {
    font-size: 2rem;
    margin-top: 10px;
    margin-bottom: 25px;
}
.modal-body #modal-text p {
    margin-bottom: 1.5rem;
    color: var(--text-grey);
    line-height: 1.7;
}

/* --- CONTACT PAGE --- */
.contact-details h3, .contact-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-orange);
}
.contact-info-list {
    list-style: none;
    margin: 20px 0;
    color: var(--text-grey);
}
.contact-info-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}
.contact-info-list li:before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
}
.map-placeholder {
    height: 250px;
    margin-top: 30px;
    overflow: hidden;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-grey);
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 5px;
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
}
#form-status {
    margin-top: 15px;
    font-weight: 500;
}

/* --- Footer --- */
.site-footer {
    background-color: #0d0d0d;
    padding-top: 60px;
    border-top: 1px solid #2a2a2a;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.site-footer h4 { color: var(--text-headings); margin-bottom: 20px; }
.site-footer p, .site-footer ul li a { color: var(--text-grey); }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #2a2a2a;
    color: var(--text-grey);
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .section-title h2 { font-size: 2rem; }
    .two-column, .tab-content-inner { grid-template-columns: 1fr; }
    .image-content, .service-image-placeholder { order: -1; }
    .service-image-placeholder { position: static; margin-bottom: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .slide-content h1 { font-size: 2.5rem; }
    .tabs-navigation { flex-direction: column; }
    .tab-link { text-align: left; border-bottom: 1px solid #2a2a2a; }
    .tab-link.active::after { width: 3px; height: 100%; left: 0; top: 0; bottom: auto; }
    .values-grid { grid-template-columns: 1fr; }
}

