/* ===================================
   AMPTECH CONTROLS — Premium CSS
   ===================================
   Color Palette:
   Navy:   #0a1a44
   Blue:   #007bff / #0066cc
   Orange: #ff8c00
   Cyan:   #00ccff
   ================================= */

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ---------- Nav Logo ---------- */
.nav-logo svg {
    height: 42px;
    width: auto;
}

.brand-name {
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--atc-navy);
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--atc-blue);
    line-height: 1;
}

/* ---------- Navbar ---------- */
#mainNavbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
    z-index: 1050;
}

#mainNavbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(10, 26, 68, 0.08);
    border-bottom: 1px solid rgba(10, 26, 68, 0.06);
}

#mainNavbar .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--atc-navy);
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

#mainNavbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--atc-blue), var(--atc-orange));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

#mainNavbar .nav-link:hover::after,
#mainNavbar .nav-link.active::after {
    width: 60%;
}

#mainNavbar .nav-link:hover {
    color: var(--atc-blue);
}

/* Nav CTA Button */
.btn-cta-nav {
    background: linear-gradient(135deg, var(--atc-navy), var(--atc-blue));
    color: #fff !important;
    font-weight: 600;
    font-size: 0.88rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 123, 255, 0.4);
    color: var(--atc-orange) !important;
}

/* Hamburger */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    width: 24px;
    gap: 5px;
}

.hamburger-icon span {
    display: block;
    height: 2.5px;
    background: var(--atc-navy);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ---------- Text Gradient ---------- */
.text-gradient {
    background: linear-gradient(135deg, var(--atc-blue), #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Section Utilities ---------- */
.section-padding {
    padding: 6rem 0;
}

.bg-section-alt {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08), rgba(0, 204, 255, 0.08));
    color: var(--atc-blue);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 123, 255, 0.12);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--atc-navy);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.8;
}

/* ==============================
   HERO SECTION
   ============================== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1a44 0%, #0d2b6b 40%, #1a3f8b 70%, #2563eb 100%);
    position: relative;
    padding-top: 90px;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float-particle 20s infinite ease-in-out;
}

.p1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--atc-blue), transparent);
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.p2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--atc-orange), transparent);
    bottom: 20%;
    left: -3%;
    animation-delay: -7s;
}

.p3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #00ccff, transparent);
    top: 40%;
    right: 30%;
    animation-delay: -14s;
}

.p4 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--atc-orange), transparent);
    top: 15%;
    left: 20%;
    animation-delay: -5s;
}

.p5 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--atc-blue), transparent);
    bottom: 5%;
    right: 15%;
    animation-delay: -10s;
}

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(15px, 30px) scale(1.05); }
}

/* Hero Content */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, #60a5fa, #00ccff, var(--atc-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 540px;
}

/* Hero CTA Buttons */
.btn-hero-primary {
    background: linear-gradient(135deg, var(--atc-orange), #e67300);
    color: #fff;
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.5);
    color: #fff;
}

.btn-hero-outline {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-3px);
}

/* Hero Trust */
.hero-trust {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.trust-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    padding: 2rem;
}

.hero-image-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.hero-image-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, var(--atc-orange), var(--atc-blue), #00ccff);
    z-index: -1;
    animation: border-glow 3s infinite alternate;
}

@keyframes border-glow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.hero-image-card img {
    display: block;
    width: 100%;
    border-radius: 1.5rem;
}

.hero-floating-card {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: float-card 3s infinite ease-in-out;
}

.floating-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==============================
   ABOUT SECTION
   ============================== */
.about-image-wrapper {
    padding: 1rem;
}

.about-main-img {
    border-radius: 1.5rem;
    width: 100%;
    object-fit: cover;
    max-height: 500px;
}

.about-experience-badge {
    position: absolute;
    bottom: 2rem;
    left: 0;
    background: linear-gradient(135deg, var(--atc-navy), var(--atc-blue));
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 15px 40px rgba(10, 26, 68, 0.4);
}

