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

body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    line-height: 1.6;
    color: darkslategray;
    background-color: cornsilk;
}

.section-divider {
    border: none;
    border-top: 3px solid powderblue;
    margin: 60px auto;
    max-width: 10000px;
    opacity: 0.6;
}

/* Navigation */
.navbar {
    background-color: cornsilk;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid powderblue;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    aspect-ratio: 1633 / 890;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: darkslategray;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: goldenrod;
}

.contact-link {
    color: firebrick;
    border: 2px solid firebrick;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
}

.contact-link:hover {
    background-color: firebrick;
    color: cornsilk;
}

/* Hero */
.hero {
    margin-top: 80px;
    padding: 100px 40px;
    background: cornsilk;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.hero h1 {
    font-size: 4rem;
    color: firebrick;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero p {
    font-size: 18px;
    color: darkslategray;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 30px;
}

.btn {
    padding: 14px 32px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary {
    background-color: firebrick;
    color: cornsilk;
}

.btn-primary:hover {
    background-color: darkred;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(178, 34, 34, 0.3);
}

.btn-secondary {
    background-color: cornsilk;
    color: firebrick;
    border: 2px solid firebrick;
}

.btn-secondary:hover {
    background-color: firebrick;
    color: cornsilk;
    transform: translateY(-2px);
}

.hero-decoration {
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 400px;
    height: 400px;
    background-color: powderblue;
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
}

/* TEAM */
.team {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
}

.team h2 {
    font-size: 3rem;
    color: firebrick;
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    border: 3px solid powderblue;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.team-image {
    width: 100%;
    height: 186px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    aspect-ratio: 197 / 186;
}

.team-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: darkslategray;
}

.team-card p {
    color: darkslategray;
    line-height: 1.8;
    font-size: 14px;
}

/* SERVICES */
.services {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
}

.services h2 {
    font-size: 3rem;
    color: firebrick;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, powderblue 0%, lightblue 100%);
    color: white;
    padding: 0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    text-align: center;
    transition: transform 0.3s;
    overflow: hidden;
}

.service-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    width: 100%;
    height: 100%;
}

.service-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
}

.service-card:nth-child(2) {
    grid-row: span 2;
    min-height: auto;
}

.service-card:hover {
    transform: translateY(-10px);
}

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

/* OUR WORK */
.our-work {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
}

.our-work h2 {
    font-size: 3rem;
    color: firebrick;
    margin-bottom: 60px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    background-color: powderblue;
    aspect-ratio: 1;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: darkslategray;
    transition: transform 0.3s;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    text-decoration: none;
    border: 4px solid powderblue;
}

.portfolio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
}

.portfolio-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: powderblue;
    color: white;
    margin: 0;
    padding: 12px;
    font-size: 16px;
    text-align: center;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

/* TRAINING */
.training {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
}

.training h2 {
    font-size: 3rem;
    color: firebrick;
    margin-bottom: 60px;
}

.training-items {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.training-item {
    background-color: powderblue;
    aspect-ratio: 1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.training-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.training-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

/* JOIN US */
.join-us {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
}

.join-us h2 {
    font-size: 3rem;
    color: firebrick;
    margin-bottom: 60px;
}

.join-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.join-form {
    background-color: cornsilk;
    padding: 40px;
    border: 2px solid powderblue;
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.join-form .form-group:nth-child(5),
.join-form .form-group:nth-child(6) {
    grid-column: 1;
}

.join-form .btn {
    grid-column: 1 / -1;
    width: 100%;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: darkslategray;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: none;
    background-color: powderblue;
    border-radius: 6px;
    font-family: inherit;
    resize: vertical;
}

.join-requirements {
    padding: 40px;
    border: 2px solid powderblue;
    border-radius: 20px;
}

.join-requirements h3 {
    font-size: 20px;
    color: darkslategray;
    margin-bottom: 20px;
}

.join-requirements p {
    color: darkslategray;
    line-height: 1.8;
}

/* CONTACT */
.contact {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
}

.contact h2 {
    font-size: 3rem;
    color: firebrick;
    margin-bottom: 60px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    padding: 40px;
    border: 2px solid powderblue;
    border-radius: 20px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form textarea {
    min-height: 150px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
}

.contact-details {
    padding: 40px;
    border: 2px solid powderblue;
    border-radius: 20px;
}

.contact-details h3 {
    font-size: 20px;
    color: darkslategray;
    margin-bottom: 20px;
}

.contact-details p {
    color: darkslategray;
    margin-bottom: 15px;
    line-height: 1.8;
}
