import React from 'react';

const PublicCloudInfoSection = () => {
  return (
    <div className="bg-gray-50 py-16 px-6">
      <div className="max-w-7xl mx-auto">
        {/* Main heading */}
        <h2 className="text-3xl md:text-4xl font-bold text-gray-700 mb-12 text-center">
          Why choose Public Cloud instances?
        </h2>
        
        {/* Three column grid */}
        <div className="grid grid-cols-1 lg:grid-cols-3 gap-8 mb-16">
          {/* Column 1 - Launch your project */}
          <div className="bg-white p-8 rounded-lg shadow-sm">
            <h3 className="text-xl font-semibold text-gray-700 mb-4">
              Launch your project in no time
            </h3>
            <p className="text-gray-700 leading-relaxed">
              Public cloud instances (virtual servers) offer both flexibility and speed. In under a minute, you get CPU, RAM and storage, without over-allocating resources, as well as root access. The 3engines Public Cloud offers hourly billing, along with a transparent pricing model. The ability to add resources without having to reinstall. With the OpenStack API, you can automate your infrastructure.
            </p>
          </div>
          
          {/* Column 2 - IaaS, PaaS, SaaS */}
          <div className="bg-white p-8 rounded-lg shadow-sm">
            <h3 className="text-xl font-semibold text-gray-700 mb-4">
              IaaS, PaaS
            </h3>
            <p className="text-gray-700 leading-relaxed mb-4">
              There are different types of cloud models available, depending on your needs. Here, we find:
            </p>
            <ul className="space-y-3 text-gray-700">
              <li className="flex items-start">
                <span className="text-blue-600 mr-2">→</span>
                <span><strong className="text-blue-600">Infrastructure as a Service (IaaS)</strong>, which you can benefit from without needing hardware.</span>
              </li>
              <li className="flex items-start">
                <span className="text-blue-600 mr-2">→</span>
                <span><strong className="text-blue-600">Platform as a Service (PaaS)</strong>, which lets you focus on installing and running your applications.</span>
              </li>
              
            </ul>
            <p className="text-gray-700 mt-4 text-sm">
              3engines is focused on providing IaaS and PaaS solutions.
            </p>
          </div>
          
          {/* Column 3 - High availability */}
          <div className="bg-white p-8 rounded-lg shadow-sm">
            <h3 className="text-xl font-semibold text-gray-700 mb-4">
              High availability, simplicity, flexibility, and reversibility
            </h3>
            <p className="text-gray-700 leading-relaxed">
              Our <strong className="text-blue-600">Public Cloud is hosted in our datacentres</strong>, on servers assembled by our team. This empowers us to improve our performance and maintain control over our production chain, from manufacturing to launch. Public Cloud is easy to use, so feel free to manage it however you want. You can adapt it to your specific needs, thanks to its flexibility. What&apos;s more, because we use standard APIs, your data is reversible. Lastly, our cloud is also interoperable.
            </p>
          </div>
        </div>
        
        {/* Second row of content */}
        <div className="grid grid-cols-1 lg:grid-cols-3 gap-8">
          {/* How does Public Cloud work? */}
          <div className="bg-white p-8 rounded-lg shadow-sm">
            <h3 className="text-xl font-semibold text-gray-700 mb-4">
              How does Public Cloud work?
            </h3>
            <p className="text-gray-700 leading-relaxed">
              Public cloud is a model for deploying <strong className="text-blue-600">cloud computing services</strong>. Everything is shared—including resources, such as computing power or storage, as well as the physical infrastructure that supports them. Unlike the private cloud, where all physical resources are dedicated to each customer, they are shared between the provider&apos;s users in the public cloud.
            </p>
          </div>
          
          {/* Who maintains the infrastructure? */}
          <div className="bg-white p-8 rounded-lg shadow-sm">
            <h3 className="text-xl font-semibold text-gray-700 mb-4">
              Who maintains the infrastructure?
            </h3>
            <p className="text-gray-700 leading-relaxed">
              Like other types of cloud solutions, 3engines maintains the physical servers and network, and manages the virtualisation layer. This means we can manage resource allocation, and ensure that our customers&apos; services are isolated. Automation is one of the cornerstones of Public Cloud. You can deploy instances (virtual machines) in a datacentre of your choice, via the 3engines Control Panel or API, with guaranteed resources in terms of storage capacity and computing power.
            </p>
          </div>
          
          {/* Where is 3engines Public Cloud deployed? */}
          <div className="bg-white p-8 rounded-lg shadow-sm">
            <h3 className="text-xl font-semibold text-gray-700 mb-4">
              Where is 3engines Public Cloud deployed?
            </h3>
            <p className="text-gray-700 leading-relaxed">
              You can find all of 3engines&apos;s infrastructure locations in India.
            </p>
          </div>
        </div>
      </div>
    </div>
  );
};

export default PublicCloudInfoSection;