.about-pattern {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--atc-orange) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: -1;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.about-feature:hover {
    border-color: var(--atc-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.1);
}

.feature-icon-box {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 204, 255, 0.1));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--atc-blue);
}

/* ==============================
   PRODUCT CARDS
   ============================== */
.product-card {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(10, 26, 68, 0.15);
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 26, 68, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--atc-navy);
    font-weight: 800;
    font-size: 0.8rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.product-body {
    padding: 1.5rem;
}

.product-title {
    font-weight: 700;
    color: var(--atc-navy);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.product-desc {
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--atc-blue);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.product-link:hover {
    color: var(--atc-orange);
    gap: 0.75rem;
}

/* ==============================
   SERVICE CARDS
   ============================== */
.service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--atc-blue), var(--atc-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    border-color: rgba(0, 123, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(10, 26, 68, 0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08), rgba(0, 204, 255, 0.08));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--atc-blue);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--atc-blue), #00ccff);
    color: #fff;
    transform: scale(1.1);
}

.service-title {
    font-weight: 700;
    color: var(--atc-navy);
    margin-bottom: 0.5rem;
}

.service-desc {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--atc-blue);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--atc-orange);
    gap: 0.6rem;
}

/* Partner Banner */
.partner-banner {
    background: linear-gradient(135deg, var(--atc-navy), var(--atc-blue));
    border-radius: 1.25rem;
    padding: 2.5rem 3rem;
    box-shadow: 0 15px 40px rgba(10, 26, 68, 0.3);
}

/* ==============================
   STATS SECTION
   ============================== */
.stats-section {
    background: linear-gradient(135deg, var(--atc-navy) 0%, #0d2b6b 50%, var(--atc-blue) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M20 20.5V18H0v-2h20V0h2v16h18v2H22v4.5h18v2H22V40h-2V22.5H0v-2h20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
    position: relative;
}

.counter-value,
.stat-value-text {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.stat-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* ==============================
   CONTACT SECTION
   ============================== */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    border-color: var(--atc-blue);
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.08);
}

.contact-icon {
    min-width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08), rgba(0, 204, 255, 0.08));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--atc-blue);
}

.contact-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(10, 26, 68, 0.06);
}

.contact-input {
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem !important;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.contact-input:focus {
    border-color: var(--atc-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.08);
}

.btn-submit {
    background: linear-gradient(135deg, var(--atc-navy), var(--atc-blue));
    color: #fff;
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(10, 26, 68, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(10, 26, 68, 0.4);
    color: var(--atc-orange);
}

/* ==============================
   TOAST NOTIFICATIONS
   ============================== */
.contact-toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    animation: slideInToast 0.4s ease;
}

.contact-toast-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #15803d;
}

.contact-toast-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.contact-toast-success .toast-icon {
    background: rgba(34, 197, 94, 0.2);
    color: #15803d;
}

.contact-toast-error .toast-icon {
    background: rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

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

/* ==============================
   MAP SECTION
   ============================== */
.map-section {
    position: relative;
}

.map-section iframe {
    display: block;
    filter: saturate(0.8) contrast(1.1);
}

/* ==============================
   CTA SECTION
   ============================== */
.cta-section {
    background: linear-gradient(135deg, var(--atc-navy), var(--atc-blue));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.15), transparent);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 204, 255, 0.1), transparent);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

/* ==============================
   FOOTER
   ============================== */
.footer-section {
    position: relative;
    background: var(--atc-navy);
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    color: #fff;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
}

.footer-content {
    padding-top: 6rem;
    padding-bottom: 2rem;
}

.footer-logo svg {
    height: 40px;
    width: auto;
}

.footer-heading {
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--atc-orange);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--atc-orange);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
}

