/* styles.css */

/* --- Base Styles --- */
:root {
    /* Define colors for easy reuse */
    --color-dark-bg: #1a1a1a;
    --color-dark-bg-secondary: #1f2937; /* gray-800 */
    --color-dark-bg-header: rgba(26, 26, 26, 0.9);
    --color-dark-surface: #374151; /* gray-700 */
    --color-light-text: #e0e0e0;
    --color-medium-text: #e5e7eb; /* gray-200 */
    --color-subtle-text: #9ca3af; /* gray-400 */
    --color-border: #374151; /* gray-700 */
    --color-border-light: #9ca3af; /* gray-400 */
    --color-ta-blue: #4299e1; /* Brighter blue for highlights */
    --color-ta-orange: #ed8936; /* Orange for accents */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-contact-bg: #212121; /* Slightly different dark for contact */
    --color-focus-ring-blue: rgba(59, 130, 246, 0.5);
    --color-focus-ring-orange: rgba(249, 115, 22, 0.5); /* Orange focus ring */
    --color-focus-ring-gray: rgba(107, 114, 128, 0.5); /* Gray focus ring */

    /* Ring styles variables */
    --tw-ring-inset: ; /* Default empty */
    --tw-ring-offset-width: 0px; /* Default */
    --tw-ring-offset-color: #fff; /* Default */
    --tw-ring-color: var(--color-focus-ring-blue); /* Default focus ring color */
    --tw-ring-offset-shadow: 0 0 #0000; /* Default */
    --tw-ring-shadow: 0 0 #0000; /* Default */
    --tw-shadow: 0 0 #0000; /* Default */
    --tw-shadow-colored: 0 0 #0000; /* Default */
}

/* Apply base font, background, text color, and smooth scrolling */
body, html {
    scroll-behavior: smooth;
    margin: 0; /* Ensure no default margin */
    padding: 0; /* Ensure no default padding */
    box-sizing: border-box; /* Make box model calculation easier */
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-dark-bg);
    color: var(--color-light-text);
    line-height: 1.6; /* Slightly increased line height for readability */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* --- Utility Classes (Derived from Tailwind) --- */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    /* Responsive padding */
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem; /* px-4 */
}

/* Responsive container widths */
@media (min-width: 640px) {
    .container { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; } /* sm */
}
@media (min-width: 768px) {
    .container { max-width: 768px; } /* md */
}
@media (min-width: 1024px) {
    .container { max-width: 1024px; } /* lg */
}
@media (min-width: 1280px) {
    .container { max-width: 1280px; } /* xl */
}
@media (min-width: 1536px) {
    .container { max-width: 1536px; } /* 2xl */
}

/* Common layout and spacing utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.w-full { width: 100%; }
.w-auto { width: auto; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.h-12 { height: 3rem; } /* Logo height */
.h-16 { height: 4rem; } /* Logo height on md */
.h-screen { height: 100vh; }
.min-w-full { min-width: 100%; }
.min-h-full { min-height: 100%; }
.max-w-none { max-width: none; }
.max-w-xs { max-width: 20rem; }
.max-w-xl { max-width: 36rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-\[400px\] { max-width: 400px; } /* Custom max-width */


.mx-auto { margin-left: auto; margin-right: auto; }
.mb-3 { margin-bottom: 0.75rem; } /* Added */
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; } /* Added */
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-3 { margin-top: 0.75rem; } /* Added */
.mt-4 { margin-top: 1rem; } /* Added */
.mt-8 { margin-top: 2rem; } /* Added */
.pb-2 { padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.pt-16 { padding-top: 4rem; }
.pb-16 { padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-6 { padding: 1.5rem; }

.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-left: 1.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }

.gap-x-4 { column-gap: 1rem; }
.gap-y-2 { row-gap: 0.5rem; }
.gap-6 { gap: 1.5rem; } /* Added */
.gap-8 { gap: 2rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

.text-center { text-align: center; }
.text-left { text-align: left; } /* Added */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; } /* Added */
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
/* Responsive Font Sizes */
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; } /* Added for mobile titles */
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; } /* Added */
.leading-normal { line-height: 1.5; } /* Added */
.leading-relaxed { line-height: 1.625; } /* Added */


