@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');
:root {
--bg: #0f0f0f;
--surface: #1a1a1a;
--text-primary: #2d2d2d;
--text-secondary: #a0a0a0;
--glass: rgba(255, 255, 255, 0.03);
--primary: #2563eb;
--dark: #0a0a0a;
--light: #f8fafc;
--gray: #64748b;
--white: #ffffff;
--accent: #3b82f6;
--bond-gold: #c5a059;
--bond-black: #111111;
--ui-grey: #8e8e93;
--bg-grey: #f5f5f7;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
background-color: var(--light);
color: var(--text-primary);
font-family: 'Plus Jakarta Sans', sans-serif;
line-height: 1.6;
overflow-x: hidden;
scroll-behavior: smooth;
}

.container {
max-width: 1320px;
margin: 0 auto;
padding: 0 2%;
}

/* Section stretches 100% width for background colors */
.section-project {
width: 100%;
display: flex;
justify-content: center;
padding: 90px 0;
box-sizing: border-box;
}

/* Container keeps content centered and consistent */
.container-inner {
width: 90%;
max-width: 1300px;
display: flex;
flex-wrap: wrap;
gap: 50px;
align-items: flex-start;
}

.bg-white { background-color: #FFFFFF; }
.bg-grey { background-color: #FAFAFA; }

/* --- TYPOGRAPHY --- */
h1 { font-size: 2.8rem; margin-top: 0; font-weight: 700; text-transform: uppercase; letter-spacing: -1px; width: 100%; }
h2 { font-size: 2.2rem; margin-top: 0; margin-bottom: 20px; }
h3 { font-size: 1.8rem; margin-bottom: 10px; color:}
h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; margin-top: 25px; }
p { font-size: 1.15rem; line-height: 1.7; margin-bottom: 20px; }
ul { padding-left: 20px; }
li { margin-bottom: 12px; font-size: 1.1rem;}

h4.case-study-title {
    color: #777;
}
p.case-study-text {
color: #444; 
}

/* Use this for paragraphs so they don't get too wide on big screens */
.hero p, .section-description {
max-width: 700px; 
margin-left: auto;
margin-right: auto;
}

/* --- Desktop: Hide Mobile Elements --- */
.menu-btn { display: none; }

@media screen and (max-width: 800px) {
/* 1. Reset Nav Container */
.main-nav {
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
padding: 20px !important;
width: 100%;
box-sizing: border-box;
}

/* 2. Style the Hamburger */
.menu-btn {
display: flex !important;
position: relative;
justify-content: center;
align-items: center;
width: 30px;
height: 30px;
cursor: pointer;
z-index: 2000; /* Highest priority */
}
.menu-btn__burger {
width: 25px;
height: 2px;
background: #333;
transition: all .5s ease-in-out;
}
.menu-btn__burger::before, .menu-btn__burger::after {
content: '';
position: absolute;
width: 25px;
height: 2px;
background: #333;
transition: all .5s ease-in-out;
}
.menu-btn__burger::before { transform: translateY(-8px); }
.menu-btn__burger::after { transform: translateY(8px); }

/* 3. The Full-Screen Glass Overlay */
.nav-links {
position: fixed !important;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(255, 255, 255, 0.98);
backdrop-filter: blur(15px);
display: flex !important;
flex-direction: column !important;
justify-content: center;
align-items: center;
/* Start hidden and off-screen */
visibility: hidden;
opacity: 0;
transform: translateX(100%);
transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
z-index: 1500;
}

/* 4. Active State (When menu is open) */
.nav-links.open {
visibility: visible;
opacity: 1;
transform: translateX(0);
}

/* Hamburger Animation to 'X' */
.menu-btn.open .menu-btn__burger { transform: translateX(-50px); background: transparent; }
.menu-btn.open .menu-btn__burger::before { transform: rotate(45deg) translate(35px, -35px); }
.menu-btn.open .menu-btn__burger::after { transform: rotate(-45deg) translate(35px, 35px); }

/* Aesthetic Link Styling */
.nav-links a {
font-size: 2rem;
margin: 15px 0;
color: #111 !important;
text-decoration: none;
font-weight: 700;
}
}

.btn-nav {
border: 1px solid var(--accent);
padding: 0.5rem 1.2rem;
border-radius: 5px;
color: var(--accent) !important;
}

/* Hero Section */
.hero {
padding: 180px 0 100px;
text-align: center;
}

.badge {
background: var(--glass);
padding: 0.5rem 1rem;
border-radius: 50px;
font-size: 0.8rem;
color: var(--accent);
border: 1px solid rgba(0, 255, 194, 0.2);
}

h1 {
font-size: clamp(2.5rem, 6vw, 4.5rem);
font-weight: 800;
margin: 1.5rem 0;
line-height: 1.1;
letter-spacing: -2px;
}

h1 span {
color: var(--accent);
}

.hero p {
color: var(--text-secondary);
font-size: 1.2rem;
max-width: 600px;
margin: 0 auto 2.5rem;
}

.hero-btns .btn {
padding: 1rem 2rem;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
display: inline-block;
margin: 0.5rem;
transition: 0.3s;
}

.btn-primary {
background: var(--primary);
color: white;
box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,255,194,0.2); }


