/* Global Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #ffffff, #ff4d4d);
    color: #333;
    height: 100vh;
}
/* About Section Styling */
.about-section {
    padding: 4rem 1.5rem;
    background-color: #f9f9f9;
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: black;
}
.hero h1 {
    font-size: 3rem;
}
.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 20px auto;
}
.hero .btn {
    background: white;
    color: #ff4d4d;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}
.hero .btn:hover {
    background: #ff4d4d;
    color: white;
}
.hero-btn {
    display: inline-block;
    background: white;
    color: #ff4d4d;
    padding: 8px 16px; /* Smaller padding to reduce size */
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem; /* Adjust the font size */
    transition: all 0.3s ease-in-out;
}

.hero-btn:hover {
    background: #ff4d4d;
    color: white;
    transform: scale(1.05);
}

h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0;
    color: #222;
}

.custom-list li {
    font-size: 14px;
    color: #555;
    padding-bottom: 50px;
    padding-left: 20px;
    position: relative;
}

h4 {
    font-size: 18px;
    font-weight: bold;
    color: #d32f2f;
    margin-top: 10px;
}

/* Footer */
footer {
    background: rgba(255, 77, 77, 0.9);
    color: white;
    text-align: center;
    padding: 15px;
    position: relative;
}
footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.front-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

/* Hover effects */
.unique-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    background-color: #ffe2e2;
}

/* Icon Circle */
.unique-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    margin-right: 12px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Unique colors for each icon */
.unique-card:nth-child(1) .unique-icon-circle {
    background: linear-gradient(135deg, #007bff, #0056b3);
}
.unique-card:nth-child(2) .unique-icon-circle {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}
.unique-card:nth-child(3) .unique-icon-circle {
    background: linear-gradient(135deg, #ffc107, #d39e00);
}
.unique-card:nth-child(4) .unique-icon-circle {
    background: linear-gradient(135deg, #dc3545, #a71d2a);
}
.unique-card:nth-child(5) .unique-icon-circle {
    background: linear-gradient(135deg, #6610f2, #520dc2);
}

/* Hover effect */
.unique-card:hover .unique-icon-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .unique-card-container {
        flex-direction: column; /* Stacks the cards */
        align-items: center;
    }

    .unique-card {
        width: 85%; /* Adjusts size to be smaller on mobile */
        max-width: 300px;
        height: 130px; /* Reduces height slightly to avoid large appearance */
    }
}

@media (max-width: 480px) {
    .unique-card {
        width: 90%; /* Makes cards adapt well on smaller screens */
        max-width: 300px;
        height: 130px;
        padding: 15px; /* Slightly reduces padding */
    }
}

/* why choose us section */
.fibertech-why-choose-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
}
.fibertech-why-choose-container {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(220px, 1fr)
    ); /* Ensure even sizing */
    gap: 20px;
    justify-content: center;
    align-items: stretch; /* Make all items the same height */
    max-width: 1200px;
    margin: auto;
}

.fibertech-why-choose-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    text-decoration: none;
    width: 100%; /* Ensure equal width */
    height: 100%; /* Make all items the same height */
}

.fibertech-why-choose-feature:hover {
    transform: scale(1.05);
}

.fibertech-why-choose-feature img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 10px;
}

.fibertech-why-choose-feature h3 {
    color: teal;
    font-size: 18px;
    margin-top: 10px;
    text-decoration: none; /* Remove underline */
}

.fibertech-why-choose-feature p {
    font-size: 14px;
    color: #555;
    flex-grow: 1; /* Ensures text areas are balanced */
}

.fibertech-btn-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.fibertech-btn {
    text-decoration: none; /* Remove underline */
    background-color: #d32f2fed;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    border: none; /* Remove visible borders */
    display: inline-block; /* Ensure even sizing */
    text-align: center;
    width: 150px; /* Ensure uniform button size */
}

.fibertech-btn:hover {
    background-color: darkred;
}