.text-white { color: var(--color-white); }
.text-gray-200 { color: var(--color-medium-text); }
.text-gray-300 { color: #d1d5db; } /* gray-300 */
.text-gray-400 { color: var(--color-subtle-text); }

.bg-gray-700 { background-color: var(--color-dark-surface); }
.bg-gray-800 { background-color: var(--color-dark-bg-secondary); }
.bg-gray-900 { background-color: #111827; } /* gray-900 */
.bg-ta-dark { background-color: var(--color-dark-bg); }
.bg-transparent { background-color: transparent; }
.bg-black\/70 { background-color: rgba(0, 0, 0, 0.7); } /* black/70 */
.bg-gray-800\/80 { background-color: rgba(31, 41, 55, 0.8); } /* gray-800/80 */
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.from-black\/30 { --tw-gradient-from: rgba(0, 0, 0, 0.3); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0)); }
.to-black\/70 { --tw-gradient-to: rgba(0, 0, 0, 0.7); }


.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-gray-400 { border-color: var(--color-border-light); }
.border-gray-600 { border-color: #4b5563; } /* gray-600 */
.border-gray-700 { border-color: var(--color-border); }
.border-ta-silver { border-color: #a0aec0; } /* Example silver */

.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }

.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); } /* Added */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

.opacity-90 { opacity: 0.9; }

.overflow-hidden { overflow: hidden; }

.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, max-height; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

.transform { transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }

.backdrop-filter { backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); }
.backdrop-blur { --tw-backdrop-blur: blur(8px); } /* Default blur */
.backdrop-blur-sm { --tw-backdrop-blur: blur(4px); } /* blur-sm */
.backdrop-blur-lg { --tw-backdrop-blur: blur(16px); } /* blur-lg */


/* Focus outline */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }

/* Ring styles setup */
.focus\:ring-2:focus {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-offset-2:focus { --tw-ring-offset-width: 2px; }
.focus\:ring-offset-gray-900:focus { --tw-ring-offset-color: #111827; } /* gray-900 */

/* Specific Ring Colors on Focus */
.focus\:ring-blue-500:focus { --tw-ring-color: var(--color-focus-ring-blue); } /* blue-500 */
.focus\:ring-orange-500:focus { --tw-ring-color: var(--color-focus-ring-orange); } /* orange-500 */
.focus\:ring-gray-500:focus { --tw-ring-color: var(--color-focus-ring-gray); } /* gray-500 */

/* Hover transformations and shadows */
.hover\:-translate-y-1:hover { --tw-translate-y: -0.25rem; transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }
.hover\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }
.hover\:shadow-xl:hover { --tw-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
/* Placeholder for colored shadow */
.hover\:shadow-blue-500\/30:hover {
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2), 0 4px 6px -2px rgba(59, 130, 246, 0.15);
}

/* Hover background/text/border colors */
.hover\:bg-blue-500:hover { background-color: #3b82f6; } /* blue-500 */
.hover\:bg-orange-500:hover { background-color: #f97316; } /* orange-500 */
.hover\:bg-gray-700:hover { background-color: var(--color-dark-surface); }
.hover\:text-white:hover { color: var(--color-white); }
.hover\:text-ta-blue:hover { color: var(--color-ta-blue); }
.hover\:border-gray-700:hover { border-color: var(--color-dark-surface); }


/* --- Responsive Styles (md breakpoint: 768px) --- */
@media (min-width: 768px) {
    /* Layout */
    .md\:flex { display: flex; }
    .md\:grid { display: grid; } /* Added */
    .md\:hidden { display: none; }
    .md\:inline { display: inline; } /* For footer separators */
    .md\:block { display: block; } /* Added */

    /* Sizing */
    .md\:h-16 { height: 4rem; }
    .md\:max-w-\[400px\] { max-width: 400px; } /* Custom max-width */

    /* Spacing */
    .md\:space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-left: 1.5rem; margin-top: 0; /* Reset vertical spacing */}
    .md\:space-y-0 > :not([hidden]) ~ :not([hidden]) { margin-top: 0; }
    .md\:gap-8 { gap: 2rem; } /* Added */

    /* Grid */
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* Added */
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    /* Typography */
    .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; } /* Added */
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-left { text-align: left; } /* Added */

    /* Padding */
    .md\:pt-20 { padding-top: 5rem; }
    .md\:pb-24 { padding-bottom: 6rem; }
    .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }

    /* Contact section layout on medium screens */
    .contact-wrapper {
        display: grid; /* Changed to grid for better alignment control */
        grid-template-columns: repeat(2, 1fr); /* Two equal columns */
        gap: 2rem; /* Gap between columns */
        align-items: flex-start; /* Align items to the top */
        text-align: left; /* Default text align for grid cells */
    }
    .contact-details {
         margin-bottom: 0;
         text-align: left; /* Ensure details remain left-aligned */
    }
     .contact-social {
         margin-bottom: 0;
         text-align: center; /* Keep social content centered */
    }
    .social-links {
        justify-content: center; /* Ensure icons are centered */
    }
}

