@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --secondary: #EC4899;
    --bg-color: #0f172a;
    --surface: rgba(30, 41, 59, 0.7);
    --surface-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --glass-blur: blur(12px);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: var(--glass-blur);
    padding: 20px 40px;
    border-bottom: 1px solid var(--surface-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

h1, h2, h3 {
    margin: 0 0 15px 0;
    font-weight: 600;
    color: #fff;
}

h1 {
    font-size: 26px;
    background: linear-gradient(to right, #818cf8, #c084fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary);
    transition: var(--transition);
}

nav a:hover, nav a.active {
    color: #fff;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

main {
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

section {
    margin-bottom: 50px;
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-header p {
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
}

.page-header h2 {
    font-size: 32px;
}

.hero {
    display: flex;
    gap: 40px;
    align-items: center;
}

.hero-content {
    flex: 1;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}

.hero picture {
    flex: 1;
}

.hero img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.hero img:hover {
    transform: scale(1.02);
}

.video-container {
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

video {
    width: 100%;
    display: block;
}

.services-grid, .team-grid, .gallery-grid, .testimonials {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.card, .team-member, blockquote {
    flex: 1;
    min-width: 280px;
    margin: 0; /* Reset figure default margins */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--surface-border);
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
    backdrop-filter: var(--glass-blur);
}

.card img, .team-member img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
}

.card:hover, .team-member:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.card h3 {
    color: #e2e8f0;
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
}

blockquote {
    font-size: 16px;
    font-style: italic;
    color: var(--text-muted);
    position: relative;
    padding-left: 40px;
}

blockquote::before {
    content: '"';
    font-size: 60px;
    color: var(--primary);
    position: absolute;
    left: 10px;
    top: -10px;
    font-family: serif;
    opacity: 0.3;
}

/* Subpages Specifics */
details {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid var(--surface-border);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: var(--transition);
}

summary {
    cursor: pointer;
    font-weight: 600;
    color: #e2e8f0;
}

.contact-container {
    display: flex;
    gap: 40px;
}

@media (max-width: 768px) {
    .contact-container, .hero {
        flex-direction: column;
    }
    header {
        flex-direction: column;
        gap: 15px;
    }
}

.contact-info {
    flex: 1;
    color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    font-weight: 500;
    color: #e2e8f0;
}

.contact-form input, .contact-form select, .contact-form textarea {
    padding: 12px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--surface-border);
    color: #fff;
    border-radius: 6px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.map-container {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--surface-border);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--surface-border);
}

th {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 600;
}

td {
    color: var(--text-muted);
}

table tr:last-child td {
    border-bottom: none;
}

.price-highlight {
    font-weight: bold;
    color: var(--secondary);
}

footer {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--surface-border);
    color: var(--text-muted);
    text-align: center;
    padding: 40px 20px;
    margin-top: auto;
}

footer h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
}

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

footer a:hover {
    color: #fff;
}

footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}