/* Section Title */
.section-title {
font-size: 2.5rem;
margin-bottom: 3rem;
text-align: center;
}

/* Expertise Cards */
.expertise { padding: 100px 0; }
.toggle-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}

.card {
background: var(--surface);
padding: 3rem;
border-radius: 20px;
border: 1px solid #222;
transition: 0.3s;
}

.card:hover { border-color: var(--accent); }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.skill-list { list-style: none; margin-top: 1.5rem; }
.skill-list li { 
display: inline-block; 
background: #252525; 
padding: 0.3rem 0.8rem; 
border-radius: 4px; 
font-size: 0.8rem; 
margin: 0.2rem;
color: var(--text-secondary);
}

/* Process Steps */
.process { background: #0a0a0a; padding: 100px 0; }
.process-steps {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 3rem;
}

.step-num { color: var(--accent); font-weight: 800; font-size: 1.2rem; display: block; margin-bottom: 1rem; }

/* Impact Grid (Portfolio) */
.impact { padding: 100px 0; }
.impact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}

.impact-item {
height: 400px;
background: #151515;
border-radius: 20px;
display: flex;
align-items: flex-end;
padding: 2rem;
background-image: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.tag {
background: var(--accent);
color: #000;
padding: 0.2rem 0.6rem;
font-size: 0.7rem;
font-weight: 800;
text-transform: uppercase;
border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
.toggle-container, .process-steps, .impact-grid {
grid-template-columns: 1fr;
}
}


:root {
--primary: #2563eb;
--dark: #0f172a;
--light: #f8fafc;
--gray: #64748b;
--white: #ffffff;
--accent: #3b82f6;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Plus Jakarta Sans', sans-serif;
}

.nav-links a {
text-decoration: none;
color: var(--dark);
margin-left: 30px;
font-weight: 600;
font-size: 0.9rem;
transition: 0.3s;
}

.nav-links a:hover { color: var(--primary); }

.btn-nav {
background: var(--dark);
color: white !important;
padding: 10px 24px;
border-radius: 50px;
}

/* Hero Section */
.hero {
padding: 140px 0 100px;
text-align: center;
background: radial-gradient(circle at top right, #f0f7ff, transparent);
}

.badge {
background: #e0e7ff;
color: #4338ca;
padding: 8px 18px;
border-radius: 50px;
font-size: 0.8rem;
font-weight: 700;
margin-bottom: 24px;
display: inline-block;
}

.hero h1 {
font-size: clamp(2.5rem, 6vw, 4.5rem);
line-height: 1.1;
margin-bottom: 24px;
font-weight: 800;
letter-spacing: -2px;
}

.hero h1 span { color: var(--primary); }

.hero p {
color: var(--gray);
font-size: 1.25rem;
max-width: 650px;
margin: 0 auto 40px;
}

.hero-btns .btn {
padding: 18px 40px;
border-radius: 14px;
text-decoration: none;
font-weight: 700;
display: inline-block;
margin: 10px;
transition: 0.3s;
}

.btn-primary { background: var(--primary); color: white; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2); }

.btn-secondary {
border: 2px solid #c4cadf;
color: var(--dark);
background: none;}

.btn-secondary:hover {
border: 2px solid var(--accent);
background: #cfd0d266;
color: var(--dark) !important;
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3); }

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
color: var(--bs-blue);
background-color: #eff4ff;
border-color: 2px solid;
}

