/* ========================================
   CSS Variables & Reset
   ======================================== */

:root {
    /* Modern Color Palette */
    --primary-color: #2C5F7B;           /* Deep Ocean Blue */
    --primary-dark: #1A3847;            /* Dark Navy */
    --secondary-color: #F8FAFB;         /* Ultra Clean White */
    --accent-color: #4A9EC7;            /* Sky Blue */
    --accent-warm: #7DAF6F;             /* Soft Green */
    --text-color: #2D3748;              /* Charcoal */
    --text-light: #718096;              /* Gray */
    --white: #FFFFFF;
    --light-bg: #E8F4F8;                /* Ice Blue */
    --light-gray: #F7FAFC;              /* Very Light Gray */
    --border-color: #E2E8F0;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4.5rem;

    /* Border Radius */
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    /* Shadows - More subtle and modern */
    --shadow-xs: 0 1px 2px rgba(44, 95, 123, 0.04);
    --shadow-sm: 0 2px 8px rgba(44, 95, 123, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 95, 123, 0.12);
    --shadow-lg: 0 8px 24px rgba(44, 95, 123, 0.16);
    --shadow-xl: 0 16px 40px rgba(44, 95, 123, 0.20);

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.25rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
}

p {
    margin-bottom: var(--spacing-sm);
}

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

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

/* ========================================
   Container & Layout
   ======================================== */

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

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

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--primary-color);
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
}

.nav-logo {
    width: 32px;
    height: 32px;
    stroke: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    font-weight: var(--font-weight-regular);
    padding: var(--spacing-xs) 0;
    position: relative;
}

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

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

/* ========================================
   Hero Section
   ======================================== */

.hero {
    margin-top: 70px;
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 158, 199, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 3.5rem;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-light);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-warm));
    border-radius: var(--border-radius-xl);
    opacity: 0.1;
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(44, 95, 123, 0.24);
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-md);
    font-weight: var(--font-weight-semibold);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Info Section
   ======================================== */

.info-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--light-gray);
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    background: linear-gradient(135deg, rgba(74, 158, 199, 0.03) 0%, rgba(125, 175, 111, 0.03) 100%);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.info-box.highlight {
    border-left: 4px solid var(--accent-color);
}

.info-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74, 158, 199, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.info-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary-color);
    flex-shrink: 0;
}

.info-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

/* ========================================
   News Section
   ======================================== */

.news-section {
    background-color: var(--secondary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.news-card {
    background-color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.news-icon {
    margin-bottom: var(--spacing-md);
}

.news-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-color);
}

.news-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.news-card ul {
    list-style: disc;
    padding-left: var(--spacing-lg);
}

.news-card ul li {
    margin-bottom: var(--spacing-xs);
}

/* ========================================
   About Section
   ======================================== */

.about-section {
    background-color: var(--white);
}

.about-intro {
    font-size: 1.125rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.equipment-section {
    margin-top: var(--spacing-xl);
}

.equipment-section h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.equipment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--light-gray);
    border-radius: var(--border-radius-md);
    transition: var(--transition);
}

.equipment-item:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.equipment-item svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.equipment-item p {
    margin: 0;
    font-size: 0.875rem;
}

/* ========================================
   Team Section
   ======================================== */

.team-section {
    background-color: var(--white);
}

.team-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xxl);
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.team-image-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--secondary-color) 100%);
}

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

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-content {
    padding: var(--spacing-xl);
}

.team-name {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-semibold);
}

.team-role {
    color: var(--accent-color);
    font-size: 1.125rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-color);
}

.team-bio {
    list-style: none;
    padding: 0;
}

.team-bio li {
    position: relative;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
    color: var(--text-color);
}

.team-bio li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-warm);
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
}

/* Team card without image */
.team-card-no-image {
    background: linear-gradient(135deg, rgba(74, 158, 199, 0.03) 0%, rgba(125, 175, 111, 0.03) 100%);
}

.team-card-no-image .team-content {
    padding: var(--spacing-xxl);
}

.team-card-no-image .team-name {
    font-size: 2rem;
}

.team-card-no-image .team-role {
    font-size: 1.25rem;
}

/* ========================================
   Services Section
   ======================================== */

.services-section {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background-color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-warm), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    margin-bottom: var(--spacing-md);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
}

/* ========================================
   Pricing Section
   ======================================== */

.pricing-section {
    background-color: var(--white);
}

.pricing-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    padding: var(--spacing-md);
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-md);
}

.table-responsive {
    overflow-x: auto;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.pricing-table,
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
}

.pricing-table thead,
.schedule-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.pricing-table th,
.schedule-table th {
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: left;
    font-weight: var(--font-weight-semibold);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.pricing-table td,
.schedule-table td {
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.pricing-table tbody tr,
.schedule-table tbody tr {
    transition: var(--transition-fast);
}

.pricing-table tbody tr:hover,
.schedule-table tbody tr:hover {
    background-color: var(--light-bg);
    transform: scale(1.01);
    box-shadow: var(--shadow-xs);
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
}

/* ========================================
   Schedule Section - Modern Cards
   ======================================== */

.schedule-section {
    background-color: var(--light-gray);
    padding: var(--spacing-lg) 0;
}

.schedule-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.schedule-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.schedule-card:hover::before {
    transform: scaleX(1);
}

.schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.schedule-card.weekend {
    opacity: 0.7;
}

.schedule-card.weekend::before {
    background: linear-gradient(90deg, var(--text-light), var(--border-color));
}

.schedule-day {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-color);
}

.schedule-day svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
    flex-shrink: 0;
}

