/* ==========================================================================
   TMA Agency Website Stylesheet
   Theme: Next-Gen Agency, Dark-Teal Mesh Mode
   Colors: Primary (#043E4E), Secondary (#FFBF97)
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
    --primary-color: #043E4E;
    --primary-rgb: 4, 62, 78;
    --primary-dark: #02151a;
    --primary-light: #086178;
    --secondary-color: #FFBF97;
    --secondary-rgb: 255, 191, 151;
    --accent-glow: rgba(255, 191, 151, 0.25);
    
    --bg-dark: #021014;
    --card-bg: rgba(4, 62, 78, 0.25);
    --card-bg-hover: rgba(4, 62, 78, 0.45);
    --card-border: rgba(255, 191, 151, 0.12);
    --card-border-hover: rgba(255, 191, 151, 0.4);
    
    --text-main: #FFFFFF;
    --text-muted: #a4c5ce;
    --text-dark: #02151a;
    
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    
    --hdr-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --shadow-glow: 0 0 25px rgba(255, 191, 151, 0.15);
    --shadow-glow-strong: 0 0 35px rgba(255, 191, 151, 0.35);
}

/* --- Base Reset & Defaults --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

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

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

ul {
    list-style: none;
}

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

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* --- Custom Cursor (Desktops only) --- */
@media (min-width: 1025px) {
    body {
        cursor: none;
    }
    a, button, select, input, textarea, .service-card, .filter-btn {
        cursor: none !important;
    }
    .custom-cursor {
        width: 32px;
        height: 32px;
        border: 1.5px solid var(--secondary-color);
        border-radius: 50%;
        position: fixed;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 99999;
        transition: width var(--transition-fast), height var(--transition-fast), background-color var(--transition-fast);
    }
    .custom-cursor-dot {
        width: 6px;
        height: 6px;
        background-color: var(--secondary-color);
        border-radius: 50%;
        position: fixed;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 99999;
    }
    .custom-cursor.hovered {
        width: 50px;
        height: 50px;
        background-color: rgba(255, 191, 151, 0.1);
        border-color: var(--secondary-color);
    }
}

/* --- Scroll Progress Bar --- */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 10001;
    background: rgba(4, 62, 78, 0.2);
}
.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary-color));
    width: 0%;
}

/* --- Layout Containers --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.max-w-700 { max-w: 700px; margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* --- Glowing Background Orbs --- */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.35;
    pointer-events: none;
    z-index: -1;
    animation: pulseGlow 12s ease-in-out infinite alternate;
}
.bg-glow-1 {
    width: 40vw;
    height: 40vw;
    background-color: var(--primary-color);
    top: -10vw;
    left: -10vw;
}
.bg-glow-2 {
    width: 45vw;
    height: 45vw;
    background-color: #0b4b5c;
    bottom: 20%;
    right: -15vw;
    animation-delay: -3s;
}
.bg-glow-3 {
    width: 35vw;
    height: 35vw;
    background-color: #274b54;
    bottom: -10vw;
    left: 10vw;
    animation-delay: -6s;
}

@keyframes pulseGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(8%, 5%) scale(1.15);
    }
}