/* Showcase Section (Modernized) */
section { padding: 120px 0; }
.section-header {
text-align: center;
margin-bottom: 60px;
}
.section-title {
font-size: 2.75rem;
font-weight: 800;
letter-spacing: -1px;
}
.section-title-about {
font-size: 3rem;
font-weight: 800;
letter-spacing: -1.5px;
margin-bottom: 20px;
text-align: left;
}
.section-subtitle {
color: var(--gray);
font-size: 1.1rem;
margin-top: 10px;
}

.showcase-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
gap: 30px;
}

.showcase-card {
position: relative;
height: 500px;
border-radius: 32px;
overflow: hidden;
text-decoration: none;
display: flex;
flex-direction: column;
justify-content: flex-end;
transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
background-color: #eee;
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: top center; /* Prevents cutting the header */
transition: 0.5s ease;
}

.showcase-card:hover .card-bg {
transform: scale(1.08);
}

.card-overlay {
position: relative;
padding: 30px;
background: rgba(15, 23, 42, 0.7);
backdrop-filter: blur(8px);
margin: 20px;
border-radius: 24px;
color: white;
border: 1px solid rgba(255,255,255,0.1);
transition: 0.4s;
}

.showcase-card:hover .card-overlay {
background: rgba(37, 99, 235, 0.9);
transform: translateY(-10px);
}

.sector-label {
font-size: 0.75rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 1.5px;
color: var(--accent);
background: rgba(255,255,255,0.9);
padding: 4px 12px;
border-radius: 6px;
display: inline-block;
margin-bottom: 12px;
}

