/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-light: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-card-hover: #ffffff;
    --border-color: rgba(15, 23, 42, 0.05);
    --border-hover: rgba(47, 164, 160, 0.35);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-teal: #2fa4a0;
    --accent-teal-hover: #1e7e7a;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-family: var(--font-body);
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden; /* Hide scrollbars completely */
    line-height: 1.5;
}

/* Background Glowing Blobs & Grid Pattern */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
}

.background-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(47, 164, 160, 0.05) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.1;
    pointer-events: none;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, var(--accent-teal) 0%, transparent 70%);
    animation: float-blob-1 25s infinite alternate ease-in-out;
}

.blob-2 {
    bottom: -15%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #dfb76c 0%, transparent 70%);
    animation: float-blob-2 30s infinite alternate ease-in-out;
    animation-delay: -5s;
}

@keyframes float-blob-1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(6vw, 10vh) scale(1.1); }
    100% { transform: translate(-3vw, -5vh) scale(0.9); }
}

@keyframes float-blob-2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-8vw, -6vh) scale(0.95); }
    100% { transform: translate(5vw, 8vh) scale(1.05); }
}

/* Main Container Layout */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Split Column Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    width: 100%;
    align-items: center;
    flex: 1;
}

.left-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    height: 100%;
    padding-right: 1rem;
}

.right-col {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Header & Logo */
header {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(-15px);
    animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-wrapper {
    height: 75px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo {
    max-height: 100%;
    max-width: 240px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.03));
}

.logo-fallback {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--accent-teal);
}

/* Hero Section */
.hero {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(47, 164, 160, 0.06);
    border: 1px solid rgba(47, 164, 160, 0.12);
    color: var(--accent-teal);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1.2rem;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #0f172a 20%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.6rem;
    margin-bottom: 1.6rem;
    letter-spacing: 0.02em;
    line-height: 1.45;
    border-left: 3px solid var(--accent-teal);
    padding-left: 0.8rem;
}

/* Timer Section */
.timer-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.25rem;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 0.8rem 1.2rem;
    min-width: 80px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

.timer-val {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-teal);
    line-height: 1;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.timer-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    font-weight: 600;
}

.timer-divider {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--accent-teal);
    opacity: 0.5;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Unified Contact Card (Right Side) */
.contact-card-unified {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    transition: var(--transition-smooth);
}

.contact-card-unified:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-teal);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding-bottom: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.icon-wrapper {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(47, 164, 160, 0.06);
    border: 1px solid rgba(47, 164, 160, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-teal);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.contact-card-unified:hover .contact-item:hover .icon-wrapper {
    background: rgba(47, 164, 160, 0.12);
    color: var(--accent-teal-hover);
    transform: scale(1.05);
}

.icon-wrapper svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.item-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.item-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.item-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    padding: 0.1rem 0;
}

.item-link:hover {
    color: var(--accent-teal);
    transform: translateX(2px);
}

.address-text {
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 0.8rem;
    font-style: normal;
    text-align: left;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    background: rgba(47, 164, 160, 0.06);
    border: 1px solid rgba(47, 164, 160, 0.1);
    color: var(--accent-teal);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.map-btn:hover {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: #ffffff;
}

.map-btn svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.map-btn:hover svg {
    transform: translateX(2px);
}

/* Footer Section */
footer {
    width: 100%;
    padding: 1.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.04);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

.copyright {
    letter-spacing: 0.05em;
    font-weight: 500;
}

.copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--accent-teal);
    color: #ffffff;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(47, 164, 160, 0.15);
    z-index: 100;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive & Viewport Adjustments */

@media (max-width: 992px) {
    .container {
        overflow-y: auto; /* Fallback for small screens */
    }
    body {
        overflow: auto; /* Allow scrolling on tablets and small viewports */
        height: auto;
        min-height: 100vh;
    }
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 1.5rem 0;
    }
    .left-col {
        text-align: center;
        align-items: center;
        padding-right: 0;
    }
    .logo-wrapper {
        justify-content: center;
    }
    .timer-section {
        justify-content: center;
    }
    .contact-card-unified {
        max-width: 500px;
        margin: 0 auto;
    }
    .tagline {
        border-left: none;
        padding-left: 0;
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Creative adjustments for height constraints to strictly avoid vertical scrollbars on desktop */
@media (min-width: 993px) and (max-height: 800px) {
    .container {
        padding: 1rem;
    }
    header {
        margin-bottom: 1rem;
    }
    .logo-wrapper {
        height: 60px;
    }
    .hero {
        margin-bottom: 1.2rem;
    }
    h1 {
        font-size: 2.8rem;
    }
    .timer-section {
        gap: 1rem;
    }
    .timer-unit {
        padding: 0.6rem 1rem;
        min-width: 75px;
    }
    .timer-val {
        font-size: 1.7rem;
    }
    .contact-card-unified {
        padding: 1.8rem;
        gap: 1.2rem;
    }
    .tagline {
        margin-top: 0.4rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 993px) and (max-height: 650px) {
    .container {
        padding: 0.5rem;
    }
    header {
        margin-bottom: 0.5rem;
    }
    .logo-wrapper {
        height: 50px;
    }
    .hero {
        margin-bottom: 0.8rem;
    }
    h1 {
        font-size: 2.2rem;
    }
    .timer-section {
        gap: 0.8rem;
    }
    .timer-unit {
        padding: 0.4rem 0.8rem;
        min-width: 65px;
    }
    .timer-val {
        font-size: 1.4rem;
    }
    .contact-card-unified {
        padding: 1.2rem;
        gap: 0.8rem;
    }
    .icon-wrapper {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    .icon-wrapper svg {
        width: 16px;
        height: 16px;
    }
    .tagline {
        margin-top: 0.2rem;
        margin-bottom: 0.6rem;
        font-size: 0.9rem;
    }
}
