/* Contact Us Page Styles */

html {
  scroll-behavior: smooth;
}
#aboutmore{
	 opacity: 0;           /* Start invisible */
    transition: opacity 1s ease; /* Smooth transition */
    display: none;   
}
.contact {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.07);
	max-width: 900px;
	margin: 3rem auto 2rem auto;
	padding: 3rem 2rem;
}
.contact h1 {
	font-size: 2.2rem;
	color: #00A099;
	margin-bottom: 1.2rem;
	letter-spacing: 0.07em;
}
.contact-desc {
	font-size: 1.15rem;
	color: #444;
	margin-bottom: 2rem;
	text-align: left !important;
}
.contact-content {
	display: flex;
	gap: 2.5rem;
	flex-wrap: wrap;
	justify-content: space-between;
}
.contact-info {
	flex: 1 1 260px;
	min-width: 220px;
}
.contact-info h2 {
	font-size: 1.18rem;
	color: #000000;
	margin-bottom: 1rem;
}
.contact-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}
.contact-list li {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
	font-size: 1.08rem;
	letter-spacing: 0.02em;
	line-height: 1.7;
}
.contact-list li i {
	margin-right: 0.7em;
	font-size: 1.2em;
	flex-shrink: 0;
}
.contact-form-section {
	flex: 2 1 340px;
	min-width: 260px;
}
.contact-form-section h2 {
	font-size: 1.18rem;
	color: #000000;
	margin-bottom: 1rem;
}
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}
.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
.form-group label {
	font-weight: 500;
	color: #222;
	margin-bottom: 0.2rem;
}
.form-group input,
.form-group textarea {
	padding: 0.7em 1em;
	border: 1px solid #eee;
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	background: #f8f9fa;
	transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
	border: 1px solid #ff6f61;
	outline: none;
}
.contact-form .cta-btn {
	align-self: flex-start;
	margin-top: 0.5rem;
}
@media (max-width: 900px) {
	.contact-content { flex-direction: column; gap: 2rem; }
	.contact-info, .contact-form-section { min-width: 100%; }
}
.about-mission {
	display: inline-block;
	text-align: justify;
	width: 100%;
}
.team-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}
.team-member {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.07);
	padding: 2rem 1rem 1.5rem 1rem;
	text-align: center;
	transition: box-shadow 0.3s cubic-bezier(.4,0,.2,1), transform 0.2s cubic-bezier(.4,0,.2,1);
	cursor: pointer;
}
.team-member:hover {
	box-shadow: 0 12px 36px rgba(255,111,97,0.18);
	transform: translateY(-4px) scale(1.03);
}
.team-img {
	width: 90px;
	height: 90px;
	object-fit: cover;
	border-radius: 50%;
	margin-bottom: 1rem;
	box-shadow: 0 2px 8px rgba(255,111,97,0.10);
}
.team-member h3 {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 0.3rem;
	letter-spacing: 0.04em;
}
.project-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* ===== Header Image ===== */
.project-header {
    text-align: center;
    margin-bottom: 2rem;
}
.project-header img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ===== Title ===== */
.project-title {
    margin-top: 1.5rem;
    font-size: 2.2rem;
    color: #0e7c73;
    font-weight: 700;
    text-align: center;
}

/* ===== Description ===== */
.project-description {
    margin: 1.5rem auto 2rem;
    max-width: 850px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    text-align: center;
}

/* ===== Videos Section ===== */
.project-videos {
    margin: 3rem 0;
}
.section-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #0e7c73;
    text-align: center;
    margin-bottom: 1.5rem;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.video-card {
    position: relative;
    width: 100%;
    /*padding-top: 56.25%; */  /* 16:9 ratio */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-card-d{
position: relative;
    width: 100%;
    padding-top: 56.25%;   /* 16:9 ratio */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.video-card video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /*object-fit: cover;*/
}
.video-card-d video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /*object-fit: cover;*/
}

