:root {
    --primary-blue: #86B4EF;
    --light-blue: #E4F2FF;
    --black: #000000;
    --dark-gray: #282828;
    --white: #FFFFFF;
    --secondary-light-blue: #E4F0FF;
    --cyan-blue: #C6EEF8;
}

/* Custom Tailwind Configuration */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Styles */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    padding-top: 80px; /* Account for fixed navbar */
}

/* Hero Section Styles */
.hero-gradient {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--secondary-light-blue) 100%);
}

.hero-section-bg-image {
    background-image: url('../public/images/homepage-images.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.hero-section-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(228, 242, 255, 0.9) 0%, rgba(228, 240, 255, 0.9) 100%);
    z-index: 1;
}

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

.top-5rem{
    top: -5rem;
}

.hero-bg-image {
  background-image: url('<?php echo $folder . $file; ?>');
  background-size: cover;
  width: 100%;
  height: 100%;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #7AA3E0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(134, 180, 239, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark-gray);
    border: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}
.text-rely-orange{
    color: linear-gradient(90deg, #012D7E, #D60E86, #FE6436, #FD983F);
}

/* Hero section bg-image */ 
.hero-section-bg-image {
    background-image: url('../../public/images/primary-gradient-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Card Styles */
.card {
    border: 0px solid var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Dashboard Preview Styles */
.dashboard-container {
    background: var(--white);

/* Product Section Styles */
.product-tab {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(134, 180, 239, 0.2);
}

.product-tab.active {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(134, 180, 239, 0.3);
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-item {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--cyan-blue) 100%);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(134, 180, 239, 0.1);
}

.feature-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(134, 180, 239, 0.2);
    border-color: rgba(134, 180, 239, 0.3);
}

.product-dashboard {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(134, 180, 239, 0.1);
}

.dashboard-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--cyan-blue) 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.metric-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(134, 180, 239, 0.1);
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(134, 180, 239, 0.2);
}

/* Product Navigation Animation */
#product-content {
    transition: all 0.3s ease;
}

.product-tab {
    position: relative;
    overflow: hidden;
}

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

.product-tab:hover::before {
    left: 100%;
}
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.metric-card {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--secondary-light-blue) 100%);
    border-radius: 12px;
    padding: 1.5rem;
}

/* Navigation Styles */
.nav-link {
    color: var(--dark-gray);
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
}

/* Enhanced Navbar Styles */
.navbar-blur {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.logo-container:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-image {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    color: var(--dark-gray);
    font-weight: bold;
    text-align: center;
    line-height: 1;
}

.nav-link:hover {
    color: var(--primary-blue);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Section highlight effect on arrival */
.section-highlight {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(134, 180, 239, 0.35) inset;
    transition: box-shadow 0.8s ease;
}

/* Mobile Menu Styles */
.mobile-menu-button {
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1000;
    pointer-events: auto;
}

.mobile-menu-button:active {
    transform: scale(0.95);
}

.mobile-menu-button:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

/* Mobile Menu Dropdown */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
    z-index: 999;
    position: relative;
}

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

/* Fade Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards;
}

.fade-out {
    opacity: 1;
    animation: fadeOut 0.8s ease-in-out forwards;
}

.fade-toggle {
    transition: opacity 0.3s ease-in-out;
}

.fade-to {
    transition: opacity 0.3s ease-in-out;
}

/* Enhanced Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 0.8s ease-out forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease-out forwards;
}

/* Staggered animations - Now handled sequentially via JavaScript */
.stagger-1, .stagger-2, .stagger-3, .stagger-4, .stagger-5 { 
    animation-delay: 0s; /* Reset delays, handled by JavaScript */
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Button hover effects */
.btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
}

/* Enhanced hover effects */
.nav-link:hover {
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer Styles */
.footer-bg {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--secondary-light-blue) 100%);
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 2px solid var(--dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

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

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    /* Mobile Typography */
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.1rem !important;
        line-height: 1.5;
    }
    
    /* Mobile Hero Section */
    .hero-section-bg-image {
        background-attachment: scroll;
        min-height: 100vh;
    }
    
    /* Mobile Navigation */
    .navbar-blur {
        padding: 0.5rem 1rem;
    }
    
    /* Mobile Buttons */
    .btn-primary, .btn-secondary {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Mobile Cards */
    .card {
        margin-bottom: 1rem;
    }
    
    /* Mobile Grid Adjustments */
    .grid {
        gap: 1rem;
    }
    
    /* Mobile Spacing */
    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Mobile Text Sizes */
    .text-3xl {
        font-size: 1.875rem;
    }
    
    .text-2xl {
        font-size: 1.5rem;
    }
    
    .text-xl {
        font-size: 1.25rem;
    }
    
    /* Mobile Touch Targets */
    a, button {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile Menu Improvements */
    #mobile-menu {
        margin-top: 1rem;
    }
    
    #mobile-menu .nav-link {
        padding: 1rem;
        margin-bottom: 0.5rem;
        border-radius: 0.75rem;
    }
    
    /* Mobile Product Tabs */
    .product-tab {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
    
    /* Mobile Form Elements */
    input, select, textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Mobile Images */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Mobile Container */
    .max-w-6xl {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
    }
    
    .py-20 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .px-4 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .navbar-blur {
        padding: 0.5rem 0.75rem;
    }
    
    .logo-container {
        width: 40px;
        height: 40px;
    }
    
    .logo-image {
        width: 28px;
        height: 28px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section-bg-image {
        min-height: 100vh;
    }
    
    .py-20 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* Team Section Styles */
.team-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-member-image {
    transition: transform 0.3s ease;
}

.team-member-image:hover {
    transform: scale(1.1);
}

.linkedin-icon {
    transition: all 0.3s ease;
    z-index: 10;
}

.linkedin-icon:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.view-profile-btn {
    transition: all 0.3s ease;
}

.view-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Partner Section Styles */
.partner-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.partner-card img {
    transition: transform 0.3s ease;
}

.partner-card:hover img {
    transform: scale(1.05);
}

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

::-webkit-scrollbar-track {
    background: var(--light-blue);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7AA3E0;
} 