/* ==========================================================================
   Gtekh Electrodes - Clean Corporate Theme (Matching Live Site)
   ========================================================================== */

/* Core Design System Variables */
:root {
    --primary: #0596de;          /* Electric Blue */
    --primary-hover: #037bb6;
    --primary-glow: rgba(5, 150, 222, 0.15);
    --dark: #070339;             /* Corporate Navy */
    --dark-muted: #110e4a;
    --bg-dark: #12141c;          /* High contrast footer background */
    --light: #ffffff;
    --grey-bg: #f8fafc;          /* Light visual separator background */
    --text-dark: #2d3748;        /* Charcoal body text */
    --text-muted: #64748b;
    --text-light: #ffffff;
    --border-color: #e2e8f0;     /* Thin borders */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 8px;
    --shadow: 0 10px 30px -10px rgba(7, 3, 57, 0.05);
    --shadow-lg: 0 20px 40px -15px rgba(7, 3, 57, 0.1);
}

/* Global Resets & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
}

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

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

ul {
    list-style: none;
}

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

button, input, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
    position: relative;
    background-color: var(--light);
}

/* Typography & Section Headings */
.special-heading {
    text-align: center;
    position: relative;
    font-size: 2.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3.5rem;
    z-index: 1;
    color: var(--dark);
}

/* Primary color highlight (span is blue) */
.special-heading span:not(.shadow-heading) {
    color: var(--primary);
}

.shadow-heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6.5rem;
    font-weight: 800;
    color: rgba(7, 3, 57, 0.035) !important; /* Extremely faint watermark */
    z-index: -1;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    letter-spacing: 12px;
    text-transform: uppercase;
    line-height: 1;
}

.subheading {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    margin-top: -3rem;
    margin-bottom: 3.5rem;
    display: block;
    position: relative;
    padding-bottom: 12px;
}

.subheading.with-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.25rem;
    border-radius: var(--radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--dark);
    box-shadow: 0 6px 20px rgba(7, 3, 57, 0.2);
    transform: translateY(-2px);
    color: var(--light);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background-color: transparent !important;
    transition: var(--transition);
}

.main-header.sticky {
    position: fixed !important;
    top: 0;
    background-color: var(--light) !important;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo img {
    height: 44px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.25rem;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

/* Overwrite link colors in header overlay */
.main-header:not(.sticky) .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary) !important;
}

.main-header:not(.sticky) .nav-links a:hover,
.main-header:not(.sticky) .nav-links a.active {
    color: var(--primary) !important;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    transition: var(--transition);
}

.main-header:not(.sticky) .mobile-nav-toggle span {
    background-color: var(--light);
}

.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--light);
    z-index: 99;
    padding: 6rem 2rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    border-left: 1px solid var(--border-color);
}

.mobile-nav-overlay.open {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.mobile-nav a {
    color: var(--text-dark);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.mobile-nav a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Hero Slider Section
   ========================================================================== */
.hero-slider-section {
    padding: 0;
    height: 100vh; /* Full viewport hero, cards float over the bottom edge */
    background-color: #0b0c10;
    position: relative;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(7, 3, 57, 0.4) 0%, rgba(7, 3, 57, 0.85) 100%);
    z-index: 1;
}

.slider-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--light);
    max-width: 900px;
    padding: 0 1.5rem;
    transform: translateY(20px);
    transition: transform 1s ease-out;
}

.slider-slide.active .slide-content {
    transform: translateY(0);
}

.slide-shadow-text {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: -1rem;
    letter-spacing: 4px;
    display: block;
}

.slide-content h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--light);
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.slide-content h2 span.color-main {
    color: var(--primary);
}

