/* --- RESET & VARIABLES (Agriculture & Construction Theme) --- */

:root {
    /* Theme: "Sawah" (Rice Field) & "Kontraktor" (Construction) */

    /* Nature / Rice Field Colors */
    --paddy-green: #388E3C;
    /* Darkened Lush Green */
    --paddy-green-dark: #1B5E20;
    /* Very dark green for text contrast */
    --harvest-gold: #F57C00;
    /* Darker gold for better visibility */
    --earth-brown: #5D4037;
    /* Soil / Foundation */

    /* Construction / Corporate Colors */
    --concrete-grey: #263238;
    /* Structure / Steel */
    --primary-mix: #1B5E20;
    /* Deep Corporate Green */

    /* Mapping to Functional Variables */
    --primary-color: var(--primary-mix);
    --accent-color: var(--harvest-gold);
    --text-dark: #212121;
    --text-light: #F5F5F5;
    --bg-light: #F1F8E9;
    /* Very light green tint */
    --white: #ffffff;

    --shadow: 0 4px 12px rgba(46, 125, 50, 0.15);
    /* Greenish shadow */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    /* Subtle texture pattern if possible, for now clean */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Sidebar User Info Refinement */
.admin-sidebar-header>div {
    display: block;
}

@media (max-width: 1024px) {
    .admin-sidebar-header>div {
        display: none;
    }
}

/* Toast Notifications */
.alert-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-left: 5px solid #1a237e;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInRight 0.4s ease forwards, fadeOut 0.4s ease 4s forwards;
}

.alert-toast.success {
    border-left-color: #2e7d32;
}

.alert-toast.error {
    border-left-color: #c62828;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
        visibility: hidden;
    }
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: #1F5A45;
    color: var(--white);
    border-radius: 4px;
    /* Construction style - slightly squared */
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 3px solid #153d30;
    /* 3D effect */
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: #2a7355;
    transform: translateY(-2px);
    border-bottom-width: 5px;
}

.btn-secondary {
    background: var(--harvest-gold);
    color: var(--text-dark);
    border-bottom: 3px solid #FF8F00;
}

.btn-secondary:hover {
    background: #FFCA28;
    border-bottom-width: 5px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-mix);
    font-weight: 700;
    margin-bottom: 15px;
}

/* Divider: Rice Stalk or Beam? Let's do a dual line */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--paddy-green) 50%, var(--harvest-gold) 50%);
    margin: 15px auto 0;
}

/* --- HEADER & NAV --- */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-top: 5px solid var(--paddy-green);
    /* Nature accent on top */
}

.top-bar {
    background: var(--concrete-grey);
    /* Construction feel */
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
    font-family: var(--font-heading);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    will-change: transform;
    z-index: 1001;
    position: relative;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--concrete-grey);
    text-transform: uppercase;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--paddy-green-dark);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--harvest-gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    padding: 10px;
    margin: -10px;
    cursor: pointer;
    color: var(--primary-mix);
}

/* --- HERO SECTION (The Fusion) --- */
.hero {
    height: 650px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    position: relative;
    margin-bottom: 50px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    padding: 0 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero h1 span {
    color: var(--white);
}

/* Highlight Kualitas/Integritas */
.hero p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    font-weight: 400;
    color: #f0f0f0;
}

/* --- SECTIONS --- */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

