/* Global CSS Variables */
:root {
    --primary-color: #4285F4;
    --primary-dark: #357AE8;
    --secondary-color: #34A853;
    --error-color: #EA4335;
    --text-primary: #202124;
    --text-secondary: #5F6368;
    --background-light: #F8F9FA;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --transition-speed: 0.2s;
}

/* Base Styles */
body {
    font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--background-light);
    color: var(--text-primary);
    line-height: 1.5;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%),
                linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.3;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
}

.feature-icon {
    color: white;
    width: 32px;
    height: 32px;
}

.feature-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Form Elements */
.feature-form {
    width: 100%;
}

.input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;  /* Add this line */
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    width: 20px;
    height: 20px;
}

input[type="text"] {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 40px;
    font-size: 1rem;
    border: 2px solid #E8EAED;
    border-radius: 8px;
    transition: all var(--transition-speed);
    outline: none;
    background: var(--background-light);
    box-sizing: border-box;
}

input[type="text"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

input[type="text"]::placeholder {
    color: var(--text-secondary);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed);
    min-width: 160px;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    transition: transform var(--transition-speed);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Loading States */
.spinner {
    display: none;
    gap: 4px;
}

.spinner > div {
    width: 6px;
    height: 6px;
    background-color: currentColor;
    border-radius: 50%;
    display: inline-block;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}

.btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading .btn-text {
    opacity: 0.7;
}

.btn-loading .btn-icon {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem 3rem;
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .input-group {
        flex-direction: column;
    }

    
}

/* Logo Matrix Table Styles */
.logo-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.logo-table th,
.logo-table td {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}
.logo-table img {
    max-height: 50px;
}


.btn-secondary {
    background-color:rgba(197, 214, 228, 0.76); /* A neutral gray */
    color: #fff;
    border: none;
    padding: 0.75rem 2.0rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}
.btn-secondary:hover {
    background-color: #5a6268;
}

.button-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Adjust spacing between buttons as needed */
    margin-top: 10px;
    align-items: center;
  }

  .custom-file-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: rgba(197, 214, 228, 0.76);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  transition: background-color var(--transition-speed);
  text-decoration: none;
  border: none;
}

.custom-file-label:hover {
    background-color: #5a6268; /* Same hover color as .btn-secondary:hover */
  }