/* --- Global Components & Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(4, 62, 78, 0.4);
    border: 1px solid rgba(255, 191, 151, 0.15);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}
.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(255, 191, 151, 0.25);
}
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-strong);
    background-color: #ffd8bf;
}
.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 191, 151, 0.4);
    color: var(--text-main);
}
.btn-outline:hover {
    border-color: var(--secondary-color);
    background-color: rgba(255, 191, 151, 0.08);
    transform: translateY(-3px);
}
.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 14px;
    margin-top: 15px;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}
.btn-text-link i {
    transition: transform var(--transition-fast);
}
.btn-text-link:hover {
    color: #fff;
}
.btn-text-link:hover i {
    transform: translateX(5px);
}

.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 20%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 191, 151, 0.08);
    border: 1px solid rgba(255, 191, 151, 0.25);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--secondary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(255, 191, 151, 0.05);
}

.section-header {
    margin-bottom: 60px;
}
.section-subtitle {
    font-family: var(--font-display);
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.section-desc {
    color: var(--text-muted);
    font-size: 18px;
}

/* --- Sticky Glassmorphic Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--hdr-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 191, 151, 0.05);
    transition: var(--transition-smooth);
}
.header.sticky {
    height: 70px;
    background-color: rgba(2, 16, 20, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 191, 151, 0.12);
}
.header-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #FFFFFF, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-fast);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-btn {
    padding: 10px 20px;
    font-size: 14px;
}
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    background: none;
    border: none;
}
.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 4px;
    transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: calc(var(--hdr-height) + 40px);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 191, 151, 0.05) 1px, transparent 0),
        linear-gradient(to bottom, rgba(2, 16, 20, 0) 60%, var(--bg-dark) 100%);
    background-size: 40px 40px, 100% 100%;
    z-index: -1;
}
.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}
.hero-content {
    max-width: 680px;
}
.hero-title {
    font-size: clamp(38px, 6vw, 62px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}
.rotator-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    height: 1.2em;
    line-height: 1.2em;
    position: relative;
}
.rotator-list {
    display: inline-flex;
    flex-direction: column;
    animation: slideRotate 10s cubic-bezier(0.85, 0, 0.15, 1) infinite;
}
.rotator-item {
    white-space: nowrap;
    background: linear-gradient(135deg, #FFFFFF 20%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    height: 1.2em;
    display: block;
}
@keyframes slideRotate {
    0%, 20% { transform: translateY(0); }
    25%, 45% { transform: translateY(-1.2em); }
    50%, 70% { transform: translateY(-2.4em); }
    75%, 95% { transform: translateY(-3.6em); }
    100% { transform: translateY(-4.8em); }
}
.hero-desc {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-muted);
    margin-bottom: 40px;
}
.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Widget Panel */
.hero-widget {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image-card {
    position: absolute;
    width: 100%;
    height: 95%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 191, 151, 0.15);
    z-index: 1;
    transform: perspective(1000px) rotateY(-12deg) rotateX(8deg) translateZ(-40px) translateX(-20px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    opacity: 0.7;
    transition: var(--transition-smooth);
}
.hero-widget:hover .hero-image-card {
    opacity: 0.9;
    transform: perspective(1000px) rotateY(-6deg) rotateX(4deg) translateZ(-20px) translateX(-10px);
}
.hero-dashboard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.1) saturate(0.8);
}
.img-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, transparent 20%, var(--bg-dark) 90%);
}
.main-widget-card {
    background: rgba(2, 16, 20, 0.75);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    box-shadow: var(--shadow-glow), 0 20px 40px rgba(0,0,0,0.4);
    transition: var(--transition-smooth);
    z-index: 2;
    transform: perspective(1000px) rotateY(6deg) rotateX(-4deg) translateZ(10px);
}
.main-widget-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateZ(20px) translateY(-5px);
    border-color: var(--card-border-hover);
}
.widget-header {
    background: rgba(4, 62, 78, 0.4);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 191, 151, 0.1);
}
.widget-header .dots {
    display: flex;
    gap: 6px;
}
.widget-header .dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.widget-header .dots span:nth-child(1) { background-color: #ff5f56; }
.widget-header .dots span:nth-child(2) { background-color: #ffbd2e; }
.widget-header .dots span:nth-child(3) { background-color: #27c93f; }
.terminal-title {
    font-family: monospace;
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}
.widget-body {
    padding: 24px;
    font-family: monospace;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.terminal-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.t-prompt {
    color: var(--secondary-color);
}
.t-success {
    color: #a3e635;
}
.t-check {
    font-weight: bold;
}
.t-info {
    color: var(--secondary-color);
}
.t-pulse {
    animation: blink 1s infinite alternate;
}
.t-highlight {
    background-color: rgba(255, 191, 151, 0.1);
    color: var(--secondary-color);
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    margin-top: 8px;
    text-align: center;
    width: 100%;
}

@keyframes blink {
    0% { opacity: 0.2; }
    100% { opacity: 1; }
}

/* Floating Widgets */
.floating-widget {
    position: absolute;
    background: rgba(2, 16, 20, 0.7);
    border: 1.5px solid var(--card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 10;
    transition: var(--transition-smooth);
    animation: floatWidget 6s ease-in-out infinite alternate;
}
.floating-widget:hover {
    border-color: var(--secondary-color);
    transform: translateY(-4px) scale(1.03);
    box-shadow: var(--shadow-glow);
}
.fw-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 191, 151, 0.1);
    border-radius: 50%;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.fw-text {
    display: flex;
    flex-direction: column;
}
.fw-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
}
.fw-label {
    font-size: 11px;
    color: var(--text-muted);
}
.fw-1 {
    top: -20px;
    right: -10px;
}
.fw-2 {
    bottom: 30px;
    left: -30px;
    animation-delay: -2s;
}
.fw-3 {
    bottom: -20px;
    right: 20px;
    animation-delay: -4s;
}

@keyframes floatWidget {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-12px); }
}

/* --- Who We Are Section --- */
.about-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.about-main-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.about-text-col {
    max-width: 620px;
}
.about-desc-p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}
.about-image-col {
    display: flex;
    justify-content: center;
}
.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    padding: 6px;
    background: linear-gradient(135deg, rgba(4, 62, 78, 0.5), var(--secondary-color));
    box-shadow: var(--shadow-glow), 0 15px 35px rgba(0,0,0,0.4);
    transition: var(--transition-smooth);
    width: 100%;
    max-width: 440px;
}
.about-image-wrapper:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-glow-strong);
}
.about-img {
    width: 100%;
    height: 340px;
    border-radius: calc(var(--border-radius-lg) - 6px);
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1) saturate(0.95);
}
.about-img-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    pointer-events: none;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.6);
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}
.about-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-border-hover);
    box-shadow: var(--shadow-glow);
}
.card-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -60px;
    right: -60px;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
}
.about-card:hover .card-glow {
    opacity: 1;
}
.about-card-icon {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 24px;
}
.about-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}
.about-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 30px;
    flex-grow: 1;
}
.about-card-stat {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 191, 151, 0.1);
    padding-top: 18px;
}