/* --- Custom Component Styles --- */

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    position: relative; /* Needed for overlay */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.parallax-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7); /* black/70 */
    z-index: 0; /* Ensure overlay is behind content */
}

/* Header */
.header-sticky {
    background-color: var(--color-dark-bg-header);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    box-shadow: var(--tw-shadow); /* Use variable */
    --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
}

/* --- Button Styles --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem; /* Adjusted default padding */
    border-radius: 0.375rem; /* rounded-md */
    text-align: center;
    font-weight: 600; /* font-semibold */
    transition: all 300ms ease-in-out;
    box-shadow: var(--tw-shadow);
    --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
    transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
    cursor: pointer;
    text-decoration: none;
    border: none; /* Base style */
    line-height: 1.25; /* Ensure text vertical alignment */
}

.btn:hover {
    --tw-translate-y: -0.125rem; /* Slightly less lift */
    transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.btn:focus {
    outline: 2px solid transparent; /* focus:outline-none */
    outline-offset: 2px;
    --tw-ring-offset-width: 2px; /* focus:ring-offset-2 */
    --tw-ring-offset-color: var(--color-dark-bg-secondary); /* focus:ring-offset-gray-900 */
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); /* focus:ring-2 */
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.btn-primary {
    background-color: #2563eb; /* bg-blue-600 */
    color: var(--color-white); /* text-white */
    --tw-ring-color: var(--color-focus-ring-blue); /* focus:ring-blue-500 */
}
.btn-primary:hover {
    background-color: #3b82f6; /* hover:bg-blue-500 */
}

.btn-secondary {
    background-color: #ea580c; /* bg-orange-600 */
    color: var(--color-white); /* text-white */
    --tw-ring-color: var(--color-focus-ring-orange); /* focus:ring-orange-500 */
}
.btn-secondary:hover {
    background-color: #f97316; /* hover:bg-orange-500 */
}

.btn-outline {
    background-color: transparent; /* bg-transparent */
    border: 2px solid var(--color-border-light); /* border-2 border-gray-400 */
    color: var(--color-medium-text); /* text-gray-200 */
    --tw-ring-color: var(--color-focus-ring-gray); /* focus:ring-gray-500 */
}
.btn-outline:hover {
    background-color: var(--color-dark-surface); /* hover:bg-gray-700 */
    color: var(--color-white); /* hover:text-white */
    border-color: var(--color-dark-surface); /* hover:border-gray-700 */
}

/* Specific button adjustments */
.btn-hero {
    font-size: 1rem; /* text-base */
    padding: 0.75rem 2rem; /* More padding */
}
@media (min-width: 768px) {
    .btn-hero {
        font-size: 1.125rem; /* md:text-lg */
        padding: 0.875rem 2.5rem;
    }
}

.btn-contact-nav {
    font-size: 0.875rem; /* text-sm */
    padding: 0.5rem 1rem; /* Smaller padding for nav */
}
/* Larger button variant */
.btn-lg {
    padding: 1rem 2.5rem; /* Larger padding */
    font-size: 1.125rem; /* text-lg */
}


/* --- Section Title Styling --- */
.section-title {
    font-size: 1.875rem; /* text-3xl */
    line-height: 1.375; /* leading-snug */
    font-weight: 800; /* font-extrabold */
    text-align: center;
    margin-bottom: 1.5rem; /* mb-6 */
    padding-bottom: 0.5rem; /* pb-2 */
    position: relative;
    color: var(--color-ta-blue); /* Use defined blue */
}
/* Responsive title size */
@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem; /* md:text-4xl */
        line-height: 1.25;
    }
}
@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem; /* lg:text-5xl */
        line-height: 1;
    }
}
/* Underline effect */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px; /* Slightly smaller underline */
    height: 3px;
    background-color: var(--color-ta-orange); /* Orange underline */
    border-radius: 2px;
}
/* Specific title color/underline for parallax section */
.section-title-parallax {
    color: var(--color-white); /* White title on dark overlay */
}
.section-title-parallax::after {
     background-color: var(--color-white); /* White underline */
 }