.footer-contact svg {
    min-width: 16px;
    margin-top: 3px;
    color: var(--atc-orange);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--atc-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link:hover {
    background: var(--atc-orange);
    color: #fff;
    transform: translateY(-3px);
    border-color: var(--atc-orange);
}

/* ==============================
   BACK TO TOP
   ============================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--atc-navy), var(--atc-blue));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(10, 26, 68, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

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

.back-to-top:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(10, 26, 68, 0.4);
}

/* ==============================
   SCROLL ANIMATIONS
   ============================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.row > .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.row > .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.row > .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.row > .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.row > .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.row > .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }
.row > .animate-on-scroll:nth-child(7) { transition-delay: 0.6s; }
.row > .animate-on-scroll:nth-child(8) { transition-delay: 0.7s; }
.row > .animate-on-scroll:nth-child(9) { transition-delay: 0.8s; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .partner-banner {
        padding: 2rem;
        text-align: center;
    }

    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 1rem;
        margin-top: 0.5rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .counter-value,
    .stat-value-text {
        font-size: 2.5rem;
    }

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

    .contact-form-card {
        padding: 1.5rem;
    }

    .about-experience-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
        text-align: center;
    }

    .footer-content {
        padding-top: 5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-section {
        padding-top: 90px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .product-image {
        height: 200px;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-form-card {
        padding: 1.25rem;
    }
}

/* ==============================
   UTILITY OVERRIDES
   ============================== */
.mt-6 { margin-top: 4rem !important; }
.mt-7 { margin-top: 5rem !important; }
.mt-8 { margin-top: 6rem !important; }
.mt-9 { margin-top: 8rem !important; }
.mt-10 { margin-top: 10rem !important; }
.mb-6 { margin-bottom: 4rem !important; }
.mb-7 { margin-bottom: 5rem !important; }
.mb-8 { margin-bottom: 6rem !important; }
.mb-9 { margin-bottom: 8rem !important; }
/* ---------- Page Header (Inner Pages) ---------- */
.page-header {
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, #0a1a44 0%, #0d2155 50%, #003399 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,123,255,0.08) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.7;
}

/* ---------- Section Alt Background ---------- */
.bg-section-alt {
    background: linear-gradient(180deg, #f8faff 0%, #f0f4ff 100%);
}

/* ---------- Product Detail ---------- */
.product-detail-image img {
    border-radius: 1rem;
    width: 100%;
    transition: transform 0.3s ease;
}

.product-detail-image:hover img {
    transform: scale(1.02);
}

.product-number-badge {
    display: inline-block;
    background: linear-gradient(135deg, #007bff, #00ccff);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

/* ---------- Nav Active State ---------- */
.navbar .nav-link.active {
    color: #007bff !important;
    font-weight: 600;
}

.navbar-scrolled .nav-link.active {
    color: #007bff !important;
}

/* ---------- Utilities ---------- */
.mb-10 { margin-bottom: 10rem !important; }

@media (min-width: 768px) {
    .mt-md-6 { margin-top: 4rem !important; }
    .mt-md-8 { margin-top: 6rem !important; }
}

/* ---------- Blog Cards ---------- */
.blog-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.blog-card-image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.blog-card-placeholder {
    background: linear-gradient(135deg, #e8efff, #f0f4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0cfeb;
}

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.blog-category-tag {
    background: linear-gradient(135deg, #e8efff, #dce8ff);
    color: #0a1a44;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.blog-category-tag:hover {
    background: linear-gradient(135deg, #007bff, #0066cc);
    color: #fff;
}

.blog-date {
    color: #9ca3af;
    font-size: 0.82rem;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.blog-card-title a {
    color: #0a1a44;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: #007bff;
}

.blog-card-excerpt {
    color: #6b7280;
    font-size: 0.88rem;
    line-height: 1.6;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* ---------- Blog Sidebar ---------- */
.blog-sidebar-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.sidebar-title {
    font-weight: 700;
    color: #0a1a44;
    margin-bottom: 1rem;
    font-size: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e8efff;
}

.sidebar-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid #f9fafb;
    transition: color 0.2s, padding-left 0.2s;
}

.sidebar-category-list li a:hover,
.sidebar-category-list li a.active {
    color: #007bff;
    padding-left: 0.5rem;
}

.category-count {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-weight: 600;
}

/* ---------- Blog Content (Article) ---------- */
.blog-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #374151;
}

.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4 {
    color: #0a1a44;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-content h2 { font-size: 1.5rem; }
.blog-content h3 { font-size: 1.25rem; }

.blog-content p { margin-bottom: 1.25rem; }

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.blog-content blockquote {
    border-left: 4px solid #007bff;
    background: #f8faff;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #4b5563;
}

.blog-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.25rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #e11d48;
}

.blog-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.blog-content td, .blog-content th {
    border: 1px solid #e5e7eb;
    padding: 0.6rem 1rem;
}

.blog-content th {
    background: #f9fafb;
    font-weight: 600;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
}

.blog-content li { margin-bottom: 0.4rem; }

.blog-content a {
    color: #007bff;
    text-decoration: underline;
}

/* ==============================
   RESPONSIVE BREAKPOINTS
   ============================== */

/* ---------- XL: ≤1400px ---------- */
@media (max-width: 1400px) {
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.25rem; }
}

/* ---------- Large: ≤1200px ---------- */
@media (max-width: 1200px) {
    .hero-title { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .section-title { font-size: 2rem; }
    .section-padding { padding: 4.5rem 0; }
    .hero-image-wrapper { padding: 1rem; }

    .hero-floating-card {
        padding: 0.75rem 1rem;
    }
    .floating-icon { width: 38px; height: 38px; }
}

/* ---------- Tablet: ≤992px ---------- */
@media (max-width: 991.98px) {
    .hero-section { min-height: auto; padding-top: 100px; padding-bottom: 3rem; }
    .hero-title { font-size: 2.3rem; }
    .hero-subtitle { font-size: 1rem; max-width: 100%; }
    .hero-badge { font-size: 0.75rem; padding: 0.4rem 1rem; }
    .section-padding { padding: 3.5rem 0; }
    .section-title { font-size: 1.8rem; }
    .section-desc { font-size: 0.95rem; }

    .hero-trust { gap: 1.5rem !important; }
    .trust-number { font-size: 1.25rem; }
    .trust-divider { height: 30px; }

    /* About */
    .about-experience-badge { position: relative; bottom: auto; left: auto; margin-top: 1rem; display: inline-block; }
    .about-pattern { display: none; }
    .about-main-img { max-height: 400px; }

    /* Products / Services */
    .product-card, .service-card { margin-bottom: 1.5rem; }

    /* Page header */
    .page-header { padding: 6rem 0 3rem !important; }
    .page-title { font-size: 2rem; }
    .page-subtitle { font-size: 1rem; }

    /* Contact */
    .contact-info-card { margin-bottom: 1.5rem; }

    /* Footer */
    .footer-links { margin-bottom: 1rem; }
}

/* ---------- Mobile Landscape: ≤768px ---------- */
@media (max-width: 767.98px) {
    .hero-section { padding-top: 90px; padding-bottom: 2.5rem; }
    .hero-title { font-size: 2rem; margin-bottom: 1rem; }
    .hero-subtitle { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
    .hero-badge { font-size: 0.72rem; margin-bottom: 1rem; }
    .section-padding { padding: 3rem 0; }
    .section-title { font-size: 1.6rem; }
    .section-desc { font-size: 0.9rem; line-height: 1.7; }
    .section-badge { font-size: 0.75rem; padding: 0.4rem 1rem; }

    .btn-hero-primary, .btn-hero-outline {
        padding: 0.7rem 2rem !important;
        font-size: 0.88rem;
    }

    .hero-trust { gap: 1rem !important; }
    .trust-number { font-size: 1.15rem; }
    .trust-label { font-size: 0.7rem; }
    .trust-divider { height: 25px; }

    .hero-floating-card { padding: 0.6rem 0.8rem; font-size: 0.82rem; }
    .floating-icon { width: 34px; height: 34px; }

    /* About */
    .about-main-img { max-height: 300px; }
    .about-feature { font-size: 0.88rem; padding: 0.75rem; }

    /* Counter section */
    .counter-value, .stat-number { font-size: 2rem; }

    /* Footer */
    .site-footer { text-align: center; }
    .site-footer .d-flex.gap-3 { justify-content: center; }
    .footer-links { text-align: center; }
    .footer-contact li { justify-content: center; }
    .footer-bottom .row { text-align: center; }
    .footer-bottom .col-md-6 { text-align: center !important; }

    /* Page header */
    .page-header { padding: 5rem 0 2.5rem !important; }
    .page-title { font-size: 1.8rem; }

    /* Blog cards */
    .blog-card-body { padding: 1.25rem; }
    .blog-card-title { font-size: 1rem; }
}

/* ---------- Mobile Portrait: ≤576px ---------- */
@media (max-width: 575.98px) {
    .hero-section { padding-top: 80px; padding-bottom: 2rem; }
    .hero-title { font-size: 1.65rem; line-height: 1.2; margin-bottom: 0.75rem; }
    .hero-subtitle { font-size: 0.88rem; line-height: 1.65; margin-bottom: 1.25rem; }
    .hero-badge { font-size: 0.68rem; padding: 0.35rem 0.75rem; margin-bottom: 0.75rem; }
    .section-padding { padding: 2.5rem 0; }
    .section-title { font-size: 1.4rem; }
    .section-desc { font-size: 0.85rem; }

    .btn-hero-primary, .btn-hero-outline {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.82rem;
        width: 100%;
        justify-content: center;
    }

    .hero-cta { flex-direction: column !important; }

    .hero-trust { flex-direction: row; gap: 0.75rem !important; }
    .trust-number { font-size: 1rem; }
    .trust-label { font-size: 0.65rem; letter-spacing: 0.5px; }
    .trust-divider { height: 22px; }

    .hero-image-wrapper { padding: 0.5rem; }
    .hero-floating-card { display: none; }

    /* About */
    .about-main-img { max-height: 250px; border-radius: 1rem; }
    .about-experience-badge { padding: 1rem 1.25rem; }
    .about-feature { flex-direction: column; text-align: center; gap: 0.5rem; }

    /* Product / Service cards */
    .product-card, .service-card { border-radius: 0.75rem; }

    /* Contact form */
    .contact-form { padding: 1.5rem; }

    /* Footer */
    .site-footer .container { padding-left: 1rem; padding-right: 1rem; }
    .footer-heading { margin-bottom: 0.75rem !important; font-size: 0.85rem; }
    .footer-links li a { font-size: 0.85rem; }
    .footer-contact li { font-size: 0.85rem; }

    /* Page header */
    .page-header { padding: 4.5rem 0 2rem !important; }
    .page-title { font-size: 1.5rem; }
    .page-subtitle { font-size: 0.88rem; }

    /* Navbar */
    #mainNavbar { padding: 0.6rem 0; }
    .nav-logo svg { height: 34px; }
    .brand-name { font-size: 0.95rem; }
    .brand-tagline { font-size: 0.6rem; }
    .btn-cta-nav { font-size: 0.8rem; padding: 0.5rem 1.25rem !important; }
}

/* ---------- Extra Small: ≤400px ---------- */
@media (max-width: 400px) {
    .hero-title { font-size: 1.4rem; }
    .hero-subtitle { font-size: 0.82rem; }
    .section-title { font-size: 1.25rem; }
    .section-badge { font-size: 0.65rem; }

    .trust-number { font-size: 0.9rem; }
    .trust-label { font-size: 0.6rem; }

    .page-title { font-size: 1.3rem; }

    #mainNavbar { padding: 0.5rem 0; }
    .nav-logo svg { height: 30px; }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}