.showcase-card h3 { font-size: 1.5rem; margin-bottom: 8px; color: #fff; }
.showcase-card p { font-size: 0.95rem; opacity: 0.9; line-height: 1.4; color: #fff; }

/* Brands Section */
section#brands .container img.responsive-image {
    max-width: 100% !important;
    height: auto !important;
}


.brands-section {
background-color: #f8fafc;
text-align: center;
margin: 0 auto !important;
}

.responsive-image {
width: 100%;
height: auto;       /* Maintains aspect ratio so it doesn't look stretched */
display: block;     /* Removes extra space at the bottom of the image */
margin: 0 auto;     /* Centers the image if it's smaller than the container */
max-width: 1100px;
border-radius: 32px;
margin-top: 40px;
box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

footer {
padding: 60px;
text-align: center;
background: var(--dark);
color: rgba(255,255,255,0.6);
}

footer h2 {
    padding: 60px;
    text-align: center;
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6) !IMPORTANT;
}

@media (max-width: 768px) {
.nav-links { display: none; }
.hero h1 { font-size: 2.2rem; }
.showcase-grid { grid-template-columns: 1fr; }
.showcase-card { height: 400px; }
}


:root {
--primary: #2563eb;
--dark: #0a0a0a;
--light: #f8fafc;
--gray: #64748b;
--white: #ffffff;
--accent: #3b82f6;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-nav {
background: var(--dark);
color: white !important;
padding: 10px 24px;
border-radius: 50px;
font-size: 0.9rem;
}

.btn-nav:hover {
background: #2563eb;
transform: translateY(-2px);
}

/* Hero / About Header */
.about-hero {
padding: 100px 0 60px;
background: radial-gradient(circle at top right, #f0f7ff, transparent);
}

.badge {
background: #e0e7ff;
color: #4338ca;
padding: 8px 18px;
border-radius: 50px;
font-size: 0.8rem;
font-weight: 700;
margin-bottom: 20px;
display: inline-block;
}

.section-title {
font-size: 3rem;
font-weight: 800;
letter-spacing: -1.5px;
margin-bottom: 20px;
}

/* About Layout */
.about-grid {
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 60px;
align-items: start;
}

.about-content h3 { margin: 30px 0 15px; font-weight: 800; }


/* Sector Badges */
.sector-list {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 20px 0;
}

.sector-tag {
background: var(--light);
color: var(--dark);
padding: 8px 20px;
border-radius: 50px;
font-size: 0.9rem;
font-weight: 600;
border: 1px solid #e2e8f0;
}

/* Brand Text */
.brand-highlight {
background: #f1f5f9;
padding: 25px;
border-radius: 20px;
border-left: 5px solid var(--primary);
}

/* Certifications & Awards Section */
.awards-section {
background: var(--dark);
color: white;
padding: 100px 0;
margin-top: 80px;
}

.awards-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 20px;
text-align: center;
}

.awards-card {
background: rgba(255,255,255,0.05);
padding: 40px;
border-radius: 24px;
border: 1px solid rgba(255,255,255,0.1);
}

.award-item a, .award-item span {
color: var(--accent);
font-size: 0.8rem;
text-decoration: none;
}

.awards-card.highlight-card {
border: 2px solid var(--accent);
background: rgba(59, 130, 246, 0.1);
}

.awards-card h2 { margin-bottom: 30px; font-weight: 800; 
    color: var(--bs-gray); }

    .awards-card li { color:#fff; }

.awards-banner {
background: var(--dark);
padding: 80px 0;
color: white;
border-radius: 40px;
margin-bottom: 80px;
}

.award-item {
background: rgba(255,255,255,0.05);
padding: 25px 15px;
border-radius: 20px;
border: 1px solid rgba(255,255,255,0.1);
}

.cert-date { display: block; font-size: 0.8rem; color: var(--gray); margin-top: 5px; }

.certs-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
padding-bottom: 100px;
}

.cert-card {
background: var(--light);
padding: 30px;
border-radius: 24px;
border: 1px solid #e2e8f0;
display: flex;
flex-direction: column;
justify-content: space-between;
transition: all 0.3s ease;
}

.cert-card:hover {
background: white;
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0,0,0,0.05);
border-color: var(--primary);
}

.cert-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; color: var(--dark); }
.cert-meta { font-size: 0.85rem; color: var(--gray); margin-bottom: 20px; }

.btn-verify {
display: inline-block;
padding: 12px;
background: var(--dark);
color: white;
text-decoration: none;
border-radius: 12px;
font-size: 0.85rem;
font-weight: 700;
text-align: center;
transition: 0.3s;
}

.btn-verify:hover { background: var(--primary); }

.flat-list { list-style: none; }

.flat-list li {
margin-bottom: 25px;
padding-left: 20px;
border-left: 2px solid rgba(255,255,255,0.2);
text-align: left;
}

.flat-list li a { color: var(--accent); text-decoration: none; font-weight: 600; }

/* Footer Styles */
footer {
padding: 60px;
text-align: center;
background: var(--dark);
color: rgba(255, 255, 255, 0.6);
}

.contact-info {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 40px;
border-top: 1px solid #222;
margin-top: 40px;
padding-top: 60px;
}

.contact-info a {
color: #ffffff;         /* Makes the text white */
text-decoration: none;  /* Optional: removes the underline */
transition: opacity 0.3s; /* Optional: smooth hover effect */
}

/* Recommended: add a hover state so users know it's clickable */
.contact-info a:hover {
opacity: 0.7;           /* Fades slightly on hover */
text-decoration: underline; 
}

@media (max-width: 992px) {
.about-grid, .awards-grid { grid-template-columns: 1fr; }
.section-title { font-size: 2.2rem; }
.nav-links { display: none; }
}
.copyright-text {
text-align: center;
margin-top: 40px;
font-size: 0.8rem;
opacity: 0.5;
width: 100%; /* Ensures it takes up the full width to center correctly */
color: #dee2e6;
}


