/* Base styles for the header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #001c30;
}

/* Logo styling */
.logo img {
    max-width: 150px; /* Adjust the logo size as needed */
}

/* Menu styling */
.menu ul {
    list-style-type: none;
    display: flex;
    margin-left: 40px;
        padding: 0;

}

.menu ul li {
    margin-right: 40px;
}

/* Make header elements align to the left */
header {
    justify-content: flex-start;
}

.menu ul li a {
    text-decoration: none;
    color: #97e4ff;
    font-weight: 900;
}

/* Base styles for the Hero section */
.hero {
    background-color: #97e4ff;
    padding: 40px 20px;
    text-align: center;
}

/* Headline styling */
.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
}


/* Specific colors for each highlighted word */
.highlight.ai {
    background-color: #ff6347; /* Tomato color for AI Driven */
}

.highlight.personalized {
    background-color: #4682b4; /* Steel Blue for Personalized */
}

.highlight.variety {
    background-color: #32cd32; /* Lime Green for variety */
}

.highlight.minute {
    background-color: #ff1493; /* Deep Pink for minute */
}


/* The topics grid container */
.topics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin : 50px ;
}

/* Each individual card */
.card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    width: calc(30% - 20px); /* 3 columns, with space between */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
        text-decoration: none; /* Remove underline */

}

/* Hover effects for the cards */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Icon styling */
.card .icon {
    margin-bottom: 15px;
}

.card .icon img {
    width: 50px;
    height: 50px;
}

/* Heading and category text */
.card h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.card .category {
    font-size: 0.9rem;
    color: #8a8a8a;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Description text */
.card p {
    font-size: 1rem;
    color: #555;
}

/* Content page container */
.content-page {
    max-width: 600px;
    margin: 50px auto; /* auto horizontally centers */

    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
}

/* Icon styling */
.content-card .icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

/* Content card heading */
.content-card h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

/* Category styling */
.content-card .category {
    font-size: 0.9rem;
    color: #8a8a8a;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Long description */
.content-card .long-description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Action button */
.action-button {
    background-color: #001c30;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.action-button:hover {
    background-color: #315f82;
}

#chat-window {
            width: 60%;
            height: 300px;
            overflow-y: auto;
            background: #fff;
            border: 1px solid #ddd;
            padding: 15px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            margin-bottom: 10px;
            margin-top: 10px;

        }
        .chat-bubble {
            width: 60%;
            margin: 5px 0;
            padding: 10px;
            border-radius: 10px;
            background-color: #f1f1f1;
        }
        .user-input {
            display: flex;
            padding: 15px;
            gap: 10px;
            width: 60%;
            background: #fff;
            border: 1px solid #ddd;


        }
        .user-input button, .user-input input {
            padding: 10px;
            border-radius: 5px;
            border: 1px solid #ddd;
        }
        .option-buttons button {
            margin: 5px;
            padding: 8px 15px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            background-color: #97e4ff;
            color: #001c30;
        }
        .option-buttons button:hover {
            background-color: #001c30;
            color: #97e4ff;
        }
        
        
        footer {
      background-color: #001c30;
      color: #97e4ff;
      text-align: center;
      padding: 10px;
    margin-top: 20px; /* default spacing on small screens */

    }
    
    
        .foot {
      background-color: #001c30;
      color: #97e4ff;
      text-align: center;
      padding: 10px;
    margin-top: 20px; /* default spacing on small screens */

    }
    
@media (min-width: 1024px) {

   footer {
      
position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
    }

}    
    

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    .menu ul {
        flex-direction: row; /* Horizontal stacking */
        align-items: center;
        margin-top: 10px;
    }
    
        .menu ul li {
        margin-right: 40px; /* Adjust spacing for mobile view */
    }
    
    .hero h1 {
        font-size: 2rem;
        padding: 0 20px;
        line-height: 1.6;  /* Increased line spacing on mobile */

    }
    
     .card {
        width: 100%; /* Full width on mobile */
    }

    .topics-grid {
        gap: 15px;
        margin: 5px;
    }
    
    #chat-window {
        
        width: 90%; /* Full width on mobile */
                    height: 250px;

        
    }
    
           .user-input {

        
        width: 90%; /* Full width on mobile */
        
    }
    
     .chat-bubble {
            width: 90%;
            
     }


}
