/* Removes the browser's default spacing */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Makes scrolling between sections smooth */
html {
    scroll-behavior: smooth;
}

/* Main website styling */
body {
    background-color: #f4f7fc;
    color: #17213b;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

/* Navigation bar */
.navbar {
    align-items: center;
    background-color: rgba(12, 18, 42, 0.96);
    display: flex;
    justify-content: space-between;
    padding: 18px 7%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: #ffffff;
    font-size: 23px;
    font-weight: bold;
    text-decoration: none;
}

.logo span {
    color: #52d9ff;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: #e8ecff;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #52d9ff;
}

/* Hero section */
.hero {
    align-items: center;
    background:
        radial-gradient(circle at top right, #3953a4, transparent 40%),
        linear-gradient(135deg, #0c122a, #1c2756);
    color: #ffffff;
    display: grid;
    gap: 60px;
    grid-template-columns: 1.2fr 1fr;
    min-height: 680px;
    overflow: hidden;
    padding: 80px 8%;
}

.hero-text {
    max-width: 720px;
}

.small-heading {
    color: #33ccef;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero-description {
    color: #d6dcf5;
    font-size: 19px;
    margin-bottom: 35px;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Buttons */
.button {
    border-radius: 10px;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 25px;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.button:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

.primary-button {
    background: linear-gradient(135deg, #33ccef, #3478ff);
    color: #ffffff;
}

.secondary-button {
    border: 2px solid #6ae1ff;
    color: #ffffff;
}

/* Julia's photograph */
.hero-photo {
    align-items: center;
    display: flex;
    justify-content: center;
}

.photo-background {
    background: linear-gradient(135deg, #36d9f5, #7b4cff);
    border-radius: 40px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    max-width: 420px;
    padding: 8px;
    transform: rotate(3deg);
    width: 100%;
}

.photo-background img {
    border-radius: 34px;
    display: block;
    height: 480px;
    object-fit: cover;
    object-position: center;
    transform: rotate(-3deg);
    width: 100%;
}

/* General section styling */
.section {
    margin: auto;
    max-width: 1200px;
    padding: 100px 7%;
}

.section-heading {
    margin: 0 auto 50px;
    max-width: 720px;
    text-align: center;
}

.section-heading h2,
.about-content h2,
.contact-box h2 {
    color: #17213b;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    margin-bottom: 18px;
}

.section-heading p {
    color: #65708b;
    font-size: 18px;
}

/* Service cards */
.service-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(2, 1fr);
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #e3e8f3;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(31, 47, 92, 0.08);
    padding: 35px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 22px 45px rgba(31, 47, 92, 0.15);
    transform: translateY(-8px);
}

.service-icon {
    align-items: center;
    background: linear-gradient(135deg, #dff9ff, #e9e2ff);
    border-radius: 14px;
    display: flex;
    font-size: 32px;
    height: 65px;
    justify-content: center;
    margin-bottom: 22px;
    width: 65px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.service-card p {
    color: #65708b;
    margin-bottom: 18px;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    border-top: 1px solid #edf0f6;
    padding: 9px 0;
}

.service-card li::before {
    color: #3478ff;
    content: "✓";
    font-weight: bold;
    margin-right: 10px;
}

/* About section */
.about-section {
    background:
        linear-gradient(
            135deg,
            rgba(15, 25, 60, 0.97),
            rgba(34, 44, 100, 0.97)
        );
    color: #ffffff;
    padding: 100px 7%;
}

.about-content {
    margin: auto;
    max-width: 950px;
    text-align: center;
}

.about-content h2 {
    color: #ffffff;
}

.about-content > p {
    color: #d6dcf5;
    font-size: 18px;
    margin: 0 auto 45px;
    max-width: 750px;
}

.benefit-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, 1fr);
}

.benefit {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    gap: 14px;
    padding: 20px;
    text-align: left;
}

.benefit span {
    align-items: center;
    background-color: #33ccef;
    border-radius: 50%;
    color: #0c122a;
    display: flex;
    flex-shrink: 0;
    font-weight: bold;
    height: 30px;
    justify-content: center;
    width: 30px;
}

/* Contact section */
.contact-section {
    padding: 100px 7%;
}

.contact-box {
    background-color: #ffffff;
    border: 1px solid #e3e8f3;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(31, 47, 92, 0.12);
    margin: auto;
    max-width: 900px;
    padding: 60px;
    text-align: center;
}

.contact-box > p {
    color: #65708b;
    font-size: 18px;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin: 35px 0;
}

.contact-details a {
    background-color: #f2f6ff;
    border: 1px solid #dfe7f8;
    border-radius: 12px;
    color: #17213b;
    font-weight: bold;
    padding: 15px 20px;
    text-decoration: none;
}

.contact-details span {
    color: #3478ff;
    margin-right: 8px;
}

/* Footer */
footer {
    background-color: #080d20;
    color: #aeb8d5;
    padding: 25px;
    text-align: center;
}

/* Tablet and phone layout */
@media screen and (max-width: 850px) {

    .navbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 65px;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .photo-background {
        max-width: 350px;
    }

    .photo-background img {
        height: 410px;
    }

    .service-grid,
    .benefit-grid {
        grid-template-columns: 1fr;
    }

}

/* Small phone layout */
@media screen and (max-width: 520px) {

    .navbar {
        padding: 16px 5%;
    }

    .nav-links {
        font-size: 14px;
    }

    .hero,
    .section,
    .about-section,
    .contact-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero {
        min-height: auto;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .photo-background img {
        height: 360px;
    }

    .service-card {
        padding: 25px;
    }

    .contact-box {
        padding: 35px 22px;
    }

    .contact-details {
        flex-direction: column;
    }
/* Contact Form */

form{
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-top:30px;
}

form input,
form select,
form textarea{

    width:100%;
    padding:15px;

    border:1px solid #d7dbe7;

    border-radius:10px;

    font-size:16px;

    font-family:Arial, Helvetica, sans-serif;

}

form input:focus,
form select:focus,
form textarea:focus{

    outline:none;

    border:2px solid #3478ff;

}

form button{

    width:100%;
    margin-top:10px;

}
}
