/* Global Styles */
:root {
    --color-primary: #2c3e50; /* Dark Blue/Navy */
    --color-secondary: #34495e; /* Slightly lighter Navy */
    --color-accent: #e67e22; /* Vibrant Orange */
    --color-text-dark: #333333;
    --color-text-light: #ffffff;
    --color-background-light: #f8f8f8;
    --color-background-dark: #1a202c;
    --color-border: #dddddd;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--color-background-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-background-light);
}
::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: darken(var(--color-accent), 10%);
}


/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light-gray {
    background-color: var(--color-background-light);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8em;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    border: 2px solid var(--color-accent);
}

.btn-primary:hover {
    background-color: darken(var(--color-accent), 10%);
    border-color: darken(var(--color-accent), 10%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-light);
    border: 2px solid var(--color-text-light);
}

.btn-secondary:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-card-details {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border: none;
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    box-shadow: none;
}

.btn-card-details:hover {
    background-color: darken(var(--color-primary), 10%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-text-light);
    text-align: center;
    overflow: hidden;
    padding: 20px; /* Added padding for smaller screens */
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--color-text-light);
    box-shadow: var(--shadow-medium);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4.5em;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.8em;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
}

/* About Me Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
    color: var(--color-text-dark);
}

.about-content p {
    margin-bottom: 1.5em;
    text-align: justify;
}

.about-content p strong {
    color: var(--color-primary);
}

/* My Ventures Section */
.ventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.venture-card {
    background-color: var(--color-text-light);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Distribute space */
    min-height: 320px; /* Ensure consistent height */
}

.venture-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.venture-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.venture-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8em;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.venture-description {
    font-size: 1em;
    color: var(--color-text-dark);
    margin-bottom: 25px;
    flex-grow: 1; /* Allows description to take available space */
}

.venture-placeholder {
    border: 2px dashed var(--color-border);
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-secondary);
}

.venture-plus-icon {
    font-size: 4em;
    color: var(--color-border);
    margin-bottom: 20px;
}

/* Hide the future venture card for public view */
.hidden-for-public {
    display: none;
}

/* Contact Section */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: var(--color-text-dark);
}

.contact-info {
    margin-bottom: 40px;
}

.contact-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4em;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.contact-email {
    font-size: 1.3em;
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: darken(var(--color-accent), 10%);
    text-decoration: underline;
}

.social-label {
    margin-top: 50px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
}

.social-icons a {
    color: var(--color-primary);
    font-size: 2.2em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--color-accent);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form {
    background-color: var(--color-text-light);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    text-align: left;
}

.form-group {
    margin-bottom: 25px; /* Increased spacing between form fields */
}

.form-group label {
    display: block;
    font-size: 1em;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 5px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1em;
    color: var(--color-text-dark);
    background-color: #fdfdfd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2); /* Using explicit RGBA for accent color */
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    width: auto;
    padding: 14px 40px;
    font-size: 1.1em;
    border-radius: 50px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

.form-note {
    font-size: 0.9em;
    color: #777;
    margin-top: 20px;
    text-align: center;
}

/* New style for form status message */
.form-status-message {
    margin-top: 30px; /* Increased margin for better separation */
    padding: 15px; /* Increased padding */
    border-radius: 8px; /* Slightly more rounded corners */
    font-weight: 600;
    text-align: center;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    min-height: 20px; /* Ensure it takes up space even when empty */
    box-shadow: var(--shadow-light); /* Add a subtle shadow */
}

/* Styles for different message states (controlled by JS) */
.form-status-message.success {
    background-color: #d4edda; /* Light green */
    color: #155724; /* Dark green text */
    border: 1px solid #c3e6cb;
    opacity: 1;
}

.form-status-message.error {
    background-color: #f8d7da; /* Light red */
    color: #721c24; /* Dark red text */
    border: 1px solid #f5c6cb;
    opacity: 1;
}

.form-status-message.sending {
    background-color: #fff3cd; /* Light yellow */
    color: #856404; /* Dark yellow text */
    border: 1px solid #ffeeba;
    opacity: 1;
}


/* Footer */
.footer {
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
    padding: 10px 5px;
    text-align: center;
    font-size: 0.9em;
}

.footer-links a {
    color: var(--color-text-light);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

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

    .hero-subtitle {
        font-size: 1.5em;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 80%; /* Make buttons wider on small screens */
        max-width: 300px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2.2em;
        margin-bottom: 40px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .about-content, .contact-content {
        font-size: 1em;
    }

    .social-icons a {
        font-size: 1.8em;
    }

    .venture-card {
        padding: 25px;
    }

    .venture-name {
        font-size: 1.5em;
    }

    .venture-logo {
        width: 100px;
        height: 100px;
    }

    .form-submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .section-title {
        font-size: 1.8em;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9em;
    }
}