.section-subtitle {
     font-size: 1rem; /* text-base */
     line-height: 1.6; /* leading-relaxed */
     text-align: center;
     color: var(--color-subtle-text); /* text-gray-400 */
     margin-bottom: 2.5rem; /* mb-10 */
     max-width: 48rem; /* max-w-3xl */
     margin-left: auto; /* mx-auto */
     margin-right: auto; /* mx-auto */
}
@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.125rem; /* md:text-lg */
        margin-bottom: 3rem; /* md:mb-12 */
    }
}
.section-subtitle-parallax {
    color: var(--color-medium-text); /* text-gray-200 */
}

/* Card Styling */
.feature-card {
    background-color: var(--color-dark-bg-secondary); /* bg-gray-800 */
    padding: 1.5rem; /* p-6 */
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: var(--tw-shadow); /* shadow-lg */
     --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border); /* border border-gray-700 */
    transition: all 300ms ease-in-out;
    text-align: center; /* Center icon, title, and text within card */
}
.feature-card:hover {
    box-shadow: var(--tw-shadow); /* hover:shadow-blue-500/30 */
    --tw-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2), 0 4px 6px -2px rgba(59, 130, 246, 0.15);
    transform: scale(1.03); /* Slightly smaller hover scale */
}
.feature-card-parallax { /* Specific card style for parallax section */
    background-color: rgba(31, 41, 55, 0.8); /* bg-gray-800/80 */
    backdrop-filter: blur(4px); /* backdrop-blur-sm */
    border-color: #4b5563; /* border-gray-600 */
}


/* Logo Colors */
.text-ta-blue { color: var(--color-ta-blue); }
.text-ta-orange { color: var(--color-ta-orange); }

/* --- Specific Component Styles --- */

/* Header/Nav */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem; /* py-3 */
    padding-bottom: 0.75rem; /* py-3 */
    position: relative; /* Needed for mobile menu positioning */
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* space-x-2 */
    text-decoration: none;
    flex-shrink: 0; /* Prevent logo from shrinking */
}
.logo-img {
    height: 2.5rem; /* Smaller logo on mobile */
    width: auto;
}
@media (min-width: 768px) {
    .logo-img {
        height: 3rem; /* md:h-12 */
    }
}
@media (min-width: 1024px) {
    .logo-img {
        height: 3.5rem; /* lg:h-14 */
    }
}
.logo-fallback {
    font-size: 1.125rem; /* text-lg */
    font-weight: 700; /* font-bold */
    color: var(--color-white); /* text-white */
    display: none; /* hidden */
}
.desktop-nav {
    display: none; /* Hidden on mobile */
}
@media (min-width: 768px) {
    .desktop-nav {
        display: flex; /* md:flex */
        align-items: center;
        gap: 1rem; /* md:space-x-4 */
    }
}
@media (min-width: 1024px) {
    .desktop-nav {
        gap: 1.5rem; /* lg:space-x-6 */
    }
}
.nav-link {
    color: #d1d5db; /* text-gray-300 */
    text-decoration: none;
    transition: color 300ms ease-in-out;
    font-weight: 500; /* font-medium */
    padding: 0.5rem 0.25rem; /* Add some padding for easier clicking */
    white-space: nowrap; /* Prevent wrapping */
}
@media (min-width: 768px) {
    .nav-link {
        padding: 0.5rem;
    }
}
.nav-link:hover {
    color: var(--color-ta-blue); /* hover:text-ta-blue */
}

