/* Custom CSS Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #142a27;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f2f2f1;
}

/* Glass Effects */
.glass {
    background: rgba(242, 242, 241, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(242, 242, 241, 0.15);
}

.glass-strong {
    background: rgba(242, 242, 241, 0.15);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(242, 242, 241, 0.2);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #c4d553 0%, #c4d553 50%, #c4d553 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.gradient-text-alt {
    background: linear-gradient(135deg, #bed03e 0%, #224742 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Section Padding */
.section-padding {
    padding: 4rem 1rem;
}

@media (min-width: 640px) {
    .section-padding {
        padding: 5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding: 6rem 2rem;
    }
}

/* Background Gradients */
.hero-gradient {
    background: linear-gradient(135deg, #224742 0%, #f2f2f1 100%);
}

.premium-gradient {
    background: linear-gradient(135deg, #f2f2f1 0%, rgba(242, 242, 241, 0.9) 100%);
}

.accent-gradient {
    background: linear-gradient(135deg, #bed03e 0%, #daee78 100%);
}

.primary-gradient {
    background: linear-gradient(135deg, #224742 0%, #224742 100%);
}

/* Tech Patterns */
.tech-grid {
    background-image: 
        linear-gradient(rgba(190, 208, 62, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(190, 208, 62, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.tech-lines {
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(190, 208, 62, 0.05) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(34, 71, 66, 0.05) 50%, transparent 60%);
    background-size: 120px 120px;
}

/* Shadows */
.modern-shadow {
    box-shadow: 0 20px 25px -5px rgba(20, 42, 39, 0.08), 0 10px 10px -5px rgba(20, 42, 39, 0.04);
}

.modern-shadow-lg {
    box-shadow: 0 25px 50px -12px rgba(20, 42, 39, 0.15);
}

.premium-shadow {
    box-shadow: 
        0 0 0 1px rgba(242, 242, 241, 0.1),
        0 20px 25px -5px rgba(20, 42, 39, 0.1),
        0 10px 10px -5px rgba(20, 42, 39, 0.04);
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(20, 42, 39, 0.1);
}

.text-shadow-lg {
    text-shadow: 0 4px 8px rgba(20, 42, 39, 0.2);
}

.backdrop-blur-strong {
    backdrop-filter: blur(24px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f2f2f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #bed03e, #224742);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #a8bb37, #142a27);
}

/* Subtle Animations */
@keyframes subtleSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes subtleSlideRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes subtleScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes subtleFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes dataFlow {
    0% { 
        transform: translateX(-100%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% { 
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Subtle Animation Classes */
.animate-slide-up {
    animation: subtleSlideUp 0.6s ease-out forwards;
}

.animate-slide-left {
    animation: subtleSlideLeft 0.6s ease-out forwards;
}

.animate-slide-right {
    animation: subtleSlideRight 0.6s ease-out forwards;
}

.animate-zoom-in {
    animation: subtleScale 0.5s ease-out forwards;
}

.animate-flip-in {
    animation: subtleFade 0.6s ease-out forwards;
}

.animate-bounce-in {
    animation: subtleScale 0.5s ease-out forwards;
}

/* Subtle Stagger Classes */
.animate-stagger-1 { animation-delay: 0.05s; }
.animate-stagger-2 { animation-delay: 0.1s; }
.animate-stagger-3 { animation-delay: 0.15s; }
.animate-stagger-4 { animation-delay: 0.2s; }
.animate-stagger-5 { animation-delay: 0.25s; }
.animate-stagger-6 { animation-delay: 0.3s; }

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce-slow {
    animation: bounce 3s infinite;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-data-flow {
    animation: dataFlow 3s linear infinite;
}

.animate-spin-slow {
    animation: spin 8s linear infinite;
}

/* Modern Button Styles */
.btn-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 242, 241, 0.2), transparent);
    transition: left 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

/* Modern Card Styles */
.card-modern {
    background: rgba(242, 242, 241, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(220, 220, 220, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern:hover {
    background: #f2f2f1;
    border-color: rgba(34, 71, 66, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(20, 42, 39, 0.15);
}

/* Enhanced Focus States */
.focus-enhanced:focus {
    outline: none;
    box-shadow: 0 0 0 2px #bed03e, 0 0 0 4px rgba(190, 208, 62, 0.2);
}

/* Touch Targets */
.touch-target {
    min-height: 44px;
    min-width: 44px;
}

/* Text Contrast */
.text-high-contrast {
    color: #142a27;
}

.text-medium-contrast {
    color: #224742;
}

.text-low-contrast {
    color: #508278;
}

/* Enhanced Glass Effect */
.glass-enhanced {
    background: rgba(242, 242, 241, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(242, 242, 241, 0.2);
    box-shadow: 0 8px 32px 0 rgba(34, 71, 66, 0.1);
}

/* Hover Effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Custom Selection */
::selection {
    background-color: rgba(190, 208, 62, 0.3);
    color: #142a27;
}

/* Tech-inspired Elements */
.circuit-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(190, 208, 62, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(34, 71, 66, 0.1) 0%, transparent 50%);
}

.data-flow {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(190, 208, 62, 0.1) 25%, 
        rgba(190, 208, 62, 0.2) 50%, 
        rgba(190, 208, 62, 0.1) 75%, 
        transparent 100%);
    animation: dataFlow 3s linear infinite;
}

.hologram-effect {
    background: linear-gradient(45deg, 
        rgba(190, 208, 62, 0.1) 0%, 
        rgba(34, 71, 66, 0.1) 25%, 
        rgba(190, 208, 62, 0.1) 50%, 
        rgba(34, 71, 66, 0.1) 75%, 
        rgba(190, 208, 62, 0.1) 100%);
    background-size: 200% 200%;
    animation: hologram 4s ease-in-out infinite;
}

@keyframes hologram {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Responsive Utilities */
@media (max-width: 640px) {
    .mobile-center {
        text-align: center;
    }
}

@media (min-width: 768px) {
    .mobile-center {
        text-align: left;
    }
}

/* Form Styles */
.form-input:focus + .form-line {
    width: 100%;
}

/* Specific Component Animations */
.hero-line {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-tagline,
.hero-subtitle,
.hero-cta,
.hero-stats,
.scroll-indicator {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-content,
.about-image {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.floating-card {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pillar-card {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pillar-progress {
    transition: all 0.3s ease-in-out;
}

.service-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-bg,
.service-stat,
.service-progress {
    transition: all 0.5s ease-in-out;
}

.commitment-line {
    transition: all 1s ease-in-out;
}

.commitment-indicator-1,
.commitment-indicator-2 {
    transition: all 0.6s ease-in-out;
}

.floating-stat {
    transition: all 0.6s ease-in-out;
}

.contact-info,
.contact-form {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-company,
.footer-links,
.footer-contact,
.footer-bottom {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Utility Classes */
.scale-102 {
    transform: scale(1.02);
}

.scale-103 {
    transform: scale(1.03);
}

.scale-110 {
    transform: scale(1.1);
}

.scale-120 {
    transform: scale(1.2);
}

.rotate-360 {
    transform: rotate(360deg);
}

.rotate-y-1 {
    transform: rotateY(5deg);
}

.-rotate-y-1 {
    transform: rotateY(-5deg);
}

.rotate-15 {
    transform: rotate(15deg);
}

/* Responsive Grid */
.responsive-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .responsive-grid {
        gap: 2rem;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .responsive-grid {
        gap: 2.5rem;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .responsive-grid {
        gap: 3rem;
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Loading States */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

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

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Hide scrollbar for modal content */
#modal-content::-webkit-scrollbar {
    display: none;
}
#modal-content {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