/* --- Timeline Section --- */
.timeline-section {
    padding: 120px 0;
    background: rgba(4, 62, 78, 0.15);
    position: relative;
    overflow: hidden;
}
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 80px auto 0;
    padding-left: 50px;
}
.timeline-line-path {
    position: absolute;
    left: 19px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: rgba(255, 191, 151, 0.15);
    border-radius: 4px;
}
.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--primary-light), var(--secondary-color));
    transition: height 0.1s linear;
}
.timeline-item {
    position: relative;
    margin-bottom: 60px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: -50px;
    top: 6px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid rgba(255, 191, 151, 0.3);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 2;
    transition: var(--transition-smooth);
}
.timeline-item.active .timeline-dot {
    background: var(--secondary-color);
    color: var(--primary-dark);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-glow-strong);
}
.timeline-card {
    background: rgba(4, 62, 78, 0.2);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 30px;
    transition: var(--transition-smooth);
}
.timeline-card:hover {
    transform: translateX(10px);
    border-color: var(--card-border-hover);
    background-color: rgba(4, 62, 78, 0.35);
}
.timeline-step {
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}
.timeline-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.timeline-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* --- Services Catalog Section --- */
.services-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.filter-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.filter-btn {
    padding: 10px 24px;
    background: rgba(4, 62, 78, 0.2);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 35px;
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-border-hover);
    box-shadow: var(--shadow-glow);
}
.service-card[style*="display: none"] {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.service-icon {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 24px;
    width: 60px;
    height: 60px;
    background: rgba(255, 191, 151, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 191, 151, 0.15);
    transition: var(--transition-smooth);
}
.service-card:hover .service-icon {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-glow);
}
.service-num {
    position: absolute;
    top: 30px;
    right: 35px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 191, 151, 0.25);
}
.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}
.service-tagline {
    font-size: 13px;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 16px;
    font-style: italic;
}
.service-intro {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    flex-grow: 1;
}

/* --- Services Details Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 10, 12, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    background: #032027;
    border: 1px solid var(--secondary-color);
    box-shadow: var(--shadow-glow-strong);
    width: 90%;
    max-width: 600px;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform var(--transition-smooth);
}
.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    transition: var(--transition-fast);
}
.modal-close:hover {
    color: var(--secondary-color);
}
.modal-header-info {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 191, 151, 0.15);
    padding-bottom: 20px;
}
.modal-num {
    font-family: var(--font-display);
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}
#modalServiceTitle {
    font-size: 26px;
    margin-bottom: 8px;
}
.modal-tagline {
    font-style: italic;
    color: var(--text-muted);
}
.modal-body-content h4 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--secondary-color);
}
#modalServiceDesc {
    font-size: 15px;
    color: var(--text-muted);
}
.modal-features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 30px;
}
.modal-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-main);
}
.modal-features-list li i {
    color: var(--secondary-color);
    font-size: 14px;
}
.modal-cta {
    display: flex;
    justify-content: flex-end;
}
.modal-btn {
    border-radius: 30px;
}

/* --- Contact & Booking Section --- */
.contact-section {
    padding: 120px 0;
    position: relative;
    background-color: rgba(4, 62, 78, 0.1);
    overflow: hidden;
}
.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.contact-info {
    max-width: 480px;
}
.contact-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 16px;
}
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(4, 62, 78, 0.2);
    border: 1px solid var(--card-border);
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}
.contact-item:hover {
    border-color: var(--secondary-color);
    background-color: rgba(4, 62, 78, 0.35);
    box-shadow: var(--shadow-glow);
}
.contact-item-icon {
    font-size: 20px;
    color: var(--secondary-color);
    width: 44px;
    height: 44px;
    background: rgba(255, 191, 151, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-item-details {
    display: flex;
    flex-direction: column;
}
.contact-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}
.contact-value {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
}

/* Contact CTA Card */
.contact-cta-card {
    padding: 50px 40px;
}
.contact-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}
.cta-connect-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(4, 62, 78, 0.25);
    border: 1px solid var(--card-border);
    padding: 24px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.cta-connect-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 191, 151, 0.08), transparent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}
