/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(90deg, #bed0ab 0%, #bed0ab 25%, #234b62 75%, #234b62 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header Styles */
header {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.header-logo {
    margin-bottom: 1.5rem;
}

.main-logo {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 350px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    padding: 10px;
}

.main-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

header h1 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

header p {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

/* Main Container */
.companies-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Company Card Styles */
.company {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    cursor: pointer;
    position: relative;
}

.company:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.company:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

.company:active {
    transform: translateY(-2px) scale(0.98);
}

/* Add a subtle indication that cards are clickable */
.company::after {
    content: '🔗';
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.company:hover::after {
    opacity: 1;
}

/* Company Header */
.company-header {
    background: linear-gradient(135deg, #53604b 0%, #53604b 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.tagada .company-header {
    background: linear-gradient(135deg, #53604b 0%, #53604b 100%);
    color: white;
}

.hastar .company-header {
    background: linear-gradient(135deg, #234b62 0%, #234b62 100%);
}

.company-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.company-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

/* Company Content */
.company-content {
    padding: 2rem;
}

.company-content h3 {
    color: #234b62;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

.company-description p {
    color: #555;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Features List */
.company-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.company-features li {
    background: #f8f9fa;
    margin-bottom: 0.5rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border-left: 4px solid #53604b;
    transition: all 0.3s ease;
}

.tagada .company-features li {
    border-left-color: #53604b;
}

.hastar .company-features li {
    border-left-color: #234b62;
}

.company-features li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: scale(1.05);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #53604b;
    margin-bottom: 0.5rem;
}

.tagada .stat-number {
    color: #53604b;
}

.hastar .stat-number {
    color: #234b62;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Contact Info */
.contact-info p {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 1.1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 3rem;
}

a:link,
a:visited,
a:hover ,
a:active {
  text-decoration: underline;
    font-size: clamp(1.3rem, 2vw, 2rem);
  color: white;
}

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

.tagada {
    animation-delay: 0.2s;
}

.hastar {
    animation-delay: 0.4s;
}

/* Large screens - bigger logo */
@media (min-width: 1400px) {
    .main-logo {
        max-height: 400px;
    }
}

@media (min-width: 1600px) {
    .main-logo {
        max-height: 450px;
    }
}

/* Responsive Design */

/* Large screens and tablets */
@media (max-width: 1200px) {
    .companies-container {
        max-width: 1000px;
        gap: 1.5rem;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .companies-container {
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    .company-header h2 {
        font-size: 2.2rem;
    }
    
    .company-content {
        padding: 1.5rem;
    }
}

/* Small tablets and large phones */
@media (max-width: 768px) {
    .companies-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    header {
        padding: 1.5rem 1rem;
    }
    
    header h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .main-logo {
        max-width: 200px;
        height: auto;
    }
    
    .company-header {
        padding: 1.5rem;
    }
    
    .company-header h2 {
        font-size: 1.8rem;
    }
    
    .company-content {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .stat {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .company-features li {
        padding: 0.6rem 0.8rem;
        font-size: 0.95rem;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    header {
        padding: 1rem 0.5rem;
    }
    
    header h1 {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    header p {
        font-size: 0.9rem;
    }
    
    .main-logo {
        max-width: 150px;
    }
    
    .companies-container {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .company-header {
        padding: 1rem;
    }
    
    .company-header h2 {
        font-size: 1.5rem;
    }
    
    .logo-placeholder {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .company-content {
        padding: 1rem;
    }
    
    .company-content h3 {
        font-size: 1.3rem;
    }
    
    .company-description p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat {
        padding: 0.6rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .company-features li {
        padding: 0.5rem 0.6rem;
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-info p {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    footer {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    header h1 {
        font-size: 1.3rem;
    }
    
    .main-logo {
        max-width: 120px;
    }
    
    .company-header h2 {
        font-size: 1.3rem;
    }
    
    .logo-placeholder {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
}
