/* styles.css */

body {

    font-family: Arial, sans-serif;

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



header {

    background-color: #fff;

    color: #333;

    padding: 1rem 0;

    position: fixed;

    width: 100%;

    top: 0;

    z-index: 1000;

}



table {

    width: 100%;

    width: 92%;

    height: 400px;

    background-color: rgb(75, 74, 74);

    margin: 0 auto;

    border-collapse: collapse;

}

th, td {

    border: 0px solid black;

    padding: 8px;

    text-align: center;

}

#about_table {

    background-color: transparent;

    height: auto;

}





nav {

    display: flex;

    justify-content: space-between;

    align-items: center;

    background-color: #fff;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 1rem;

}



nav .logo a {

    font-size: 1.5rem;

    text-decoration: none;

    color: #333;

}

nav .logo img {

    width: 135px;

    height: auto;

}



nav ul {

    list-style: none;

    display: flex;

    margin: 0;

    padding: 0;

}



nav ul li {

    margin-left: 1rem;

}



nav ul li a {

    text-decoration: none;

    color: #333;

    font-size: 1rem;

    transition: color 0.3s;

}



nav ul li a:hover {

    color: red;    

    text-decoration: underline;    

}





/* Styling for the horizontal line under the header */

.header-line {

    border: 0;

    height: 3px;

    background-color: black; 

    width: 90%; /* Set the width as needed */

    margin: 0 auto;

    margin-top: 1rem; /* Adjust as needed */

}



.hero-section {

    height: var(--home-height);

    background: url('images/13.jpg') no-repeat center center/cover;

    display: flex;

    justify-content: center;

    align-items: center;

    color: #333;

    text-align: center;

    padding: 0 1rem;

}



.hero-content {

    max-width: 600px;

}



.hero-content h1 {

    font-size: 3rem;

    margin-bottom: 1rem;

}



.hero-content p {

    font-size: 1.2rem;

    margin-bottom: 2rem;

}



.hero-content .btn {

    padding: 0.75rem 1.5rem;

    background-color: #333;

    color: #fff;

    text-decoration: none;

    border-radius: 5px;

    transition: background-color 0.3s;

}



.hero-content .btn:hover {

    background-color: #f85656;

}



.about-section {

    height: 100vh;

    background: url('images/about-bg.jpg') no-repeat center center/cover;

    display: flex;

    justify-content: center;

    align-items: center;    

    padding: 4rem 1rem;

    text-align: center;

}



.business-section {

    padding: 4rem 1rem;    

    text-align: center;

}



.desginers-section {

    padding: 4rem 1rem;    

    text-align: center;

}

.cases-section {

    padding: 4rem 1rem;    

    text-align: center;

}

.contact-section {

    height: 100vh;

    background: url('images/contact-bg.jpg') no-repeat center center/cover;

    display: flex;

    justify-content: center;

    align-items: center;    

    padding: 4rem 1rem;

    text-align: center;

}



.container {

    max-width: 1200px;

    margin: 0 auto;

    transition: transform 0.3s ease;

}

.container:hover {

    transform: translateY(-3px);

}



.container .btn {

    padding: 0.75rem 1.5rem;

    background-color: #333;

    color: #fff;

    text-decoration: none;

    border-radius: 5px;

    transition: background-color 0.3s;

}



.container .btn:hover {

    background-color: #f85656;

}



.business-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 1rem;

    place-items: center;

}



.business-item {

    position: relative;

}



.business-item img {

    width: 100%;

    height: auto;

    display: block;

    border-radius: 5px;

}



.business-item a {

    display: inline-block;

    width: 170px; /* Fixed width for links */

    margin: 0 10px;

    padding: 10px;

    color: #000000;

    text-decoration: none;

    cursor: pointer;

    border: 1px solid transparent;

    border-radius: 4px;

    text-align: center;

}



.business-item a:hover {

    border: 1px solid red;

    text-decoration: none;

}




.cases-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));

    gap: 1rem;

    place-items: center;

}

.partners-section a:hover {
    color: blue;
}



.cases-item {

    position: relative;

}



.cases-item img {    

    width: 100%;

    height: auto;

    display: block;

    border-radius: 5px;

}



.links {

    margin-bottom: 20px;

}



.links a {

    display: inline-block;

    width: 100px; /* Fixed width for links */

    margin: 0 10px;

    padding: 10px;

    color: #007BFF;

    text-decoration: none;

    cursor: pointer;

    border: 1px solid transparent;

    border-radius: 4px;

    text-align: center;

}



.links a:hover {

    border: 1px solid red;

    text-decoration: none;

}





.image-display {

    display: none;

    text-align: center;

    margin-top: 20px;

}



.image-display img {

    max-width: 100%;

    height: auto;

    border: 2px solid #ddd;

    border-radius: 4px;

}



/* Show the first image by default */

#image1 {

    display: block;

}



