/* ========================================================
   SEVENLY - GLASSMORPHISM DESIGN SYSTEM
======================================================== */
:root {
    --bg-pure: #FFFFFF;
    --bg-base: #E8F0F8; 
    --glow-indigo: #B3CEEB; 
    --glow-blue: #8AB4F8; 
    
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --brand-primary: #2563EB;
    --brand-hover: #1D4ED8;
    --border-glass: rgba(255, 255, 255, 0.6);

    --font-heading: 'Manrope', sans-serif;
    --font-main: 'Inter', sans-serif;
    --max-width: 1280px;
    --spacing-section: 120px;

    --shadow-glass: 0 8px 32px 0 rgba(37, 99, 235, 0.12);
    --shadow-hover: 0 15px 40px 0 rgba(37, 99, 235, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================================
   RESET & BASE
======================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: initial; 
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(circle at 15% 50%, var(--glow-indigo) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, var(--glow-blue) 0%, transparent 50%);
    background-attachment: fixed;
}

img, svg {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--spacing-section) 0;
}

.w-full { width: 100%; }

/* ========================================================
   GLASSMORPHISM UTILITY
======================================================== */
.glass-panel {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
}

/* ========================================================
   TYPOGRAPHY
======================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* ========================================================
   BUTTONS
======================================================== */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: var(--bg-pure);
}

.btn-primary:hover {
    background-color: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--bg-pure);
}

/* ========================================================
   DECORATED GLASSMORPHISM NAVBAR & HIGH-CONTRAST ZOOMED LOGO
======================================================== */
.glass-nav {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px; 
}

/* Logo Layout & Solid High-Contrast Emblem Wrapper */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
}

.logo-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #081B3A; /* Matches Deep Navy brand dark tone so JPEG black background looks intentional and crisp */
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo img {
    height: 140%; /* Zoomed for prominent, crystal-clear visibility */
    width: 140%;
    object-fit: cover;
    filter: contrast(1.2) brightness(1.1);
}

.logo:hover .logo-icon-wrapper {
    transform: scale(1.06);
}

/* Decorated "SEVENLY" Gradient Typography */
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #0F172A 30%, #2563EB 100%);
    /* Ensure compatibility: define standard property alongside vendor-prefixed version */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.3s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--brand-primary);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.nav-item:hover {
    color: var(--brand-primary);
}

.nav-item:hover::after {
    width: 100%;
}

/* ========================================================
   HERO SECTION & 3D COMPOSITION
======================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

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

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

.geo-composition {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.geo-orb {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(138, 180, 248, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.geo-ring {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 2px dashed rgba(37, 99, 235, 0.2);
    z-index: 1;
}

.geo-card-main {
    position: relative;
    width: 320px;
    padding: 1.75rem;
    border-radius: 20px;
    z-index: 3;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
    transition: transform 0.1s ease-out;
}

.geo-card-header-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 1.25rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot.red { background-color: #EF4444; }
.dot.yellow { background-color: #F59E0B; }
.dot.green { background-color: #10B981; }

.geo-card-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.geo-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    font-size: 1.25rem;
}

.geo-card-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.geo-card-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.geo-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    width: 78%;
    height: 100%;
    background: var(--brand-primary);
    border-radius: 3px;
}

.geo-badge {
    position: absolute;
    bottom: 30px;
    right: 20px;
    padding: 10px 18px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-primary);
    z-index: 4;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

/* ========================================================
   CARDS (Services & Team) - 3D HOVER EFFECTS
======================================================== */
.services-grid, .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card, .team-card {
    border-radius: 16px;
    transition: var(--transition-smooth);
    will-change: transform, box-shadow; 
    overflow: hidden;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
}

.service-card { 
    padding: 2.5rem; 
    display: flex;
    flex-direction: column;
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1rem;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-primary);
    opacity: 0.8;
    letter-spacing: 2px;
}

.service-card i {
    font-size: 1.5rem;
    color: var(--text-primary);
    opacity: 0.7;
}

.service-card h3 { 
    margin-bottom: 1rem; 
    font-size: 1.4rem; 
    letter-spacing: -0.01em;
}

.service-card p { 
    color: var(--text-secondary); 
    font-size: 0.95rem;
    line-height: 1.7;
}

.team-img-placeholder {
    width: 100%;
    height: 350px;
    background-color: rgba(255,255,255,0.5);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card img {
    transition: var(--transition-smooth);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.team-info h3 { font-size: 1.25rem; }
.team-info p { color: var(--text-secondary); margin-bottom: 1rem; font-weight: 500;}
.team-info a { color: var(--brand-primary); font-size: 1.5rem; transition: transform 0.2s ease; display: inline-block; }
.team-info a:hover { transform: scale(1.1); }

.service-card:hover, .team-card:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 0.75); 
    border-color: transparent;
}
.team-card:hover img {
    transform: scale(1.05);
}

/* ========================================================
   BOOKING FORM
======================================================== */
.book-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-methods p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-methods i {
    color: var(--brand-primary);
    font-size: 1.25rem;
}

.book-form {
    padding: 3rem;
    border-radius: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

input[type="text"], input[type="email"], select, textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.5); 
    transition: all 0.2s ease;
}

input::placeholder, textarea::placeholder {
    color: var(--text-secondary);
}

textarea {
    grid-column: 1 / -1;
    resize: vertical;
    margin-bottom: 1.5rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.budget-slider-wrapper label {
    display: block;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.budget-slider-wrapper span {
    color: var(--brand-primary);
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--brand-primary);
    cursor: pointer;
    margin-top: -10px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
    border: 2px solid #fff;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
}

/* ========================================================
   FOOTER
======================================================== */
.footer {
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-glass);
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-weight: 500;
}

.footer-links h4 { margin-bottom: 1.5rem; color: var(--text-primary); }
.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    transition: color 0.2s;
    font-weight: 500;
}

.footer-links a:hover { color: var(--brand-primary); }
.social-icons { display: flex; gap: 1.25rem; font-size: 1.5rem; }
.social-icons a { color: var(--text-secondary); }
.social-icons a:hover { color: var(--brand-primary); }

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
}

/* ========================================================
   RESPONSIVE DESIGN
======================================================== */
@media (max-width: 992px) {
    .hero-container, .book-container { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-actions { justify-content: center; }
    .nav-links { display: none; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.25rem; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
}