.intro-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.intro-arrow a {
    font-size: 1.75rem;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.intro-arrow a:hover {
    background-color: var(--primary);
    color: var(--light);
}

/* ==========================================================================
   Feature Cards Section (Clean White Cards)
   ========================================================================== */
.feature-cards-container {
    position: absolute;
    bottom: -4.5rem; /* Floating overlap at bottom of slider */
    left: 0;
    width: 100%;
    z-index: 10;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(5, 150, 222, 0.2);
}

.card-media {
    position: relative;
    height: 201px;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card-body {
    padding: 1.25rem 1rem; /* Compact padding */
    text-align: center;
}

.card-title {
    font-size: 1.15rem; /* Smaller typography */
    font-weight: 800;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.card-title span {
    color: var(--dark);
}

.feature-card:hover .card-title span {
    color: var(--primary);
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    background-color: var(--light);
    padding-top: 8.5rem; /* Clear absolute cards overlap on desktop */
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.about-block {
    background: var(--grey-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.about-block:hover {
    border-color: var(--primary);
    background-color: var(--light);
    box-shadow: var(--shadow);
}

.about-block h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.about-block p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
}

/* ==========================================================================
   Services Section (overlapping images on white)
   ========================================================================== */
.services-section {
    background-color: var(--grey-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.images-wrap {
    position: relative;
    height: 380px;
}

.img-main, .img-back {
    width: 70%;
    height: 75%;
    object-fit: cover;
    border-radius: var(--radius);
    transition: var(--transition);
    background-color: var(--grey-bg);
}

.img-main {
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.img-back {
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.images-wrap:hover .img-main {
    transform: scale(1.02) translate(5px, 5px);
}

.images-wrap:hover .img-back {
    transform: scale(0.98) translate(-5px, -5px);
}

.services-content {
    text-align: left;
}

.services-content .lead-p {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 1.75rem;
}

.services-content h4 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--dark);
}

.services-content h4 span {
    color: var(--primary);
}

.features-list {
    margin-top: 0.75rem;
}

.features-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Chevron pointer bullet (Screenshot 2) */
.features-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}

/* ==========================================================================
   Classifications Section (Parallax Welding Graphic)
   ========================================================================== */
.classifications-section {
    background-image: url('../images/service-bg2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 6rem 0;
}

.classifications-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 17, 21, 0.88); /* Subtle grey/black dark overlay */
    z-index: 1;
}

.classifications-section .container {
    position: relative;
    z-index: 2;
}

.classifications-section h2 {
    color: var(--light);
}

.classifications-section h2 span:not(.shadow-heading) {
    color: var(--primary);
}

.classifications-section .shadow-heading {
    color: rgba(255, 255, 255, 0.03) !important; /* Force translucent white watermark */
}

.classifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 2rem;
    margin-top: 4.5rem;
    counter-reset: class-counter;
}

/* CSS Counter for large translucent numbers (Screenshot 3) */
.classification-box {
    position: relative;
    text-align: center;
    padding: 1rem;
    counter-increment: class-counter;
    z-index: 1;
}

.classification-box::before {
    content: "0" counter(class-counter);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 7rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06); /* Translucent overlay numbers */
    z-index: -1;
    pointer-events: none;
    line-height: 1;
    letter-spacing: 0;
}

.classification-box h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.classification-box h4 span {
    color: var(--primary);
}

.classification-box p {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--light);
}

/* Items 4 and 5 automatically wrap to Column 1 and Column 2 in Row 2, matching Screenshot 1 */

/* ==========================================================================
   Applications & Specifications Table
   ========================================================================== */
.specs-section {
    background-color: var(--light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.specs-desc {
    margin-bottom: 3.5rem;
    text-align: left;
}

.specs-desc h4 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    color: var(--dark);
}

.specs-desc h4 span {
    color: var(--primary);
}

.specs-desc p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Light specs properties table (Screenshot 4) */
.table-responsive {
    overflow-x: auto;
    width: 100%;
    margin-bottom: 3.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    text-align: left;
    background-color: #ffffff;
}

.specs-table th {
    background: var(--dark);
    color: var(--light);
    padding: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border: 1px solid var(--dark);
    text-align: center;
}

.specs-table td {
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: #475569;
    font-family: var(--font-body);
}

.specs-table tbody tr:nth-child(even) td {
    background-color: #f8fafc;
}

.specs-table tbody tr:hover td {
    background-color: rgba(0, 130, 246, 0.03);
    color: var(--dark);
}

.specs-table td strong {
    color: var(--dark);
}

td#current {
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
    color: #475569;
}

.recommendation-block {
    text-align: left;
    margin-top: 3.5rem;
}

.recommendation-block h4 {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.recommendation-block h4 span {
    color: var(--primary);
}

.recommendation-block p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Contact Section & Quotes (High Contrast Dark Slate)
   ========================================================================== */
.contact-section {
    padding: 0;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.contact-layout {
    display: flex;
    min-height: 520px;
}

.contact-image-side {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
}

.contact-image-side::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(18, 20, 28, 0.2) 0%, rgba(18, 20, 28, 0.85) 100%);
}

.contact-form-side {
    flex: 1.2;
    padding: 5rem 3.5rem;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-side h3 {
    color: var(--light);
    font-size: 1.85rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.contact-form-side h3 span {
    color: var(--primary);
}

.contact-form-side .subheading {
    text-align: left;
    color: var(--text-muted);
    margin-top: 0;
    margin-bottom: 2.5rem;
}

.contact-form-side .subheading::after {
    display: none;
}

/* Form inputs (Styled inside Dark section) */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    color: var(--light);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.95rem;
    pointer-events: none;
}

.form-group textarea ~ .input-icon {
    top: 1.25rem;
    transform: none;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.5rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--light);
    transition: var(--transition);
}

.form-control::placeholder {
    color: #4b5563;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(5, 150, 222, 0.25);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.error-msg {
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.35rem;
    display: block;
    height: 1rem;
}

.form-response-alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    display: none;
}

.form-response-alert.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.form-response-alert.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.site-footer {
    background-color: #0b0c10;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
}

.footer-col h3 {
    color: var(--light);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col h3 span {
    color: var(--primary);
}

.footer-logo img {
    height: 44px;
    margin-bottom: 1.5rem;
}

.brand-col p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1rem;
    color: var(--primary);
}

.contact-list p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-list a {
    color: var(--text-muted);
}

.contact-list a:hover {
    color: var(--primary);
}

.map-wrapper {
    width: 100%;
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.9) invert(0.9) contrast(1.2); /* Invert map frame */
    opacity: 0.7;
}