h2 {
display: block;
font-size: 1.5em;
margin-block-start: 0.83em;
margin-block-end: 0.83em;
margin-inline-start: 0px;
margin-inline-end: 0px;
font-weight: bold;
unicode-bidi: isolate;
}

.h2, h2 {
display: block !important;
font-size: 1.5em !important;
margin-block-start: 0.83em !important;
margin-block-end: 0.83em !important;
margin-inline-start: 0px !important;
margin-inline-end: 0px !important;
font-weight: bold !important;
unicode-bidi: isolate !important;
}

.h2, h2 {
font-size: 2rem;
}

/* Portfolio Filters */
.filter-container {
padding: 40px 0;
text-align: center;
}
.filter-btn {
background: #fff;
border: 1px solid #ddd;
padding: 8px 20px;
margin: 5px;
font-weight: 600;
color: #666;
cursor: pointer;
transition: 0.3s;
border-radius: 30px;
}
.filter-btn.active, .filter-btn:hover {
background: var(--primary-color);
color: #fff;
border-color: var(--primary-color);
}

/* Portfolio Items */
.portfolio-item {
margin-bottom: 30px;
}

/* Container for the image and overlay */
figure {
position: relative;
margin: 0;
overflow: hidden;
border-radius: 8px;
/* Cinematic widescreen ratio for all thumbnails */
aspect-ratio: 16 / 9; 
background-color: #000;
cursor: pointer;
}

/* The actual image */
figure img {
display: block;
width: 100%;
height: 100%;
object-fit: cover; 
}

/* The Overlay: Hidden (opacity 0) by default */
figure::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* Start with the Deep Midnight Blue, but invisible */
background-color: rgba(10, 25, 47, 0.85); 
opacity: 0;
transition: opacity 0.4s ease-in-out;
z-index: 1;
}

/* Figcaption: Contains text/links, also hidden by default */
figcaption {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
display: flex;
flex-direction: column;
justify-content: center; /* Center text vertically */
align-items: center;     /* Center text horizontally */
text-align: center;
padding: 20px;
opacity: 0;
transform: translateY(10px); /* Slight lift effect */
transition: all 0.4s ease-in-out;
}

/* --- HOVER STATES --- */

/* Show the black/blue overlay on hover */
figure:hover::after {
opacity: 1;
background-color: rgba(0, 0, 0, 0.9); /* Switches to black on hover */
pointer: none;
}

/* Show the text and buttons on hover */
figure:hover figcaption {
opacity: 1;
transform: translateY(0);
}

.hover-heading {
color: #ffffff;
font-size: 1.2rem;
margin-bottom: 15px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
cursor: default;
}

.hover-btns {
list-style: none;
padding: 0;
margin: 0;
display: flex;
gap: 15px;
}

.hover-btns a {
color: #ffffff;
background: #007bff; /* Your accent blue */
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: background 0.3s;
text-decoration: none;
}

.hover-btns a:hover {
background: #ffffff;
color: #007bff;
}

.hover-heading {
color: #fff;
font-size: 18px;
margin-bottom: 10px;
font-weight: 600;
}

.hover-btns {
list-style: none;
padding: 0;
margin: 0;
display: flex;
}

.hover-btns li {
margin-right: 15px;
}

.hover-btns a {
color: #fff;
font-size: 18px;
transition: 0.3s;
}

.hover-btns a:hover {
color: var(--accent-color);
}

.contact-info {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 40px;
border-top: 1px solid #222;
margin-top: 40px;
padding-top: 60px;
}

.contact-info a {
color: #ffffff;         /* Makes the text white */
text-decoration: none;  /* Optional: removes the underline */
transition: opacity 0.3s; /* Optional: smooth hover effect */
}

/* Recommended: add a hover state so users know it's clickable */
.contact-info a:hover {
opacity: 0.7;           /* Fades slightly on hover */
text-decoration: underline; 
}