/* Mobile Menu Button */
.mobile-menu-button-container {
    display: block; /* Show by default */
}
@media (min-width: 768px) {
    .mobile-menu-button-container {
        display: none; /* md:hidden */
    }
}
.mobile-menu-button {
    color: #d1d5db; /* text-gray-300 */
    background: none;
    border: none;
    padding: 0.5rem; /* Make it easier to tap */
    cursor: pointer;
    display: flex; /* Align icon */
    align-items: center;
    justify-content: center;
}
.mobile-menu-button:focus {
    outline: 2px solid transparent; /* focus:outline-none */
    outline-offset: 2px;
     --tw-ring-color: var(--color-focus-ring-gray); /* focus:ring-gray-500 */
     box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.mobile-menu-button svg {
    width: 1.75rem; /* Slightly larger icon */
    height: 1.75rem; /* Slightly larger icon */
}

/* Mobile Menu Panel */
.mobile-menu {
    /* Position it absolutely below the header */
    position: absolute;
    top: 100%; /* Position below the nav container */
    left: 0;
    right: 0;
    background-color: var(--color-dark-bg-secondary); /* bg-gray-800 */
    z-index: 40; /* Below header but above content */
    border-top: 1px solid var(--color-border);
    /* Smooth transition */
    max-height: 0; /* Start hidden */
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}
.mobile-menu.active { /* Style for when menu is open */
    max-height: 500px; /* Allow it to expand */
}
@media (min-width: 768px) {
    .mobile-menu {
        display: none !important; /* md:hidden, ensure it stays hidden */
    }
}
.mobile-nav-link {
    display: block; /* block */
    padding: 1rem 1.5rem; /* More padding */
    color: #d1d5db; /* text-gray-300 */
    text-decoration: none;
    font-weight: 500; /* font-medium */
    transition: background-color 0.3s ease, color 0.3s ease;
    border-bottom: 1px solid var(--color-border); /* Separator */
}
.mobile-nav-link:last-child {
    border-bottom: none; /* No border on last item */
}
.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background-color: var(--color-dark-surface); /* hover:bg-gray-700 */
    color: var(--color-ta-blue); /* hover:text-ta-blue */
    outline: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh; /* Slightly less than full screen */
    min-height: 500px; /* Minimum height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 4rem; /* Add padding to avoid header overlap */
    padding-bottom: 4rem;
}
.hero-video {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    opacity: 0.9;
    object-fit: cover; /* Ensure video covers the area */
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7)); /* bg-gradient-to-b from-black/30 to-black/70 */
    z-index: 10;
}
.hero-content {
    position: relative;
    z-index: 20;
    padding-left: 1rem; /* Ensure padding within container */
    padding-right: 1rem;
}
.hero-title {
    font-size: 2rem; /* text-4xl adjusted for mobile */
    font-weight: 700; /* font-bold */
    color: var(--color-white);
    margin-bottom: 1rem; /* mb-4 */
    line-height: 1.25; /* leading-tight */
}
@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem; /* md:text-5xl */
        margin-bottom: 1.5rem; /* md:mb-6 */
    }
}
@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem; /* lg:text-6xl */
    }
}
.hero-logo {
    margin-left: auto;
    margin-right: auto;
    max-width: 15rem; /* Smaller logo on mobile */
    margin-bottom: 1rem; /* mb-4 */
    height: auto; /* Maintain aspect ratio */
}
@media (min-width: 768px) {
    .hero-logo {
        max-width: 20rem; /* md:max-w-xs */
    }
}
@media (min-width: 1024px) {
    .hero-logo {
        max-width: 400px; /* lg:max-w-[400px] */
    }
}
.hero-subtitle {
    font-size: 1rem; /* text-base */
    color: var(--color-medium-text); /* text-gray-200 */
    margin-bottom: 2rem; /* mb-8 */
    max-width: 48rem; /* max-w-3xl */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.125rem; /* md:text-lg */
        margin-bottom: 2.5rem; /* md:mb-10 */
    }
}
@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 1.25rem; /* lg:text-xl */
    }
}
.hero-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons on mobile */
    align-items: center;
    gap: 1rem; /* space-y-4 */
}
@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row; /* Side-by-side on medium screens */
        justify-content: center;
        gap: 1.5rem; /* md:space-x-6 */
    }
}