.copyright-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
}

.copyright-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.copyright-container p {
    font-size: 0.85rem;
}

/* ==========================================================================
   Utility elements & UI helpers
   ========================================================================== */
.to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary);
    color: var(--light);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(5, 150, 222, 0.3);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top-btn:hover {
    background-color: var(--dark);
    color: var(--light);
    transform: translateY(-3px);
}

.to-top-btn .arrow-up {
    font-size: 1.25rem;
    font-weight: 700;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -10px);
    }
    60% {
        transform: translate(-50%, -5px);
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    section {
        padding: 4.5rem 0;
    }
    
    .hero-slider-section {
        height: auto;
    }

    .slider-container {
        height: 60vh;
        min-height: 420px;
    }

    .intro-arrow {
        display: none;
    }

    .special-heading {
        font-size: 1.85rem;
        margin-bottom: 3rem;
    }
    
    .shadow-heading {
        font-size: 4rem;
    }
    
    .subheading {
        margin-top: -2.5rem;
        margin-bottom: 2.5rem;
    }

    .main-header {
        background-color: var(--light);
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    }

    .main-header:not(.sticky) .nav-links a {
        color: var(--text-muted);
    }

    .main-header:not(.sticky) .mobile-nav-toggle span {
        background-color: var(--dark);
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .feature-cards-container {
        position: relative;
        bottom: 0;
        margin-top: 0;
        padding-top: 2.5rem;
    }
    
    .about-section {
        padding-top: 4.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .images-wrap {
        height: auto;
        max-width: 400px;
        margin: 0 auto;
    }

    .img-back {
        display: none;
    }

    .img-main {
        position: static;
        width: 100%;
        height: 280px;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-color);
    }

    .services-content {
        text-align: center;
    }
    
    .features-list {
        display: inline-block;
        text-align: left;
    }

    .classifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        flex-direction: column;
    }
    
    .contact-image-side {
        display: none;
    }
    
    .contact-form-side {
        padding: 4rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .slide-content h2 {
        font-size: 1.85rem;
    }
    
    .slide-shadow-text {
        font-size: 3.5rem;
    }

    .classifications-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-table th, .specs-table td {
        padding: 0.65rem 0.35rem;
        font-size: 0.8rem;
    }
    
    .to-top-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 38px;
        height: 38px;
    }
}
