/* General Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
}

header .logo h1 {
    margin: 0;
    font-size: 1.5rem;
}

header nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Hamburger Menu */
header .hamburger {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    cursor: pointer;
}

header .hamburger span {
    background: #fff;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    transition: transform 0.3s ease;
}

header .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: #333;
    position: absolute;
    top: -300px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    transition: top 0.3s ease-in-out;
}

header .nav-links.open {
    top: 60px;
}

/* Responsive Header */
@media (max-width: 768px) {
    header nav ul {
        display: none;
    }

    header .hamburger {
        display: flex;
    }

    header .nav-links {
        display: flex;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-bg.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero .btn {
    padding: 0.8rem 1.5rem;
    color: #fff;
    background: #007BFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.hero .btn.secondary {
    background: #6c757d;
}

.hero .btn:hover {
    background: #0056b3;
}

/* Services Section */
.services {
    background: #f4f4f4;
    padding: 3rem 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    color: #555;
}

/* Subsidiaries Section */
.subsidiaries {
    padding: 3rem 0;
}

.subsidiaries h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.subsidiary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
}

footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

footer .footer-links li a {
    color: #fff;
    text-decoration: none;
}

footer .footer-links li a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .service-cards,
    .subsidiary-cards {
        grid-template-columns: 1fr;
    }

    footer .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}























/* General Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

/* Header Styles */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    position: relative;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 {
    margin: 0;
    font-size: 1.5rem;
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Hamburger Menu */
header .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.3rem;
}

header .hamburger span {
    background: #fff;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    transition: transform 0.3s ease-in-out;
}

/* Mobile Menu */
header .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #333;
    padding: 1rem 0;
    gap: 1rem;
}

header .nav-links.open {
    display: flex;
}

/* Large Screens */
@media (min-width: 769px) {
    header .hamburger {
        display: none;
    }

    header nav ul {
        display: flex;
    }

    header .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        gap: 1.5rem;
    }
}

/* Small Screens */
@media (max-width: 768px) {
    header .hamburger {
        display: flex;
    }

    header nav ul {
        display: none;
    }
}







/* Mobile Menu Animation */
header .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: -300px;
    left: 0;
    width: 100%;
    background: #333;
    padding: 1rem 0;
    gap: 1rem;
    transition: top 0.6s ease, opacity 0.6s ease;
    /* Transition for sliding and fading */
    opacity: 0;
    align-items: center;
    pointer-events: none;
    /* Prevent interaction when hidden */
}

header .nav-links.open {
    top: 60px;
    /* Slide down */
    opacity: 1;
    /* Make it visible */
    pointer-events: auto;
    /* Enable interaction */
}

/* Card Hover Effect */
.card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transition */
}

.card:hover {
    transform: translateY(-10px);
    /* Lift the card */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    /* Increase shadow on hover */
}







/* Hover effect on the nav links */
header nav ul li a:hover {
    text-decoration: underline;
    background-color: #444;
    /* Add a background color on hover */
    padding: 0.2rem 0.5rem;
    /* Slight padding to add space around text */
    border-radius: 5px;
}

/* Active link effect (when clicked) */
header nav ul li a.active {
    background-color: #007bff;
    /* Change background color on active */
    color: white;
    /* Change text color to white for contrast */
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
}

























/* Header Styles */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
}

header .logo h1 {
    margin: 0;
    font-size: 1.5rem;
}

header nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, padding 0.3s;
    /* Smooth transition for hover effect */
}

header nav ul li a:hover {
    text-decoration: underline;
    background-color: #444;
    /* Background color change on hover */
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
}

/* Hamburger Menu */
header .hamburger {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    cursor: pointer;
}

header .hamburger span {
    background: #fff;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    transition: transform 0.3s ease-in-out;
}

/* Mobile Navigation */
header .nav-links {
    display: flex;
    /* Make the nav links visible on large screens */
    flex-direction: row;
    gap: 1.5rem;
    background: #333;
    padding: 1rem 0;
}

header .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: #333;
    position: absolute;
    top: -300px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    transition: top 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    align-items: center;
    pointer-events: none;
    /* Prevent interaction when hidden */
}

header .nav-links.open {
    top: 60px;
    opacity: 1;
    pointer-events: auto;
}

/* Show nav-links and hide hamburger on larger screens */
@media (min-width: 769px) {
    header .hamburger {
        display: none;
        /* Hide hamburger */
    }

    header nav ul {
        display: flex;
        /* Make nav links visible */
    }

    header .nav-links {
        display: flex;
        /* Keep nav links visible */
        flex-direction: row;
        position: static;
        background: none;
        gap: 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    header nav ul {
        display: none;
        /* Hide nav links */
    }

    header .hamburger {
        display: flex;
        /* Show hamburger menu */
    }

    header .nav-links {
        display: flex;
        /* Display nav links on mobile */
    }
}















/* General Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

/* Header Styles */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    position: relative;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
header .logo h1 {
    margin: 0;
    font-size: 1.5rem;
}

/* Navbar (links) */
header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    /* Align navbar items to the right */
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, padding 0.3s;
    /* Smooth transition for hover effect */
}