.schedule-day h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
}

.schedule-times {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.time-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--light-bg);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.time-block:hover {
    background-color: var(--secondary-color);
    transform: translateX(4px);
}

.time-block.closed {
    background-color: #FCE8E8;
    opacity: 0.8;
}

.time-block.closed .time-value {
    color: var(--text-light);
    font-style: italic;
}

.time-label {
    font-weight: var(--font-weight-medium);
    color: var(--text-color);
    font-size: 0.8rem;
}

.time-value {
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    font-size: 0.875rem;
}

/* Time block with no-call icon */
.time-block.no-call {
    position: relative;
    padding-right: 2.5rem;
}

.time-block.no-call::after {
    content: '';
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72 12.84 12.84 0 00.7 2.81 2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45 12.84 12.84 0 002.81.7A2 2 0 0122 16.92z'/%3E%3Cline x1='2' y1='22' x2='22' y2='2' stroke='%23718096' stroke-width='2.5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
}

/* Schedule Notes */
.schedule-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.schedule-note {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background-color: var(--white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--accent-color);
}

.schedule-note svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-color);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.schedule-note p {
    margin: 0;
    font-size: 0.875rem;
}

.schedule-note strong {
    color: var(--primary-color);
}

.schedule-note a {
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
}

/* ========================================
   Schedule Table - Modern Layout
   ======================================== */

.schedule-table-wrapper {
    overflow-x: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    background-color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.schedule-table-modern {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
}

.schedule-table-modern thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.schedule-table-modern th {
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
    font-weight: var(--font-weight-bold);
    font-size: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    vertical-align: middle;
}

.schedule-table-modern th:first-child {
    text-align: left;
    min-width: 120px;
}

.schedule-table-modern th.no-call-col {
    background: linear-gradient(135deg, rgba(113, 128, 150, 0.3) 0%, rgba(113, 128, 150, 0.2) 100%);
}

.schedule-table-modern tbody tr {
    transition: var(--transition-fast);
    border-bottom: 1px solid var(--border-color);
}

.schedule-table-modern tbody tr:last-child {
    border-bottom: none;
}

.schedule-table-modern tbody tr:hover {
    background-color: var(--light-bg);
}

.schedule-table-modern td {
    padding: var(--spacing-md) var(--spacing-lg);
    border-right: 1px solid var(--border-color);
    text-align: center;
    vertical-align: middle;
    transition: var(--transition-fast);
}

.schedule-table-modern td:last-child {
    border-right: none;
}

.schedule-table-modern .day-cell {
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    text-align: left;
    background-color: var(--secondary-color);
    font-size: 1rem;
}

.schedule-table-modern .time-cell {
    font-size: 0.875rem;
    color: var(--text-color);
    line-height: 1.5;
}

.schedule-table-modern .time-cell small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.schedule-table-modern .time-cell small.no-call-inline {
    color: var(--text-light);
    font-style: normal;
}

.schedule-table-modern .time-cell .time-with-no-call {
    position: relative;
    padding-left: 1.5rem;
    display: inline-block;
}

.schedule-table-modern .time-cell .time-with-no-call::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D3748' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72 12.84 12.84 0 00.7 2.81 2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45 12.84 12.84 0 002.81.7A2 2 0 0122 16.92z'/%3E%3Cline x1='2' y1='22' x2='22' y2='2' stroke='%232D3748' stroke-width='2.5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.schedule-table-modern .time-cell.no-call {
    background-color: rgba(113, 128, 150, 0.06);
    color: var(--text-light);
    position: relative;
}

.schedule-table-modern .time-cell.no-call::before {
    content: '';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72 12.84 12.84 0 00.7 2.81 2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45 12.84 12.84 0 002.81.7A2 2 0 0122 16.92z'/%3E%3Cline x1='2' y1='22' x2='22' y2='2' stroke='%23718096' stroke-width='2.5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.schedule-table-modern .time-cell.closed {
    background-color: rgba(252, 232, 232, 0.5);
    color: var(--text-light);
    font-style: italic;
}

/* Responsive table on mobile */
@media (max-width: 992px) {
    .schedule-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .schedule-table-modern th,
    .schedule-table-modern td {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.85rem;
    }

    .schedule-table-modern th {
        font-size: 0.9rem;
    }

    .schedule-table-modern .day-cell {
        font-size: 0.9rem;
        min-width: 100px;
    }

    .schedule-table-modern .time-cell {
        font-size: 0.8rem;
        min-width: 100px;
    }
}

@media (max-width: 768px) {
    .schedule-table-modern th,
    .schedule-table-modern td {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.75rem;
    }

    .schedule-table-modern th {
        font-size: 0.8rem;
    }

    .schedule-table-modern .day-cell {
        font-size: 0.85rem;
        min-width: 80px;
    }

    .schedule-table-modern .time-cell {
        font-size: 0.75rem;
        min-width: 90px;
    }

    .schedule-table-modern .time-cell small {
        font-size: 0.65rem;
    }

    .schedule-table-modern th.no-call-col::after,
    .schedule-table-modern .time-cell.no-call::before {
        width: 14px;
        height: 14px;
    }
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-item svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary-color);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.contact-item p {
    margin: 0;
}

.contact-item a {
    font-weight: var(--font-weight-semibold);
}

.contact-text {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background-color: var(--light-gray);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary-color);
}

