/* About Section Styling */
/* General Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; }

/* Variables for Deltaflink Brand Colors */
:root {
    --primary: #0078d4; /* Azure Blue style */
    --dark: #1a1a1a;
    --light: #f4f4f4;
    --tcs-dark: #272727; /* Dark color for the unified header bar */
}

/* Layout Utilities */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: #fff; }

/* NAVBAR & LOGO (Unified Header - INCREASED LOGO SIZE) */
.navbar { 
    background: var(--tcs-dark); 
    padding: 0; 
}

.navbar .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    padding: 5px 20px 5px 5px; 
}

.banner-logo {
    max-height: 80px; 
    max-width: 300px;
    height: auto;
    object-fit: contain; 
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 20px; 
    margin-top: 20px; 
}

/* DROPDOWN MENU STYLES */
/* 1. Set the parent <li> to be positioned relative so the absolute dropdown menu is placed correctly */
.dropdown {
    position: relative;
    /* Ensure the main link is still horizontally aligned */
    display: inline-block; 
}

/* 2. Hide the dropdown menu by default */
.dropdown-menu {
    display: none;
    position: absolute; /* Position the menu absolutely relative to the parent .dropdown */
    top: 100%; /* Place it right below the main link */
    left: 0;
    min-width: 150px; /* Give the menu a fixed width */
    background-color: var(--dark); /* Use a slightly darker background */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100; /* Ensure it appears above other content */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 3. Style the links inside the dropdown */
.dropdown-menu li {
    float: none; /* Make list items stack vertically */
    display: block;
    margin: 0; /* Remove any default margins */
}

.dropdown-menu li a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* 4. Highlight links on hover */
.dropdown-menu li a:hover {
    background-color: var(--primary); /* Highlight color on hover */
}

/* 5. CRITICAL: Show the dropdown menu when the parent list item is hovered */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('backgroundimage.avif');
    background-size: cover;
    background-position: center;
    height: 80vh;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}
.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; }
.btn { background: var(--primary); padding: 10px 30px; border-radius: 5px; transition: 0.3s; }
.btn:hover { background: #005a9e; }

/* Services Grid */
.services { padding: 4rem 0; background: var(--light); text-align: center; }
.services h2 { margin-bottom: 2rem; color: var(--dark); }

/* Grid and Card Styling */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.card h3 { color: var(--primary); margin-bottom: 10px; }

/* Service List inside Cards */
.card .service-list {
    list-style: disc; /* Use standard bullet points */
    text-align: left; /* Align text to the left for readability within the centered card */
    padding-left: 20px; /* Indent the list */
    margin-top: 10px;
    color: #555; /* Match the paragraph text color */
}

.card .service-list li {
    margin-bottom: 5px;
    font-size: 1rem;
    line-height: 1.4;
}

/* Footer */
footer { background: var(--dark); color: #fff; text-align: center; padding: 2rem 0; margin-top: auto; }
.about {
    padding: 4rem 0;
    text-align: center;
    background: #fff;
}
.about h2 {
    margin-bottom: 1rem;
    color: var(--primary);
}
.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}