@import url('https://fonts.googleapis.com/css2?family=Hurricane&display=swap');

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

body {
    font-family: 'Hoefler Text', 'Baskerville', 'Garamond', serif;
    background: linear-gradient(135deg, #5B7FED 0%, #6B5FED 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 40px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Decorative bunting */
.bunting {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to right, 
        transparent 0%, transparent 12%,
        #E63946 12%, #E63946 20%,
        transparent 20%, transparent 22%,
        #F77F00 22%, #F77F00 30%,
        transparent 30%, transparent 32%,
        #FCBF49 32%, #FCBF49 40%,
        transparent 40%, transparent 42%,
        #4ECDC4 42%, #4ECDC4 50%,
        transparent 50%, transparent 52%,
        #22A6F0 52%, #22A6F0 60%,
        transparent 60%, transparent 62%,
        #7D5BA6 62%, #7D5BA6 70%,
        transparent 70%, transparent 72%,
        #E63946 72%, #E63946 80%,
        transparent 80%);
    clip-path: polygon(
        12% 0%, 16% 100%, 20% 0%,
        22% 0%, 26% 100%, 30% 0%,
        32% 0%, 36% 100%, 40% 0%,
        42% 0%, 46% 100%, 50% 0%,
        52% 0%, 56% 100%, 60% 0%,
        62% 0%, 66% 100%, 70% 0%,
        72% 0%, 76% 100%, 80% 0%
    );
}

/* Header */
header {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 40px;
    position: relative;
}

header h1 {
    font-size: 72px;
    color: #E63946;
    font-weight: bold;
    letter-spacing: 2px;
    display: inline-block;
    font-family: 'Comic Sans MS', 'Comic Sans', cursive;
}

.header-icon {
    width: 120px;
    height: auto;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 30px;
    margin-top: 30px;
}

/* Card Styles */
.card {
    border-radius: 30px;
    padding: 35px;
    border: 4px solid #333;
    position: relative;
    background: white;
}

.yellow-card {
    border-color: #FFD700;
    background: #FFFACD;
}

.gold-card {
    border-color: #DAA520;
    background: #FFF8DC;
}

.purple-card {
    border-color: #9B59B6;
    background: #E8D5F2;
}

.green-card {
    border-color: #2ECC71;
    background: #D5F5E3;
}

/* Script Heading */
.script-heading {
    font-family: 'Hurricane', cursive;
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: normal;
}

/* Introduction Card */
.intro-card {
    grid-column: 1;
}

.intro-card .card-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.intro-text {
    flex: 1;
    font-size: 22px;
    line-height: 1.6;
}

.laptop-image {
    width: 260px;
    height: auto;
    flex-shrink: 0;
}

/* Services Card */
.services-card {
    grid-column: 2;
    grid-row: 1 / 3;
}

.services-list {
    list-style: none;
    margin-bottom: 25px;
}

.services-list li {
    font-size: 18px;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.services-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    font-size: 24px;
}

.services-description {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 20px;
}

/* About Card */
.about-card {
    grid-column: 1;
}

.about-text {
    font-size: 16px;
    line-height: 1.7;
}

/* More Info Card */
.info-card {
    grid-column: 1;
    position: relative;
}

.pencil-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 90px;
    height: auto;
}

.info-list {
    list-style: none;
}

.info-list li {
    font-size: 18px;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.info-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    font-size: 20px;
}

/* Contact Card */
.contact-card {
    grid-column: 2;
    position: relative;
}

.contact-list {
    list-style: none;
    margin-bottom: 25px;
}

.contact-list li {
    font-size: 17px;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.contact-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    font-size: 20px;
}

.contact-details {
    margin-top: 20px;
}

.contact-details p {
    font-size: 18px;
    margin: 10px 0;
    font-family: 'Times New Roman', Times, serif;
}

.highlight-yellow {
    background: #FFEB3B;
    padding: 2px 8px;
    font-weight: bold;
}

.apple-image {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: auto;
}

/* Responsive Design */
@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .services-card {
        grid-column: 1;
        grid-row: auto;
    }
    
    .contact-card {
        grid-column: 1;
    }
    
    header h1 {
        font-size: 56px;
    }
    
    .container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 48px;
    }
    
    .header-icon {
        width: 90px;
    }
    
    .laptop-image {
        width: 160px;
    }
    
    .script-heading {
        font-size: 40px;
    }
    
    .container {
        padding: 20px;
    }
    
    .card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 36px;
        display: block;
        margin-bottom: 20px;
    }
    
    .header-icon {
        position: static;
        display: block;
        margin: 20px auto 0;
        transform: none;
        width: 80px;
    }
    
    .intro-card .card-content {
        flex-direction: column;
    }
    
    .laptop-image {
        width: 140px;
    }
    
    .script-heading {
        font-size: 36px;
    }
    
    .intro-text,
    .services-list li,
    .about-text,
    .info-list li,
    .contact-list li {
        font-size: 16px;
    }
    
    .contact-details p {
        font-size: 16px;
    }
    
    .pencil-icon {
        width: 60px;
    }
    
    .apple-image {
        width: 80px;
    }
    
    .container {
        padding: 15px;
        border-radius: 25px;
    }
    
    .card {
        padding: 20px;
        border-radius: 20px;
    }
}