header nav ul li a:hover {
    text-decoration: underline;
    background-color: #444;
    /* Background color change on hover */
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
}

/* Hamburger Menu */
header .hamburger {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    cursor: pointer;
}

header .hamburger span {
    background: #fff;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    transition: transform 0.3s ease-in-out;
}

/* Mobile Navigation */
header .nav-links {
    display: none;
    /* Hide the nav links by default on mobile */
    flex-direction: column;
    gap: 1rem;
    background: #333;
    position: absolute;
    top: -300px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    transition: top 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    align-items: center;
    pointer-events: none;
    /* Prevent interaction when hidden */
}

/* When nav-links are visible (mobile menu open) */
header .nav-links.open {
    top: 60px;
    opacity: 1;
    pointer-events: auto;
}

/* Large Screens (>= 769px) */
@media (min-width: 769px) {
    header .hamburger {
        display: none;
        /* Hide hamburger on large screens */
    }

    header nav ul {
        display: flex;
        /* Show navbar links */
    }

    header .nav-links {
        display: flex;
        /* Show nav links on large screens */
        flex-direction: row;
        /* Horizontally aligned navbar items */
        position: static;
        background: none;
        gap: 1.5rem;
    }
}

/* Small Screens (<= 768px) */
@media (max-width: 768px) {
    header nav ul {
        display: none;
        /* Hide navbar links on small screens */
    }

    header .hamburger {
        display: flex;
        /* Show hamburger on small screens */
    }

    header .nav-links {
        display: flex;
        /* Display nav links in mobile view */
    }
}
























/* General Header Styles */
header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

/* Desktop View */
@media (min-width: 769px) {
    header .nav-links {
        display: flex;
        flex-direction: row;
        /* Horizontal layout for larger screens */
        position: static;
        gap: 1.5rem;
        background: none;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        align-items: center;
        padding: 0;
    }

    header .hamburger {
        display: none;
        /* Hide hamburger on large screens */
    }
}

/* Mobile View */
@media (max-width: 768px) {
    header nav ul {
        display: none;
        /* Hide links by default */
    }

    header .hamburger {
        display: flex;
        /* Show hamburger menu for smaller screens */
        flex-direction: column;
        gap: 0.3rem;
        cursor: pointer;
    }

    header .hamburger span {
        background: #fff;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        transition: transform 0.3s ease-in-out;
    }

    header .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: -300px;
        left: 0;
        width: 100%;
        background: #333;
        padding: 1rem 0;
        gap: 1rem;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        align-items: center;
    }

    header .nav-links.open {
        transform: translateY(0);
        /* Slide in */
        opacity: 1;
        /* Make it visible */
        pointer-events: auto;
        /* Enable interaction */
    }
}


/* Blog Hero Section */
.blog-hero {
    /* background: linear-gradient(135deg, #00aaff, #004080); */
    /* color: #fff; */
    text-align: center;
    padding: 50px 20px;
    margin-bottom: 20px;
}

.blog-hero h2 {
    font-size: 32px;
    margin: 0 0 10px;
}

.blog-hero p {
    font-size: 18px;
    margin: 0;
}

/* Blog Content Section */
.blog-content {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #dadada;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-content article {
    line-height: 1.8;
    font-size: 16px;
}

.blog-content h3 {
    margin-top: 20px;
    font-size: 20px;
    color: #004080;
}

/* Thumbnail Styling */
/* .thumbnail {
    display: block;
    width: 200%;
    max-width: 260px;
    height: 200px;
    margin: 20px auto;
    border-radius: 8px; */
    /* Rounded rectangle */
    /* object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
} */

/* .thumbnail:hover {
    transform: scale(1.05); */
    /* Slight zoom on hover */
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
} */

/* Read More Button */
.read-more {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #00aaff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.read-more:hover {
    background-color: #004080;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-content {
    animation: fadeIn 0.8s ease-in-out;
}

.thumbnail {
    animation: fadeIn 0.6s ease-in-out;
}





/* General Thumbnail Styling */
.thumbnail {
    display: block;
    max-width: 300px; /* Maximum size */
    width: 100%; /* Adjust to container width, but only if smaller */
    height: auto; /* Maintain aspect ratio */
    margin: 20px auto;
    border-radius: 8px; /* Rounded corners */
    object-fit: cover; /* Ensures proper cropping for irregular sizes */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive Breakpoints (Maintain Larger Images) */
@media (min-width: 768px) {
    .thumbnail {
        max-width: 300px; /* Keep maximum size consistent */
    }
}

@media (min-width: 1024px) {
    .thumbnail {
        max-width: 300px; /* No size reduction on larger screens */
    }
}
