/* static/css/main.css */

/* ================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ================================ */
:root {
    /* Brand Colors */
    --primary-navy: #1D3354;
    --accent-yellow: #FFC857;
    --coral-orange: #FF6B6B;
    --teal-green: #4ECDC4;
    --off-white: #FEFDF8;
    --warm-gray: #F5F3F0;
    --charcoal: #2C3E50;
    --light-gray: #ECF0F1;
    --transition-fast: 0.3s ease;

    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 2rem;
    --border-radius: 15px;
    --border-radius-small: 8px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.6s ease;
    
    /* Shadows */
    --shadow-light: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-heavy: 0 20px 60px rgba(0,0,0,0.15);
}

/* ================================
   RESET AND BASE STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--off-white);
    overflow-x: hidden;
}

/* ================================
   TYPOGRAPHY
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--primary-navy);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-yellow);
}

/* ================================
   LAYOUT COMPONENTS
   ================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section-alt {
    background: var(--warm-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 3rem; /* Adjust this value to move the header lower */
}

.section-header h2 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--charcoal);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   BUTTONS
   ================================ */
.btn-primary {
    background: var(--accent-yellow);
    color: var(--primary-navy);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
}

.btn-primary:hover {
    background: var(--coral-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 200, 87, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--off-white);
    padding: 1rem 2rem;
    border: 2px solid var(--teal-green);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--teal-green);
    color: var(--primary-navy);
}

/* ================================
   SCROLL PROGRESS BAR
   ================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-yellow);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ================================
   HEADER AND NAVIGATION
   ================================ */
.header {
    background: var(--primary-navy);
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(29, 51, 84, 0.1);
    transition: all var(--transition-fast);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--off-white);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--off-white);
    transition: color var(--transition-fast);
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo:hover .logo-text {
    color: var(--accent-yellow);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--off-white);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-yellow);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: width var(--transition-fast);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--off-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ================================
   FLASH MESSAGES
   ================================ */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 2rem;
    z-index: 9999;
    max-width: 400px;
}

.flash-message {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow-medium);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideInRight 0.3s ease;
}

.flash-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.flash-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.flash-close {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.flash-close:hover {
    opacity: 1;
}

/* ================================
   HERO SECTION
   ================================ */
.hero-bg-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--charcoal) 100%);
    color: var(--off-white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23FFC857" opacity="0.1"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>');
    background-size: cover;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-sectors {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.sector-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform var(--transition-fast);
    min-width: 200px;
}

.sector-card:hover {
    transform: translateY(-10px);
}

.sector-icon {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

  /* Manufacturing Excellence Section */
    .excellence-section {
    background: var(--primary-navy);
    padding: 80px 0;
}

/* Add to your main.css */
.excellence-title {
    text-align: center;
    color: #fff;
    margin-bottom: 0.5rem;
}

.excellence-underline {
    width: 80px;
    height: 5px;
    background: var(--accent-yellow);
    margin: 0.5rem auto 2rem auto;
    border-radius: 3px;
}

.excellence-section h2,
.excellence-section p {
    color: #fff;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.capability-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(30,40,90,0.13), 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s cubic-bezier(.34,1.56,.64,1);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
}

.capability-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 16px 40px rgba(30,40,90,0.18), 0 2px 8px rgba(0,0,0,0.10);
    z-index: 2;
}

.capability-image {
    height: 180px;
    overflow: hidden;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.capability-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(.34,1.56,.64,1);
}

.capability-card:hover .capability-image img {
    transform: scale(1.08);
}

.capability-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.capability-content h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.capability-content h3 i {
    color: var(--accent-yellow);
    font-size: 1.3rem;
}

.capability-content p {
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.capability-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.capability-list li {
    display: flex;
    align-items: center;
    color: var(--charcoal);
    font-size: 1rem;
    padding: 0.4rem 0;
}

.capability-list li i {
    color: var(--teal-green);
    margin-right: 0.7rem;
    font-size: 1.1rem;
}
        
        /* Home Textiles Section */
        .home-textiles {
    background: var(--warm-gray);
    padding: 80px 0;
}

.home-textiles h2 {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.home-textiles .text-center {
    color: var(--charcoal);
    margin-bottom: 2.5rem;
}

.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.category-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s cubic-bezier(.34,1.56,.64,1);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 32px rgba(30,40,90,0.13), 0 2px 8px rgba(0,0,0,0.08);
    z-index: 2;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-navy);
    color: #fff;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.category-header i {
    font-size: 2.2rem;
    color: var(--accent-yellow);
}

.category-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.category-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.category-content p {
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.product-item {
    background: var(--light-gray);
    padding: 0.8rem 1rem;
    border-radius: 7px;
    text-align: center;
    font-size: 1rem;
    color: var(--primary-navy);
    font-weight: 500;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.product-item:hover {
    background: var(--accent-yellow);
    color: var(--primary-navy);
    transform: scale(1.05);
}

.product-image {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background: #f5f5f5;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(29, 51, 84, 0.85); /* --primary-navy with opacity */
    color: #fff;
    padding: 0.7rem 1rem 0.5rem 1rem;
    text-align: left;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
.product-header-overlay h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-content {
    padding: 1.2rem 1.2rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
}

.product-description {
    margin-bottom: 1.2rem;
    color: var(--charcoal);
    font-size: 0.98rem;
    min-height: 40px;
}

.view-details-btn {
    margin-top: auto;
    width: 47%;
    text-align: center;
    padding: 0.7rem 29px;
    font-size: 1rem;
    border-radius: 25px;
}

/* ================================
   ABOUT SECTION
   ================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-fast);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-yellow);
}

.stat-label {
    color: var(--charcoal);
    font-weight: 500;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    background: linear-gradient(135deg, var(--primary-navy), var(--teal-green));
    height: 400px;
    width: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

/* ================================
   PRODUCTS SECTION
   ================================ */
.product-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-navy);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: 
    transform 0.3s cubic-bezier(.34,1.56,.64,1), 
    box-shadow 0.3s cubic-bezier(.34,1.56,.64,1);
    will-change: transform, box-shadow;
}

@keyframes card-bounce {
    0%   { transform: translateY(0) scale(1);}
    40%  { transform: translateY(-6px) scale(1.015);}
    60%  { transform: translateY(-3px) scale(1.01);}
    80%  { transform: translateY(-6px) scale(1.015);}
    100% { transform: translateY(-6px) scale(1.015);}
}
.product-card:hover {
    animation: card-bounce 0.5s cubic-bezier(.34,1.56,.64,1) forwards;
    box-shadow: 0 16px 32px rgba(30,40,90,0.18), 0 2px 8px rgba(0,0,0,0.08);
    z-index: 2;
}

.product-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-navy), var(--charcoal));
    color: white;
    text-align: center;
}