footer {

    background-color: #fff;

    color: #333;

    padding: 1rem 0;

    text-align: center;

}



footer .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

}



footer .social-links {

    margin-top: 1rem;

}



footer .social-links a {

    color: #333;

    text-decoration: none;

    margin-left: 1rem;

    transition: color 0.3s;

}



footer .social-links a:hover {

    color: #333;

}

/* Visual refresh */
:root {
    --home-height: 78vh;
    --brand-red: #c62828;
    --brand-deep: #8e1d1d;
    --ink: #1f2937;
    --muted: #5b6575;
    --soft-bg: #f7f8fb;
    --card-bg: rgba(255, 255, 255, 0.9);
    --border-soft: rgba(31, 41, 55, 0.12);
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    line-height: 1.6;
    background: linear-gradient(180deg, #fff 0%, #fafbfe 100%);
}

header {
    background: #fff;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

nav {
    min-height: 76px;
    gap: 1rem;
}

nav ul {
    flex-wrap: wrap;
    gap: 0.35rem;
}

nav ul li {
    margin-left: 0;
}

nav ul li a {
    display: inline-block;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    font-weight: 600;
}

nav ul li a:hover {
    color: #fff;
    text-decoration: none;
    background: linear-gradient(120deg, var(--brand-red), var(--brand-deep));
}

.header-line {
    border: 0;
    height: 3px;
    background-color: black;
    width: 90%;
    margin: 0 auto;
    margin-top: 1rem;
}

.hero-section,
.about-section,
.business-section,
.contact-section,
.partners-section {
    position: relative;
}

.hero-section {
    min-height: var(--home-height);
}

.hero-section::before,
.about-section::before,
.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.38));
}

.hero-section::before {
    display: none;
}

.hero-content,
.about-section .container,
.contact-section .container,
.partners-section .container {
    position: relative;
    z-index: 1;
}

.container .btn,
button[type="submit"] {
    border: none;
    font-weight: 700;
    letter-spacing: 0.2px;
    background: linear-gradient(125deg, var(--brand-red), var(--brand-deep));
    box-shadow: 0 8px 18px rgba(198, 40, 40, 0.28);
}

.container .btn:hover,
button[type="submit"]:hover {
    background: linear-gradient(125deg, #ad2323, #721616);
}

.about-section,
.contact-section,
.business-section,
.partners-section {
    padding: 5rem 1rem;
}

.about-section {
    height: auto;
    min-height: 100vh;
    align-items: flex-start;
}

.business-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--soft-bg) 100%);
}

.container {
    transition: none;
}

.about-section .container,
.contact-section .container,
.partners-section .container {
    max-width: 980px;
    padding: 2rem;
    border-radius: 18px;
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-section .container:hover,
.contact-section .container:hover,
.partners-section .container:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.business-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.35rem;
    align-items: stretch;
}

.business-item {
    width: 100%;
    max-width: 290px;
    padding: 0.85rem 0.85rem 1.1rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(31, 41, 55, 0.08);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.business-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
}

.business-item p {
    min-height: 44px;
    margin: 0 0 0.6rem;
}

.business-item a {
    width: 100%;
    margin: 0;
    color: var(--ink);
    font-weight: 600;
    border-radius: 10px;
}

.business-item a:hover {
    border: 1px solid rgba(198, 40, 40, 0.45);
    color: var(--brand-red);
}

.business-item img {
    width: 100%;
    max-width: 270px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 12px;
}

.contact-section form {
    margin-top: 1rem;
}

.contact-section label {
    font-weight: 600;
    color: var(--ink);
}

#message {
    width: min(100%, 780px);
    border-radius: 12px;
    border: 1px solid rgba(31, 41, 55, 0.25);
    padding: 0.9rem;
    font: inherit;
    resize: vertical;
    background: rgba(255, 255, 255, 0.96);
}

#message:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.16);
}

button[type="submit"] {
    border-radius: 10px;
    padding: 0.72rem 1.3rem;
    color: #fff;
    cursor: pointer;
}

.partners-section {
    background: #fff;
}

.partners-section h4 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.partners-section p {
    color: var(--muted);
}

.partners-section a {
    color: #1f4e9f;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.partners-section a:hover {
    color: #0f4bd8;
    border-color: #0f4bd8;
}

footer {
    background: #141821;
    color: #e7ebf2;
    padding: 1.3rem 0;
}

footer .social-links a {
    color: #d0d8e6;
}

footer .social-links a:hover {
    color: #fff;
}

@media (max-width: 900px) {
    nav {
        padding: 0.4rem 0.8rem;
    }

    nav .logo img {
        width: 110px;
    }

    .about-section,
    .business-section,
    .contact-section,
    .partners-section {
        padding: 3.8rem 1rem;
    }

    .about-section .container,
    .contact-section .container,
    .partners-section .container {
        padding: 1.3rem;
    }

    #message {
        min-height: 170px;
    }
}

