:root {
    --primary-color: #1951d9;
    --secondary-color: #f7f5f0;
    --accent-color: #f6283a;
    --text-color: #333;
    --light-text: #f8f9fa;
    --transition-speed: 0.3s;
    --background: #0b1b36; 
}

@font-face {
    font-family: 'Gotham Condensed';
    src: url('files/gc/GothamCond-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url('files/g-body/Gotham-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url('files/g-body/Gotham-BookItalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Gotham';
    src: url('files/g-body/Gotham-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham Condensed Ultra';
    src: url('files/gc/GothamCond-XBlack.ttf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, button, input, select, textarea {
    font-family: 'Gotham';
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Gotham Condensed';
    font-weight: 700;
}

h1 em, h2 em, h3 em, h4 em, .section-title em, .category-intro h3 em, .logo em {
    font-family: 'Gotham Condensed Ultra';
    font-weight: 700;
    color: var(--accent-color);
}

b, strong {
    font-weight: 700;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.brand-gradient {
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
}

header {
    background-color: white;
    color: var(--text-color);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-speed);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
}

header.scrolled {
    padding: 1rem 5%;
}

.logo {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.logo-image {
    height: 40px;
    width: auto;
    fill: var(--primary-color);
}

.logo-text {
    font-size: 2.4rem;
    color: var(--primary-color);
    font-family: "Gotham Condensed";
    font-weight: 700;
    margin: 0;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

@media (max-width: 855px) {
    .logo-text {
        font-size: 1.8rem; /* Scale down text instead of hiding */
    }
    
    .logo {
        height: 30px;
    }
    
    .logo-image {
        height: 30px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
        justify-content: center; /* Center content in header */
    }
    
    .logo {
        margin-right: 0; /* Remove auto margin */
        margin: 0 auto; /* Center the logo */
        position: relative; /* Establish positioning context */
    }
    
    .mobile-nav-toggle {
        position: absolute; /* Position absolutely */
        right: 5%; /* Align to right side */
        top: 50%; /* Center vertically */
        transform: translateY(-50%); /* Perfect vertical centering */
        margin-left: 0; /* Remove margin */
        order: unset; /* Remove order property */
    }
    
    nav ul li {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .project-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
        padding: 0 1rem;
    }
    
    .project-meta span {
        width: auto;
        text-align: center;
    }
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    transition: all var(--transition-speed);
    font-weight: 600;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    transition: width var(--transition-speed);
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 1001;
    padding: 4rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 1.5rem;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    color: rgba(255, 255, 255, 0.8);
    padding-left: 0.5rem;
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay-bg.active {
    opacity: 1;
    visibility: visible;
}

.hero {
    min-height: 69vh;
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 140px 5% 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(247, 245, 240, 0.9), rgba(247, 245, 240, 0.9)), url('images/back.png') center/cover no-repeat;
}

.hero:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    bottom: 0;
    left: 0;
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    position: relative;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary-color);
}

.hero h1 em {
    font-family: 'Gotham Condensed Ultra';
    font-weight: 700;
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-speed);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.primary-btn {
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    color: var(--light-text);
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.primary-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.primary-btn:hover:before {
    width: 100%;
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.secondary-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    transition: width 0.3s ease;
    z-index: -1;
}

.secondary-btn:hover {
    color: var(--light-text);
    border-color: transparent;
}

.secondary-btn:hover:before {
    width: 100%;
}

.work {
    padding: 2rem 5% 2rem 5%;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.5;
}

.work .filter-tabs {
    display: none !important; /* Hides tabs on homepage work section */
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #eee;
    padding: 0 1rem 1rem;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.filter-tab {
    padding: 0.8rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.filter-tab:after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.filter-tab:hover, .filter-tab.active {
    color: var(--primary-color);
}

.filter-tab:hover:after, .filter-tab.active:after {
    width: 100%;
}

.dynamic-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 250px;
    grid-gap: 15px;
    max-width: 1550px;
    width: 100%;
    margin: 0 auto 2.2rem;
    padding: 0;
    box-sizing: border-box;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    grid-column: span 2;
    grid-row: span 1;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transform: translateZ(0);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    height: 100%;
}

.gallery-item.wide {
    grid-column: span 4;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.big {
    grid-column: span 3;
    grid-row: span 2;
}

.gallery-item.tall-wide {
    grid-column: span 3;
    grid-row: span 2;
}

.gallery-item:hover {
    transform: translateY(-10px);
    z-index: 1;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

.gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.08);
}

.design-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(11, 27, 54, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    letter-spacing: 0.5px;
}

.client-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(25, 81, 217, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    letter-spacing: 0.5px;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 3), rgba(0, 0, 0, .65), transparent);
    padding: 2rem 1.5rem;
    color: white;
    transform: translateY(30%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover .overlay {
    transform: translateY(0);
    opacity: 1;
}

.overlay-content {
    text-align: center;
    line-height: 1;
}

.overlay-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item:hover::before {
    opacity: 1;
}

.services-section {
    padding-top: 3rem;
    position: relative;
    background-color: var(--secondary-color);
    padding-bottom: 4rem;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

.service-item {
    background-color: white;
    padding: 2.5rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    transition: width 0.3s ease;
}

.service-item:hover::after {
    width: 100%;
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.service-item:hover .service-number {
    opacity: 0.6;
    transform: scale(1.1) translateY(-5px);
}

.service-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-item p {
    line-height: 1.6;
    color: #555;
}

.clients-section {
    padding: 3rem 5%;
    background-color: white;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    justify-items: center;
}

.client-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 350px;

}

.client-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.client-card:nth-child(1) { animation-delay: 0.1s; }
.client-card:nth-child(2) { animation-delay: 0.2s; }
.client-card:nth-child(3) { animation-delay: 0.3s; }
.client-card:nth-child(4) { animation-delay: 0.4s; }

.client-image {
    width: 150px;
    height: 150px;
    background-color: #f5f5f5;
    border-radius: 50%;
    margin-bottom: 1.8rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
    transition: all 0.3s ease;
}

.client-card:hover .client-image {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.client-type {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.client-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.client-description {
    color: #555;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.project-count {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
}

.view-projects {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.view-projects:hover {
    color: var(--accent-color);
}

.view-projects svg {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.view-projects:hover svg {
    transform: translateX(5px);
}

.contact-section {
    padding: 4rem 5%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.contact-section .section-label {
    color: rgba(255, 255, 255, 0.9);
}

.contact-section .section-title h2 {
    color: white;
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.contact-button {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0px 15px rgba(0, 0, 0, 0.2);
}

.contact-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-button svg {
    margin-right: 10px;
    vertical-align: middle;
}

footer {
    background-color: var(--background);
    color: #fff;
    padding: 3rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-about {
    grid-column: span 2;
}

.footer-logo {
    height: 60px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    fill: var(--primary-color);
}

.footer-about p {
    color: #bbb;
    margin-bottom: 1rem;
    max-width: 400px;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: white;
}

.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul,
.footer-social ul {
    list-style: none;
}

.footer-links li,
.footer-social li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-social a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-social a:hover {
    color: white;
}

.footer-social .instagram-icon {
    height: 24px;
    width: 24px;
    fill: #bbb;
    transition: fill 0.3s ease;
}

.footer-social a:hover .instagram-icon {
    fill: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #bbb;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-about {
        grid-column: 1 / -1;
    }
    
    .footer-logo-image {
        height: 40px;
    }
    
    .footer-social .instagram-icon {
        height: 20px;
        width: 20px;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
    font-family: 'Gotham';
}


.modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-content h2, .modal-content h3, .modal-content h4 {
    font-family: 'Gotham Condensed';
    font-weight: 700;
}

.project-header {
    height: auto;
    background-image: none !important;
    background-color: white;
}

.project-header-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: block;
    background-color: #f8f9fa;
    cursor: pointer;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(to right, var(--accent-color), var(--primary-color)) 1;
}

.project-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}


.project-header-image:hover img {
    transform: scale(1.02);
}

.project-header-image::after {
    content: '🔍';
    position: absolute;
    right: 20px;
    bottom: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-header-image:hover::after {
    opacity: 1;
}

.project-header-content {
    position: relative;
    z-index: 1;
    color: var(--primary-color);
    padding: 2rem 2rem 1rem;
    width: 100%;
    background-color: white;
    text-align: center;
}


.project-header-content h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    text-shadow: none;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
    justify-content: center;
}

.project-meta span, .project-meta a {
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.project-meta .meta-design-type {
    background-color: var(--accent-color);
    color: white;
}

.project-meta .meta-date {
    background-color: var(--background);
    color: white;
}

.project-meta .meta-link {
    background-color: #1951d9;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-meta .meta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-meta span:nth-child(3) {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.project-meta span:nth-child(4) {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.project-meta span:nth-child(5) {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.client-teaser {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0 .7rem;
    justify-content: center;
}

.client-teaser-image {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f5f5f5;
    flex-shrink: 0;
}

.client-teaser-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.client-teaser-name {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    font-family: 'Gotham';
}

@media (max-width: 768px) {
    .client-teaser-image {
        width: 24px;
        height: 24px;
    }
    .client-teaser-name {
        font-size: 0.85rem;
    }
}

.project-body {
    padding: 0rem 3rem 1rem;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .project-body {
        padding: 0 1.5rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .project-body {
        padding: 0 1.5rem 1.5rem;
    }
}

.project-description {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 2.5rem 0;
    color: #444;
    text-align: left; 
    padding: 0 0 0 20px; 
    position: relative; 
    border-left: 4px solid transparent; 
    border-image: linear-gradient(to bottom, var(--accent-color), var(--primary-color)) 1;
    border-image-slice: 1;
}

@media (max-width: 768px) {
    .project-description {
        font-size: .9rem;
        margin: 1.5rem 0;
        padding: 0 0 0 15px; 
    }
}

@media (max-width: 576px) {
    .project-description {
        font-size: .8rem;
        padding: 0 0 0 12px; 
    }
}

.project-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.detail-card {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.detail-card p {
    margin-bottom: 1rem;
    color: #555;
}

.detail-card h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.detail-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.detail-card ul {
    list-style: none;
}

.detail-card li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.detail-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.result-item {
    background-color: rgba(25, 81, 217, 0.05);
    padding: 1rem;
    border-radius: 8px;
    position: relative;
    padding-left: 2.5rem;
}

.result-item::before {
    content: '→';
    position: absolute;
    left: 1rem;
    color: var(--accent-color);
}

.deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.deliverable {
    background-color: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4 / 3; /* Sets a consistent 4:3 aspect ratio */
}

.gallery-img-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills container, cropping excess */
    transition: transform 0.3s ease;
}

.gallery-img-container:hover img {
    transform: scale(1.03);
}

.gallery-img-container::after {
    content: '🔍';
    position: absolute;
    right: 15px;
    bottom: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-img-container:hover::after {
    opacity: 1;
}

.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    box-shadow: 0 5px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: white;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.4);
}

.related-works {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.related-works h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-color);
}

/* Fixed styling for related works grid */
.related-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 0 auto;
    justify-content: center;
    max-width: 900px; /* Limits the maximum width */
  }
  
  .related-work-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 280px; /* Prevent cards from expanding too wide */
    margin: 0 auto; /* Center cards in their grid cells */
  }
  
  .related-work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  }
  
  .related-work-image {
    height: 180px;
    overflow: hidden;
  }
  
  .related-work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .related-work-card:hover .related-work-image img {
    transform: scale(1.05);
  }
  
  .related-work-info {
    padding: 1.2rem;
    background-color: white;
  }
  
  .related-work-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
  }
  
  .related-work-type {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
  }
  
  /* Media queries for responsiveness */
  @media (max-width: 768px) {
    .related-works-grid {
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .related-work-card {
      max-width: 240px;
    }
  }
  
  @media (max-width: 576px) {
    .related-works-grid {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .related-work-card {
      max-width: 200px;
    }
    
    .related-work-image {
      height: 150px;
    }
  }

.work-preview-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    position: relative;
}

.work-preview-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.work-preview-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    transition: width 0.3s ease;
}

.work-preview-item:hover::after {
    width: 100%;
}

.work-preview-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.work-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.work-preview-item:hover .work-preview-image img {
    transform: scale(1.1);
}

.work-preview-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.work-preview-client {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.work-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transform: translateY(30%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.work-preview-item:hover .work-preview-overlay {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 1024px) {
    .dynamic-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .gallery-item.wide {
        grid-column: span 2;
    }
    
    .gallery-item.big, .gallery-item.tall-wide {
        grid-column: span 2;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .dynamic-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 12px;
    }
    
    nav ul li {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-header-content h2 {
        font-size: 2rem;
    }
    
    .footer-about {
        grid-column: 1 / -1;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .work {
        padding: 1.7rem 5% 1rem 5%;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 1rem 1rem;
    }
    
    .filter-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .filter-tab {
        flex: 0 0 auto;
    }
    
    .gallery-item.tall {
        height: 400px;
    }
    
    .contact-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {

.contact-button {
    padding: 1rem 1.5rem;
    font-size: .8rem;
    width: 100%;
    max-width: 300px;
}
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .dynamic-gallery {
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }
    
    .gallery-item, .gallery-item.wide, .gallery-item.big, .gallery-item.tall-wide {
        grid-column: span 1;
    }
    
    .gallery-item.tall {
        grid-row: span 1;
        height: 350px;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .project-body {
        padding: 1.5rem;
    }
    
    .project-header {
        height: 300px;
    }
    
    .project-header-content h2 {
        font-size: 1.8rem;
    }
    
    .contact-button {
        padding: 1rem 1.5rem;
        font-size: .8rem;
        width: 100%;
        max-width: 300px;
    }
    
    header {
        padding: 1rem 5%;
    }
    
    .logo {
        height: 30px;
    }
    
    .services-section {
        padding-top: 2.5rem;
        padding-bottom: 3rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
    
    .work {
        padding: 1.2rem 5% 1rem 5%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
        justify-content: space-between;
    }
    
    .logo {
        margin-right: auto;
    }
    
    .mobile-nav-toggle {
        margin-left: auto;
        order: 2;
    }
    
    .project-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
        padding: 0 1rem;
    }
    
    .project-meta span {
        width: auto;
        text-align: center;
    }
}
@media (max-width: 576px) {
    .project-header-image {
        height: 180px; /* Further reduced height for mobile */
    }
    
    .modal-content {
        max-height: 90vh; /* More space for scrolling on mobile */
        width: 90%; /* Slightly wider on mobile */
        border-radius: 8px; /* Softer corners */
    }
    
    .project-header-content {
        padding: 1.2rem 1rem 0.8rem; /* Tighter padding for mobile */
    }
    
    .project-header-content h2 {
        font-size: 1.8rem; /* Smaller heading on mobile */
        margin-bottom: 0.5rem;
    }
    
    .project-meta {
        gap: 0.4rem; /* Tighter spacing between meta items */
        margin-top: 0.7rem;
    }
    
    .project-meta span, .project-meta a {
        padding: 0.4rem 0.8rem; /* Smaller padding for meta tags */
        font-size: 0.8rem; /* Smaller font for meta tags */
    }
    
    .client-teaser {
        margin: 0.3rem 0 0.5rem; /* Adjust spacing */
    }
}

@media (max-width: 100px) {
    .project-header-image {
        height: 260px; /* Adjusted for medium screens */
    }
    
    .project-header-image img {
        object-fit: cover;
    }
}
        


/* Banner Testing */
/* Add this to the styles.css file */
.announcement-card {
    max-width: 1550px; /* Match text-pattern-card max-width */
    margin: 0 auto 30px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 5;
    transition: all 0.3s ease;
    justify-content: center;
}

/* Adjust the text-pattern-hero padding to accommodate the announcement card */
.text-pattern-hero {
    padding-top: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ensure text-pattern-card appears below the announcement */
.text-pattern-card {
    margin-top: 10px;
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.announcement-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    margin-right: 15px;
    flex-shrink: 0;
}

.announcement-content {
    flex-grow: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    padding-right: 15px;
}

.announcement-button {
    display: inline-block;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    margin-right: 15px;
}

.announcement-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.announcement-close {
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 0.8;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.announcement-close:hover {
    color: var(--accent-color);
}

/* For hidden announcement */
.announcement-card.hidden {
    max-height: 0;
    padding: 0;
    margin: 0 auto;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}
.announcement-card.initially-hidden {
    max-height: 0;
    padding: 0;
    margin: 0 auto;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition: none;
}


@media (max-width: 768px) {
    .announcement-card {
        padding: 10px 15px;
        margin-bottom: 25px;
    }
    
    .announcement-icon {
        width: 28px;
        height: 28px;
        margin-right: 12px;
    }
    
    .announcement-content {
        font-size: 0.85rem;
    }
    
    .announcement-button {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
    
    .text-pattern-hero {
        padding-top: 0px;
    }
}

@media (max-width: 576px) {
    .announcement-card {
        flex-direction: column;
        align-items: center;
        padding: 15px;
        margin-bottom: 20px;
        width: 95%;
        text-align: center;
    }

    .announcement-icon {
        margin-bottom: 10px;
    }
    
    .announcement-content {
        margin-bottom: 12px;
        padding-right: 0;
    }
    
    .announcement-button {
        margin-right: 0;
        margin-bottom: 10px;
        margin-left: 0rem !important;
        margin-top: .5rem;
    }
    
    .announcement-close {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    
    .text-pattern-hero {
        padding-top: 0px;
    }
}
.client-highlight-bar {
    max-width: 1550px;
    margin: 0 auto 30px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
    transition: all 0.3s ease;
    justify-content: space-between;
}

.client-highlight-bar span {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    flex-grow: 1;
    font-family: 'Gotham Condensed';
}

.highlight-close {
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 0.8;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.highlight-close:hover {
    color: var(--accent-color);
}


.project-header-content {
    line-height: 1;
}

.project-meta .meta-design-type {
    order: 1; /* Project Descriptor (Type) first */
}
.project-meta .meta-link {
    order: 2; /* Links second */
}
.project-meta .meta-date {
    order: 3; /* Date/Year third */
}
.career-apply-btn {
    display: flex; /* Changed from block to flex */
    justify-content: center; /* Horizontally center text and SVG */
    align-items: center; /* Vertically center text and SVG */
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
    border: none;
}

.career-apply-btn:hover {
    background: #0b1b36;
    transform: translateY(-3px);
}

.career-apply-btn svg {
    margin-left: 8px; /* Keep horizontal spacing */
    transition: transform 0.3s;
}

.career-apply-btn:hover svg {
    transform: translateX(3px);
}


/* Contact Form Card */
.contact-form-card {
    background: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    padding: 2.5rem 3rem;
    position: relative;
    background: var(--secondary-color);
}

.card-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: .8rem;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Gotham Condensed';
    text-align: center;
    line-height: 1;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.2rem;
    line-height: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--background);
    text-transform: uppercase;
    text-align: left;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: border-color 0.3s;
    box-sizing: border-box;
    height: auto;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 40px;
}

.form-control:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 5px rgba(246, 40, 58, 0.5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: .9rem;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Career Apply Button - Exact Copy from careers.html */
.career-apply-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
    border: none;
    margin-top: 1.5rem;
}

.career-apply-btn:hover {
    background: #0b1b36;
    transform: translateY(-3px);
}

.career-apply-btn svg {
    margin-left: 8px;
    transition: transform 0.3s;
}

.career-apply-btn:hover svg {
    transform: translateX(3px);
}

/* Success Message */
.success-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(25, 81, 217, 0.9);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.success-message.visible {
    opacity: 1;
    visibility: visible;
}

.success-message p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