/* Services / Features Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.service-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--paddy-green), var(--primary-mix));
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(46, 125, 50, 0.15);
    border-color: var(--paddy-green);
}

.service-card:hover::before {
    height: 6px;
}

.service-icon {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: var(--primary-mix);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.service-card ul {
    text-align: left;
    flex-grow: 1;
}

.service-card ul li {
    margin-bottom: 10px;
    color: #666;
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Rice Section (As a Feature) */
.rice-section {
    background: linear-gradient(135deg, var(--white) 60%, #E8F5E9 100%);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    margin-top: 60px;
    box-shadow: var(--shadow);
    border: 1px solid #C8E6C9;
}

.rice-content {
    padding: 50px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rice-content h3 {
    color: var(--primary-mix);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
}

.rice-image {
    flex: 1;
    background: url('https://picsum.photos/seed/ricefield/800/600.jpg') center/cover;
    min-height: 350px;
}

/* --- BLOG --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.blog-card:hover {
    box-shadow: var(--shadow);
}

.blog-img {
    height: 200px;
    background-color: #eee;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--paddy-green-dark);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-title {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--concrete-grey);
}

.read-more {
    color: var(--primary-mix);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--harvest-gold);
}

/* --- FOOTER --- */
/* --- FOOTER (Light Theme - Prima Plastindo Style) --- */
footer {
    background: #fdfdfd;
    border-top: 10px solid #1a237e;
    position: relative;
    color: #333;
    padding: 60px 0 0;
    font-family: 'Open Sans', sans-serif;
}

footer::before {
    display: none;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col {
    flex: 1;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.footer-col:hover {
    background: transparent;
    transform: none;
}

/* Brand Column */
.brand-col {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.brand-col .footer-logo {
    height: 250px;
    /* Increased from 160px */
    margin-bottom: 0;
    object-fit: contain;
}

/* Contact Column (Right Side) */
.contact-col {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.contact-col .contact-info {
    max-width: 400px;
    text-align: left;
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #555;
    font-weight: 500;
}

.contact-info a {
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.contact-info a:hover {
    color: #03a9f4;
    text-decoration: underline !important;
}

.contact-info i {
    color: #03a9f4;
    /* Sky blue icons like reference */
    font-size: 1.1rem;
    width: 20px;
    margin-top: 3px;
}

/* Footer Bottom */
.footer-bottom {
    background: #ffffff;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.copyright-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    text-transform: uppercase;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        padding: 0 20px 40px;
        gap: 30px;
    }

    .footer-col {
        text-align: left;
    }

    .brand-col .footer-logo {
        height: 120px;
    }

    .contact-col {
        justify-content: flex-start;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 15px;
    }
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: transform 0.3s ease;
    will-change: transform;
}

.floating-wa:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: nowrap;
        height: auto;
        justify-content: space-between;
        padding: 15px 20px;
    }

    .logo {
        gap: 10px;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    .logo img {
        height: 50px;
    }

    .logo-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: 5px;
    }

    .logo-name {
        font-size: 1.1rem;
        line-height: 1;
        margin-bottom: 2px;
        white-space: nowrap;
    }

    .logo-subtitle {
        font-size: 0.7rem;
        letter-spacing: 1px;
        line-height: 1;
        color: #555;
        white-space: nowrap;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 20px 0;
        background: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-top: 3px solid var(--paddy-green);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .rice-section {
        flex-direction: column;
    }

    /* Mobile Footer */
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: left;
        padding-bottom: 30px;
        align-items: flex-start;
    }

    .footer-col {
        text-align: left;
        width: 100%;
    }

    .footer-about {
        text-align: center;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .brand-col {
        justify-content: center;
    }

    .brand-col .footer-logo {
        height: 150px;
        /* Large on mobile too */
        margin-bottom: 10px;
    }

    .contact-info p {
        justify-content: flex-start;
        margin-bottom: 12px;
        font-size: 0.95rem;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

#admin-panel {
    background: #EEF2F5;
    color: #333;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Entrance Classes */
.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.animate-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}


/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 
   Mobile Fix: Disable scroll animation on small screens 
   to prevent "blank section" if JS intersection observer fails 
   or threadhold is not met quickly.
*/
@media (max-width: 768px) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* --- CONTACT FORM STYLING --- */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--concrete-grey);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--paddy-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

#feedbackForm button.btn {
    border-radius: var(--radius);
    padding: 15px;
    font-size: 1rem;
    margin-top: 10px;
}

/* --- ADMIN PANEL REFINEMENT --- */
:root {
    --admin-bg: #f4f7fa;
    --admin-sidebar-bg: #1a237e;
    --admin-sidebar-text: #ffffff;
    --admin-card-bg: rgba(255, 255, 255, 0.9);
    --admin-primary: #0d47a1;
    --admin-accent: #ffc107;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
    background: var(--admin-bg);
}

/* Admin Sidebar */
.admin-sidebar {
    width: 260px;
    background: var(--admin-sidebar-bg);
    color: var(--admin-sidebar-text);
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}

.admin-sidebar-header {
    padding: 0 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    text-align: center;
}

.admin-sidebar-header img {
    height: 50px;
    margin: 0 auto 10px;
    filter: brightness(0) invert(1);
}

.admin-sidebar-header h3 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.admin-nav {
    flex: 1;
}

.admin-nav-item {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
    font-weight: 500;
    border-left: 4px solid transparent;
}

.admin-nav-item i {
    width: 20px;
    text-align: center;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-left-color: var(--admin-accent);
}

.admin-sidebar-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Admin Main Content */
.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 40px;
    width: calc(100% - 260px);
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-page-header h2 {
    font-family: var(--font-heading);
    color: var(--admin-sidebar-bg);
    font-weight: 700;
}

/* Admin Cards */
.admin-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--admin-sidebar-bg);
}

.admin-card h3 i {
    color: var(--admin-accent);
}

/* Dashboard Grid */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.admin-grid-full {
    grid-template-columns: 1fr;
}

/* Table Enhancements */
.admin-table thead th {
    background: #fdfdfd;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #8c98a5;
    border-bottom: 2px solid #f1f4f8;
    padding: 20px 15px;
    /* Increased padding */
}

.admin-table tbody tr {
    transition: all 0.2s ease;
}

.admin-table tbody tr:hover {
    background: #f8fafc !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.admin-table td {
    padding: 20px 15px;
    /* Increased padding */
    border-bottom: 1px solid #f0f4f8;
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background: #fcfcfc;
}

/* Action Buttons */
.action-btn {
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-edit {
    background: #e3f2fd;
    color: #1565c0;
}

.btn-edit:hover {
    background: #1565c0;
    color: #fff;
}

.btn-delete {
    background: #ffebee;
    color: #c62828;
}

.btn-delete:hover {
    background: #c62828;
    color: #fff;
}

/* Responsive Admin */
@media (max-width: 992px) {
    .admin-sidebar {
        width: 80px;
    }

    .admin-sidebar-header h3,
    .admin-nav-item span,
    .admin-sidebar-footer span {
        display: none;
    }

    .admin-main {
        margin-left: 80px;
        width: calc(100% - 80px);
        padding: 20px;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        display: none;
    }

    .admin-main {
        margin-left: 0;
    }
}

/* Fullscreen Card Mode */
.card-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 40px !important;
    overflow-y: auto !important;
    background: #fff !important;
}

#visitorChart {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* --- PORTFOLIO SECTION --- */
#portfolio {
    background-color: #f9f9f9;
    text-align: center;
}

.portfolio-content {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.instagram-cta {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: inline-block;
    max-width: 700px;
    width: 100%;
    transition: transform 0.3s ease;
}

.instagram-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.portfolio-icon {
    font-size: 4.5rem;
    color: #E1306C;
    margin-bottom: 25px;
    display: inline-block;
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-title {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.portfolio-desc {
    margin-bottom: 30px;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-instagram {
    background: linear-gradient(45deg, var(--primary-mix), var(--paddy-green));
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
    color: white;
}

/* Portfolio Mobile Responsiveness */
@media (max-width: 768px) {
    .instagram-cta {
        padding: 30px 20px;
    }

    .portfolio-icon {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }

    .portfolio-title {
        font-size: 1.3rem;
    }

    .portfolio-desc {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .btn-instagram {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}