.cta-connect-btn:hover::before {
    opacity: 1;
}
.cta-connect-btn:hover {
    border-color: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}
.cta-connect-btn .cta-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--secondary-color);
    background: rgba(255, 191, 151, 0.08);
    border: 1px solid rgba(255, 191, 151, 0.15);
    transition: var(--transition-smooth);
}
.cta-connect-btn:hover .cta-icon {
    background: var(--secondary-color);
    color: var(--primary-dark);
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(255, 191, 151, 0.3);
}
.cta-connect-btn .cta-btn-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.cta-btn-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}
.cta-btn-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    word-break: break-all;
}
.cta-arrow {
    font-size: 16px;
    color: var(--text-muted);
    transition: transform var(--transition-smooth), color var(--transition-smooth);
}
.cta-connect-btn:hover .cta-arrow {
    transform: translate(3px, -3px);
    color: var(--secondary-color);
}

/* --- Footer Section --- */
.footer {
    border-top: 1px solid rgba(255, 191, 151, 0.08);
    background-color: #010a0c;
    padding: 80px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
}
.footer-brand {
    max-width: 320px;
}
.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
    margin-bottom: 28px;
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 191, 151, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}
.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.footer-col h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col a {
    font-size: 14px;
    color: var(--text-muted);
    word-break: break-all;
    display: block;
}
.footer-col a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 191, 151, 0.05);
    padding: 30px 0;
}
.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,191,151,0.5);
    flex-wrap: wrap;
    gap: 15px;
}
.attribution {
    font-style: italic;
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    box-shadow: var(--shadow-glow-strong);
}

/* --- Scroll-Reveal Classes --- */
[data-reveal] {
    opacity: 0;
    transition: var(--transition-slow);
}
[data-reveal="fade-up"] {
    transform: translateY(30px);
}
[data-reveal="fade-in"] {
    transform: none;
}
[data-reveal="fade-right"] {
    transform: translateX(-30px);
}
[data-reveal="fade-left"] {
    transform: translateX(30px);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translate(0, 0);
}

@media (max-width: 1024px) {
    /* Timeline adjustments */
    .timeline-container {
        padding-left: 40px;
    }
    /* Contact grid adjustments */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-info {
        max-width: 100%;
        text-align: center;
    }
    .contact-methods {
        align-items: center;
    }
}

@media (max-width: 868px) {
    /* Hide floating widgets on mobile to prevent layouts overflowing */
    .floating-widget {
        display: none !important;
    }
    
    /* Header menu */
    .mobile-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: var(--hdr-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--hdr-height));
        background-color: rgba(2, 16, 20, 0.96);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: var(--transition-smooth);
        z-index: 999;
        border-top: 1px solid rgba(255, 191, 151, 0.08);
    }
    .nav-menu.active {
        left: 0;
    }
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero layout */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 60px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-title {
        text-align: center;
    }
    .rotator-wrapper {
        display: block;
        width: 100%;
        text-align: center;
        margin: 10px auto 0;
    }
    .rotator-item {
        text-align: center;
        width: 100%;
    }
    .rotator-list {
        width: 100%;
        align-items: center;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-widget {
        margin-top: 40px;
        transform: none !important;
    }
    .hero-image-card {
        transform: none !important;
        width: 100%;
        height: 100%;
    }
    .main-widget-card {
        transform: none !important;
    }
    
    /* About section mobile split layout */
    .about-main-row {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .about-text-col {
        max-width: 100%;
    }
    
    /* Footer elements */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-brand {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-col {
        align-items: center;
        text-align: center;
    }
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        width: 100%;
    }
}

@media (max-width: 580px) {
    .timeline-container {
        padding-left: 30px;
    }
    .timeline-line-path {
        left: 14px;
    }
    .timeline-dot {
        left: -30px;
        width: 30px;
        height: 30px;
        font-size: 11px;
        top: 11px;
    }
    .timeline-card {
        padding: 20px;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    .btn {
        width: 100%;
    }
    .hero-btns .btn-outline {
        margin-top: 8px;
    }
    .contact-cta-card {
        padding: 30px 20px;
    }
    .cta-connect-btn {
        padding: 16px;
        gap: 12px;
    }
    .cta-connect-btn .cta-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    .cta-btn-title {
        font-size: 16px;
    }
}