footer {
padding: 60px;
text-align: center;
background: var(--dark);
color: rgba(255, 255, 255, 0.6);
}

.footer-contact {
text-align: left;
}

.copyright-text {
text-align: center;
margin-top: 40px;
font-size: 0.8rem;
opacity: 0.5;
width: 100%; /* Ensures it takes up the full width to center correctly */
}


:root {
--primary-color: #323031;
--accent-color: #007bff; 
--text-main: #2d2d2d;
--bg-light: #f8f9fa;
--footer-bg: #0a0a0a;
}

/* 1. Background Color */
#custom-nav {
background-color: #1a1a1a !important; /* Replace with your exact About page hex */
border-bottom: 1px solid #333;
padding: 1rem 0;
}

/* 2. Brand/Logo Color */
#custom-nav .navbar-brand {
color: #ffffff !important;
font-weight: 700;
text-transform: uppercase;
}

/* 3. Link Colors */
#custom-nav .nav-link {
color: rgba(255, 255, 255, 0.8) !important;
transition: all 0.3s ease;
/* Typography Enhancements */
font-weight: 400;            /* Medium thickness (400 is normal, 700 is bold) */
letter-spacing: 0.1rem;     /* Space between letters */
word-spacing: 0.2rem;       /* Space between words if you have multi-word links */
text-transform: uppercase;   /* Makes the spacing effect more prominent */
font-size: 0.9rem;          /* Slightly smaller for a modern aesthetic */
}

/* Add a slight 'pop' when hovering */
#custom-nav .nav-link:hover {
color: #ffffff !important;
}

#custom-nav .nav-item {
padding-left: 15px;
padding-right: 15px;
}

/* Standardize Navbar Height */
.navbar {
padding-top: 0.5rem !important;
padding-bottom: 0.5rem !important;
min-height: 70px; /* Match this value to your home page */
display: flex;
align-items: center;
line-height: 1.5; /* Standardizes the text box height */
}

.navbar-brand, .nav-link {
padding-top: 10px;
padding-bottom: 10px;
line-height: 1.5; /* Standardizes the text box height */
line-height: 70px; /* Vertically centers text */
}

/* 5. The Hamburger Icon Color */
/* Bootstrap uses an SVG background for the icon, so we filter it to white */

#custom-nav .navbar-toggler-icon {
filter: invert(1) grayscale(100%) brightness(200%);
}

.portfolio-page .navbar-link {
font-weight: 600;
}

.logo {
font-weight: 800;
font-size: 1.5rem;
letter-spacing: -1px;
text-decoration: none; 
color: #000; /* Or 'inherit' to take the color from the parent nav */
display: inline-block; /* Helps with spacing/alignment */
}

.logo span { color: #2563eb; } /* Matching the blue from your home page */

.nav-links {
display: flex;
align-items: center;
}

.nav-links a {
text-decoration: none;
color: #0f172a;
margin-left: 30px;
font-weight: 600;
font-size: 0.9rem;
transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active { 
color: #2563eb; 
}

/* Let's Talk Button */
.btn-nav {
background: #0f172a;
color: white !important;
padding: 8px 22px;
border-radius: 50px;
transition: 0.3s;
font-size: 0.9rem;
}

.btn-nav:hover {
background: #2563eb;
transform: translateY(-2px);
}

/* Mobile Toggle (Simple implementation) */
@media (max-width: 768px) {
.nav-links a:not(.btn-nav) { display: none; }
}

/* Contact Section */
.contact-header { padding: 80px 0 40px; }

.contact-card {
background: #ffffff !important;
padding: 40px;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.08);
border: 1px solid #eee;
margin-bottom: 30px;
}

/* Fixed Form Display Issues */
.form-group { margin-bottom: 20px; display: block; width: 100%; }

.form-label {
display: block;
font-weight: 600;
margin-bottom: 8px;
color: var(--primary-color);
}

.form-control {
display: block;
width: 100%;
padding: 12px 15px;
font-size: 1rem;
color: #495057;
background-color: #fff !important;
background-clip: padding-box;
border: 1px solid #ced4da !important; /* Force border visibility */
border-radius: 8px;
transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
border-color: var(--accent-color) !important;
outline: 0;
box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.1);
}

