
  @font-face {
      font-family: 'Carter One';
      src: url('imgs/CarterOne-Regular.ttf') format('truetype');
      font-weight: 400;
      font-display: swap;
  }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
   
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Carter One', cursive;
}

/* Navigation */
nav {
    background: #1a1a2e;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .brand {
    color: orange;
    font-family: 'Carter One', cursive;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    margin-right: auto;
    letter-spacing: 0.5px;
}

nav .nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

nav .nav-links a {
    color: #eee;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    font-size: 0.95rem;
}

nav .nav-links a:hover,
nav .nav-links a.active {
    background: #e94560;
    color: #fff;
}

/* Hero section */
.hero {
    /* background: url('imgs/CGPT1.png') center/contain no-repeat; removed  */
    background-color: #1a1a2e;
    color: #fff;
    text-align: center;
    padding: 5rem 2rem;
    overflow: hidden;
    position: relative;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.banner{
    display: flex;
    flex-direction: row;
    justify-content:center;
}

.banner img {
    height: 15rem;
    border-radius: 50%;
    margin-right: 1rem;
}

.intro {
    display: flex;
    flex-direction: row;
    justify-content:space-around;
    margin: 3rem;
}

.intro h2 {
    margin-left: 15rem;
}

.intro p {
    width: 33%;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
    transition: box-shadow 0.2s;
}

.exp{
    text-align: center;
    background-color: #717378;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box{
    display: flex;
    flex-direction:row;
    justify-content:center;
} 

.exp .cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(380px, 1fr));
    gap: 20px;
}

 .a:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
  
}

.exp .cards ul{
    list-style: none;
  padding: 0;
}

li {
  display: flex;
  justify-content: center;
  gap: 8px;

}

.exp h2 {
    color: black;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    text-align:center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
    width: 20%;
    margin-top: 3rem;
}

/* .exp .cards {
    display: grid;
    grid-template-columns: repeat(1, minmax(380px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
} */

.exp .card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
    transition: box-shadow 0.2s;
}

.exp .card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.95);
}

/* Slider */
.slider {
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.slider:active {
    cursor: grabbing;
}

.slider-track {
    display: flex;
    transition: transform 0.8s ease;
}

.slide {
    min-width: 100%;
    flex-shrink: 0;
    padding: 0 1rem;
    visibility: hidden;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slider-dot.active {
    background: #e94560;
    transform: scale(1.2);
}

.btn {
    display: inline-block;
    background: #e94560;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn:hover {
    background: #c73750;
}

/* Page header (non-home pages) */
.page-header {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.85) 100%);
    color: #fff;
    text-align: center;
    padding: 8rem 2rem;
    background-size: cover;
    background-position: center;
}

.page-header.about-header {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.85) 100%),
                url('imgs/about-bg.jpg') center/cover no-repeat;
}

.page-header.webdesign-header {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.85) 100%),
                url('imgs/webdesign-bg.jpg') center/cover no-repeat;
}

.page-header.seo-header {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.85) 100%),
                url('imgs/seo-bg.jpg') center/cover no-repeat;
}

.page-header.contact-header {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.85) 100%),
                url('imgs/contact-bg.jpg') center/cover no-repeat;
}

.page-header h1 {
    font-size: 2.2rem;
}

/* Content sections */
.section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.section p {
    margin-bottom: 1rem;
    color: #555;
}

/* Card grid */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.banner-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
}

.banner-image img {
    width: 100%;
    border-radius: 8px;
    display: block;
    background: #f0f0f0;
    min-height: 200px;
}

.card h3 {
    margin-bottom: 0.75rem;
    color: #1a1a2e;
}

.card p {
    color: #666;
    margin-bottom: 1rem;
}

/* Services list */
.services-list {
    list-style: none;
    margin: 1.5rem 0;
}

.services-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.services-list li::before {
    content: "\2713";
    color: #e94560;
    font-weight: 700;
    margin-right: 0.75rem;
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #1a1a2e;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.65rem;
    margin-bottom: 1.25rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

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

.contact-form button {
    background: #e94560;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: #c73750;
}

/* Mobile navigation */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        height:fit-content;
        /* padding: 1rem 1.5rem; */
        text-align: center;
    }

    nav .brand {
        width: 100%;
        margin: 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    nav .nav-links {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    nav .nav-links a {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
    }
    .hero{
         padding: 2rem 2rem;
    }
    .banner{
        display: flex;
        flex-direction: column;
        justify-content:center;
    }

    .banner img {
        height: 15rem;
        border-radius: 100%;
        padding-right: 0rem;
        margin-bottom: 1rem;
    }

    .banner {
        align-items: center;
    }

    .intro {
        flex-direction: column;
        margin: 1rem;
    }

    .intro h2 {
        margin-left: 0;
        text-align: center;
        padding: .25em;
    }

    .intro p {
        width: 100%;
    }

    .exp .cards {
        grid-template-columns: 1fr;
        padding: 1.5em 1em;
    }

    .exp h2 {
        width: 80%;
        margin-top: 1.25em;
        
    }
}

/* Footer */
footer {
    background: #1a1a2e;
    color: #aaa;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
}