.team-member p {
	font-size: 1rem;
	color: #444;
	letter-spacing: 0.01em;
	line-height: 1.7;
	margin-bottom: 0;
}
/* Main Styles for NSD Agency */
body { font-family: 'Montserrat', Arial, sans-serif; margin: 0; padding: 0; background: #f8f9fa; color: #222; }
.navbar {
	background: linear-gradient(90deg, rgba(14,124,115,0.92) 80%, rgba(56,178,172,0.85) 100%);
	color: #fff;
	padding: 0.5rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 12px rgba(14,124,115,0.07);
}

.navbar ul li a {
    position: relative;
    text-decoration: none;
    color: #000;
    padding-bottom: 4px;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #f45c4e;
    transition: width 0.3s ease;
}

.navbar ul li a:hover::after {
    width: 100%;   /* underline grows to full width on hover */
}
.active{
	color: #ff6f61 !important;
	font-weight: 900 !important;
}
.logo-img {
    height: 50px;             /* adjust logo height */
    width: auto;              /* keep aspect ratio */
	/*border:1px solid;
	background-color: white;
	 border-radius: 50%;
	 border: 3px solid #0e7c73;*/
	 cursor: pointer;
	 display: block;    
}


.logo-text {
    display: none;        /* hide text by default */
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}

/* Mobile view */
@media (max-width: 768px) {
    .logo-img {
        display: none;    /* hide logo image on mobile */
    }
    .logo-text {
        display: block;   /* show text on mobile */
		    margin-top: 15px;
    }
}
.navbar .logo { font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; }
.navbar ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.navbar ul li a { color: #fff; text-decoration: none; font-weight: 500; transition: color 0.2s; letter-spacing: 0.04em; }
.navbar ul li a:hover { color: #f45c4e; }
.navbar .menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
.hero {
	background:
		linear-gradient(90deg, rgba(120, 116, 116, 0.7) 10%, rgba(30, 30, 30, 0.7) 100%),
		url('/assets/images/website imagensd-01.jpg') center center/cover no-repeat;
		width: auto;
	color: #fff;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0 2rem;
	text-align: center;
	position: relative;
	z-index: 0;
}


.hero-img { display: none; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; letter-spacing: 0.08em; line-height: 1.15; }
.hero p { font-size: 1.3rem; margin-bottom: 2rem; letter-spacing: 0.02em; line-height: 1.7; }
.cta-btn {
	background: linear-gradient(90deg, #ff6f61 60%, #ff9472 100%);
	color: #fff;
	padding: 0.85rem 2.2rem;
	border: none;
	border-radius: 32px;
	font-size: 1.08rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 2px 12px rgba(255,111,97,0.10);
	transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
	letter-spacing: 0.04em;
	margin-top: 1.2rem;
	display: inline-block;
}
/* Hero initial state (hidden) */
.hero h1,
.hero p,
.hero .cta-btn {
    opacity: 0;
    transform: translateY(30px);
}

/* Animate only when body has class 'loaded' */
body.loaded .hero h1,
body.loaded .hero p,
body.loaded .cta-btn {
    animation: fadeSlideUp 0.8s ease-out forwards;
}

body.loaded .hero p {
    animation-delay: 0.3s; /* stagger paragraph */
}

body.loaded .hero .cta-btn {
    animation-delay: 0.6s; /* stagger button */
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.cta-btn:hover {
	background: linear-gradient(90deg, #ff9472 60%, #ff6f61 100%);
	color: #fff;
	box-shadow: 0 4px 24px rgba(255,111,97,0.18);
	transform: translateY(-2px) scale(1.04);
}
section { padding: 1rem 2rem; max-width: 100%; margin: 0 auto; }
section h2 { font-size: 2.2rem; margin-bottom: 1.5rem; color: #00A099; letter-spacing: 0.07em; line-height: 1.2; }
.about, .why-choose, .services, .clients, .projects { background: #fff; border-radius: 12px; box-shadow: 0 2px 16px rgba(0,0,0,0.07); margin-bottom: 2rem;margin-top: 2rem; }
.about-content { display: flex; gap: 2rem; align-items: flex-start; }
.why-choose-content { display: flex; gap: 2rem; align-items: flex-start; }
.why-choose-text { width: 50%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.why-choose-img { width: 50%; max-width: none; border-radius: 12px; box-shadow: 0 2px 16px rgba(0,0,0,0.10); }
.about-img { width: 50%; max-width: none; border-radius: 12px; box-shadow: 0 2px 16px rgba(0,0,0,0.10); }
.about-text { width: 50%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.about p, .why-choose ul, .services ul, .clients ul, .projects ul { font-size: 1.1rem; letter-spacing: 0.01em; line-height: 1.8; }
.why-choose ul, .clients ul, .projects ul { padding-left: 1.5rem; }
.about video {
   width: 50%;
  max-height: 400px; /* adjust as needed */
  object-fit: contain; /* crops nicely instead of stretching */
  border-radius: 10px;
   background-color: #0e7c73; /* your desired background color */
}
/* Why Choose Us custom list styles */
.why-choose-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}
.why-choose-list li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1rem;
	font-size: 1.08rem;
	letter-spacing: 0.02em;
	line-height: 1.7;
}
.why-choose-icon {
	margin-right: 0.7em;
	font-size: 1.2em;
	flex-shrink: 0;
}
.services-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 2rem; }
.service-card { background: #f8f9fa; border-radius: 12px; box-shadow: 0 4px 24px rgba(34,34,34,0.10); padding: 2rem 1rem 1.5rem 1rem; text-align: center; transition: box-shadow 0.3s cubic-bezier(.4,0,.2,1), transform 0.2s cubic-bezier(.4,0,.2,1); cursor: pointer; }
.service-card:hover {
	 box-shadow: 0 12px 36px rgba(255,111,97,0.18); transform: translateY(-4px) scale(1.03);
	background-color: #99CAC7;   /* color on hover */
    color: #0e7c73 !important;                  /* text color change */
  
	 box-shadow: 0 8px 20px rgba(0,0,0,0.2);
	 }
.service-icon { 
	font-size: 2.5rem; 
	color: #ff6f61; 
	margin-bottom: 1rem; 
	transition: transform 0.3s ease; /* smooth scaling */
    display: inline-block;
}
.service-icon:hover {
    transform: scale(1.5) rotate(10deg); /* scale up + slight rotation */
}

.service-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.7rem; letter-spacing: 0.04em; }
.service-desc { font-size: 1rem; color: #444; letter-spacing: 0.01em; line-height: 1.7; }

.service-icon img {
 width: 60px;           /* adjust size */
    height: 60px;          /* keep square for perfect circle */
    border-radius: 50%;    /* makes it circular */
    object-fit: cover;     /* crops nicely */
    display: block;
    border: 3px solid #0e7c73;  /* border color and thickness */
    padding: 3px;    
}
.about-icon { 
	/*font-size: 2.5rem; */
	color: #ff6f61; 
	/*margin-bottom: 1rem; */
	transition: transform 0.3s ease; /* smooth scaling */
    display: inline-block;
}
.about-icon:hover {
    transform: scale(1.5) rotate(10deg); /* scale up + slight rotation */
}
 /* Loader Styles */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loader img {
    width: 120px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

 /* 7. Hide the Social Sticky Bar */
.sticky-social-bar {
display: none;
}
/* --- STICKY SOCIAL MEDIA BAR STYLES --- */

.sticky-social-bar {
    position: fixed;
    /* Position on the left side, slightly down from the top */
    top: 50%;
    left: 0;
    transform: translateY(-50%);

    /* Ensure it stays above content, but below the full-screen mobile menu */
    z-index: 900;

    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 5px 5px 0; /* Rounded edges on the right side */
    overflow: hidden;
}

.sticky-social-bar a {
    display: flex;
    justify-content: center;
    align-items: center;

    /* Styling */
    width: 45px;
    height: 45px;
    font-size: 1.15rem;
    color: var(--color-white); /* White icons by default */
    background-color: #0e7c73; /* Subtle dark background */
    transition: background-color 0.3s ease, transform 0.3s ease;

    /* Separator line between icons */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Specific Hover Effects (Professional Look) */
.sticky-social-bar a:hover {
    transform: translateX(5px); /* Subtle slide effect */
    color: var(--color-white);
}

/* Color overrides for branding (Optional but professional) */
.sticky-social-bar a:nth-child(1):hover { /* Facebook */
    background-color: #3b5998;
}
.sticky-social-bar a:nth-child(2):hover { /* Instagram */
    background-color: #C13584;
}
.sticky-social-bar a:nth-child(3):hover { /* WhatsApp */
    background-color: #25D366;
}
/* 3. Social Media Icons (Just to be safe, if they also aren't showing) */
.sticky-social-bar i {
    font-family: 'Font Awesome 6 Brands' !important;
    font-weight: 400 !important;
    color: #fff;
    /* The brands are usually font-weight 400 */
}

.clients-logos { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1rem; justify-content: center; }
.clients-logos img { height: 100px; width: auto; filter: grayscale(1); opacity: 0.7; transition: opacity 0.2s, filter 0.2s; background: #fff; border-radius: 8px; padding: 0.5rem 1rem; }
.clients-logos img:hover { opacity: 1; filter: none; box-shadow: 0 2px 12px rgba(255,111,97,0.12); cursor: pointer;}
.projects-list { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin-bottom: 2rem; }
.project-card { margin: 0; padding: 1.2rem 1rem 1rem 1rem; min-width: 260px; max-width: 340px; box-sizing: border-box; }
.footer {
	background: linear-gradient(90deg, #0e7c73 80%, #38b2ac 100%);
	color: #fff;
	padding: 3rem 0 1.2rem 0;
	font-family: 'Montserrat', sans-serif;
}
.footer-main {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2.5rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}
.footer-section h3, .footer-section h4 {
	color: #fff;
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 1rem;
	letter-spacing: 0.05em;
}

.footer-section p, .footer-section ul li, .footer-section ul li a {
	color: #e0f7fa;
	font-size: 1.05rem;
	margin-bottom: 0.7rem;
	text-decoration: none;
	transition: color 0.2s;
	padding: 10px 10px 10px 10px
}
.footer-section ul li a:hover {
	color: #ff6f61;
}
.footer-icons a {
	margin-right: 1rem;
	font-size: 1.3rem;
	color: #fff;
	transition: color 0.2s;
}
.footer-icons a:hover {
	color: #ff6f61;
}
.footer-contact-social li a {
	color: #e0f7fa;
	transition: color 0.2s;
}
.footer-contact-social li a:hover {
	color: #ff6f61;
}
.footer-section {
	flex: 1 1 220px;
	min-width: 180px;
}
.footer-brand {
	max-width: 320px;
}
.footer-links ul, .footer-contact-social {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-social {
	max-width: 320px;
}
.footer-copyright {
	text-align: center;
	color: #b2dfdb;
	font-size: 0.95rem;
	margin-top: 2rem;
	letter-spacing: 0.04em;
}
@media (max-width: 900px) {
	.navbar {
		flex-direction: column;
		align-items: flex-start;
		padding: 1rem 1.5rem;
	}
	.navbar .logo {
		margin-bottom: 0.7rem;
	}
	#nav-list {
		flex-direction: column;
		gap: 1rem;
		width: 100%;
		justify-content: flex-start;
		align-items: flex-start;
		margin-left: 0;
	}
	.hero {
		min-height: 70vh;
		padding: 3rem 1rem 2rem 1rem;
	}
	.hero h1 {
		font-size: 2rem;
		letter-spacing: 0.06em;
	}
	.about-content, .why-choose-content {
		flex-direction: column;
		gap: 1.5rem;
	}
	.about-img, .why-choose-img {
		width: 100%;
		max-width: 100%;
	}
	.about-text, .why-choose-text {
		width: 100%;
		align-items: flex-start;
	}
	.services-list {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	.projects-list, .clients-logos {
		flex-direction: column;
		gap: 1rem;
		align-items: center;
	}
	.project-card {
		width: 100%;
	}
	.footer-main {
		flex-direction: column;
		gap: 1.5rem;
		padding: 0 1rem;
	}
	.footer-section {
		min-width: 0;
	}
	.footer-links ul {
		display: inline-block;
		text-align: center;
	}
	.footer-contact-social {
		align-items: center;
	}
}
@media (max-width: 600px) {
	.about video {
		width: 100%;           /* full width of container */
		height: auto;          /* keep aspect ratio */
		max-height: 450px;     /* optional limit so it’s not too tall */
		object-fit: cover;     /* crops instead of stretching */
		border-radius: 12px;   /* optional rounded corners */
		display: block;
	}
	.navbar {
		padding: 1rem 0.5rem;
	}
	.hero {
		padding: 2rem 0.5rem 1rem 0.5rem;
	}
	.footer-main {
		padding: 0 0.5rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.footer-section {
		align-items: center !important;
		text-align: center !important;
		width: 100%;
	}
	.footer-links ul,
	.footer-contact-social {
		display: flex !important;
		
		align-items: center !important;
		justify-content: center !important;
		width: 100%;
		padding: 0;
		margin: 0 auto;
	}
	.footer-icons {
		align-items: center !important;
		text-align: center !important;
	}
	.project-card .cta-btn {
		display: block;
		margin: 1rem auto 0 auto;
		text-align: center;
		width: fit-content;
	}
}
/* About Us page list styles */
.about-text ul {
	list-style: none;
	padding-left: 0;
	margin: 1.2em 0 0 0;
}
.about-text ul li {
	display: flex;
	align-items: center;
	/*margin-bottom: 0.8em;*/
	font-size: 1.08rem;
	letter-spacing: 0.02em;
	/*line-height: 1.7;*/
	background: #f8f9fa;
	border-radius: 8px;
	padding: 0.5em 1em;
	box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.about-text ul li strong {
	color: #00A099;
	margin-right: 0.5em;
}
.values-list {
	list-style: none;
	padding-left: 0;
	margin: 1.2em 0 0 0;
}
.values-list li {
	display: flex;
	align-items: center;
	margin-bottom: 0.8em;
	font-size: 1.08rem;
	letter-spacing: 0.02em;
	line-height: 1.7;
	background: #f8f9fa;
	border-radius: 8px;
	padding: 0.5em 1em;
	box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.values-list li i {
	margin-right: 0.7em;
	font-size: 1.2em;
	flex-shrink: 0;
}
/* About Us Animation */
.about-animate-left {
	opacity: 0;
	transform: translateX(-60px);
	animation: aboutLeftIn 1s ease-out 0.2s forwards;
}
.about-animate-right {
	opacity: 0;
	transform: translateX(60px);
	animation: aboutRightIn 1s ease-out 0.4s forwards;
}
@keyframes aboutLeftIn {
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes aboutRightIn {
	to {
		opacity: 1;
		transform: none;
	}
}
/* Why Choose Us Animation */
.why-choose-animate-left {
	opacity: 0;
	transform: translateX(-60px);
	animation: whyChooseLeftIn 1s ease-out 0.2s forwards;
}
.why-choose-animate-right {
	opacity: 0;
	transform: translateX(60px);
	animation: whyChooseRightIn 1s ease-out 0.4s forwards;
}
@keyframes whyChooseLeftIn {
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes whyChooseRightIn {
	to {
		opacity: 1;
		transform: none;
	}
}
@media (max-width: 700px) {
	.about video {
		width: 100%;           /* full width of container */
		height: auto;          /* keep aspect ratio */
		max-height: 450px;     /* optional limit so it’s not too tall */
		object-fit: cover;     /* crops instead of stretching */
		border-radius: 12px;   /* optional rounded corners */
		display: block;
		}
	 .about-content { flex-direction: column; gap: 1rem; } .about-img { width: 100%; max-width: 100%; } .about-text { width: 100%; align-items: flex-start; } .why-choose-content { flex-direction: column; gap: 1rem; } .why-choose-img { width: 100%; max-width: 100%; } .why-choose-text { width: 100%; align-items: flex-start; } .navbar { flex-direction: column; align-items: flex-start; padding: 1rem; } .navbar .logo { margin-bottom: 0.5rem; } .navbar ul { flex-direction: column; gap: 1rem; width: 100%; background: #222; position: absolute; top: 60px; left: 0; padding: 1rem 0; display: none; z-index: 10; } .navbar ul.active { display: flex; } .navbar .menu-toggle { display: block; position: absolute; right: 1.5rem; top: 1.2rem; } .hero h1 { font-size: 2rem; letter-spacing: 0.06em; } .hero { min-height: 70vh; padding: 3rem 1rem 2rem 1rem; } .hero-img { height: 180px; max-width: 100%; } section { padding: 2rem 1rem; } .projects-list, .clients-logos { flex-direction: column; gap: 1rem; align-items: center; } .project-card { width: 100%; } .services-list { grid-template-columns: 1fr; gap: 1rem; } }
@media (max-width: 500px) { 
	
			.about video {
		width: 100%;           /* full width of container */
		height: auto;          /* keep aspect ratio */
		max-height: 450px;     /* optional limit so it’s not too tall */
		object-fit: cover;     /* crops instead of stretching */
		border-radius: 12px;   /* optional rounded corners */
		display: block;
		}
	.hero h1 { font-size: 1.3rem; } .hero p { font-size: 1rem; } section h2 { font-size: 1.3rem; } .footer { font-size: 0.9rem; } }

.projects-search {
	max-width: 900px;
	width: auto;
	margin: 2rem auto 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	flex-direction: row;
}
@media (max-width: 700px) {
	.projects-search {
		flex-direction: row;
		align-items: center;
		gap: 0.7rem;
		padding: 0 1rem;
	}
	#projectSearch {
		max-width: 100%;
	}
}
#projectSearch {
	width: 100%;
	max-width: 340px;
	padding: 0.7rem 1.2rem;
	border-radius: 8px;
	border: 1px solid #0e7c73;
	font-size: 1rem;
	outline: none;
}
.projects-search button {
	margin-left: 0.7rem;
	padding: 0.7rem 1.2rem;
	border-radius: 8px;
	background: #0e7c73;
	color: #fff;
	border: none;
	font-size: 1rem;
	cursor: pointer;
}
.project-img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 8px 8px 0 0;
	margin-bottom: 1rem;
}
.projects-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 2rem 0;
	gap: 0.5rem;
}
.pagination-btn {
	padding: 0.6rem 1.2rem;
	border-radius: 8px;
	border: 1px solid #0e7c73;
	background: #fff;
	color: #0e7c73;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.pagination-btn.active, .pagination-page.active {
	background: #0e7c73;
	color: #fff;
	border: 1px solid #0e7c73;
	font-weight: 700;
}
.pagination-page {
	padding: 0.6rem 1.2rem;
	border-radius: 8px;
	border: 1px solid #0e7c73;
	background: #fff;
	color: #0e7c73;
	font-size: 1rem;
	cursor: pointer;
	margin: 0 0.2rem;
	transition: background 0.2s, color 0.2s;
}

/* Back to Top Button Styles */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 999;
  background: #0e7c73;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(14,124,115,0.12);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  background: #08806a;
}

/* Category filter bar styles */
.projects-categories {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0 1rem 0;
  flex-wrap: wrap;
}
.category-btn {
  background: #f7f7f7;
  color: #0e7c73;
  border: 2px solid #0e7c73;
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.category-btn.active,
.category-btn:hover {
  background: #0e7c73;
  color: #fff;
}

/* Projects page spacing optimization */

.projects h1 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
.projects-desc {
  margin-bottom: 1.2rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
.projects-categories {
  margin: 1.2rem 0 1.2rem 0;
}
.projects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.project-card {
  margin: 0;
  padding: 1.2rem 1rem 1rem 1rem;
  min-width: 260px;
  max-width: 340px;
  box-sizing: border-box;
}
.projects-pagination {
  margin: 0.5rem 0 0 0;
  text-align: center;
}
@media (max-width: 900px) {
  .projects-list {
    gap: 1rem;
  }
  .project-card {
    min-width: 220px;
    max-width: 100%;
    padding: 1rem 0.5rem;
  }
}
@media (max-width: 600px) {
  .projects {
    padding: 0.5rem 0 1rem 0;
  }
  .projects-categories {
    margin: 0.7rem 0 0.7rem 0;
    gap: 0.5rem;
  }
  .projects-list {
    gap: 0.7rem;
  }
  .project-card {
    padding: 0.7rem 0.3rem;
  }
  .project-card .cta-btn {
		display: block;
		margin: 1rem auto 0 auto;
		text-align: center;
		width: fit-content;
	}
}
