/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    color: #333333;
    line-height: 1.6;
}

/* Navigation Bar */
header {
    background: #2c3e50;
    color: #ffffff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header .logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-left: 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    color: #ff6347;
}

/* About Section with Portfolio Picture */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    margin-right: 20px;
}

.about-image {
    flex: 0.5;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay to dim the background image */
}

.hero-content {
    max-width: 800px;
    color: #ffffff;
    position: relative;
    z-index: 1; /* Ensures content appears above the overlay */
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px; /* Adjust the font size to fit in one line */
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    white-space: nowrap; /* Prevents the text from breaking into multiple lines */
    overflow: hidden; /* Ensures text stays within the container */
    text-overflow: ellipsis; /* Adds ellipsis if the text is too long */
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px; /* Reduce font size for smaller screens to keep it on one line */
    }
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Text shadow for readability */
}

.cta-button {
    background: #1e90ff;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #ff6347;
}

/* Sections */
.section {
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Ventures Section */
.ventures .venture {
    background: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Experience Section */
.job {
    margin-bottom: 30px;
}

.job h3 {
    font-size: 28px;
    color: #1e90ff;
}

.job p strong {
    font-size: 20px;
    color: #ff6347;
}

.job ul {
    list-style-type: disc;
    margin-left: 20px;
}

/* Education Section */
.education-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.education-item h3 {
    font-size: 28px;
    color: #1e90ff;
}

.education-item p strong {
    font-size: 20px;
    color: #ff6347;
}

.education-item ul {
    list-style-type: disc;
    margin-left: 20px;
}

/* Books Published Section */
#books-published {
    margin: 50px 0;
}

#books-published h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px;
}

.book {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.book-details {
    flex: 1;
    padding-right: 20px; /* Space between text and button */
}

.purchase-link {
    flex-shrink: 0; /* Keeps button from shrinking */
}

.purchase-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #28a745; /* Green button */
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Prevent button text from breaking */
}

.purchase-button:hover {
    background-color: #218838; /* Darker green on hover */
}

.purchase-button:active {
    background-color: #1e7e34; /* Even darker on active */
}
/* Investors Section */
.investors {
    background-color: #eaf4ff;
    padding: 60px 20px;
    text-align: center;
}

.investors p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 18px;
}

.investors .cta-button {
    margin-top: 20px;
}

/* Contact Section */
.contact form {
    margin-top: 30px;
}

form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background: #1e90ff;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: #ff6347;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}
