:root {
    --forest-green: #1a4d2e;
    --sage-green: #4f7942;
    --olive-green: #5a6f47;
    --mint-cream: #f0f4f0;
    --gold: #d4af37;
    --gold-light: #e8c87c;
    --gold-dark: #b8941f;
    --cream: #fefbf3;
    --charcoal: #2a2a2a;
    --gray-dark: #3a3a3a;
    --gray-medium: #6a6a6a;
    --white: #ffffff;
    
    --shadow-sm: 0 2px 8px rgba(26, 77, 46, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 77, 46, 0.12);
    --shadow-lg: 0 8px 32px rgba(26, 77, 46, 0.16);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, var(--cream) 0%, var(--mint-cream) 100%);
    color: var(--charcoal);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* Grain texture overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Decorative border */
.decorative-border {
    position: absolute;
    top: 20px;
    left: 10px;
    right: 10px;
    bottom: 20px;
    border: 1px solid var(--gold);
    opacity: 0.2;
    pointer-events: none;
    border-radius: 8px;
}

/* Header Section */
.header {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--sage-green) 100%);
    color: var(--white);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: slideDown 1s ease-out 0.2s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-30px, 30px) rotate(5deg);
    }
}

.header-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    padding: 50px 60px;
    position: relative;
    z-index: 1;
    align-items: center;
}

.profile-info {
    animation: slideRight 0.8s ease-out 0.4s both;
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profile-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.name-wrapper {
    margin-bottom: 8px;
}

.name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.gold-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.designation {
    display: block;
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mint-cream);
}

.license-badge {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--gold);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.license-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-light);
    font-weight: 600;
}

.license-number {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

/* Contact Group */
.contact-group {
    display: flex;
    gap: 40px;
    animation: slideLeft 0.8s ease-out 0.6s both;
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.25);
    border-radius: 50%;
    color: var(--gold);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    font-weight: 600;
}

.contact-value {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--white);
    font-weight: 400;
}

.contact-value a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: var(--gold-light);
}

/* Header decoration */
.header-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.25;
    pointer-events: none;
}

.wave-pattern {
    width: 100%;
    height: auto;
    color: var(--gold);
}

/* Main Content */
.main-content {
    padding: 60px;
    background: var(--white);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.8s ease-out 0.4s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Company Header */
.company-header {
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--gold);
    position: relative;
}

.company-badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--forest-green), var(--sage-green));
    border-radius: 12px;
    color: var(--gold);
    box-shadow: var(--shadow-gold);
    animation: rotate3d 1.5s ease-out 0.8s both;
}

@keyframes rotate3d {
    from {
        transform: rotateY(-90deg);
        opacity: 0;
    }
    to {
        transform: rotateY(0);
        opacity: 1;
    }
}

.badge-icon {
    width: 32px;
    height: 32px;
}

.company-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--forest-green);
    letter-spacing: -0.5px;
}

/* Section Titles */
.section-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--forest-green);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.title-text {
    position: relative;
    z-index: 1;
}

.title-decoration {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

/* Services Section */
.services-section {
    margin-bottom: 70px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--cream);
    padding: 32px 28px;
    border-radius: 10px;
    border: 1px solid rgba(79, 121, 66, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--sage-green) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-number,
.service-card:hover .service-title {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-accent {
    background: var(--gold);
}

.service-number {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.4s ease;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.4;
    transition: color 0.4s ease;
}

.service-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--forest-green);
    transition: background 0.4s ease;
}

/* About Section */
.about-section {
    margin-bottom: 60px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 50px;
    align-items: start;
}

.about-text {
    max-width: 100%;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 24px;
}

.intro-paragraph {
    font-size: 1.15rem;
    color: var(--charcoal);
    font-weight: 500;
}

.highlight-box {
    background: linear-gradient(135deg, var(--forest-green), var(--sage-green));
    padding: 32px;
    border-radius: 10px;
    margin-top: 32px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.25);
    border-radius: 50%;
    color: var(--gold);
    position: relative;
    z-index: 1;
}

.highlight-icon svg {
    width: 28px;
    height: 28px;
}

.highlight-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* About Decoration */
.about-decoration {
    position: relative;
    height: 300px;
}

.geometric-shape {
    position: absolute;
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    opacity: 0.15;
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--forest-green), var(--sage-green));
    opacity: 0.12;
    top: 100px;
    right: 50px;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    opacity: 0.2;
    top: 200px;
    right: 20px;
    animation-delay: 4s;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--sage-green) 100%);
    padding: 50px 60px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.15rem;
    color: var(--mint-cream);
    margin-bottom: 32px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--gold);
    color: var(--forest-green);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-gold);
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.button-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

/* Footer */
.footer {
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid rgba(79, 121, 66, 0.2);
}

.footer-content {
    text-align: center;
    position: relative;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-bottom: 16px;
}

.footer-decoration {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .header-content {
        gap: 50px;
        padding: 45px 50px;
    }
    
    .main-content {
        padding: 50px;
    }
}

@media (max-width: 992px) {
    .header-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-group {
        flex-direction: column;
        gap: 24px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-decoration {
        height: 150px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        padding: 20px 15px;
    }
    
    .header-content {
        padding: 40px 30px;
    }
    
    .main-content {
        padding: 40px 30px;
    }
    
    .name {
        font-size: 2.8rem;
    }
    
    .company-name {
        font-size: 1.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 40px 30px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .company-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 30px 20px;
    }
    
    .main-content {
        padding: 30px 20px;
    }
    
    .name {
        font-size: 2.4rem;
    }
    
    .service-card {
        padding: 24px 20px;
    }
    
    .highlight-box {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
    
    .about-text p {
        font-size: 1rem;
    }
}
