
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f7fc;
    color: #172554;
}

/* Navigation bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 8%;
    background-color: #ffffff;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #172554;
}

.logo span {
    color: #2563eb;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-weight: 600;
}

.nav-links a:hover {
    color: #2563eb;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 100px 8% 110px;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.welcome {
    color: #2563eb;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero h1 {
    max-width: 850px;
    margin: 20px auto;
    font-size: 48px;
    line-height: 1.2;
    color: #172554;
}

.hero-text {
    max-width: 650px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.primary-btn {
    background-color: #2563eb;
    color: #ffffff;
}

.primary-btn:hover {
    background-color: #1d4ed8;
}

.secondary-btn {
    border: 2px solid #2563eb;
    color: #2563eb;
}

.secondary-btn:hover {
    background-color: #dbeafe;
}

/* Other sections */
.content-section {
    padding: 70px 8%;
    text-align: center;
    background-color: #ffffff;
    margin-top: 12px;
}

.content-section h2 {
    font-size: 30px;
    color: #172554;
}

.content-section p {
    color: #475569;
    line-height: 1.8;
}

/* Footer */
footer {
    padding: 24px;
    text-align: center;
    background-color: #172554;
    color: #ffffff;
}

footer p {
    margin: 0;
}

/* Small screens */
@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 70px 6%;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-text {
        font-size: 16px;
    }
}

/* Services cards */
.section-intro {
    margin-bottom: 35px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 35px auto 0;
}

.service-card {
    background-color: #ffffff;
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(23, 37, 84, 0.06);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(23, 37, 84, 0.12);
}

.service-icon {
    font-size: 38px;
    margin-bottom: 16px;
}

.service-card h3 {
    color: #1d4ed8;
    margin-bottom: 12px;
}

.service-card p {
    color: #475569;
    line-height: 1.8;
}

@media (max-width: 700px) {
    .services-container {
        grid-template-columns: 1fr;
    }
}

/* Center the opening headings on inner pages */
.page-hero {
    text-align: center;
}

.page-hero .welcome,
.page-hero h1,
.page-hero .hero-text {
    text-align: center;
}

.page-hero .hero-buttons {
    justify-content: center;
}

/* Contact page form */
.contact-form {
    max-width: 650px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.contact-form label {
    font-weight: bold;
    margin-top: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid #2563eb;
    border-color: #2563eb;
}

.contact-form button {
    align-self: flex-start;
    margin-top: 12px;
}

.form-note {
    max-width: 650px;
    margin: 15px auto;
    font-size: 14px;
    color: #64748b;
    text-align: center;
}

/* TejuTech Digital logo */
.navbar .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar .logo img {
    display: block;
    width: 150px;
    height: 65px;
    object-fit: contain;
}

/* Portfolio projects */
.portfolio-section {
    padding: 50px 20px;
}

.portfolio-grid {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.portfolio-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.13);
}

.portfolio-image {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: contain;
    object-position: top center;
    background: #f1f5f9;
}


.portfolio-content {
    padding: 22px;
}

.portfolio-category {
    color: #2563eb;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-content h2 {
    color: #0f172a;
    font-size: 21px;
    margin: 10px 0;
}

.portfolio-content p {
    line-height: 1.7;
}

.portfolio-button {
    display: inline-block;
    margin-top: 12px;
    padding: 11px 18px;
    background: #1d4ed8;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.portfolio-button:hover {
    background: #1e40af;
}

/* Responsive portfolio layout */
@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-image {
        height: 230px;
    }
}

/* Privacy Notice */
.privacy-notice {
    max-width: 700px;
    margin: 25px auto;
    padding: 20px;
    background: #f1f5f9;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
}

.privacy-notice h3 {
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 10px;
}

.privacy-notice p {
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Footer social media icons */
.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 12px;
}


.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 28px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-socials a:hover {
    transform: translateY(-4px);
}

/* Original social media brand colours */
.footer-socials .fa-whatsapp {
    color: #25D366;
}

.footer-socials .fa-facebook-f {
    color: #1877F2;
}

.footer-socials .fa-linkedin-in {
    color: #0A66C2;
}

.footer-socials .fa-tiktok {
    color: #000000;
}

