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

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

:root {
  /* Arctic Fresh Theme */
  --bg: #eef6ff;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-muted: #4a5568;
  --accent: #a5b4fc; /* Silver/Icy Blue accent */
  --silver: #cbd5e1;
  --primary: #2563eb;
  --secondary: #64748b;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.18);

  --font-heading: 'Boska', serif;
  --font-body: 'Geist', sans-serif;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* === BACKGROUND BLOBS === */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(165, 180, 252, 0.2) 0%, rgba(191, 219, 254, 0.2) 100%);
    filter: blur(100px);
    border-radius: 50%;
    animation: move 20s infinite alternate;
}

.blob-1 { top: -10%; left: -10%; animation-duration: 25s; }
.blob-2 { bottom: -10%; right: -10%; animation-duration: 30s; background: linear-gradient(135deg, rgba(203, 213, 225, 0.2) 0%, rgba(165, 180, 252, 0.1) 100%); }

@keyframes move {
    from { transform: translate(0, 0); }
    to { transform: translate(100px, 100px); }
}

/* === STRUCTURAL BASELINES === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  padding: 80px 0;
  position: relative;
}

/* Section Transitions */
.section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
}

/* === HEADER LAYOUT: TOP MEGA-HEADER === */
.mega-header {
    background: var(--bg-card);
    padding: 40px 0;
    border-bottom: 1px solid var(--silver);
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
}

.brand-block {
    text-align: center;
    grid-column: 1 / -1;
    margin-bottom: 32px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text);
    margin-bottom: 8px;
}

.brand-tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid var(--silver);
}

.search-bar input {
    border: none;
    background: transparent;
    padding: 4px 8px;
    outline: none;
    width: 200px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    font-size: 1.25rem;
    color: var(--secondary);
}

.contact-info-top {
    font-size: 0.9rem;
    display: flex;
    gap: 24px;
}

/* Navigation - Fixed on Scroll */
.nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(203, 213, 225, 0.3);
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    justify-content: center;
    padding: 16px 0;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px;
    background: linear-gradient(to bottom, #ffffff, var(--bg));
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 24px;
}

.rotating-text {
    color: var(--primary);
    display: inline-block;
    min-width: 200px;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === LAYOUT ARCHETYPE: METRO / WINDOWS TILES === */
.metro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.metro-tile {
    position: relative;
    padding: 32px;
    border-radius: 0; /* Metro style is sharp but we use radius-md per cards rule */
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-glass);
}

.metro-tile:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.tile-1 { grid-column: span 2; grid-row: span 2; background: #3b82f6; }
.tile-2 { grid-column: span 2; background: #10b981; }
.tile-3 { background: #f59e0b; }
.tile-4 { background: #ef4444; }
.tile-5 { grid-column: span 2; background: #8b5cf6; }

.metro-tile i {
    font-size: 3rem;
    margin-bottom: auto;
}

.metro-tile h3 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

/* === BUTTONS: TAG-STYLE === */
.btn-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #f1f5f9;
    border: 1px solid var(--silver);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s ease;
}

.btn-tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* === INTERACTIVE ELEMENT: ANIMATED INFOGRAPHIC === */
.infographic-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
}

.stat-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-circle svg {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
}

/* === TESTIMONIAL WALL === */
.testimonial-wall {
    columns: 3;
    column-width: 300px;
    column-gap: 24px;
}

.testimonial-card {
    break-inside: avoid;
    margin-bottom: 24px;
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    border: 1px solid #f1f5f9;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-family: var(--font-body);
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* === BLOG PREVIEW === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    transition: transform 0.3s ease;
}

.blog-card:hover { transform: translateY(-8px); }

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-content {
    padding: 32px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* === VIDEO SECTION === */
.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-btn:hover { transform: scale(1.1); }

/* === MEGA FOOTER === */
.mega-footer {
    background: #f8fafc;
    padding: 80px 0 40px;
    border-top: 1px solid var(--silver);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin: 20px 0;
    color: var(--text-muted);
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: var(--text);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.newsletter-box {
    margin-top: 24px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--silver);
    outline: none;
}

.awards-row {
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    gap: 48px;
    opacity: 0.5;
}

.copyright-bar {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* === BREADCRUMBS === */
.breadcrumbs {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumbs a { margin-right: 8px; }
.breadcrumbs span { margin: 0 8px; }

/* === MOBILE ADAPTIVITY === */
@media (max-width: 768px) {
    section { padding: 60px 0; }

    .header-grid {
        grid-template-columns: 1fr auto;
        padding: 20px 0;
    }

    .brand-block { text-align: left; margin: 0; }
    .brand-name { font-size: 2rem; }
    .header-tools, .contact-info-top, .search-bar { display: none; }

    .mobile-toggle { display: block; }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-list.active { display: flex; }

    .metro-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .tile-1, .tile-2, .tile-5 { grid-column: span 1; grid-row: span 1; height: 250px; }

    .blog-grid { grid-template-columns: 1fr; }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .infographic-container { grid-template-columns: 1fr; }
}

/* Section transitions */
.bg-gradient-transition {
    background: linear-gradient(to bottom, var(--bg-start), var(--bg-end));
}