/* Sections General Styling */
.section {
    padding-top: 3rem; /* Reduced padding on mobile */
    padding-bottom: 3rem; /* Reduced padding on mobile */
    text-align: center;
    position: relative;
}
.section-companies {
    background-color: #111827; /* bg-gray-900 */
}
.section-find-job {
    padding-top: 4rem; /* py-16 approx */
    padding-bottom: 4rem;
    background-image: url('../img/img_parallax.jpg'); /* Ensure path is correct */
}
.section-about {
    padding-top: 3rem; /* py-12 approx */
    padding-bottom: 3rem;
    background-color: #111827; /* bg-gray-900 */
}
.section-contact {
    padding-top: 4rem; /* Increased padding */
    padding-bottom: 4rem; /* Increased padding */
    background-color: var(--color-contact-bg); /* Use distinct background */
    border-top: 3px solid var(--color-ta-blue); /* Add a top border */
}
/* Responsive Section Padding */
@media (min-width: 768px) {
    .section {
        padding-top: 5rem; /* md:pt-20 */
        padding-bottom: 5rem; /* md:pb-20 */
    }
    .section-find-job {
        padding-top: 6rem; /* md:py-24 */
        padding-bottom: 6rem;
    }
     .section-about {
        padding-top: 5rem; /* md:py-20 */
        padding-bottom: 5rem;
    }
    .section-contact {
        padding-top: 6rem; /* md:py-24 */
        padding-bottom: 6rem;
    }
}
@media (min-width: 1024px) {
    .section {
        padding-top: 6rem; /* lg:pt-24 */
        padding-bottom: 6rem; /* lg:pb-24 */
    }
    .section-find-job {
        padding-top: 7rem; /* lg:py-28 */
        padding-bottom: 7rem;
    }
     .section-about {
        padding-top: 6rem; /* lg:py-24 */
        padding-bottom: 6rem;
    }
    .section-contact {
        padding-top: 7rem; /* lg:py-28 */
        padding-bottom: 7rem;
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
    gap: 1.5rem; /* gap-6 */
    margin-bottom: 2.5rem; /* mb-10 */
    text-align: left; /* Reset text-align for grid content */
}
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* md:grid-cols-3 */
        gap: 2rem; /* md:gap-8 */
        margin-bottom: 3rem; /* md:mb-12 */
    }
}
.feature-icon {
    font-size: 2.5rem; /* text-4xl approx */
    line-height: 1;
    margin-bottom: 1rem; /* mb-4 */
    display: inline-block; /* Ensure margin bottom works */
}
.feature-title {
    font-size: 1.125rem; /* text-lg */
    line-height: 1.5; /* leading-normal */
    font-weight: 600; /* font-semibold */
    margin-bottom: 0.5rem; /* mb-2 */
    color: var(--color-white); /* text-white */
}
.feature-text {
    color: var(--color-subtle-text); /* text-gray-400 */
    font-size: 0.9375rem; /* Slightly smaller text */
    line-height: 1.6;
}
.feature-text-parallax {
    color: #d1d5db; /* text-gray-300 */
    font-size: 0.9375rem;
    line-height: 1.6;
}


