/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fcfcfc;
    color: #626262;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: #383838;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Colors */
.blue {
    color: #55cbf9;
}

.purple {
    color: #d094d4;
}

.yellow {
    color: #deb887;
}

/* using css approximations for logic colors */
.pink {
    color: #f47aa0;
}

.white {
    color: #fff;
}

/* Fonts */
.code-font {
    font-family: 'Source Code Pro', monospace;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: 0.3s;
}

.site-header.sticky {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    font-size: 14px;
    color: #fff;
}

/* White by default for dark hero */
.main-nav a:hover {
    color: #deb887;
}

.site-header.sticky .main-nav a {
    color: #444;
}

/* Dark when sticky */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    color: #fff;
}

.site-header.sticky .mobile-menu-toggle {
    color: #444;
}

/* Hero */
.hero-section {
    background-color: #292c36;
    height: 30vh !important;
    /* Force small height */
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Source Code Pro', monospace;
    font-size: 1.2rem;
    padding: 0;
    /* Remove potential padding conflict */
}

.hero-content .code-line {
    margin-bottom: 10px;
}

.hero-title {
    font-size: 2rem;
    margin: 20px 0;
}

@media(max-width: 768px) {
    .hero-title {
        font-size: 1.2rem;
    }

    .hero-section {
        font-size: 1rem;
    }
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-tag {
    display: inline-block;
    background: rgba(44, 56, 98, 0.03);
    color: #2a3d7f;
    padding: 5px 15px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* About */
.about-section {
    background-color: #ffd79c;
    background-image: url('../images/webmaster2-section-bg1.png');
    background-position: right bottom;
    background-repeat: no-repeat;
}

.two-col {
    display: flex;
    align-items: center;
    gap: 60px;
}

@media(max-width: 768px) {
    .two-col {
        flex-direction: column;
    }
}

.about-section h2 {
    font-size: 2.2rem;
    line-height: 1.3;
}

.about-section .text-highlight {
    color: #2a3d7f;
}

/* Approx theme color */
.description {
    margin: 30px 0;
}

.stats-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-box {
    padding: 40px 30px;
    border: 1px solid #f5c886;
    text-align: center;
    flex: 1;
}

.stat-box.yellow-bg {
    background-color: #ffe9bb;
}

.stat-box.blue-bg {
    background-color: #cdf6ff;
}

.stat-box .number {
    font-family: 'Source Code Pro', monospace;
    font-size: 40px;
    font-weight: 600;
    color: #7b4925;
}

.stat-box.blue-bg .number {
    color: #1f95b2;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: #4a45c4;
    color: #fff;
    border-radius: 3px;
    font-weight: 600;
    font-size: 14px;
}

.btn:hover {
    background: #333;
}

/* Services */
.services-section {
    background-image: url('../images/webmaster2-section-bg2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section-header {
    text-align: left;
    margin-bottom: 60px;
    max-width: 700px;
}

.section-header h3 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media(max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-item img {
    margin-bottom: 20px;
}

.service-item h4 {
    font-size: 1.2rem;
}

.cta-banner {
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-banner .text {
    background: #eee3eb;
    color: #e7618b;
    padding: 20px 40px;
    font-style: italic;
    font-size: 1.2rem;
}

/* Work */
.work-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

@media(max-width: 768px) {
    .work-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Clients */
.clients-section {
    background-color: #423cc1;
    background-image: url('../images/webmaster2-section-bg4.png');
    padding: 80px 0;
}

.clients-section .section-tag {
    background: #4a45c4;
    color: #fff;
    display: block;
    width: max-content;
    margin: 0 auto 40px;
}

.clients-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.clients-grid img {
    opacity: 0.6;
    transition: 0.3s;
}

.clients-grid img:hover {
    opacity: 1;
}

/* Contact */
.contact-section {
    background-color: #292c36;
    background-image: url('../images/webmaster2-section-bg5.png');
    background-repeat: no-repeat;
    background-position: left top;
    color: #fff;
}

.contact-section .section-tag {
    background: #333640;
    color: #848c97;
}

.contact-section h3 {
    color: #fff;
    font-size: 30px;
}

.contact-grid {
    display: flex;
    margin-top: 60px;
    background: #2f323d;
    padding: 60px;
}

@media(max-width: 768px) {
    .contact-grid {
        flex-direction: column;
        padding: 30px;
    }
}

.contact-info {
    width: 35%;
    padding-right: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form-wrapper {
    width: 65%;
    padding-left: 40px;
}

@media(max-width: 768px) {
    .contact-info {
        width: 100%;
        border-right: none;
        margin-bottom: 40px;
    }

    .contact-form-wrapper {
        width: 100%;
        padding-left: 0;
    }
}

.hours-block {
    margin-top: 30px;
}

.hours-block img {
    display: block;
    margin: 10px 0;
}

.hours-block .time {
    color: #deb887;
    font-size: 1.5rem;
    font-weight: 600;
}

.clean-form input,
.clean-form textarea {
    width: 100%;
    background: #fff;
    border: none;
    padding: 15px;
    margin-bottom: 15px;
    font-family: inherit;
}

.clean-form .row {
    display: flex;
    gap: 15px;
}

.btn.full-width {
    width: 100%;
    text-align: center;
    cursor: pointer;
    border: none;
}

/* Footer */
.site-footer {
    background: #111;
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    border-bottom: 1px solid #222;
    padding-bottom: 40px;
}

.footer-col h5 {
    color: #fff;
    margin-bottom: 20px;
}

.copyright {
    text-align: center;
}

/* Testimonials */
.testimonials-section {
    background-color: #f7f9fe;
    padding: 80px 0;
    text-align: center;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card blockquote {
    font-size: 1.4rem;
    font-style: italic;
    margin: 30px 0;
    color: #444;
}

.rating-box {
    margin-top: 60px;
    text-align: right;
    border-top: 1px solid #ddd;
    padding-top: 30px;
}

.rating-box .score {
    font-family: 'Source Code Pro', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: #232b46;
}