
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
}
header {
    background: linear-gradient(135deg, #4b6cb7, #182848);
    color: #ffffff;
    padding: 20px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
nav {
    display: flex;
    justify-content: center;
    background: #222;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
    font-size: 18px;
}
nav a:hover {
    background: #4b6cb7;
    border-radius: 5px;
    transform: scale(1.1);
}

#about {
    background: linear-gradient(135deg, #222, #444);
    color: white;
    padding: 50px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

#about:hover {
    transform: scale(1.02);
}

#about h2 {
    color: rgb(6, 6, 95);
    font-size: 32px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#about p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.learn-more {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #ff6600;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;
}

.learn-more:hover {
    background-color: #ff4500;
    box-shadow: 0px 4px 10px rgba(255, 102, 0, 0.5);
}


.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }

}

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin: 2rem 0;
    color: #333;
}



/* Subsidiaries Section */
.subsidiaries {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row for large screens */
    gap: 2rem; /* Space between cards */
    padding: 2rem;
    margin: 0 auto;
    max-width: 1200px; /* Limiting the width to a max of 1200px for better control */
}

/* Title Styling */
h2 {
    text-align: center;
    font-size: 2.5rem;
    margin: 2rem 0;
    color: #2c3e50; /* Dark gray for title */
    font-weight: bold;
}

/* Individual Subsidiary Card */
.subsidiary {
    background-color: #ffffff; /* White background for clean look */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #3498db; /* Blue left border for emphasis */
    position: relative;
}

/* Title and Description Inside Each Card */
.subsidiary h3 {
    font-size: 1.8rem;
    color: #34495e; /* Dark blue-gray for title */
    margin-bottom: 1rem;
    font-weight: 600;
}

.subsidiary p {
    color: #7f8c8d; /* Gray for description text */
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Hover Effect on Cards */
.subsidiary:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Deeper shadow on hover */
    border-left: 5px solid #e74c3c; /* Red border on hover */
}

/* Button or Link (optional) */
.subsidiary .button {
    background-color: #3498db; /* Blue button */
    color: #fff; /* White text on button */
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.subsidiary .button:hover {
    background-color: #2980b9; /* Darker blue on hover */
}

/* Responsive Design: Adjust grid for smaller screens */
@media (max-width: 768px) {
    .subsidiaries {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row for medium screens */
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.8rem; /* Adjusting title size for small screens */
    }
    .subsidiary {
        padding: 1.5rem;
    }
    .subsidiaries {
        grid-template-columns: 1fr; /* 1 card per row for small screens */
    }
}




/* Responsive Design */
@media (max-width: 768px) {
    .subsidiaries {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.5rem;
    }
    .subsidiary {
        padding: 1rem;
    }
}




/* Gallery Layout */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem;
    margin: 0 auto;
}

/* Gallery Card Styling */
.gallery-card {
    background-color: #ffffff; /* White background for clean look */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    overflow: hidden; /* Prevent content from overflowing the card */
    position: relative;
    text-align: center;
}

/* Image Styles */
.gallery-card img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

/* Overlay Text (Company Name) */
.image-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: #fff;
    padding: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

/* "View More" Button */
.view-more {
    display: inline-block;
    background-color: #3498db; /* Blue button */
    color: #fff; /* White text */
    padding: 0.75rem 2rem;
    border-radius: 30px; /* Rounded corners for a more modern feel */
    text-decoration: none;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    text-transform: uppercase; /* Uppercase text */
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4); /* Subtle shadow */
    transition: all 0.3s ease;
}

/* Hover Effect */
.view-more:hover {
    background-color: #2980b9; /* Darker blue on hover */
    transform: translateY(-3px); /* Lift effect */
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.6); /* Stronger shadow */
}

/* "View More" Button After Hover (Active) */
.view-more::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background-color: rgba(255, 255, 255, 0.2); /* Subtle white glow */
    transition: all 0.3s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
}

/* Animation when hovering */
.view-more:hover::after {
    transform: translate(-50%, -50%) scale(1);
}


/* Hover Effect on Images */
.gallery-card img:hover {
    transform: scale(1.05); /* Slight zoom effect */
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}






#contact {
    background-color: #222;
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

#contact:hover {
    transform: scale(1.02);
}

#contact h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#contact p {
    font-size: 18px;
    margin-bottom: 15px;
}

form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: #333;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
}

form label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    text-align: left;
    color: #bbb;
}

form input, 
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    background: #444;
    color: white;
    font-size: 16px;
    transition: 0.3s;
}

form input:focus, 
form textarea:focus {
    background: #555;
    outline: none;
    box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.2);
}

button {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

button:hover {
    background-color: #ff4500;
    box-shadow: 0px 4px 10px rgba(255, 102, 0, 0.5);
}







footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 16px;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
}

footer a {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.3s ease-in-out;
}

footer a:hover {
    color: #ff4500;
    text-decoration: underline;
}

footer p {
    margin: 10px 0;
    font-size: 14px;
}

footer .social-icons {
    margin-top: 15px;
}

footer .social-icons a {
    font-size: 24px;
    margin: 0 15px;
    transition: transform 0.3s ease-in-out;
}

footer .social-icons a:hover {
    transform: scale(1.1);
}

footer .social-icons a:active {
    transform: scale(0.95);
}

footer .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .social-icons a i {
    color: white;
    transition: color 0.3s ease-in-out;
}

footer .social-icons a:hover i {
    color: #ff6600;
}

