/* Theme color variables */
:root {
    --primary: #fbbf24; /* Yellow */
    --secondary: #10b981; /* Green */
    --dark: #000000; /* Black */
    --gray-dark: #1f2937; /* Gray-800 */
    --gray-medium: #374151; /* Gray-700 */
    --gray-light: #6b7280; /* Gray-500 */
    --light: #030303; /* White */
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background: var(--dark);
    color: var(--light);
    opacity: 1 !important;
    min-height: 100vh;
}

/* Ensure content is visible */
main, section, div {
    opacity: 1 !important;
}

/* Enhanced visibility for all text elements */
h1, h2, h3, h4, h5, h6, p, span, a, li {
    opacity: 1 !important;
}

h1, h2, h3, h4, h5, h6, .sub-title, .section-title {
    color: var(--light) ;
}

p, li {
    color: #d1d5db !important; /* Gray-300 */
}

.nav-link, .text-yellow-400, .hover\:text-yellow-400:hover {
    color: var(--primary) !important;
}

.hero-gradient {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(31,41,55,0.9) 50%, rgba(0,0,0,0.8) 100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(251, 191, 36, 0.2), 0 10px 10px -5px rgba(251, 191, 36, 0.1);
}

.project-card {
    transition: all 0.3s ease;
}
.project-card:hover {
    transform: scale(1.03);
}

.counter-item {
    transition: all 0.3s ease;
}
.counter-item:hover {
    transform: translateY(-5px);
}

.nav-link {
    position: relative;
    color: var(--primary) !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}
.active::after {
    width: 100%;
}

.client-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary);
    left: -10px;
    top: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Button and highlight overrides */
.btn-primary, .bg-yellow-400, .bg-yellow-300, .text-yellow-400, .border-yellow-400, .border-yellow-300 {
    background-color: var(--primary) !important;
    color: var(--dark) !important;
    border-color: var(--primary) !important;
}
.text-yellow-400, .hover\:text-yellow-400:hover {
    color: var(--primary) !important;
}
.bg-yellow-100 {
    background-color: #fef3c7 !important;
}
.border-yellow-400, .border-yellow-300 {
    border-color: var(--primary) !important;
}



/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-dark);
}

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

::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* Dark theme specific styles */
.bg-black {
    background-color: var(--dark) !important;
}

.bg-gray-800 {
    background-color: var(--gray-dark) !important;
}

.bg-gray-900 {
    background-color: #111827 !important;
}

.text-white {
    color: var(--light) !important;
}

.text-gray-300 {
    color: #d1d5db !important;
}

.text-gray-400 {
    color: #9ca3af !important;
}

.border-gray-800 {
    border-color: var(--gray-dark) !important;
}

/* Enhanced navbar styling for light theme */
.nav-link {
    color: #374151 !important;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #fbbf24, #10b981);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover {
    color: #f59e0b !important;
    transform: translateY(-2px);
}

/* Mobile menu links - light theme */
#mobile-menu a {
    color: #374151 !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: none !important;
    transform: none !important;
}

#mobile-menu a:hover {
    color: #f59e0b !important;
    background-color: #f9fafb !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Ensure hero title spans have transparent backgrounds */
.hero-title span {
    background-color: transparent !important;
}

/* Fix button hover states */
a[href="#services"]:hover {
    color: #fbbf24 !important;
    border-color: #fbbf24 !important;
    background-color: transparent !important;
}

/* Button styles with yellow box-shadow */
.btn-primary, .bg-yellow-400, .bg-green-600, a[href="contact.html"]:not(.nav-link):not(nav a):not(#mobile-menu a) {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
}

.btn-primary:hover, .bg-yellow-400:hover, .bg-green-600:hover, a[href="contact.html"]:not(.nav-link):not(nav a):not(#mobile-menu a):hover {
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
    transform: translateY(-3px);
}

/* Remove box-shadow from footer Contact links */
footer a[href="contact.html"] {
    box-shadow: none !important;
    background: none !important;
    transform: none !important;
}

footer a[href="contact.html"]:hover {
    box-shadow: none !important;
    background: none !important;
    transform: none !important;
}

/* Ensure footer Contact links don't get button shadows */
footer a[href="contact.html"]:not(.bg-yellow-400) {
    box-shadow: none !important;
    background: none !important;
    transform: none !important;
}

/* Mobile menu button */
#mobile-menu-button {
    transition: all 0.3s ease;
    color: #374151 !important;
}

#mobile-menu-button:hover {
    color: #f59e0b !important;
    transform: scale(1.1);
}

/* Ensure all text is visible */
.text-yellow-400 {
    color: #fbbf24 !important;
    background-color: transparent !important;
}

.text-green-400 {
    color: #10b981 !important;
    background-color: transparent !important;
}

