/* --- Global & Base Styles (You would already have these) --- */
:root {
    --primary-color: #007bff; /* Example Blue for Brand */
    --secondary-color: #28a745; /* Example Green for CTA */
     --secondary: #2790f7;
     --primary: #1E3A8A;
    --background-color: #f8f9fa; /* Light background */
    --text-color: #343a40;
}


/* --- Hero Section Layout --- */
.hero-section {
    display: flex; /* Use Flexbox for two-column layout */
    justify-content: space-between;
    align-items: center;
    padding: 80px 5%; /* Padding for spacing */
    min-height: 80vh; /* Make it visually prominent */
    background-color: var(--background-color);
    overflow: hidden; /* Important for containing absolute-positioned elements */
}

/* --- Left Column: Content --- */
.hero-content {
    flex: 1; /* Takes up space */
    max-width: 500px;
}
.highlight {
    background: linear-gradient(90deg, var(--primary), var(--secondary));-webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 3.5rem;
    
    /* Corrected Color: Use the dark text color for the non-gradient words */
    color: var(--primary-color); 
    
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700; /* Ensure the non-gradient part is also bold */
}
.hero-description {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.hero-cta-group {
    display: flex;
    gap: 15px; /* Space between the two buttons */
    align-items: center;
}


/* --- Buttons --- */
.btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: var(--secondary-color); /* Contrasting color */
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: #218838;
}

.btn-secondary {
    /* Base button styles (inherited from .btn) */
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    background-image: linear-gradient(to right, #00C6FF, #032D60);
    border: 2px solid transparent; /* The thickness of your border */
    color: white;
    transition: all 0.3s ease;
}


.btn-secondary:hover {
    /* 1. Set the background property (corrects the error) */
    background-image: linear-gradient(to left, #00C6FF, #032D60);
    
    /* 2. Change the text color to white for contrast against the filled button */
    color: white; 
    
    /* 3. Reset background-clip to border-box to fill the WHOLE button (removes the transparent center) */
    background-clip: border-box;
    
    /* 4. Ensure no text decoration (like underline) is shown */
    text-decoration: none; 
}
/* --- Right Column: Visual and Floating Elements --- */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Container for floating elements */
    padding-left: 50px;
}


.main-person-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px; /* Subtle round corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10; /* Keep the image above the floating elements */
    position: relative;
}

/* --- Floating Elements Styling and Positioning --- */
.floating-element {
    position: absolute; /* Allows them to be positioned relative to .hero-visual */
    font-size: 3rem; /* Make the icons large and visible */
    padding: 15px;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 5;
    /* Add a subtle animation to make them "float" */
    animation: float-animation 6s ease-in-out infinite;
}

/* Specific positions for each element */
.mic-icon {
    top: 10%;
    left: 0;
}
.headphone-icon {
    bottom: 20%;
    right: 5%;
    animation-delay: 1.5s; /* Stagger the animation */
}
.graph-icon {
    top: 5%;
    right: 25%;
    font-size: 4rem;
    animation-delay: 3s;
}
.clock-icon {
    bottom: 0%;
    left: 20%;
    animation-delay: 4.5s;
}

/* The actual floating animation */
@keyframes float-animation {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* --- Responsive adjustments for smaller screens --- */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column; /* Stack columns vertically */
        text-align: center;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }

    .hero-visual {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta-group {
        justify-content: center; /* Center buttons when stacked */
    }

    /* Move floating elements closer to the image on mobile */
    .floating-element {
        font-size: 2rem;
        padding: 10px;
    }
    .mic-icon { top: -10px; left: 10%; }
    .headphone-icon { bottom: 10px; right: 10%; }
    .graph-icon { top: 10px; right: 0; }
    .clock-icon { bottom: -10px; left: 20%; }
}