.product-icon {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.product-content {
    padding: 1.2rem 1.2rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
}

.product-description {
    margin-bottom: 1.2rem;
    color: var(--charcoal);
    font-size: 0.98rem;
    min-height: 40px;
}


/* ================================
   TECHNOLOGY SECTION
   ================================ */
.tech-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-fast);
    border-top: 4px solid var(--accent-yellow);
}

.tech-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--coral-orange);
}

.tech-icon {
    font-size: 3rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.tech-card h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.tech-card ul {
    text-align: left;
    margin: 1rem 0;
    list-style: none;
}

.tech-card ul li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.tech-card ul li::before {
    content: '✓';
    color: var(--teal-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.tech-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: var(--teal-green);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.tech-cta:hover {
    background: var(--primary-navy);
    color: white;
}

.tech-cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--teal-green), var(--primary-navy));
    border-radius: 20px;
    color: white;
}

.tech-cta-content h3 {
    color: white;
    margin-bottom: 1rem;
}

/* ================================
   DOWNLOAD SECTION
   ================================ */
.download-section {
    background: linear-gradient(135deg, var(--teal-green), var(--primary-navy));
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    margin: 4rem 0;
    text-align: center;
}

.download-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.download-btn {
    background: var(--accent-yellow);
    color: var(--primary-navy);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
    margin-top: 1rem;
}

.download-btn:hover {
    background: var(--coral-orange);
    color: white;
    transform: translateY(-2px);
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--charcoal) 100%);
    color: var(--off-white);
    padding: 6rem 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--primary-navy);
    color: var(--off-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--off-white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--accent-yellow);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--accent-yellow);
    font-size: 1.5rem;
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: var(--teal-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom a {
    color: var(--accent-yellow);
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 968px) {
    .hero-sectors {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .logo-image {
        height: 40px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-navy);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .tech-services {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .flash-messages {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .sector-card {
        padding: 1.5rem;
        min-width: auto;
    }

    .container {
        padding: 0 1rem;
    }

    .download-section {
        padding: 3rem 1rem;
        margin: 3rem 0;
    }

    .cta-section {
        padding: 4rem 0;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.align-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ================================
   PRINT STYLES
   ================================ */
@media print {
    .header,
    .footer,
    .cta-section,
    .scroll-progress,
    .flash-messages {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section {
        page-break-inside: avoid;
    }
}