/* Enhanced card backgrounds */
.service-card {
    background-color: #1f2937 !important; /* gray-800 */
    border: 2px solid #374151 !important; /* gray-700 */
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: #fbbf24 !important;
}

/* Service card text colors */
.service-card h3 {
    color: white !important;
}

.service-card p {
    color: #d1d5db !important; /* gray-300 */
}

.service-card ul {
    color: #d1d5db !important; /* gray-300 */
}

.service-card span {
    color: #d1d5db !important; /* gray-300 */
}

/* Team card specific styling */
.team-item {
    background: #ffffff !important;
    border: 3px solid #e5e7eb !important;
    border-radius: 16px !important;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.team-item:hover::before {
    transform: scaleX(1);
}

.team-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
    border-color: #10b981 !important;
}

/* Team card content styling */
.team-item .p-6 {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

/* Ensure all team cards have equal height */
.team-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Social icons styling */
.team-item .flex.space-x-3 {
    margin-top: auto;
    padding-top: 1rem;
}

.team-item .flex.space-x-3 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.team-item .flex.space-x-3 a:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

.team-item h3 {
    color: #1f2937 !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem !important;
}

.team-item span {
    color: #10b981 !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 1rem !important;
}

.team-item p {
    color: #6b7280 !important;
    line-height: 1.6;
    font-size: 0.875rem !important;
    flex: 1;
}

/* Team member image styling */
.team-item img {
    transition: all 0.4s ease;
    border: 4px solid #f3f4f6 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-item:hover img {
    transform: scale(1.08);
    border-color: #10b981 !important;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

/* Team member icon container styling */
.team-item .bg-green-500 {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
    transition: all 0.4s ease;
    border: 3px solid #f3f4f6 !important;
}

.team-item:hover .bg-green-500 {
    transform: scale(1.1);
    border-color: #10b981 !important;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* Add subtle pattern overlay */
.team-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-item:hover::after {
    opacity: 1;
}

/* Add gradient overlay to service cards */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* About section feature cards */
.about-feature {
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(251, 191, 36, 0.2);
}

/* Force About title to be black */
.about-title {
    color: #000000 !important;
}

/* Ensure About section text is properly colored */
#about h2 {
    color: #000000 !important;
}

#about .about-title {
    color: #000000 !important;
}

/* Force About section content text to be dark */
#about .about-text {
    color: #111827 !important; /* gray-900 */
}

#about p {
    color: #111827 !important; /* gray-900 */
}

.about-content p {
    color: #111827 !important; /* gray-900 */
}

.about-content .about-text {
    color: #111827 !important; /* gray-900 */
}

/* Force About section h3 tags to be dark */
#about h3 {
    color: #111827 !important; /* gray-900 */
}

.about-feature h3 {
    color: #111827 !important; /* gray-900 */
}

.about-content h3 {
    color: #111827 !important; /* gray-900 */
}