/* Contact Info icons */
.info-box { display: flex; align-items: flex-start; margin-bottom: 25px; }
.info-icon {
min-width: 45px;
height: 45px;
background: var(--accent-color);
color: white;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
}

/* Submit Button */
.btn-submit {
background: var(--accent-color);
color: #fff;
padding: 15px 35px;
border-radius: 8px;
border: none;
font-weight: 600;
transition: 0.3s;
cursor: pointer;
}
.btn-submit:hover {
background: #0056b3;
transform: translateY(-2px);
}

.contact-info {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 40px;
border-top: 1px solid #222;
margin-top: 40px;
padding-top: 60px;
}

.contact-info a {
color: #ffffff;         /* Makes the text white */
text-decoration: none;  /* Optional: removes the underline */
transition: opacity 0.3s; /* Optional: smooth hover effect */
}

/* Recommended: add a hover state so users know it's clickable */
.contact-info a:hover {
opacity: 0.7;           /* Fades slightly on hover */
text-decoration: underline; 
}

/* About-Page Style Footer */
footer {
padding: 60px;
text-align: center;
background: var(--dark);
color: rgba(255, 255, 255, 0.6);
}
.footer-logo { font-size: 24px; font-weight: 700; color: #fff; text-decoration: none; }
.footer-link { color: #bbb; text-decoration: none; transition: 0.3s; }
.footer-link:hover { color: var(--accent-color); }
.social-circle {
width: 35px;
height: 35px;
background: #333;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
margin-right: 10px;
color: #fff;
transition: 0.3s;
}
.social-circle:hover { background: var(--accent-color); color: #fff; }
.copyright-text {
text-align: center;
margin-top: 40px;
font-size: 0.8rem;
opacity: 0.5;
width: 100%; /* Ensures it takes up the full width to center correctly */
}


.contact-info {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
margin-top: 40px;
border-top: 1px solid #333;
padding-top: 40px;
}

.contact-info a {
color: #ffffff;         /* Makes the text white */
text-decoration: none;  /* Optional: removes the underline */
transition: opacity 0.3s; /* Optional: smooth hover effect */
}

/* Recommended: add a hover state so users know it's clickable */
.contact-info a:hover {
opacity: 0.7;           /* Fades slightly on hover */
text-decoration: underline; 
}

.contact-info {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 40px;
border-top: 1px solid #222;
padding-top: 60px;
}

.contact-box strong {
display: block;
color: var(--gray);
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 10px;
}

.contact-box span { font-size: 1.1rem; font-weight: 600; }

@media (max-width: 992px) {
.contact-info { grid-template-columns: 1fr; gap: 30px; }
.section-title { font-size: 2.5rem; }
}
.copyright-text {
text-align: center;
margin-top: 40px;
font-size: 0.8rem;
opacity: 0.5;
width: 100%; /* Ensures it takes up the full width to center correctly */
}
.mb-40 {
margin-bottom: 40px;
}

.view-more-container {
text-align: center;
margin-top: 50px; /* Space from the grid */
}

.btn-view-more {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 12px 30px;
background-color: transparent;
border: 2px solid #333; /* Match your site's accent color */
color: #333;
text-decoration: none;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.3s ease;
border-radius: 14px;
}

.btn-view-more svg {
transition: transform 0.3s ease;
}

.btn-view-more:hover {
background-color: #333;
color: #fff;
}

.btn-view-more:hover svg {
transform: translateX(5px); /* Subtle arrow nudge on hover */
}

/* Core Image Responsiveness */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure the image-50 container handles the image correctly */
.image-50 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
}

.image-50 img {
    width: 100%; /* Forces image to fill the 50% width of the parent */
    object-fit: cover;
}

@media (max-width: 768px) {
    /* Force the flex container to stack vertically */
    .container-inner {
        display: flex;
        flex-direction: column !important;
        padding: 40px 20px;
    }

    /* Make both columns full width */
    .content-50, 
    .image-50 {
        width: 100% !important;
        padding: 10px 0;
    }

    /* Optional: Improves visual flow by putting image above text on mobile for even sections */
    .section-project:nth-child(even) .container-inner {
        flex-direction: column-reverse !important;
    }
    
    .img-placeholder {
        min-height: 200px; /* Smaller height for mobile devices */
    }
}

/* Styling for the Design Problem comparison section */
.design-problem-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eaeaea; /* Light border to define the image boundary on white bg */
    border-radius: 4px; /* Optional slight corner smoothing */
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.05)); /* Subtle depth */
}

