/* ==========================================================================
   TechRays Technologies - Global Stylesheet
   (Extracted from the original _Layout.cshtml inline <style> block)
   ========================================================================== */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #d5dbe7;
    color: #192946;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* stop horizontal scroll */
}

/* Override any fixed widths */
.container, .row, .site-content, .main-content, section {
    width: 100% !important;
    max-width: 120% !important;
    margin: 0 auto !important;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* stop horizontal scroll */
}

/* Images full width */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.main-content {
    flex: 1;
}

.banner-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent dark overlay */
    padding: 50px;
    text-align: center;
    border-radius: 10px;
    width: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
}

.banner-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.banner-section p {
    font-size: 2rem;
    margin-bottom: 30px;
    color: white;
}

.banner-slider {
    position: relative;
    height: 75vh;
    overflow: hidden;
    width: 100% !important;
    max-width: 100% !important;
}

.slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 1;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slider .slide {
    position: relative;
    opacity: 1;
    width: 100%;
    height: 75vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-section, .case-studies, .clients, .contact-cta {
    padding: 60px 20px;
    text-align: center;
}

.services-section {
    text-align: center;
    padding: 60px 20px;
}

.cards-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 30%;
    min-width: 280px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    display: block;
    margin-bottom: 15px 0;
}

.card h2 {
    text-align: left;
    font-size: 25px;
    font-weight: 700; /* makes it bold */
    color: #192946; /* darker/brighter text */
    margin: 15px 0;
}

.card p {
    text-align: left;
    margin: 15px 0;
}

.view-link {
    color: #c2862e;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
}

.view-link:hover {
    text-decoration: underline;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.logo-grid img {
    max-height: 30px;
}

.contact-cta {
    background-color: #192946;
    color: white;
}

footer {
    background-color: #192946;
    color: white;
    text-align: center;
    padding: 20px 0;
}

a.btn {
    background-color: #f59837;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

a.btn:hover {
    background-color: #e5872f;
}

.site-header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
}

.logo img {
    width: 220px;
    height: auto;
    justify-content: flex-start;
    align-items: flex-start;
}

/* Dropdown base */
.dropdown {
    position: relative;
}

/* Dropdown button link */
.dropbtn {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Dropdown content box */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 5px 0;
    z-index: 1000;
}

/* Links inside dropdown */
.dropdown-content a {
    display: block;
    padding: 10px 15px;
    font-size: 15px;
    color: #192946;
    font-size: 25px;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
    color: #f59837;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Icons alignment */
.main-nav i {
    font-size: 18px;
}

.header-icons {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.header-icons i {
    font-size: 22px;
    color: white;
}

.btn-cta {
    background: #f59837;
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    font-size: 25px;
}

.btn-cta:hover {
    background: #e5872f;
}

.animate-heading {
    position: relative;
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 60px;
    font-weight: 800;
    color: #192946;
    padding: 20px 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-heading.show {
    opacity: 1;
    transform: translateY(0);
}

.client-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.client-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-item img {
    width: 50px;
    height: auto;
}

.footer-social {
    margin: 15px 0;
}

.footer-social a {
    display: inline-block;
    margin: 0 8px;
    font-size: 28px;
    color: #f59837;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #fff;
    transform: scale(1.2);
}

/* Footer container (was referenced as .site-footer / .footer-content) */
.site-footer {
    background-color: #192946;
    color: white;
    text-align: center;
    padding: 20px 0;
}