/* Modern project and team cards */
.project-card, .team-card {
  background-color: #1f2937 !important;
  border: 1.5px solid #374151 !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 6px 32px rgba(16, 185, 129, 0.08), 0 1.5px 6px rgba(251, 191, 36, 0.08);
  transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s cubic-bezier(.4,2,.6,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.project-card:hover, .team-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 48px rgba(251,191,36,0.18), 0 4px 16px rgba(16,185,129,0.12);
  border-color: #fbbf24 !important;
}
.project-card img, .team-card img {
  border-radius: 1rem 1rem 0 0;
}
.team-card img {
  border-radius: 9999px;
}
.project-card h3, .team-card h3, .team-card h4 {
  color: #fff !important;
}
.project-card p, .team-card p, .team-card span, .project-card span {
  color: #d1d5db !important;
}

/* Remove old overrides for .project-item, .team-member, .founder-card */
.project-item, .team-member, .founder-card {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  transition: none !important;
}

@media (max-width: 1024px) {
  .project-card, .team-card {
    min-width: 0;
    max-width: 100%;
  }
}

/* Premium Project and Team Cards */
.project-card-premium, .team-card-premium {
  background-color: #374151 !important; /* gray-700 */
  border-radius: 1.5rem !important;
  box-shadow: 0 8px 40px 0 rgba(251,191,36,0.15), 0 2px 8px 0 rgba(16,185,129,0.15);
  border-top-width: 8px !important;
  border-top-style: solid !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  transition: box-shadow 0.3s cubic-bezier(.4,2,.6,1), border-color 0.3s cubic-bezier(.4,2,.6,1), transform 0.3s cubic-bezier(.4,2,.6,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.project-card-premium:hover, .team-card-premium:hover {
  box-shadow: 0 16px 64px 0 rgba(251,191,36,0.25), 0 8px 32px 0 rgba(16,185,129,0.25);
  transform: translateY(-10px) scale(1.035);
}
.project-card-premium .group:hover img {
  transform: scale(1.07);
}
.project-card-premium img, .team-card-premium img {
  border-radius: 1rem 1rem 0 0;
}
.team-card-premium img {
  border-radius: 9999px;
  border: 4px solid #10b981;
  box-shadow: 0 2px 12px 0 rgba(16,185,129,0.25);
}
.project-card-premium h3, .team-card-premium h3, .team-card-premium h4 {
  color: #fff !important;
}
.project-card-premium p, .team-card-premium p, .team-card-premium span, .project-card-premium span {
  color: #f3f4f6 !important; /* gray-100 */
}
.project-card-premium .bg-green-500, .team-card-premium .bg-green-500 {
  background: linear-gradient(90deg, #22d3ee 0%, #10b981 100%) !important;
}
.project-card-premium .bg-yellow-400, .team-card-premium .bg-yellow-400 {
  background: linear-gradient(90deg, #fde047 0%, #fbbf24 100%) !important;
}
.team-card-premium .w-24, .team-card-premium .h-24 {
  width: 6rem !important;
  height: 6rem !important;
}
.team-card-premium .border-green-400 {
  border-color: #10b981 !important;
}
.team-card-premium .border-yellow-400 {
  border-color: #fbbf24 !important;
}
.team-card-premium .shadow-lg {
  box-shadow: 0 4px 24px 0 rgba(16,185,129,0.25);
}
.team-card-premium .fab {
  transition: color 0.2s;
}
.team-card-premium .fab:hover {
  color: #10b981 !important;
}
.team-card-premium .fab.fa-linkedin:hover {
  color: #0e76a8 !important;
}
.team-card-premium .fab.fa-github:hover {
  color: #333 !important;
}

@media (max-width: 1024px) {
  .project-card-premium, .team-card-premium {
    min-width: 0;
    max-width: 100%;
  }
}

/* GSAP Animation Initial States - Ensure proper layout */
.hero-title, .hero-subtitle, .hero-buttons, .hero-image {
    position: relative;
}

.counter-item, .service-card, .project-item, .team-member, .founder-card {
    position: relative;
}

.about-image, .about-content, .about-feature {
    position: relative;
}

.services-title, .projects-title, .team-title {
    position: relative;
}

/* Ensure all sections maintain their layout */
section {
    position: relative;
    overflow: visible;
}

/* Ensure grid layouts are preserved */
.grid {
    position: relative;
    overflow: visible;
}

/* Ensure flex layouts are preserved */
.flex {
    position: relative;
    overflow: visible;
}

/* Responsive improvements for small devices */
@media (max-width: 768px) {
    /* Hero section mobile improvements */
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    
    /* Stats section mobile improvements */
    .counter-item {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .counter-item .text-4xl {
        font-size: 2rem !important;
    }
    
    /* Service cards mobile improvements */
    .service-card {
        margin-bottom: 1.5rem !important;
        padding: 1.5rem !important;
    }
    
    .service-card h3 {
        font-size: 1.25rem !important;
    }
    
    .service-card p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    
    /* Project items mobile improvements */
    .project-item {
        margin-bottom: 1.5rem !important;
        padding: 1.5rem !important;
    }
    
    /* Team section mobile improvements */
    .team-member, .founder-card {
        margin-bottom: 1.5rem !important;
        padding: 1.5rem !important;
    }
    
    /* About section mobile improvements */
    .about-content h2 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }
    
    .about-content p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    /* Section titles mobile improvements */
    .services-title, .projects-title, .team-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }
    
    /* Button improvements for mobile */
    .hero-buttons .flex {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .hero-buttons a {
        width: 100% !important;
        text-align: center !important;
        padding: 0.75rem 1rem !important;
    }
    
    /* Navigation mobile improvements */
    nav {
        padding: 0 1rem !important;
    }
    
    nav img {
        height: 6rem !important;
        margin-right: 0.5rem !important;
    }
    
    /* Mobile menu improvements */
    #mobile-menu {
        padding: 1rem !important;
    }
    
    #mobile-menu a {
        padding: 0.75rem 1rem !important;
        font-size: 1rem !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
    }
    
    .counter-item .text-4xl {
        font-size: 1.75rem !important;
    }
    
    .services-title, .projects-title, .team-title {
        font-size: 1.75rem !important;
    }
    
    .about-content h2 {
        font-size: 1.75rem !important;
    }
} 

input::placeholder, textarea::placeholder, select::placeholder {
  color: #fff !important;
  opacity: 1 !important;
} 

select, select option, select optgroup {
  color: #fff !important;
  background: #111827 !important;
} 

textarea, textarea:focus {
  color: #fff !important;
  background: #111827 !important;
  border-color: #374151 !important;
} 

input, input:focus, input[type=text], input[type=email], input[type=tel] {
  color: #fff !important;
  background: #111827 !important;
  border-color: #374151 !important;
} 