/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

/* Header */
header {
    background: #fff;
    color: #111;
    padding: 4px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo {
    flex: 0 0 auto;
    margin-right: 0;
}

header .logo img {
    max-height: 100px;
    width: auto;
    display: block;
}

header .logo h1 {
    font-size: 24px;
}

/* Navigation */
nav {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    color: #111;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #007bff;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #111;
    margin: 3px 0;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #333;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-menu li a {
        font-size: 18px;
        padding: 10px 20px;
        display: block;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Adjust hero section for fixed header */
    .hero {
        margin-top: 74px;
    }

    /* Service cards responsive */
    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }

    /* Container responsive */
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    header .container {
        padding: 0 15px;
    }

    .nav-menu {
        top: 60px;
    }

    .hero {
        margin-top: 60px;
        padding: 60px 15px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .service-card {
        padding: 20px;
        min-width: auto;
    }

    .services .section-title,
    .about .section-title,
    .contact .section-title {
        font-size: 28px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    background: url('back.jpeg') no-repeat center center/cover;
    color: white;
    padding: 140px 20px;
    text-align: center;
    z-index: 1;
    margin-top: 74px;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero .btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

/* Services Section */
.services {
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.services .section-title {
    font-size: 36px;
    margin-bottom: 40px;
}

.service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.service-card {
    background: #f9f9f9;
    padding: 30px;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
}

/* About Section */
.about {
    background-color: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
}

.about .section-title {
    font-size: 36px;
    margin-bottom: 20px;
}

/* Contact Section */
.contact {
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.contact .section-title {
    font-size: 36px;
    margin-bottom: 30px;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact form button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact form button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.services-columns {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.services-column {
    flex: 1;
    min-width: 280px;
}

.sub-section-title {
    font-size: 28px;
    margin-bottom: 24px;
    text-align: center;
}

.animated-header {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #222;
    margin-bottom: 32px;
    opacity: 1;
    transform: none;
    animation: none;
}

.glow-animate-header {
    animation: header-pulse 2.2s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes header-pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.06);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .services-columns {
        flex-direction: column;
        gap: 0;
    }
    .services-column {
        margin-bottom: 40px;
    }
    .appraisal-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .appraisal-card {
        max-width: 95%;
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.appraisals {
    background: #fff;
    padding: 60px 0;
    text-align: center;
}

.appraisals .section-title {
    font-size: 36px;
    margin-bottom: 40px;
}

.appraisal-cards {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.appraisal-card {
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 32px 24px;
    max-width: 350px;
    min-width: 250px;
    margin: 0 8px 24px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.appraisal-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 18px;
    color: #333;
}

.appraisal-author {
    font-size: 1rem;
    font-weight: bold;
    color: #007bff;
}

.highlight-animate {
    position: relative;
    z-index: 1;
    animation: pulse-glow 2s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7), 0 2px 8px rgba(0,0,0,0.07);
    border: 2px solid #007bff;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7), 0 2px 8px rgba(0,0,0,0.07);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 24px 8px rgba(0, 123, 255, 0.4), 0 2px 8px rgba(0,0,0,0.07);
        transform: scale(1.03);
    }
}

.header-highlight {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    padding: 18px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    background: #fff;
    border: 3px solid;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.header-it {
    border-color: #007bff;
}
.header-it .sub-section-title {
    color: #111;
}

.header-consult {
    border-color: #28a745;
}
.header-consult .sub-section-title {
    color: #111;
}

.main-services-header {
    text-align: center;
    font-size: 2.7rem;
    font-weight: 900;
    margin-bottom: 18px;
    color: #222;
    letter-spacing: 1px;
}

.team {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.team .section-title {
    font-size: 36px;
    margin-bottom: 40px;
}

.team-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.team-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 32px 24px;
    max-width: 280px;
    min-width: 250px;
    margin: 0 8px 24px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.avatar-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

.team-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #222;
}

.team-role {
    font-size: 16px;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 12px;
}

.team-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .team-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .team-card {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .team-card {
        padding: 24px 16px;
    }
    .team-avatar {
        width: 60px;
        height: 60px;
    }
    .avatar-text {
        font-size: 18px;
    }
}