/* Ensure centering on desktop */
.section-project:nth-of-type(3) .image-50 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 20px; /* Space from the content-50 text */
}

/* Mobile responsive fix */
@media (max-width: 768px) {
    .section-project:nth-of-type(3) .container-inner {
        flex-direction: column !important; /* Forces the stack order on mobile */
    }

    .section-project:nth-of-type(3) .content-50, 
    .section-project:nth-of-type(3) .image-50 {
        width: 100% !important; /* Full width for mobile */
        padding: 20px 0; /* Add proper padding */
    }
}


/* --- COMPONENTS --- */
.content-50 { flex: 1; min-width: 320px; }
.full-width-content { width: 100%; }

.meta-info { 
border-top: 1px solid #eee; 
margin-top: 40px; 
padding-top: 20px; 
font-size: 0.95rem; 
text-transform: uppercase; 
letter-spacing: 1px; 
color: #555;
line-height: 1.8;
}

.img-placeholder { 
background: #eee; 
border: 1px dashed #ccc; 
width: 100%; 
min-height: 400px; 
display: flex; 
align-items: center; 
justify-content: center; 
color: #999; 
border-radius: 4px;
font-size: 0.9rem;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 768px) {
h1 { font-size: 2.5rem; }
.section { padding: 60px 0; }
.container-inner { gap: 30px; }
}

/* --- Process Section Reset & Layout --- */
.process-section-horizontal {
    padding: 80px 0;
    background-color: #ffffff;
    width: 100%;
    display: flex;
    justify-content: center;
}

.process-outer-wrapper {
    position: relative;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.process-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

/* --- The Connecting Line Logic --- */
.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative; /* Essential for the line anchor */
}

/* Create line for every step EXCEPT the last one */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 37px; /* Half of the 50px icon height */
    left: 50px; /* Starts from the horizontal center of the icon */
    width: 100%; /* Stretches to the start of the next step */
    height: 2px;
    background-color: #d1d1d6;
    z-index: 1; /* Sits behind the icons */
}

/* --- Icon Styling --- */
.icon-circle {
    width: 75px;
    height: 75px;
    background: #ffffff; /* White bg hides the line passing behind it */
    border: 2px solid #d1d1d6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative; 
    z-index: 2; /* Sits above the line */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Interaction */
.process-step:hover .icon-circle {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* --- Typography --- */
.process-step h4 {
    font-size: 0.9 rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.process-step p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--grey);
    max-width: 140px;
    margin: 0;
}

/* --- Responsive Adaptability --- */
@media (max-width: 768px) {

    .process-outer-wrapper {
    /* position: relative; */
    /* max-width: 1100px; */
    width: 100%;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
}

    /* Remove horizontal line on mobile */
    .process-step:not(:last-child)::after {
        display: none;
    }

    .process-container {
        flex-direction: column;
        gap: 30px;
    }

    .process-step {
        flex-direction: row;
        align-items: center;
        gap: 40px;
        width: 100%;
    }

    .process-step p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--grey);
    max-width: fit-content;
    }

    .icon-circle {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    /* Optional: Add a vertical line for mobile */
    .process-step:not(:last-child) .icon-circle::after {
        content: '';
        position: absolute;
        top: 72px;
        left: 35px;
        width: 2px;
        height: 58px;
        background-color: #d1d1d6;
    }
}