/* CSS Variables for SC3 Brand Colors */
:root {
    --background-blue: #08283e;
    --text-orange: #eb7325;
    --heading-yellow: #ffe8b5;
    --text-yellow: #ffe8b5;
    --heading-orange: #eb7325;
    --menu-current: #5c868e;
    --menu-other: #e2a027;
    --white: #ffffff;
}

/* Font imports */
/* Font imports */
@font-face {
    font-family: 'Merriweather';
    src: url('/fonts/merriweather/serif/Merriweather.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-stretch: 100%;
    font-display: swap;    
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Merriweather';
    src: url('/fonts/merriweather/serif/Merriweather-ext.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-stretch: 100%;
    font-display: swap;    
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


@font-face {
    font-family: 'Merriweather';
    src: url('/fonts/merriweather/serif/Merriweather-700.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-stretch: 100%;
    font-display: swap;    
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Merriweather';
    src: url('/fonts/merriweather/serif/Merriweather-ext700.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-stretch: 100%;
    font-display: swap;    
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Merriweather-Light';
    src: url('/fonts/merriweather/serif/Merriweather-Light.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather-Light';
    src: url('/fonts/merriweather/serif/Merriweather-LightItalic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather Sans';
    src: url('/fonts/merriweather/sans_serif/MerriweatherSans-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather Sans';
    src: url('/fonts/merriweather/sans_serif/MerriweatherSans-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* Tools submenu styles */
.nav-tools {
    position: relative;
}

.nav-tools .submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: var(--background-blue);
    min-width: 280px; /* Increased from 160px */
    width: max-content; /* Allow width to expand based on content */
    max-width: 350px; /* Set a reasonable maximum width */
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-radius: 0 0 8px 8px;
    z-index: 1001;
    padding: 0;
    margin: 0;
    white-space: nowrap; /* Prevent text wrapping */
}

.nav-tools .footer-submenu {
    display: none;
    position: absolute;
    left: 0;
    bottom: 100%;
    background: var(--background-blue);
    min-width: 280px; /* Increased from 160px */
    width: max-content; /* Allow width to expand based on content */
    max-width: 350px; /* Set a reasonable maximum width */
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-radius: 0 0 8px 8px;
    z-index: 1001;
    padding: 0;
    margin: 0;
    white-space: nowrap; /* Prevent text wrapping */
}

.nav-tools .submenu li,
.nav-tools .footer-submenu li {
    list-style: none;
}

.nav-tools .submenu a,
.nav-tools .footer-submenu a {
    color: var(--menu-other);
    text-decoration: none;
    display: block;
    padding: 12px 24px;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
}

.nav-tools .submenu a:hover,
.nav-tools .footer-submenu a:hover {
    background: var(--heading-yellow);
    color: var(--background-blue);
}

.nav-tools.open .submenu,
.nav-tools.open .footer-submenu {
    display: block;
}

/* Header and Navigation */
.navbar {
    background-color: var(--background-blue);
    border-bottom: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    transition: all 0.3s ease;
}

.burger-line {
    width: 24px;
    height: 3px;
    background-color: var(--text-orange);
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-line:not(:last-child) {
    margin-bottom: 4px;
}

/* Burger Animation */
.burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    height: 80px;
    position: relative;
}

.nav-logo {
    position: absolute;
    left: 0;
    top: 50%;
    display: flex;
    align-items: flex-start; /* Align image to top of h1 */
    gap: 8px;
    transform: translateY(-50%);
    margin-left: 40px;
    z-index: 2;
}

.nav-favicon {
    width: 28px;
    height: 28px;
}

.nav-menu {
    position: absolute;
    right: 100px;
    margin-right: 140px; /* Offset from social-links */
}

.social-links {
    position: absolute;
    right: 0;
    top: 0;
    margin-right: 100px;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 80px;
    transform: none;
}

.nav-logo a {
    font-family: 'Merriweather', serif !important; /* Ensure logo uses Merriweather font when opening SPA pages */
    font-size: 25px;
    color: var(--text-orange);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link {
    color: var(--menu-other);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px !important;
    transition: color 0.3s ease;
    line-height: 50px;
}

.nav-link:hover {
    color: var(--heading-yellow);
}

.nav-link.active {
    color: var(--menu-current);
}

/* Reset and base styles */
body {
    font-family: 'Merriweather', serif;
    background: var(--background-blue);
    color: #222;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

body.page-transition {
    opacity: 0;
}

/* Prevent flash of unstyled content */
.page-loading {
    opacity: 0;
}

/* Main content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    font-family: 'Merriweather', serif;
}

h1, h2, h3, h4, h5, h6, .nav-link, .send-btn, .form-note, .footer-bottom, .footer-links a, .footer-links h4, .contact-info, .social-media, .values-section, .why-us-section, .service-info, .service-detail, .service-card, .story-title, .story-section, .content-container, .page-content, .about-columns, .values-grid, .value-item {
    font-family: 'Merriweather', serif !important;
    font-weight: 400;
}

/* Contact page: side-by-side layout for content and form */
.contact-flex-row {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
.contact-flex-row .content-container {
    flex: 1 1 0;
    min-width: 320px;
    max-width: 500px;
    padding: 0;
}
.contact-flex-row .contact-form {
    flex: 1 1 0;
    min-width: 320px;
    max-width: 500px;
    margin-top: 0;
}

/* Contact page orange highlight block */
.contact-highlight {
    background: var(--text-orange);
    color: var(--background-blue);
    padding: 40px 30px 30px 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
}

.contact-highlight h1,
.contact-highlight p,
.contact-highlight .contact-info,
.contact-highlight .contact-info a,
.contact-highlight .social-media a {
    color: var(--background-blue) !important;
}

.contact-highlight .contact-info a {
    text-decoration: none;
}

.contact-highlight .social-media {
    justify-content: center;
}

.contact-info a:hover {
    opacity: 0.8;
}

label, .contact-form label {
    color: var(--text-orange);
}

.contact-form {
    max-width: 600px;
    margin-top: 60px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid var(--text-orange);
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background-color: var(--background-blue);
    color: var(--text-orange);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-yellow);
    opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--heading-yellow);
    box-shadow: 0 0 5px rgba(255, 232, 181, 0.3);
}

.contact-form input:hover, 
.contact-form textarea:hover {
    padding: 15px;
    border: 3px solid var(--text-orange);
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background-color: var(--background-blue);
    color: var(--text-orange);
}

/* Email validation styles - only show error for invalid content, not empty fields */
.email-error {
    display: none;
    color: #d32f2f;
    font-size: 14px;
    margin-top: 5px;
    font-style: italic;
}

/* Only show error styling when field has content AND is invalid */
.contact-form input[type="email"]:not(:placeholder-shown):invalid,
.contact-form input[type="email"]:not([value=""]):invalid {
    border-color: #d32f2f;
    background-color: rgba(211, 47, 47, 0.1);
}

.contact-form input[type="email"]:not(:placeholder-shown):invalid + .email-error,
.contact-form input[type="email"]:not([value=""]):invalid + .email-error {
    display: block;
}

/* Show valid styling when field has content AND is valid */
.contact-form input[type="email"]:not(:placeholder-shown):valid,
.contact-form input[type="email"]:not([value=""]):valid {
    border-color: #2e7d32;
    background-color: rgba(46, 125, 50, 0.1);
}

/* Remove validation styling when field is empty */
.contact-form input[type="email"]:placeholder-shown {
    border-color: var(--text-orange) !important;
    background-color: var(--background-blue) !important;
}

.contact-form input[type="email"]:placeholder-shown + .email-error {
    display: none !important;
}

.social-links a {
    color: var(--menu-other);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    border: 1px solid var(--menu-other);
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Remove border from LinkedIn image in social-links */
.social-links img[alt="LinkedIn"] {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    padding: 0 !important;
}

.social-links a:hover {
    background-color: var(--heading-yellow);
    color: var(--background-blue);
    border-color: var(--heading-yellow);
}



/* Hero section - image anchored to right side of browser */
.hero {
    position: relative;
    background-color: var(--background-blue);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    min-height: 500px; /* Minimum height but allows growth */
    margin-top: 100px; /* Space from navbar */
}

.hero-content {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 600px;
    padding: 60px 40px;
    background: rgba(8, 40, 62, 0.90);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    align-self: center;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--heading-yellow);
    line-height: 1.2;
}

.hero-content p {
    font-size: 16px;
    color: var(--text-orange);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: normal;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

/* Home overview section */
.home-overview {
    padding: 5px 40px 20px 40px;
    background-color: var(--background-blue);
    text-align: center;
}

.home-overview h2 {
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--heading-yellow);
}

.home-overview > p {
    font-size: 16px;
    color: var(--text-orange);
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6em;
    font-weight: 400;
    text-align: left;
}

.home-grid {
    display: flex;
    gap: 30px;
    width: calc(100vw - 100px); /* 50px buffer on each side */
    max-width: none;
    min-width: 0;
    margin-left: 50px;
    margin-right: 50px;
    background: var(--text-orange);
    padding: 80px 80px 80px 80px;
    border-radius: 4px;
    overflow: visible;
}

/* Ensure orange text for service box paragraphs */
.home-detailed .service-info p {
    font-size: 16px;
    color: #eb7325 !important;
    line-height: 1.6;
    font-weight: 400;
    text-align: justify;
    width: 100%;
    display: block;
}

.home-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 40px 30px 30px 30px;
    background: var(--text-yellow);
    border-radius: 8px;
    border: 1px solid var(--heading-yellow);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    flex: 1 1 0;
    min-width: 280px;
    max-width: 350px;
    position: relative;
}

.home-detail:hover {
    transform: translateY(-3px);
}

.home-info h3 {
    font-size: 22px;
    color: #eb7325;
    margin-bottom: 16px;
    font-weight: 400;
    text-align: center;
    width: 100%;
    display: block;
}

/* Services overview section */
.services-overview {
    padding: 5px 40px 20px 40px;
    background-color: var(--background-blue);
    text-align: center;
}

/* Services page h1 override - more specific selector */
.page-content .content-container h1.services-overview {
    font-size: 56px !important;
    margin-bottom: 30px !important;
    color: var(--heading-orange) !important;
    text-align: center !important;
    font-weight: normal !important;
}

.services-overview h2 {
    font-size: 40px;
    margin-bottom: 30px;
    color: var(--heading-yellow);
}

.services-overview > p {
    font-size: 18px;
    color: var(--text-orange);
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6em;
    font-weight: 400;
    text-align: left;
}

.services-grid {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 80px 50px 80px 50px; /* 50px buffer left/right */
    overflow: visible;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Responsive Home Overview */
.home-overview {
    padding: 40px 20px;
}

.home-overview h2 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 30px;
}

.home-overview > p {
    font-size: clamp(14px, 2vw, 16px);
    max-width: min(800px, 90vw);
    margin: 0 auto 60px;
    padding: 0 20px;
}

.home-grid-bg-container {
    width: calc(100% - 100px);
    margin: 0 auto;
    background: var(--text-orange);
    border-radius: 4px;
    overflow: visible;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    row-gap: 80px;
    width: 100%;
    max-width: 1200px;
    margin: 0;
    background: transparent;
    padding: 60px 0;
    border-radius: 4px;
    overflow: visible;
}

.home-card {
    background: transparent;
    border-radius: 4px;
    padding: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    text-align: center;
    border: none;
    position: relative;
    flex: 1;
    z-index: 10;
}

.home-card:hover {
    transform: translateY(-5px);
}

.home-card img {
    width: 280px;
    height: 335px;
    object-fit: cover;
    object-position:right;
    border-radius: 4px;
    margin-bottom: 0;
    z-index: 1;
}

.home-card h3 {
    font-size: 20px;
    color: #eb7325;
    margin: 0;
    font-weight: normal;
    padding: 20px 15px;
    background: var(--background-blue);
    position: absolute;
    bottom: -40px;
    right: -20px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
    white-space: nowrap;
    width: auto;
    min-width: fit-content;
}

/* Ensure orange text for service box paragraphs */
.services-detailed .service-info p {
    font-size: 16px;
    color: #eb7325 !important;
    line-height: 1.8;
    font-weight: 400;
    text-align: justify;
    width: 100%;
    display: block;
}

/* Services page: horizontal boxes with number circles centered at top */
.services-detailed {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 60px;
    justify-content: center;
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-size: 22px;
    color: #eb7325;
    margin-bottom: 16px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    display: block;
}

.service-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 40px 30px 30px 30px;
    background: var(--text-yellow);
    border-radius: 8px;
    border: 1px solid var(--heading-yellow);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    flex: 1 1 0;
    min-width: 280px;
    max-width: 350px;
    position: relative;
}

.service-detail:hover {
    transform: translateY(-3px);
}

.service-number {
    background: #e2a027;
    color: #eb7325;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 2px solid #e2a027;
    z-index: 2;
}

.number-circle {
    width: 40px;
    height: 40px;
    background-color: #eb7325;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

/* Page content */
.page-content {
    padding: 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--background-blue);
}

.page-content_wide {
    padding: 40px 40px;
    max-width: 100%;
    margin: 0 auto;
    background-color: var(--background-blue);
}

/* Story section with left-right layout */
.story-section {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: stretch; /* Changed from flex-start to stretch for equal height */
}

.story-section p, .content-container .story-section p {
    font-size: 18px;
    color: var(--text-yellow);
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
    flex: 1;
    padding: 0;
    text-align: justify;
}

.story-title {
    background: var(--text-orange);
    color: var(--background-blue) !important;
    font-size: 75px;
    margin: 0;
    padding: 40px;
    border-radius: 8px;
    flex-shrink: 0;
    width: auto;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-container h1 {
    font-size: 75px;
    margin-bottom: 40px;
    color: var(--heading-yellow);
    text-align: center;
}

.content-container h2 {
    font-size: 36px;
    margin: 60px 0 30px;
    color: var(--heading-yellow);
    font-weight: 400;
}

.content-container p {
    font-size: 16px;
    color: var(--text-yellow);
    line-height: 1.8em;
    margin-bottom: 30px;
    font-weight: 400;
}

/* About page two-column layout */
.about-columns {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    align-items: flex-start;
}

.why-us-section {
    flex: 1;
}

.why-us-section h2 {
    font-size: 60px;
    margin-bottom: 30px;
    color: var(--heading-orange);
    font-weight: 400;
}

.why-us-section p {
    font-size: 20px;
    color: var(--text-yellow);
    line-height: 1.9em;
    font-weight: 400;
    text-align: justify;
}

.values-section {
    flex: 1;
}

.values-section h2 {
    font-size: 60px;
    margin-bottom: 30px;
    color: var(--heading-orange);
    font-weight: 400;
}

/* Values grid */
.values-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 0;
}

.value-item {
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: left;
    box-shadow: none;
    transition: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.value-item:hover {
    transform: none;
}

.value-item::before {
    content: none;
}

.value-item h3 {
    font-size: 35px;
    color: var(--text-yellow);
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.03em;
    line-height: 1.9em;
}

.social-media {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social-media a {
    color: var(--text-yellow);
    text-decoration: none;
    padding: 10px 20px;
    background: var(--text-orange);
    border: 1px solid var(--heading-yellow);
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.social-media a:hover {
    background: var(--heading-yellow);
    color: var(--background-blue);
}

.send-btn {
    background: var(--text-orange);
    color: var(--text-yellow);
    padding: 15px 30px;
    border: 1px solid var(--text-orange);
    border-radius: 4px;
    font-size: 16px;
    transition: none;
    font-weight: 400;
}

.send-btn:hover {
    background: var(--heading-yellow);
    color: var(--background-blue);
    border-color: var(--heading-yellow);
}

.form-note {
    font-size: 14px;
    color: var(--text-orange);
    font-style: italic;
    text-align: center;
    background: rgba(235, 115, 37, 0.1);
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgba(235, 115, 37, 0.2);
}

.form-row {
    display: flex;
    gap: 32px;
}

/* Footer */
footer {
    background: var(--background-blue);
    color: var(--text-yellow);
    padding: 60px 40px 30px;
    margin-top: auto;
    border-top: 1px solid var(--heading-yellow);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 232, 181, 0.2);
    padding-top: 20px;
    text-align: center;
    color: var(--text-orange);
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    .footer-links ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        width: 100%;
        justify-content: center;
    }
    .footer-bottom {
        text-align: center;
        margin-top: 30px;
        padding-top: 20px;
        width: 100%;
    }
}

/* Responsive design */
@media (max-width: 480px) {
    .nav-container {
        position: relative;
        width: 100vw;
        padding: 0 15px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        overflow: visible;
    }
    
    .nav-logo {
        margin-bottom: 0;
    }
    
    .burger-menu {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        order: unset;
        z-index: 1001;
        padding: 0;
        box-sizing: border-box;
        overflow: visible;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--background-blue);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(235, 115, 37, 0.2);
    }
    
    .nav-link {
        display: block;
        padding: 20px 30px;
        font-size: 18px;
        width: 100%;
        text-align: left;
    }
    
    .nav-tools .submenu,
    .nav-tools .footer-submenu {
        position: static;
        box-shadow: none;
        background: rgba(235, 115, 37, 0.1);
        margin: 0;
        border-radius: 0;
        display: none;
        width: 100%;
    }

    .nav-tools.open .submenu,
    .nav-tools.open .footer-submenu {
        display: block;
    }
    
    .nav-tools .submenu li,
    .nav-tools .footer-submenu li {
        border-bottom: 1px solid rgba(235, 115, 37, 0.1);
    }

    .nav-tools .submenu a,
    .nav-tools .footer-submenu a {
        padding: 15px 50px;
        font-size: 16px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 15px;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .services-overview {
        padding: 40px 15px;
    }

    .services-grid {
        flex-direction: column;
        gap: 60px;
        padding: 40px 20px 40px 20px;
    }
    
    .service-card h3 {
        position: static;
        margin-top: 20px;
        white-space: normal;
        right: auto;
        width: auto;
        min-width: auto;
    }
    
    .content-container h1 {
        font-size: 36px;
    }

    .content-container h2 {
        font-size: 28px;
    }

    .form-row {
        flex-direction: column;
    }    

    footer {
        padding: 40px 15px 20px;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 15px;
    }

    .social-media {
        flex-direction: column;
        gap: 15px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
    
    /* About columns responsive */
    .about-columns {
        flex-direction: column;
        gap: 40px;
    }
    
    /* Story section responsive */
    .story-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .story-title {
        min-width: auto;
        width: 100%;
        text-align: center;
        font-size: 36px;
        padding: 30px 20px;
    }
    
    .story-section p {
        padding: 10px 0;
        font-size: 16px;
    }

    /* About page mobile header font adjustments */
    .content-container h1 {
        font-size: 48px !important;
    }
    
    .content-container h2 {
        font-size: 28px !important;
    }
}

/* Tablet breakpoint - maintain side-by-side but adjust sizing */
@media (max-width: 992px) and (min-width: 769px) {
    .story-section {
        gap: 30px;
    }
    
    .story-title {
        font-size: 48px;
        min-width: 250px;
        padding: 30px 25px;
    }
    
    .story-section p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .content-container h1 {
        font-size: 56px;
    }
    
    .content-container h2 {
        font-size: 32px;
    }
}

/* Small tablet - text getting cramped, keep side-by-side but reduce further */
@media (max-width: 768px) and (min-width: 601px) {
    .story-section {
        gap: 20px;
        align-items: stretch;
    }
    
    .story-title {
        font-size: 36px;
        min-width: 200px;
        padding: 25px 20px;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .story-section p {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .content-container h1 {
        font-size: 42px !important;
    }
    
    .content-container h2 {
        font-size: 26px !important;
    }
}

/* Mobile - stack vertically when text gets too cramped */
@media (max-width: 600px) {
    /* Story section responsive */
    .story-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .story-title {
        min-width: auto;
        width: 100%;
        text-align: center;
        font-size: 32px;
        padding: 25px 20px;
        writing-mode: initial;
        text-orientation: initial;
    }
    
    .story-section p {
        padding: 10px 0;
        font-size: 15px;
        text-align: left;
    }

    /* About page mobile header font adjustments */
    .content-container h1 {
        font-size: 36px !important;
    }
    
    .content-container h2 {
        font-size: 24px !important;
    }
}

@media (max-width: 768px) {

    .contact-flex-row {
        flex-direction: column;
        gap: 32px;
    }

    .contact-flex-row .content-container,
    .contact-flex-row .contact-form {
        max-width: 100%;
        min-width: 0;
    }

}

.tool-container {
    width: 100%;
    background: transparent;
    margin: 0;
    max-width: 100vw;
    padding: 0;
}
.main-content-wide {
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 0;
    margin-top: 80px;
}
.page-content-wide {
    width: 100%;
    padding: 0;
}
#bia-app {
    width: 100%;
    min-height: 70vh;
}
#root {
    width: 100%;
    min-height: 70vh;
    overflow-x: auto;
    min-width: 0;
}

.icon-set {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.icon-set svg {
    flex-shrink: 0;
}

/* Tools page styling */
.tools-overview {
    font-size: 56px !important;
    margin-bottom: 30px !important;
    color: var(--heading-orange) !important;
    text-align: center !important;
    font-weight: bold !important;
    background: var(--background-blue);
    padding: 60px 0;
}

.tools-overview .content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.tools-overview h2 {
    font-size: 36px;
    color: var(--heading-yellow);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.tools-overview > .content-container > p {
    font-size: 18px;
    color: var(--text-orange);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tools-description {
    font-size: 18px;
    color: var(--text-orange);
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6em;
    font-weight: 400;
    text-align: center;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 40px 30px 30px 30px;
    background: var(--text-yellow);
    border-radius: 8px;
    border: 1px solid var(--heading-yellow);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    position: relative;
    min-height: 250px;
}

.tool-card:hover {
    transform: translateY(-3px);
}

.tool-number {
    background: #e2a027;
    color: #eb7325;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 2px solid #e2a027;
    z-index: 2;
}

.tool-info {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-info h3 {
    font-size: 22px;
    color: #eb7325;
    margin-bottom: 16px;
    font-weight: bold;
}

.tool-info p {
    font-size: 16px;
    color: #eb7325;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.tool-link {
    display: inline-block;
    background: var(--text-orange);
    color: var(--text-yellow);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: auto;
}

.tool-link:hover {
    background: var(--heading-yellow);
    color: var(--background-blue);
    transform: translateY(-2px);
}

/* Table expander styling */
.table-expander {
    margin: 40px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px;
    background: var(--text-orange);
    color: var(--text-yellow);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.expand-btn:hover {
    background: var(--heading-yellow);
    color: var(--background-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.expand-icon {
    transition: transform 0.3s ease;
}

.expand-btn.expanded .expand-icon {
    transform: rotate(180deg);
}

.tools-table-container {
    margin-top: 30px;
    animation: slideDown 0.3s ease-out;
    padding: 0 20px;
}

.tools-table-container h3 {
    font-size: 24px;
    color: var(--heading-yellow);
    margin-bottom: 16px;
    text-align: center;
}

.tools-table-container > p {
    font-size: 16px;
    color: var(--text-orange);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced table styling */
.table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    max-width: 95%;
    background: var(--text-yellow);
}

.tools-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--text-yellow);
    font-size: 14px;
    min-width: 700px; /* Minimum width to prevent cramping */
}

.tools-table thead {
    background: var(--text-orange);
    color: var(--text-yellow);
}

.tools-table th {
    padding: 16px 16px;
    text-align: left;
    font-weight: bold;
    font-size: 16px;
    background: var(--text-orange);
    color: var(--text-yellow);
    border-bottom: 2px solid var(--heading-yellow);
}

.tools-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(235, 115, 37, 0.2);
    color: var(--background-blue);
    vertical-align: top;
}

.tools-table tbody tr:hover {
    background: rgba(235, 115, 37, 0.1);
}

.tools-table tbody tr.available-tool {
    background: rgba(46, 125, 50, 0.1);
}

.tools-table tbody tr.available-tool:hover {
    background: rgba(46, 125, 50, 0.2);
}

.tools-table a {
    color: var(--background-blue);
    text-decoration: none;
    font-weight: bold;
}

.tools-table a:hover {
    color: var(--text-orange);
    text-decoration: underline;
}

/* Status and focus tags */
.status-tag, .focus-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-tag.available {
    background: #2e7d32;
    color: #fff;
}

.status-tag.considering {
    background: #fec268;
    color: #fff;
}

.focus-tag {
    background: var(--text-orange);
    color: var(--text-yellow);
}

.focus-tag.assets { background: #1976d2; }
.focus-tag.employees { background: #7b1fa2; }
.focus-tag.processes { background: #388e3c; }
.focus-tag.applications { background: #f57c00; }
.focus-tag.data { background: #d32f2f; }
.focus-tag.policies { background: #21c218; }
.focus-tag.incidents { background: #fbc02d; }
.focus-tag.third-parties { background: #025581; }

/* Responsive adjustments */
@media (max-width: 1200px) {
    .tools-overview .content-container {
        padding: 0 30px;
    }
    
    .table-wrapper {
        max-width: 98%;
    }
    
    .tools-table-container {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .tools-overview {
        font-size: 36px !important;
    }

    .tools-overview .content-container {
        padding: 0 20px;
    }
    
    .table-wrapper {
        max-width: 100%;
        margin: 0;
    }
    
    .tools-table-container {
        padding: 0 5px;
    }
    
    .tools-table {
        font-size: 12px;
    }
    
    .tools-table th,
    .tools-table td {
        padding: 8px 6px;
        font-size: 12px;
    }
    
    .tools-table th {
        font-size: 14px;
    }
}

/* =========================
   RESPONSIVE DESIGN STYLES
   ========================= */

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-container {
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            padding: 15px 20px;
            position: relative;
    }
    
    .nav-logo {
        margin-bottom: 0;
    }
    
    .burger-menu {
        display: flex;
        position: absolute;
        right: 40px;
        padding: 10px;
        top: 50%;
        transform: translateY(-50%);
        order: unset;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--background-blue);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(235, 115, 37, 0.2);
    }
    
    .nav-link {
        display: block;
        padding: 20px 30px;
        font-size: 18px;
        width: 100%;
        text-align: left;
    }
    
    .nav-tools .submenu,
    .nav-tools .footer-submenu {
        position: static;
        box-shadow: none;
        background: rgba(235, 115, 37, 0.1);
        margin: 0;
        border-radius: 0;
        display: none;
        width: 100%;
    }

    .nav-tools.open .submenu,
    .nav-tools.open .footer-submenu {
        display: block;
    }
    
    .nav-tools .submenu li,
    .nav-tools .footer-submenu li {
        border-bottom: 1px solid rgba(235, 115, 37, 0.1);
    }

    .nav-tools .submenu a,
    .nav-tools .footer-submenu a {
        padding: 15px 50px;
        font-size: 16px;
    }
    
    .social-links {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
        z-index: 1000;
    }
    
    /* Hide social links when menu is closed */
    .social-links {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .nav-menu.active ~ .social-links {
        opacity: 1;
    }
}

/* Responsive Hero Section */
@media (max-width: 1200px) {
    .hero-content {
        margin-left: 30px;
        max-width: 550px;
    }
    
    .hero-image {
        width: 55%;
    }
}

@media (max-width: 992px) {
    .hero {
        min-height: 450px;
    }
    
    .hero-content {
        margin-left: 20px;
        max-width: 500px;
        padding: 50px 30px;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .hero-content p {
        font-size: 15px;
    }
    
    .hero-image {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        min-height: auto;
        position: relative;
        padding: 80px 0 0 0;
        align-items: center;
    }
    
    .hero-image {
        position: relative;
        width: 100%;
        height: 40vh;
        top: 0;
        right: 0;
        bottom: auto;
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
        margin: 10px auto 0 auto;
        max-width: 95vw;
        left: 50%;
        transform: translateX(-50%);
        padding: 40px 20px;
        background: var(--background-blue);
        backdrop-filter: none;
        text-align: center;
        border-radius: 8px;
        box-sizing: border-box;
        word-break: break-word;
    }
    
    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 20px;
        color: var(--heading-yellow);
        display: block;
        word-break: break-word;
    }
    
    .hero-content p {
        font-size: 16px;
        line-height: 1.6;
        color: var(--text-orange);
        word-break: break-word;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
    }
    
    .hero-image {
        height: 35vh;
    }
    
    .hero-content {
        padding: 30px 15px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 20px 15px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .home-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 30px;
        gap: 25px;
        row-gap: 80px;
    }
    
    .home-card img {
        width: 100%;
        height: 280px;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .home-overview {
        padding: 30px 15px;
    }
    
    .home-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 40px;
        row-gap: 100px;
        min-width: auto;
    }
    
    .home-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .home-card img {
        width: 100%;
        max-width: 300px;
        height: 200px;
    }
    
    .home-card h3 {
        position: static;
        background: var(--background-blue);
        margin-top: 15px;
        padding: 15px;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
}

@media (max-width: 480px) {
    .home-overview > p {
        text-align: left;
        padding: 0 10px;
    }
    
    .home-grid {
        padding: 20px 15px;
        gap: 30px;
    }
    
    .home-card img {
        height: 180px;
    }
    
    .home-card h3 {
        font-size: 16px;
        padding: 12px;
    }
}

/* Responsive Footer */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-links ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom {
        text-align: center;
        margin-top: 30px;
        padding-top: 20px;
    }
}

/* General Responsive Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive Typography */
h1 { font-size: clamp(24px, 4vw, 48px); }
h2 { font-size: clamp(20px, 3.5vw, 36px); }
h3 { font-size: clamp(16px, 2.5vw, 24px); }
h4 { font-size: clamp(14px, 2vw, 20px); }

/* Responsive Spacing */
@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: 20px 0;
    }
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    .contact-flex-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .content-container,
    .contact-form {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-row > div {
        margin-right: 0 !important;
    }
}

/* Services Page Responsive */
/* Large tablet - maintain 3 columns but reduce gaps and padding */
@media (max-width: 1100px) and (min-width: 921px) {
    .services-detailed {
        gap: 15px;
        margin-top: 50px;
        padding: 0 20px;
    }
    
    .service-detail {
        min-width: 260px;
        max-width: 320px;
        padding: 35px 25px 25px 25px;
    }
    
    .service-info h3 {
        font-size: 20px;
    }
    
    .service-info p {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* Medium tablet - text starts to truncate, reduce further */
@media (max-width: 920px) and (min-width: 801px) {
    .services-detailed {
        gap: 12px;
        margin-top: 40px;
        padding: 0 15px;
    }
    
    .service-detail {
        min-width: 220px;
        max-width: 280px;
        padding: 30px 20px 20px 20px;
    }
    
    .service-info h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .service-info p {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .service-number {
        width: 48px;
        height: 48px;
        font-size: 24px;
        top: -24px;
    }
}

/* Small tablet - getting cramped, move to 2 columns */
@media (max-width: 800px) and (min-width: 761px) {
    .services-detailed {
        flex-wrap: wrap;
        gap: 25px;
        margin-top: 40px;
        padding: 0 20px;
        justify-content: center;
    }
    
    .service-detail {
        min-width: 300px;
        max-width: 350px;
        flex: 1 1 45%;
        padding: 35px 25px 25px 25px;
    }
    
    .service-detail:nth-child(3) {
        flex: 1 1 90%;
        max-width: 400px;
    }
    
    .service-info h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .service-info p {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .service-number {
        width: 52px;
        height: 52px;
        font-size: 26px;
        top: -26px;
    }
}

/* Mobile - stack vertically */
@media (max-width: 760px) {
    .services-detailed {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 0 15px;
    }
    
    .service-detail {
        max-width: 90%;
        min-width: auto;
        width: 100%;
        max-width: 500px;
        padding: 40px 30px 30px 30px;
    }
    
    .service-info h3 {
        font-size: 22px;
        margin-bottom: 16px;
    }
    
    .service-info p {
        font-size: 16px;
        line-height: 1.6;
        text-align: left;
    }
    
    .service-number {
        width: 56px;
        height: 56px;
        font-size: 28px;
        top: -28px;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--background-blue);
    padding: 32px 24px;
    border-radius: 8px;
    max-width: 400px;
    width: 90vw;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    text-align: center;
    position: relative;
}

.modal h3 {
    font-size: 24px;
    color: var(--heading-yellow);
    margin-bottom: 16px;
    font-weight: bold;
}

.modal p {
    font-size: 16px;
    color: var(--text-orange);
    margin-bottom: 24px;
    line-height: 1.5;
}

.close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2rem;
    color: #eb7325;
    cursor: pointer;
    font-weight: bold;
}