.contact-text p {
    margin-bottom: var(--spacing-sm);
}

.contact-text p:last-child {
    margin-bottom: 0;
}

.contact-map {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    min-height: 500px;
}

.contact-map iframe {
    height: 100%;
}

/* ========================================
   Updates Section
   ======================================== */

.updates-section {
    background-color: var(--light-gray);
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.update-card {
    background-color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.update-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-warm));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.update-card:hover::before {
    transform: scaleX(1);
}

.update-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.update-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-xs);
}

.update-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.update-card p {
    margin: 0;
}

/* ========================================
   GDPR Section
   ======================================== */

.gdpr-section {
    background-color: var(--secondary-color);
}

.gdpr-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-warm));
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-info h3 {
    margin-bottom: var(--spacing-md);
}

.footer-info p {
    margin-bottom: var(--spacing-xs);
}

.footer-info a {
    color: var(--white);
    font-weight: var(--font-weight-semibold);
}

.footer-info a:hover {
    color: var(--secondary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: flex-end;
}

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

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
}

/* ========================================
   Mobile Call Button
   ======================================== */

.mobile-call-btn {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: none;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: var(--transition);
    font-weight: var(--font-weight-semibold);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.mobile-call-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50px;
    transition: var(--transition);
    opacity: 0;
}

.mobile-call-btn:hover::before {
    opacity: 1;
}

.mobile-call-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 32px rgba(74, 158, 199, 0.4);
}

.mobile-call-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    animation: pulse 2s infinite;
    position: relative;
    z-index: 1;
}

.mobile-call-btn span {
    position: relative;
    z-index: 1;
}

.mobile-call-btn.visible {
    display: flex;
    animation: slideInRight 0.4s ease;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1100px) {
    /* Schedule - 3 columns on medium screens */
    .schedule-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    /* Schedule - 2 columns on tablets */
    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-md);
        transition: var(--transition);
        gap: var(--spacing-md);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .services-grid,
    .news-grid,
    .updates-grid {
        grid-template-columns: 1fr;
    }

    .equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .team-image-wrapper {
        height: 300px;
    }

    .team-name {
        font-size: 1.5rem;
    }

    .team-role {
        font-size: 1rem;
    }

    .mobile-call-btn {
        display: flex;
    }

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

    /* Schedule cards responsive */
    .schedule-section {
        padding: var(--spacing-md) 0;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .schedule-subtitle {
        font-size: 0.9rem;
        margin-bottom: var(--spacing-md);
    }

    .schedule-card {
        padding: var(--spacing-sm);
    }

    .schedule-day {
        margin-bottom: var(--spacing-sm);
        padding-bottom: 0.375rem;
    }

    .schedule-day svg {
        width: 20px;
        height: 20px;
    }

    .schedule-day h3 {
        font-size: 1rem;
    }

    .time-block {
        padding: 0.5rem 0.75rem;
    }

    .time-label {
        font-size: 0.75rem;
    }

    .time-value {
        font-size: 0.8rem;
    }

    .time-block.no-call::after {
        width: 18px;
        height: 18px;
    }

    .schedule-notes {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }

    .schedule-note {
        padding: var(--spacing-sm);
    }

    .schedule-note svg {
        width: 20px;
        height: 20px;
    }

    .schedule-note p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

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

    .info-box {
        flex-direction: column;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .note-item {
        flex-direction: column;
        text-align: center;
    }

    .pricing-table th,
    .pricing-table td,
    .schedule-table th,
    .schedule-table td {
        padding: var(--spacing-sm);
        font-size: 0.875rem;
    }
}

/* ========================================
   Accessibility & Print Styles
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

@media print {
    .navbar,
    .mobile-call-btn,
    .hero-buttons {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }
}

/* ========================================
   Loading & Animation States
   ======================================== */

/* ========================================
   Advanced Animations
   ======================================== */

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stagger animation delays */
.news-card:nth-child(1),
.service-card:nth-child(1),
.update-card:nth-child(1) {
    animation-delay: 0.1s;
}

.news-card:nth-child(2),
.service-card:nth-child(2),
.update-card:nth-child(2) {
    animation-delay: 0.2s;
}

.news-card:nth-child(3),
.service-card:nth-child(3),
.update-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Smooth Section Transitions */
section {
    opacity: 1;
    transition: opacity 0.6s ease;
}

/* Glass Effect for Modern Look */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