/* About Section */
.about-image {
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: var(--tw-shadow); /* shadow-lg */
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin-left: auto; /* mx-auto */
    margin-right: auto; /* mx-auto */
    margin-bottom: 2.5rem; /* mb-10 */
    max-width: 100%; /* Ensure image doesn't overflow container */
    height: auto; /* Maintain aspect ratio */
    display: block;
}
@media (min-width: 768px) {
    .about-image {
        max-width: 36rem; /* md:max-w-xl */
        margin-bottom: 3rem; /* md:mb-12 */
    }
}

/* --- Contact Section Specific Styles --- */
.contact-wrapper {
    margin-top: 3rem; /* Add space below subtitle */
    margin-bottom: 3rem; /* Add space before button */
    display: grid; /* Use grid for mobile as well */
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 2.5rem; /* Space between items on mobile */
}
.contact-details, .contact-social {
    text-align: center; /* Center content on mobile */
}

.contact-heading {
    font-size: 1.25rem; /* text-xl */
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem; /* mb-4 */
    border-bottom: 2px solid var(--color-ta-orange); /* Underline heading */
    padding-bottom: 0.5rem; /* pb-2 */
    display: inline-block; /* Fit border to text */
}
@media (min-width: 768px) {
    .contact-heading {
        font-size: 1.5rem; /* md:text-2xl */
        margin-bottom: 1.5rem; /* md:mb-6 */
    }
}

.contact-details p {
    margin-bottom: 0.75rem; /* mb-3 */
    font-size: 1rem; /* text-base */
    line-height: 1.6;
    color: var(--color-medium-text);
}

.contact-icon {
    color: var(--color-ta-blue); /* Color for icons */
    margin-right: 0.75rem; /* Space after icon */
    width: 1.2em; /* Ensure icons align well */
    text-align: center;
}

.contact-link {
    color: var(--color-medium-text);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word; /* Prevent long links from overflowing */
}
.contact-link:hover {
    color: var(--color-ta-blue);
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center; /* Center icons horizontally */
    gap: 1.5rem; /* Space between icons */
    margin-top: 1rem; /* mt-4 */
}

.social-icon {
    color: var(--color-subtle-text);
    font-size: 1.5rem; /* text-2xl */
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}
.social-icon:hover {
    color: var(--color-ta-orange); /* Highlight color on hover */
    transform: scale(1.1); /* Slight scale effect */
}

.contact-button-area {
    margin-top: 2.5rem; /* Space above the button */
}


/* Footer */
.footer {
    background-color: #111827; /* bg-gray-900 */
    padding-top: 2rem; /* py-8 */
    padding-bottom: 2rem;
    border-top: 1px solid var(--color-border); /* Add subtle top border */
}
.footer-content {
    text-align: center;
    color: var(--color-subtle-text); /* text-gray-400 */
}
.footer-links {
    margin-bottom: 1rem; /* mb-4 */
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    align-items: center; /* Vertically align items if they wrap */
    gap: 0.5rem 1rem; /* gap-y-2 gap-x-4 */
}
.footer-link {
    color: inherit; /* Inherit from .footer-content */
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.875rem; /* text-sm */
}
.footer-link:hover {
    color: var(--color-ta-blue); /* hover:text-ta-blue */
}
.footer-separator {
    display: none; /* hidden by default */
    color: inherit;
    font-size: 0.875rem;
}
@media (min-width: 768px) {
    .footer-separator {
        display: inline; /* md:inline */
    }
    .footer-links {
        margin-bottom: 1.5rem; /* md:mb-6 */
    }
}
.footer-copyright {
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    margin-top: 1rem; /* Add space above copyright */
}

/* --- Preloader Styles --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

#preloader img {
    height: auto;
    /* Mobile styles: 90% of viewport width, capped at 400px */
    width: 90vw;
    max-width: 400px;
}

/* Desktop styles */
@media (min-width: 768px) {
    #preloader img {
        /* 50% of viewport width, capped at 600px */
        width: 50vw;
        max-width: 600px;
    }
}