@import url('https://fonts.googleapis.com/css2?family=Maitree:wght@200;300;400;500;600;700&display=swap');

:root {
    --primary-color: #004a99;
    /* Professional Blue */
    --secondary-color: #ff8c00;
    /* Bright Orange */
    --text-gray: #555;
    --bg-light: #f9f9f9;

}


.card {
  /* 1. Set the background image */
  background-image: url('../img/cardbg.png'); 
  
  /* 2. Set a fallback background color if the image cannot be loaded */
  background-color: #cccccc; 

  /* 3. Control image display and size */
  background-size: cover; /* Scales the image to cover the entire container */
  background-position: center; /* Centers the image within the container */
  background-repeat: no-repeat; /* Prevents the image from tiling */


}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Maitree", serif;
    color: white;
    
    /* Animation properties */
    animation: fadeIn 1s ease-in-out forwards;
    
    /* Smooth scrolling */
    scroll-behavior: smooth;
}


/* Desktop Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, #ede9ff 0%, #2D1A6A 100%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

@media screen and (max-width: 767px) {
.navbar-container{
    padding:0px 30px;
}
}

.logo-container {
    display: flex;
    align-items: center;
    background: transparent;
    padding: 4px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #f0f0f0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: linear-gradient(135deg, #4facfe 0%, #ffd89b 100%);
    color: #1F0D53;
}

.nav-link i {
    margin-left: 5px;
    font-size: 14px;
    font-weight: 600
}

/* Dropdown Styles */
.dropdown {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 990px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown:hover {
    opacity: 1;
    visibility: visible;
}

.dropdown-column {
    flex: 1;
    min-width: 200px;
    padding: 0 15px;
}

.dropdown-column-title {
    font-size: 14px;
    font-weight: 700;
    color: #1F0D53;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #FF9E43;
}

.dropdown-item {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.dropdown-item {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    color: #1F0D53;
    padding-left: 10px;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4facfe 0%, #ffd89b 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.dropdown-item:hover::before {
    left: 0;
}

/* Nested Dropdown Styles */
.dropdown-nested {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 250px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    padding: 20px;
}

.dropdown-item:hover .dropdown-nested {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-nested-item {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.dropdown-nested-item:last-child {
    border-bottom: none;
}

.dropdown-nested-item:hover {
    color: #1F0D53;
    padding-left: 10px;
}

.dropdown-nested-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4facfe 0%, #ffd89b 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.dropdown-nested-item:hover::before {
    left: 0;
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, #c08c39 0%, #3383c9 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(255, 158, 67, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, #4facfe 0%, #ffd89b 100%);
    color: #1F0D53;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Sidebar Menu */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #1F0D53 0%, #2D1A6A 100%);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sidebar-logo {
    height: 40px;
}

.close-sidebar {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px 0;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background: linear-gradient(135deg, #4facfe 0%, #ffd89b 100%);
    color: #1F0D53;
}

.mobile-nav-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-nav-link.active i {
    transform: rotate(180deg);
}

/* Mobile Dropdown */
.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
}

.mobile-dropdown.active {
    max-height: 500px;
}

.mobile-dropdown-item {
    display: block;
    padding: 12px 20px 12px 40px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.mobile-dropdown-item:hover {
    background: linear-gradient(135deg, #4facfe 0%, #ffd89b 100%);
    color: #1F0D53;
}

/* Mobile Nested Dropdown */
.mobile-nested-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
}

.mobile-nested-dropdown.active {
    max-height: 500px;
}

.mobile-nested-dropdown-item {
    display: block;
    padding: 10px 20px 10px 60px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.mobile-nested-dropdown-item:hover {
    background: linear-gradient(135deg, #4facfe 0%, #ffd89b 100%);
    color: #1F0D53;
}

/* Mobile CTA Button */
.mobile-cta-button {
    margin: 20px;
    background: linear-gradient(135deg, #ffd89b 0%, #4facfe 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    display: block;
    box-shadow: 0 5px 15px rgba(255, 158, 67, 0.3);
}

.mobile-cta-button:hover {
    background: linear-gradient(135deg, #4facfe 0%, #ffd89b 100%);
    color: #1F0D53;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }
}



/* company section */

/* Custom styling for the specific requirements */

/* Card Styling */
.company-card {
    display: flex;
    flex-direction: column;
    /* Uses the dark blue border from your original request */
    border: 3px solid rgb(42, 23, 112);
}

/* Hover effect from your original design */
.company-card:hover {
    box-shadow: 0 10px 25px rgba(42, 23, 112, 0.4);
}

.description {
    line-height: 1.6;
    height: 3rem;
    /* Keep text heights consistent */
    overflow: hidden;
}

.website-link {
    transition: all 0.3s ease;
}

/* Ensure the capsule doesn't get squished on mobile */
h3 {
    white-space: nowrap;
}

.company-section {
    padding: 50px 20px;
    background-color: var(--bg-light);
}


.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.company-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 3px solid rgb(42, 23, 112);
    box-shadow: 0 15px 35px rgba(42, 23, 112, 0.1);

}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(42, 23, 112, 0.952);

}

.image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-container {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.company-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0 0 4px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.info-list {
    margin-top: auto;
    font-size: 0.85rem;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.info-item {
    margin-bottom: 5px;
    color: #777;
}

.info-item strong {
    color: #333;
}

.website-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.website-link:hover {
    text-decoration: underline;
}

/* company section */



/* news section */
/* Custom styles for professional card hover effects */
.post-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    /* Subtle border */
}

.post-card:hover {
    box-shadow: 0 15px 30px rgba(234, 88, 12, 0.1);
    /* Subtle orange shadow on hover */
    transform: translateY(-6px);
    /* More pronounced lift effect */
}

/* Image zoom effect */
.img-container {
    overflow: hidden;
    background-color: #e2e8f0;
    /* Placeholder background */
}

.img-zoom {
    transition: transform 0.6s ease-in-out;
}

.post-card:hover .img-zoom {
    transform: scale(1.08);
    /* Smoother, larger zoom */
}

/* Ensure all cards in the grid have equal height by applying flex properties to the grid items */
.grid-item-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* footer start */

/* Footer Styles */
.footer {
    position: relative;
    background: linear-gradient(135deg, #1F0D53 0%, #2D1A6A 100%);
    color: #fff;
    padding-top: 80px;
    overflow: hidden;
}

/* SVG Background */
.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.1;
}

.footer-bg-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.footer-bg-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

/* Footer Container */
.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Footer Column */
.footer-column {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.footer-column:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-column:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-column:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Title */
.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: #fff;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #FF9E43 0%, #FFD166 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.footer-column:hover .footer-title::after {
    width: 100px;
}

/* Footer Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #FF9E43;
}

/* Footer Image */
.footer-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.footer-image:hover {
    transform: scale(1.05);
}

/* Opening Hours */
.opening-hours {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.opening-hours-icon {
    margin-right: 15px;
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.opening-hours:hover .opening-hours-icon {
    background: linear-gradient(135deg, #FF9E43 0%, #FFD166 100%);
    transform: rotate(15deg);
}

.opening-hours-icon img {
    width: 30px;
    height: 30px;
}

.opening-hours-content p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.recent-post:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.recent-post-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post:hover .recent-post-image img {
    transform: scale(1.1);
}

.recent-post-content {
    flex: 1;
}

.recent-post-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.recent-post-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.recent-post:hover .recent-post-title {
    color: #FF9E43;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #FF9E43 0%, #FFD166 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 158, 67, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bg-top svg {
        height: 60px;
    }

    .recent-post {
        flex-direction: column;
        gap: 10px;
    }

    .recent-post-image {
        width: 100%;
        height: 150px;
    }
}


/* footer end  */